Problem with nuxeo drive for txt file

I have this nuxeo fast-track 5.7.3 installation : nuxeo-dm-5.7.3, nuxeo-social-collaboration-5.7.3, nuxeo-drive-1.1.2. All documents put in the nuxeo-drive folder are uploaded on the server except txt files. This document never appears in the folder on the server (in nuxeo-dm or nuxeo-sc interface) On the other hand, when I create the same txt document in the interface, it's ok. The txt file appears in the nuxeo drive folder. Thank you. Patrick

0 votes

1 answers

2136 views

ANSWER

I find this in server.log ! Caused by: org.nuxeo.ecm.core.api.ClientException: Cannot create document of type Note in container with type SocialFolder So, we cant put txt file in SocialFolder !
11/04/2013



There is no apparent reason why text files would not be synchronized, works on our side. You should check the client logs located in ~/.nuxeo-drive/logs/nxdrive.log , they might give you some useful information. Note that by default the log file is set to DEBUG level but you can set it to TRACE by running the commandline:

ndrive --log-level-file=TRACE

0 votes



Here is the trace : 2013-11-06 09:19:32,434 8684 10500 ERROR nxdrive.synchronizer Failed to sync LastKnownState<local_folder=u'Nuxeo Driv e', local_path=u'/dossier DSI/texte_simple_1.txt', remote_name=None, local_state=u'created', remote_state=u'unknown', pa ir_state=u'locally_created'>, blacklisting doc pair for 300 seconds Traceback (most recent call last): File "nuxeo-drive-client\nxdrive\synchronizer.py", line 1034, in synchronize File "nuxeo-drive-client\nxdrive\synchronizer.py", line 573, in synchronize_one File "nuxeo-drive-client\nxdrive\synchronizer.py", line 693, in synchronize_locally_created File "nuxeo-drive-client\nxdrive\client\remote_file_system_client.py", line 120, in stream_file File "nuxeo-drive-client\nxdrive\client\base_automation_client.py", line 301, in execute_with_blob_streaming File "nuxeo-drive-client\nxdrive\client\base_automation_client.py", line 372, in execute_batch File "nuxeo-drive-client\nxdrive\client\base_automation_client.py", line 209, in execute File "C:\Python27\lib\urllib2.py", line 406, in open File "C:\Python27\lib\urllib2.py", line 519, in http_response File "C:\Python27\lib\urllib2.py", line 444, in error File "C:\Python27\lib\urllib2.py", line 378, in call_chain File "C:\Python27\lib\urllib2.py", line 527, in http_error_default HTTPError: HTTP Error 500: Erreur Interne de Servlet
11/06/2013

OK this is consistent with your previous comment, HTTP 500 means a server-side error.
11/06/2013