Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-10925

Nuxeo Drive should make it possible to unbind server even offline

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Nuxeo Drive
    • Tags:
    • Backlog priority:
      600

      Description

      $ ndrive unbind-server
      2013-02-04 19:13:26,975 44912 140735144665472 ERROR    nxdrive.commandline Error executing 'unbind_server': <urlopen error [Errno 61] Connection refused>
      Traceback (most recent call last):
        File "/usr/local/lib/python2.7/site-packages/nxdrive/commandline.py", line 308, in handle
          return handler(options)
        File "/usr/local/lib/python2.7/site-packages/nxdrive/commandline.py", line 370, in unbind_server
          self.controller.unbind_server(options.local_folder)
        File "/usr/local/lib/python2.7/site-packages/nxdrive/controller.py", line 336, in unbind_server
          token=binding.remote_token)
        File "/usr/local/lib/python2.7/site-packages/nxdrive/client/remote_document_client.py", line 64, in __init__
          ignored_prefixes, ignored_suffixes)
        File "/usr/local/lib/python2.7/site-packages/nxdrive/client/base_automation_client.py", line 80, in __init__
          self.fetch_api()
        File "/usr/local/lib/python2.7/site-packages/nxdrive/client/base_automation_client.py", line 94, in fetch_api
          response = json.loads(self.opener.open(req).read())
        File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 400, in open
          response = self._open(req, data)
        File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 418, in _open
          '_open', req)
        File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 378, in _call_chain
          result = func(*args)
        File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1207, in http_open
          return self.do_open(httplib.HTTPConnection, req)
        File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1177, in do_open
          raise URLError(err)
      URLError: <urlopen error [Errno 61] Connection refused>
      

      The token revocation exception should be ignored.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ogrisel Olivier Grisel
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: