Dropbox installs & integrations
Connect your tools and content together with help from the Dropbox Community. Join a discussion or post a question of your own to get started.
matteo@raver:~$ .dropbox-dist/dropboxd
Traceback (most recent call last):
File "dropbox/client/main.py", line 49, in <module>
File "dropbox/client/aggregation.py", line 22, in <module>
File "dropbox/sqlite3_helpers.py", line 47, in <module>
File "dropbox/fatal_db_exception.py", line 5, in <module>
File "arch/__init__.py", line 26, in <module>
File "arch/linux/util.py", line 30, in <module>
File "dropbox/fsutil.py", line 38, in <module>
File "dropbox/infinite/__init__.py", line 25, in <module>
File "dropbox/linux/version.py", line 77, in <module>
File "dropbox/linux/version.py", line 73, in _get_version
ValueError: invalid literal for int() with base 10: '0+'
matteo@raver:~$ cat .dropbox-dist/VERSION
9.4.49
I got almost the same messages on my Debian jessie except the very last line; in my case, dropboxd says "ValueError: need more than 2 values to unpack"
Same here on Debian Jessie. Happens also on a clean user profile. Anyone know what the _get_version() function is supposed to do?
i installed the previous version (https://www.dropboxforum.com/hc/en-us/community/posts/208427523-Stable-Build-8-4-21) again, and it works for the time being. You have to prevent Dropbox from upgrading itself tho..
downgrading dropbox works, how can I prevent upgrade?
On Linux:
Dropbox downloads the new Version to:
~l/Dropbox/.dropbox.cache/dropbox-upgrade-9.4.49.tar.gz
Just set that file to unreadable and immutable (permission 000 and chattr +i) and Dropbox cant read or replace that file. Then restart Dropbox.
The problem looks like the kernel version.
eliphas@t61:~$ .dropbox-dist/dropboxd
[...]
ValueError: invalid literal for int() with base 10: '2_1'
eliphas@t61:~$ uname -r
4.7.2_1
😞
Any suggested fixes without downgrading kludge?
might be, i have "4.2-5.dmz.1-liquorix-amd64", so also not the distro-default. but the parsing-error i get is different:
File "dropbox/linux/version.py", line 72, in _get_version
ValueError: need more than 2 values to unpack
I think they are trying to split the version in three parts (need more than 2 values to unpack), ignoring anything after the "-" that most distros add after the release number. Makes sense, yours would be just "4.2" and would have this error if they are trying to split this in three parts:
major, minor, release = re.sub("-.*", ", uname).split(".")
Edit: some one-liners:
eliphas@t61:~$ python -c 'import os,re;a,b,c=[int(i) for i in re.sub("-.*",",os.uname()[2]).split(".")]'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ValueError: invalid literal for int() with base 10: '2_1'
eliphas@t61:~$ python -c 'import os,re;a,b,c=[int(i) for i in re.sub("-.*",","4.2-5.dmz.1-liquorix-amd64").split(".")]'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ValueError: need more than 2 values to unpack
well, i'm not recompiling my kernel for this:) and i don't know if you can fake the kernel version for the python-runtime (i don't know how python reads the kernel-version).
i made an error-report and linked this discussion.
for now version 8 works for me.
not 100% sure how dropbox' self-update works, but i think as soon as a new version comes out, the "update-blocker" should not block anymore, and the update should install.
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.
Sound good? Let's get started.Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on Twitter or Facebook.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!