<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ServerBinding object is not JSON serializable in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/serverbinding-object-is-not-json-serializable/m-p/314009#M1010</link>
    <description>&lt;P&gt;Finally I found a solution to my problem. From here: &lt;A href="http://answers.nuxeo.com/questions/10614/nuxeo-drive-doesnt-start-in-ubuntu-nor-windows"&gt;http://answers.nuxeo.com/questions/10614/nuxeo-drive-doesnt-start-in-ubuntu-nor-windows&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It is mentionned by ataillefer that master branch of nuxeo drive client isn't always stable. So I installed 1.4 branch and it works well now.&lt;/P&gt;
&lt;P&gt;Maybe it would be useful to update the documentation.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jan 2015 15:55:45 GMT</pubDate>
    <dc:creator>Simon_Tremblay</dc:creator>
    <dc:date>2015-01-20T15:55:45Z</dc:date>
    <item>
      <title>ServerBinding object is not JSON serializable</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/serverbinding-object-is-not-json-serializable/m-p/314008#M1009</link>
      <description>&lt;P&gt;I have Nuxeo 6.0.0 platform with Nuxeo Drive plugin 1.4.3 installed. I installed Nuxeo Drive client for Ubuntu (14.04) as mentionned here [http://doc.nuxeo.com/display/USERDOC60/Nuxeo+Drive][1].
[1]: &lt;A href="http://doc.nuxeo.com/display/USERDOC60/Nuxeo+Drive" target="test_blank"&gt;http://doc.nuxeo.com/display/USERDOC60/Nuxeo+Drive&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I've got that error in terminal:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;2015-01-20 09:46:28,449 1359 140269865395968 ERROR    nxdrive.engine.synchronizer Error in synchronization thread: &amp;lt;nxdrive.engine.dao.model.ServerBinding object at 0x7f932402a510&amp;gt; is not JSON serializable
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nxdrive/engine/synchronizer.py", line 207, in run
    **self.kwargs)
  File "/usr/local/lib/python2.7/dist-packages/nxdrive/engine/synchronizer.py", line 1635, in loop
    max_sync_step=max_sync_step)
  File "/usr/local/lib/python2.7/dist-packages/nxdrive/engine/synchronizer.py", line 1916, in update_synchronize_server
    server_binding, session=session)
  File "/usr/local/lib/python2.7/dist-packages/nxdrive/engine/synchronizer.py", line 1687, in _get_remote_changes
    summary = remote_client.get_changes(server_binding)
  File "/usr/local/lib/python2.7/dist-packages/nxdrive/client/remote_file_system_client.py", line 238, in get_changes
    last_root_definitions))
  File "/usr/local/lib/python2.7/dist-packages/nxdrive/client/base_automation_client.py", line 311, in execute
    data = json.dumps(json_struct)
  File "/usr/lib/python2.7/json/__init__.py", line 243, in dumps
    return _default_encoder.encode(obj)
  File "/usr/lib/python2.7/json/encoder.py", line 207, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python2.7/json/encoder.py", line 270, in iterencode
    return _iterencode(o, 0)
  File "/usr/lib/python2.7/json/encoder.py", line 184, in default
    raise TypeError(repr(o) + " is not JSON serializable")
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I don't know if it is a problem of version compatibility between nuxeo drive client and plugin but it isn't mentionned that it needs to be in phase.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2015 15:53:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/serverbinding-object-is-not-json-serializable/m-p/314008#M1009</guid>
      <dc:creator>Simon_Tremblay</dc:creator>
      <dc:date>2015-01-20T15:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: ServerBinding object is not JSON serializable</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/serverbinding-object-is-not-json-serializable/m-p/314009#M1010</link>
      <description>&lt;P&gt;Finally I found a solution to my problem. From here: &lt;A href="http://answers.nuxeo.com/questions/10614/nuxeo-drive-doesnt-start-in-ubuntu-nor-windows"&gt;http://answers.nuxeo.com/questions/10614/nuxeo-drive-doesnt-start-in-ubuntu-nor-windows&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It is mentionned by ataillefer that master branch of nuxeo drive client isn't always stable. So I installed 1.4 branch and it works well now.&lt;/P&gt;
&lt;P&gt;Maybe it would be useful to update the documentation.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2015 15:55:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/serverbinding-object-is-not-json-serializable/m-p/314009#M1010</guid>
      <dc:creator>Simon_Tremblay</dc:creator>
      <dc:date>2015-01-20T15:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: ServerBinding object is not JSON serializable</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/serverbinding-object-is-not-json-serializable/m-p/314010#M1011</link>
      <description>&lt;P&gt;Yes you're right, just updated the documentation.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2015 16:04:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/serverbinding-object-is-not-json-serializable/m-p/314010#M1011</guid>
      <dc:creator>ataillefer_</dc:creator>
      <dc:date>2015-01-20T16:04:21Z</dc:date>
    </item>
  </channel>
</rss>

