cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Learn all about how Alex on the Community team used Dropbox in college here!

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.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Fatal Python Exception

Fatal Python Exception

rosstcorbett
Explorer | Level 4

Hi everybody 🙂

 

Dropbox stopped running in Ubuntu. When I tried to start it again i got the message i have pasted below. 

 

Can anybody please advise what I need to as I'm very, very lost 😞

 

Many thanks for your time.

 

Ross

 

root@server-1:/srv/users/serverpilot# dropbox status

Dropbox isn't running!

root@server-1:/srv/users/serverpilot# dropbox start

Starting Dropbox...dropbox: locating interpreter

dropbox: logging to /tmp/dropbox-antifreeze-tS256o

dropbox: initializing

dropbox: initializing python 3.7.5

dropbox: setting program path '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/dropbox'

dropbox: setting python path '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175:/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/python-packages.zip'

dropbox: python initialized

dropbox: running dropbox

dropbox: setting args

dropbox: applying overrides

dropbox: running main script

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/cryptography.hazmat.bindings._constant_time.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/cryptography.hazmat.bindings._openssl.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/cryptography.hazmat.bindings._padding.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/apex._apex.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/psutil._psutil_linux.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/psutil._psutil_posix.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/tornado.speedups.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/wrapt._wrappers.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/PyQt5.QtWidgets.cpython-37m-x86_64-linux-gnu.so'

Traceback (most recent call last):

  File "dropbox/client/main.pyc", line 254, in <module>

  File "dropbox/foundation/navigation_service/factory.pyc", line 22, in <module>

  File "dropbox/foundation/navigation_service/navigation_service_impl.pyc", line 57, in <module>

  File "dropbox/foundation/html_views/electron/manager_factory.pyc", line 14, in <module>

  File "dropbox/foundation/html_views/local/common/manager.pyc", line 33, in <module>

  File "dropbox/client/features/model_registry.pyc", line 13, in <module>

  File "dropbox/client/features/generated_models.pyc", line 292, in <module>

  File "dropbox/client/features/previews/view_anchor.pyc", line 106, in <module>

  File "<_bootstrap_overrides>", line 153, in load_module

ImportError: libxcb-glx.so.0: cannot open shared object file: No such file or directory

!! dropbox: fatal python exception:

['Traceback (most recent call last):\n', '  File "dropbox/client/main.pyc", line 254, in <module>\n', '  File "dropbox/foundation/navigation_service/factory.pyc", line 22, in <module>\n', '  File "dropbox/foundation/navigation_service/navigation_service_impl.pyc", line 57, in <module>\n', '  File "dropbox/foundation/html_views/electron/manager_factory.pyc", line 14, in <module>\n', '  File "dropbox/foundation/html_views/local/common/manager.pyc", line 33, in <module>\n', '  File "dropbox/client/features/model_registry.pyc", line 13, in <module>\n', '  File "dropbox/client/features/generated_models.pyc", line 292, in <module>\n', '  File "dropbox/client/features/previews/view_anchor.pyc", line 106, in <module>\n', '  File "<_bootstrap_overrides>", line 153, in load_module\n', 'ImportError: libxcb-glx.so.0: cannot open shared object file: No such file or directory\n'] (error 3)

 

—————

 

The Dropbox daemon is not installed!

Run "dropbox start -i" to install the daemon

root@server-1:/srv/users/serverpilot#

 

—————

 

The Dropbox daemon is not installed!

Run "dropbox start -i" to install the daemon

root@server-1:/srv/users/serverpilot# dropbox start -i

Starting Dropbox...dropbox: locating interpreter

dropbox: logging to /tmp/dropbox-antifreeze-erKtjs

dropbox: initializing

dropbox: initializing python 3.7.5

dropbox: setting program path '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/dropbox'

dropbox: setting python path '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175:/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/python-packages.zip'

dropbox: python initialized

dropbox: running dropbox

dropbox: setting args

dropbox: applying overrides

dropbox: running main script

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/cryptography.hazmat.bindings._constant_time.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/cryptography.hazmat.bindings._openssl.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/cryptography.hazmat.bindings._padding.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/apex._apex.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/psutil._psutil_linux.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/psutil._psutil_posix.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/tornado.speedups.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/wrapt._wrappers.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/PyQt5.QtWidgets.cpython-37m-x86_64-linux-gnu.so'

Traceback (most recent call last):

  File "dropbox/client/main.pyc", line 254, in <module>

  File "dropbox/foundation/navigation_service/factory.pyc", line 22, in <module>

  File "dropbox/foundation/navigation_service/navigation_service_impl.pyc", line 57, in <module>

  File "dropbox/foundation/html_views/electron/manager_factory.pyc", line 14, in <module>

  File "dropbox/foundation/html_views/local/common/manager.pyc", line 33, in <module>

  File "dropbox/client/features/model_registry.pyc", line 13, in <module>

  File "dropbox/client/features/generated_models.pyc", line 292, in <module>

  File "dropbox/client/features/previews/view_anchor.pyc", line 106, in <module>

  File "<_bootstrap_overrides>", line 153, in load_module

ImportError: libxcb-glx.so.0: cannot open shared object file: No such file or directory

!! dropbox: fatal python exception:

['Traceback (most recent call last):\n', '  File "dropbox/client/main.pyc", line 254, in <module>\n', '  File "dropbox/foundation/navigation_service/factory.pyc", line 22, in <module>\n', '  File "dropbox/foundation/navigation_service/navigation_service_impl.pyc", line 57, in <module>\n', '  File "dropbox/foundation/html_views/electron/manager_factory.pyc", line 14, in <module>\n', '  File "dropbox/foundation/html_views/local/common/manager.pyc", line 33, in <module>\n', '  File "dropbox/client/features/model_registry.pyc", line 13, in <module>\n', '  File "dropbox/client/features/generated_models.pyc", line 292, in <module>\n', '  File "dropbox/client/features/previews/view_anchor.pyc", line 106, in <module>\n', '  File "<_bootstrap_overrides>", line 153, in load_module\n', 'ImportError: libxcb-glx.so.0: cannot open shared object file: No such file or directory\n'] (error 3)

 

 

4 Replies 4

Re: Fatal Python Exception

Daphne
Dropboxer

Hi @rosstcorbett, I hope you're doing well today!

 

Can you try the steps suggested here to see if that does the trick? The OP in this thread seemed to be getting the same error message as what you provided here.

 

Let me know how it goes!


Daphne
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, please give it a Like below.
:arrows_counterclockwise: Still stuck? Ask me a question!
:pushpin: Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.

Re: Fatal Python Exception

rosstcorbett
Explorer | Level 4

Hi Daphne,

 

Thank you for getting back to me.

 

Regarding the link you sent me, am I to copy paste all of the install lines and add them in terminal or just try them one by one? Sorry, I don't have much experience.

 

Many thanks.

 

Ross

Re: Fatal Python Exception

rosstcorbett
Explorer | Level 4

Hi @Daphne 

 

I copy and pasted the following from the link you sent me:

 

sudo apt-get install libc6
sudo apt-get install libglapi-mesa
sudo apt-get install libxdamage1
sudo apt-get install libxfixes3
sudo apt-get install libxcb-glx0
sudo apt-get install libxcb-dri2-0
sudo apt-get install libxcb-dri3-0
sudo apt-get install libxcb-present0
sudo apt-get install libxcb-sync1
sudo apt-get install libxshmfence1
sudo apt-get install libxxf86vm1

 It looks like there is some progress but now it seems to be stuck on 'Starting' 😞 😞

 

 

root@server-1:/srv/users/serverpilot# dropbox start

Starting Dropbox...dropbox: locating interpreter

dropbox: logging to /tmp/dropbox-antifreeze-ZmVkpI

dropbox: initializing

dropbox: initializing python 3.7.5

dropbox: setting program path '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/dropbox'

dropbox: setting python path '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175:/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/python-packages.zip'

dropbox: python initialized

dropbox: running dropbox

dropbox: setting args

dropbox: applying overrides

dropbox: running main script

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/cryptography.hazmat.bindings._constant_time.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/cryptography.hazmat.bindings._openssl.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/cryptography.hazmat.bindings._padding.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/apex._apex.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/psutil._psutil_linux.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/psutil._psutil_posix.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/tornado.speedups.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/wrapt._wrappers.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/PyQt5.QtWidgets.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/PyQt5.QtCore.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/PyQt5.QtGui.cpython-37m-x86_64-linux-gnu.so'

Done!

root@server-1:/srv/users/serverpilot# dropbox status

Starting...

root@server-1:/srv/users/serverpilot# dropbox status

Starting...

root@server-1:/srv/users/serverpilot# dropbox stop

Dropbox daemon stopped.

root@server-1:/srv/users/serverpilot# dropbox status

Dropbox isn't running!

root@server-1:/srv/users/serverpilot# dropbox start

Starting Dropbox...dropbox: locating interpreter

dropbox: logging to /tmp/dropbox-antifreeze-bTrSWd

dropbox: initializing

dropbox: initializing python 3.7.5

dropbox: setting program path '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/dropbox'

dropbox: setting python path '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175:/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/python-packages.zip'

dropbox: python initialized

dropbox: running dropbox

dropbox: setting args

dropbox: applying overrides

dropbox: running main script

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/cryptography.hazmat.bindings._constant_time.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/cryptography.hazmat.bindings._openssl.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/cryptography.hazmat.bindings._padding.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/apex._apex.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/psutil._psutil_linux.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/psutil._psutil_posix.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/tornado.speedups.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/wrapt._wrappers.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/PyQt5.QtWidgets.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/PyQt5.QtCore.cpython-37m-x86_64-linux-gnu.so'

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-104.4.175/PyQt5.QtGui.cpython-37m-x86_64-linux-gnu.so'

Done!

root@server-1:/srv/users/serverpilot# dropbox status

Starting...

root@server-1:/srv/users/serverpilot#

 

-----

 

Should I now copy and paste this too?

sudo chown "$USER" "$HOME"
sudo chown -R "$USER" ~/Dropbox ~/.dropbox
sudo chattr -R -i ~/Dropbox
sudo chmod -R u+rw ~/Dropbox ~/.dropbox   

 Or is there now a new problem?

 

Many thanks.

 

Ross

Re: Fatal Python Exception

Daphne
Dropboxer

Thanks for getting back to me here @rosstcorbett!

 

You would need to enter the commands one by one, and I would suggest copy/pasting them as they are.

 

I would suggest giving this a try to see if that will do the trick. Cheers!


Daphne
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, please give it a Like below.
:arrows_counterclockwise: Still stuck? Ask me a question!
:pushpin: Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.

Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?