Uploaded image for project: 'Nuxeo Documentation'
  1. Nuxeo Documentation
  2. NXDOC-1248

missing xattr dependency in documentation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Administration, Nuxeo Drive

      Description

      By default xattr is not installed and this leads to the following error when attempting to start ndrive for the first time:

      Traceback (most recent call last):
        File "/usr/local/bin/ndrive", line 6, in <module>
          from nxdrive.commandline import main
        File "/usr/local/lib/python2.7/dist-packages/nxdrive/commandline.py", line 12, in <module>
          from nxdrive.client.common import DEFAULT_REPOSITORY_NAME
        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 32, in <module>
          import xattr
      ImportError: No module named xattr
      

      This is fixed by installing xattr Python module:

      sudo apt-get install python-xattr
      

      The following documentation should be updated to mention the xattr dependency.
      https://doc.nuxeo.com/nxdoc/nuxeo-drive-installation-configuration/
      https://doc.nuxeo.com/810/nxdoc/nuxeo-drive-installation-configuration/

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 10 minutes
                  10m