Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

Capatex's avatar
Capatex
Helpful | Level 5
7 years ago
Solved

Linux Dropbox: fatal python exception

Hi everybody,

I am new to linux, taking over responsibilty due to a colleague leaving and im very lost.

Yesterday, I checked the drobox status on the terminal and it was stuck on dropbox upgrading. I restarted it and now I'm getting the following error with a load of other text:

ImportError: libatomic.so.1: cannot open shared object file: No such file or directory
!! dropbox: fatal python exception:

Can anybody advise how I am able to fix this? And please bear in mind I am new to all of this :)

Thank you so much for your time.

Ross

  • Hi everyone,

    On this thread different troubles are posted! Most of them are related to missing library assignment declaration (library package in fact). For Ubuntu and other debian derived packaging systems, package name is "libatomic1". For RPM based - "libatomic". Workaround to this Dropbox developers fault could be installing the corresponding package by hands. For example, installation command, in Ubuntu, is:

    sudo apt-get install libatomic1

    On other systems, equivalent commands could be used.

    Hope this helps. :wink:

    PS: On Fedora usable command is:

    sudo dnf install libatomic

36 Replies

Replies have been turned off for this discussion
  • Здравко's avatar
    Здравко
    Legendary | Level 20
    7 years ago

    Luis28, One last check to see if by error your library don't match 64-bits:

    file -L $(whereis libatomic.so.1 | sed s/libatomic.so:\ //)

    The result should contain "ELF 64-bit LSB shared object". If result contain "ELF 32-bit LSB shared object" or nothing similar at all, there is something wrong in the library installation/configuration. In such a case the package, containing the library, have to be reinstalled.

    Good luck. :sunglasses:

     

  • Luis28's avatar
    Luis28
    Helpful | Level 5
    7 years ago

    @

  • Cortex76's avatar
    Cortex76
    New member | Level 2
    6 years ago

    Hello

     

    I had to install several packages in order to bypass the error, including libatomic bus as well :

    libxshmfence-dev
    libxcb-present-dev
    libxcb-dri3-dev
    libxcb-dri2-0-dev
    libxcb-glx0-dev
    libxdamage-dev
    libxext6
    libglapi-mesa
    libatomic1

     

    That should be included in the package, dont you think ?

  • Здравко's avatar
    Здравко
    Legendary | Level 20
    6 years ago

    Hi Cortex76,

    That's exactly what Dropbox tries to do (not always successfully). Such a strategy is very wrong! The only right way is proper declaration of needed packages, not include them in one place (systems change over time). The exact reason related to libatomic1 was missing declaration and Dropbox developers rely this package exists in all cases, which isn't true. What they do - not declare needed, but instead libatomic1 content gets included in the application. What's result - the Dropbox application package gets bigger and bigger over time, which could be avoided, nothing more.

  • KingswoodCountry's avatar
    KingswoodCountry
    New member | Level 2
    6 years ago

    same here

     

    nux-gnu.so'
    dropbox: load fq extension '/home/bitnami/.dropbox-dist/dropbox-lnx.x86_64-102.4.431/apex._apex.cpython-37m-x86_64-linux-gnu.so'
    dropbox: load fq extension '/home/bitnami/.dropbox-dist/dropbox-lnx.x86_64-102.4.431/psutil._psutil_linux.cpython-37m-x86_64-linux-gnu.so'
    dropbox: load fq extension '/home/bitnami/.dropbox-dist/dropbox-lnx.x86_64-102.4.431/psutil._psutil_posix.cpython-37m-x86_64-linux-gnu.so'
    dropbox: load fq extension '/home/bitnami/.dropbox-dist/dropbox-lnx.x86_64-102.4.431/tornado.speedups.cpython-37m-x86_64-linux-gnu.so'
    dropbox: load fq extension '/home/bitnami/.dropbox-dist/dropbox-lnx.x86_64-102.4.431/wrapt._wrappers.cpython-37m-x86_64-linux-gnu.so'
    dropbox: load fq extension '/home/bitnami/.dropbox-dist/dropbox-lnx.x86_64-102.4.431/PyQt5.QtWidgets.cpython-37m-x86_64-linux-gnu.so'
    Traceback (most recent call last):
    File "dropbox/client/main.pyc", line 255, 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 289, in <module>
    File "dropbox/client/features/previews/view_anchor.pyc", line 106, in <module>
    File "<_bootstrap_overrides>", line 153, in load_module
    ImportError: libglapi.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 255, 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 289, 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: libglapi.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
    bitnami@ip-172-31-47-141:~$ sudo apt-get install libatomic1
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    libatomic1 is already the newest version (8.3.0-6).
    libatomic1 set to manually installed.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    bitnami@ip-172-31-47-141:~$

  • Здравко's avatar
    Здравко
    Legendary | Level 20
    6 years ago

    Hi KingswoodCountry,

    Your error message have said where exactly is the problem - i. e. missing library "libglapi.so.0". Where did you decide from that the missing library is part of "libatomic1" package?! Particular library, on focus, is part of "libglapi-mesa" package. 😉 I believe, you know what has to be done.

    Hope this helps.

About Create, upload, and share

Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.

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!