Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Здравко
7 years agoLegendary | Level 20
Dropbox is looking for deprecated package
Every time when I run Dropbox next message appear
'python-gpgme' package was interface to the gpgme before Ubuntu 17.10. From Ubuntu 17.10 (up to present) 'python-gpgme' is deprecated in favor...
- 7 years ago
Rich wrote:Have you opened a ticket with Support?
Hi Rich,
I suppose this have to be the funny part... :grinning:
Just example of such ticket can be seen here. In this context, what I can rely on?! It's the same - here (in the forum with 'a few Dropboxers') or through a ticket. Very often users meet the same problem and can give more valuable advice. That's why I prefer to write here. In this thread I ask for technical support, not PR. If someone from the Dropboxers want, can forward all this to technical team (or at least the bug description). If not, ... :unamused:
Anyway... Thanks for Your advice! I appreciate Your try to help.
I found a workaround (until the moment, if any, when this bug become fixed). Just introducing delay in running process, so more system resources are available and triggering the bug become less likely (in my case, till the moment, didn't happen). I implement this using a script like:
#!/bin/bash sleep XXX /usr/bin/dropbox $@
Where 'XXX' is carefully selected delay (in seconds), so heavy load time span to be jump over. It works for me. If someone else meet same problem can try this.
Здравко
7 years agoLegendary | Level 20
Like in many other cases, seems nobody can say anything (from Dropbox side)!
I think, It's stupid decision to conclude that dropbox isn't installed if there is some problem running it (even erroneously detected problem). I mean the code near line 1440 in 'dropbox':
if not start_dropbox():
if not should_install:
console_print()
console_print("The Dropbox daemon is not installed!")
console_print("Run \"dropbox start -i\" to install the daemon")
return
# install dropbox!!!
try:
download()
except:
traceback.print_exc()
From other view point, in 'start_dropbox' function, near line 760 in the same file:
# in seconds
interval = 0.5
wait_for = 60
for _ in range(int(wait_for / interval)):
if is_dropbox_running():
return True
# back off from connect for a while
time.sleep(interval)
return FalseCan be seen that decision for successful running depends on 'is_dropbox_running' function result. This function result from other side depends on matching pid, set on time in '~/.dropbox/dropbox.pid', as can be seen near line 140 in the same file:
def is_dropbox_running():
pidfile = os.path.expanduser("~/.dropbox/dropbox.pid")
try:
with open(pidfile, "r") as f:
pid = int(f.read())
with open("/proc/%d/cmdline" % pid, "r") as f:
cmdline = f.read().lower()
except:
cmdline = ""
return "dropbox" in cmdlineAnd here is the place where the problem comes from. On heavy loaded system, during initial login, many other services can query for processor time and disk access simultaneously, together with Dropbox! Additionally open web browser left from previous session, carrying few tenths of pages, and other similar applications can query together system resources. In such a situation setting correct pid can take some time. During all this time 'is_dropbox_running' function will think that the Dropbox is NOT running, even while it really runs (or at least going to, without totally finished initialization still)! The 'start_dropbox' function assumes the same, next some timeout. And finally, as result, follows stupid conclusion that Dropbox is not installed (erroneous)! The same erroneous conclusion (and initiating install action) could be triggered by virtually any runtime error in the daemon, during initialization (even incident one, non related in any way to the installation process)!
The easiest and fastest workaround is timeout set to be increased (for example doubled). Of course such action is definitely not a solution because there is no exact answer "How much?"! Real solution would be the chain of assumptions break. Wich mean restructuring the code and write it without assumption that something is, if there could be opposite situation (even when such situation seems not likely). If You don't follow above rule lead to error prone code (error - including race conditions and not only).
Again, please forward this to your technical team. I hope it will help improving Your code.
Rich
Super User II
7 years ago
Здравко wrote:
Like in many other cases, seems nobody can say anything (from Dropbox side)!
Have you opened a ticket with Support?
This is primarily a user-supported forum. While there are a few Dropboxers here, they aren't part of the client team. You'll need to open a ticket with Support if you need a response to this, or post in the release thread for the specific version that you're having a problem with.
Open your ticket here: https://dropbox.com/support
Track your ticket here: https://dropbox.zendesk.com
Replies take approximately 1 - 3 business days with Plus, Professional and Business users getting priority (longer for Basic users).
- Здравко7 years agoLegendary | Level 20
Rich wrote:Have you opened a ticket with Support?
Hi Rich,
I suppose this have to be the funny part... :grinning:
Just example of such ticket can be seen here. In this context, what I can rely on?! It's the same - here (in the forum with 'a few Dropboxers') or through a ticket. Very often users meet the same problem and can give more valuable advice. That's why I prefer to write here. In this thread I ask for technical support, not PR. If someone from the Dropboxers want, can forward all this to technical team (or at least the bug description). If not, ... :unamused:
Anyway... Thanks for Your advice! I appreciate Your try to help.
I found a workaround (until the moment, if any, when this bug become fixed). Just introducing delay in running process, so more system resources are available and triggering the bug become less likely (in my case, till the moment, didn't happen). I implement this using a script like:
#!/bin/bash sleep XXX /usr/bin/dropbox $@
Where 'XXX' is carefully selected delay (in seconds), so heavy load time span to be jump over. It works for me. If someone else meet same problem can try this.
- nocibambi7 years agoNew member | Level 2
Thanks for this, and also for the great investigation!
However, I am not sure about having your workaround accepted. This just makes this issue hidden from the support team...
- Здравко7 years agoLegendary | Level 20
Hi nocibambi,
No, no... It don't make this issue hidden for support team. Every one post on any one thread (including mark as accepted) is on support team attention. Another story is the processing level provided from this "support team" (just PR staff). Like many other things, probably this issue never reached (and will never reach) technical staff attention, unfortunately. Seems just company politics...
About Apps and Installations
Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!