Nuxeo Drive doesn't start in Ubuntu nor Windows
When I try to start Nuxeo Drive in Ubuntu 12.04 from console, I get the following message:
Traceback (most recent call last):
File "/usr/local/bin/ndrive", line 5, in <module>
from nxdrive.commandline import main
File "/usr/local/lib/python2.7/dist-packages/nxdrive/commandline.py", line 17, in <module>
from nxdrive.controller import Controller
File "/usr/local/lib/python2.7/dist-packages/nxdrive/controller.py", line 20, in <module>
from nxdrive.client import Unauthorized
File "/usr/local/lib/python2.7/dist-packages/nxdrive/client/__init__.py", line 13, in <module>
from nxdrive.client.local_client import DEDUPED_BASENAME_PATTERN
File "/usr/local/lib/python2.7/dist-packages/nxdrive/client/local_client.py", line 20, in <module>
from send2trash import send2trash
ImportError: No module named send2trash
I have followed the instructions given in https://github.com/nuxeo/nuxeo-drive/#ubuntudebian-and-other-linux-variants-client, from the Nuxeo Drive Tab in the Home menu.
And when I try to start it from my client pc with Windows 7, I get this other:
Traceback (most recent call last):
File "cx_Freeze_init__.py", line 743, in <module>
File "cx_Freeze__init__.py", line 332, in bootstrap
File "cx_Freeze__init__.py", line 359, in chainload
File "cx_Freeze__init__.py", line 729, in _chainload
File "C:\Python27\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in <module>
File "c:\users\nuxeo\appdata\local\temp\tmpuszz1a\scripts\ndrivew.pyw", line 9, in <module>
File "nuxeo-drive-client\nxdrive\commandline.py", line 677, in main
File "nuxeo-drive-client\nxdrive\commandline.py", line 444, in handle
File "nuxeo-drive-client\nxdrive\commandline.py", line 419, in get_controller
OperationalError: (OperationalError) database is locked u'PRAGMA table_info("device_config")' 0
Which are the problems? Thanks in advance.
Hi ataillefer,
I have done what you said for Ubuntu, but I can execute the application already. Now I get this error message:
Traceback (most recent call last): File “/usr/local/bin/ndrive”, line 5, in
from nxdrive.commandline import main
File “/usr/local/lib/python2.7/dist-packages/nxdrive/commandline.py”, line 17, in
from nxdrive.controller import Controller
File “/usr/local/lib/python2.7/dist-packages/nxdrive/controller.py”, line 34, in
from nxdrive.synchronizer import Synchronizer
File “/usr/local/lib/python2.7/dist-packages/nxdrive/synchronizer.py”, line 2236, in
from watchdog.events import FileSystemEventHandler, FileCreatedEvent
ImportError: No module named watchdog.events
Do you know which is the problem? Thanks in advance!
Sorry for the late answer, problem is that the master branch is not always stable, and currently we are doing a big refactoring. So yo should rely on the last stable branch: 1.4.
Please run:
sudo pip install -U -r https://raw.github.com/nuxeo/nuxeo-drive/1.4/requirements.txt
sudo pip install -U git+https://github.com/nuxeo/nuxeo-drive.git@1.4
Hope this helps!
About Linux, can you please retry runing all commands:
sudo pip install -U -r https://raw.github.com/nuxeo/nuxeo-drive/master/requirements.txt
sudo pip install -U git+https://github.com/nuxeo/nuxeo-drive.git
send2trash
has been added quite recently so you might be missing this requirement, the first command shouls install it.
About Windows could be that you already have a Nuxeo Drive instance runinng, in which case you should make sure no ndrive process is running before launching Drive.
Else could be that you need to remove the C:/Users/nuxeo/.nuxeo-drive directory (after having quit Drive) and restart Drive.