View previous topic :: View next topic |
Author |
Message |
xavier10 Guru

Joined: 19 Jan 2004 Posts: 457 Location: Paris, France
|
Posted: Sat Nov 19, 2016 2:41 pm Post subject: Dropbox could not start |
|
|
I just installed dropbox on a laptop running Gentoo. I followed the instruction on the Gentoo Dropbox page:
https://wiki.gentoo.org/wiki/Dropbox
Though, Dropbox cannot start:
Code: | $ dropbox start
Couldn't start Dropbox.
This is usually because of a permissions error. Storing your home folder on a network share can also cause an error.
Get more help at https://www.dropbox.com/c/help/permissions_error
Please contact Dropbox support with the following info for help:
/tmp/dropbox_errorqissbl.txt |
Though it mentions a possible permission error, I am not so sure, as I do have right on the Dropbox directory on my account. Furthermore the following excertp of the error file is fishy:
Quote: | sys_executable: '/opt/dropbox/dropbox'
real_path='/opt/dropbox/dropbox'
mode=0100755 uid=0 gid=0
parent mode=040755 uid=0 gid=0
trace.__file__: '/opt/dropbox/library.zip/dropbox/client/ui/common/boot_error.pyc'
real_path='/opt/dropbox/dropbox/dropbox/client/ui/common/boot_error.pyc'
not found
parent not found
tempdir: '/tmp'
real_path='/tmp'
mode=041777 uid=0 gid=0
parent mode=040755 uid=0 gid=0
Traceback (most recent call last):
File "dropbox/client/main.py", line 5050, in main_startup
File "dropbox/client/main.py", line 2173, in run
File "ui/common/uikit.py", line 473, in create_ui_kit
File "dropbox/client/ui/qt/__init__.py", line 13, in <module>
File "PyQt5/QtCore.py", line 23, in <module>
ImportError: No module named None |
There is no file /opt/dropbox/dropbox/dropbox/client/ui/common/boot_error.pyc on my machine. Also, I am not sure what is this "None" module it is complaining about. Last, I expressely used the "-X" option for Dropbox, as I do not want to install the Qt stuff (the laptop is a six years old Asus EEE PC and will take a week just to compile it). |
|
Back to top |
|
 |
Hu Moderator

Joined: 06 Mar 2007 Posts: 16464
|
Posted: Sat Nov 19, 2016 4:03 pm Post subject: |
|
|
I interpret that output file to indicate two bugs. First, import None is nonsense. PyQt should not do that. If the problem is that the underlying Qt libraries are missing, it should fail with a clearer error message.
Second, it looks like a working PyQt, and therefore a working Qt, may be mandatory for correct operation of dropbox/client/main.py. If so, the ebuild ought not install that file (or any of the files that hard-depend on it) when you USE=-X. The ebuild already removes some PyQt files bundled by upstream when you USE=-X. It looks like more may need to be removed. |
|
Back to top |
|
 |
Maitreya Guru

Joined: 11 Jan 2006 Posts: 440
|
Posted: Sun Nov 20, 2016 7:00 pm Post subject: |
|
|
I encountered this same behavior. oddly enough when you switch to a tty console and start dropbox, it works.
After it's done its own update it also works from the DM, I'm guessing some env variable differences. |
|
Back to top |
|
 |
xavier10 Guru

Joined: 19 Jan 2004 Posts: 457 Location: Paris, France
|
Posted: Sun Nov 20, 2016 8:42 pm Post subject: |
|
|
Thanks a lot for the responses !
I will file a bug.
I tried to launch from the console, and it does not show this error (I get another error that is related to the linking of the device, so I think I have progressed some ---though I have no time to investigate this more right now...) |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|