With some help from David at Dropbox, I fixed the issue by doing the
sudo rm -rf /var/lib/dropbox/.dropbox-dist
dropbox start -i
Which essentially wipes out the old Dropbox app files and reinstalls them.
The issue seems to be related to recent Debian Python updates.
In any case, anyone affected with this issue should be able to
perform the above steps to fix this bug.
On Wed, Jan 8, 2014 at 12:09 PM, Trevor Bekolay <tbeko...@gmail.com> wrote:
> Package: nautilus-dropbox
> Version: 1.6.1-1
> Severity: important
> Dear Maintainer,
> I noticed that Dropbox hadn't been updating since late yesterday.
> I tried to start Dropbox from the command line,
> with dropbox start, and got the following Python import error:
> Starting Dropbox...Traceback (most recent call last):
> File "dropbox/client/main.py", line 13, in <module>
> File "autogen_explicit_imports.py", line 13, in <module>
> File "ui/common/selective_sync.py", line 6, in <module>
> File "arch/__init__.py", line 28, in <module>
> File "arch/linux/tracing.py", line 8, in <module>
> File "hard_trace.py", line 6, in <module>
> File "client_api/connection_hub.py", line 21, in <module>
> File "client_api/kv_connection.py", line 23, in <module>
> File "pylinux/__init__.py", line 71, in <module>
> File "cffi/api.py", line 311, in verify
> File "dropbox/overrides.py", line 398, in load_library
> File "cffi/verifier.py", line 69, in load_library
> File "cffi/verifier.py", line 154, in _load_library
> File "cffi/vengine_cpy.py", line 124, in load_library
> VerificationError: importing
> '/home/tbekolay/pylinux/__pycache__/_cffi__xa0c4f46bx1d95b4de.so': No
> module named _cffi__xa0c4f46bx1d95b4de
> Dropbox then does a time.sleep(), but it doesn't seem like
> it would ever be able to recover from that error.
> Starting the program as root gives the same issue.
> Since the issue seems to be with pylinux / cffi,
> and is python3 given its use of __pycache__,
> I tried installing the python3-cffi pacakge,
> but this did not resolve the issue.
> Since it's an import issue, I checked my $PYTHONPATH,
> but it is currently empty.
> I did a dropbox update to check if it was using an outdated
> upstream binary, but the problem persisted.
> -- System Information:
> Debian Release: jessie/sid
> APT prefers unstable
> APT policy: (500, 'unstable')
> Architecture: amd64 (x86_64)
> Kernel: Linux 3.12-1-amd64 (SMP w/8 CPU cores)
> Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Versions of packages nautilus-dropbox depends on:
> ii libatk1.0-0 2.10.0-2
> ii libc6 2.17-97
> ii libcairo-gobject2 1.12.16-2
> ii libcairo2 1.12.16-2
> ii libgdk-pixbuf2.0-0 2.28.2-1+b1
> ii libglib2.0-0 2.36.4-1
> ii libgtk-3-0 3.8.6-1
> ii libnautilus-extension1a 3.8.2-2
> ii libpango-1.0-0 1.36.0-1+b1
> ii libpangocairo-1.0-0 1.36.0-1+b1
> ii policykit-1 0.105-4
> ii procps 1:3.3.9-1
> ii python-gpgme 0.2-3
> ii python-gtk2 2.24.0-3+b1
> pn python:any <none>
> Versions of packages nautilus-dropbox recommends:
> ii libappindicator1 0.4.92-3
> Versions of packages nautilus-dropbox suggests:
> ii nautilus 3.8.2-2
> -- no debconf information