Error when I try to bind a local directory with Nuxeo with Nuxeo Drive

Hi,

I try to create on my Windows a local synchronization with Nuxeo using Nuxeo Drive command line and I have the following error :

C:\Users\bjalon>ndrive bind-server bjalon http://my.nuxeo.server.fr/nuxeo --local-folder "C:\Users\bjalon\Test"
Password:
2014-01-24 11:52:01,121 3056 1544 INFO     nxdrive.controller Binding 'C:\Users\bjalon\Test' to 'http://my.nuxeo.server.fr/nuxeo/' with account 'bjalon'
2014-01-24 11:52:01,398 3056 1544 ERROR    nxdrive.commandline Error executing 'bind_server': 'folder'
Traceback (most recent call last):
  File "nuxeo-drive-client\nxdrive\commandline.py", line 331, in handle
  File "nuxeo-drive-client\nxdrive\commandline.py", line 394, in bind_server
  File "nuxeo-drive-client\nxdrive\controller.py", line 477, in bind_server
  File "nuxeo-drive-client\nxdrive\client\remote_file_system_client.py", line 68, in get_filesystem_root_info
  File "nuxeo-drive-client\nxdrive\client\remote_file_system_client.py", line 168, in file_to_info
KeyError: 'folder'

What is the trouble ?

0 votes

1 answers

908 views

ANSWER



Hi me,

In fact your didn't check well your server as there is a redirection to https. So just replace the http to https. And you will have this beautiful result :

C:\Users\bjalon>ndrive bind-server bjalon https://my.nuxeo.server.fr/nuxeo --local-folder "C:\Users\bjalon\Test"
Password:
2014-01-24 11:54:58,288 1984 3060 INFO     nxdrive.controller Binding 'C:\Users\bjalon\Test' to 'https://my.nuxeo.server.fr/nuxeo/' with account 'bjalon'

Thanks to myself :D

0 votes