Ndrive debian

Bonjour,

J'ai tenté d'installer ndrive sur mon pc debian Wheezy en suivant la documentation type a link name, mais lorsque je lance ndrive, ça me répond :

$ ndrive Traceback (most recent call last): File “/usr/local/bin/ndrive”, line 6, in

sys.exit(main())

File “/usr/local/lib/python2.7/dist-packages/nxdrive/commandline.py”, line 742, in main

return CliHandler().handle(argv)

File “/usr/local/lib/python2.7/dist-packages/nxdrive/commandline.py”, line 463, in handle

options = self.parse_cli(argv)

File “/usr/local/lib/python2.7/dist-packages/nxdrive/commandline.py”, line 387, in parse_cli

self.load_config(parser)

File “/usr/local/lib/python2.7/dist-packages/nxdrive/commandline.py”, line 422, in load_config

config.read(configs)

File “/usr/lib/python2.7/ConfigParser.py”, line 305, in read

self._read(fp, filename)

File “/usr/lib/python2.7/ConfigParser.py”, line 512, in _read

raise MissingSectionHeaderError(fpname, lineno, line)

ConfigParser.MissingSectionHeaderError: File contains no section headers. file: config.ini, line: 3 'osgi.sharedConfiguration.area=file\:configuration/\n'

Des idées ?

0 votes

2 answers

1143 views

ANSWER



Merci, Ceci m'a permis de lancer ndrive en tant que root, mais impossible de le lancer en tant qu'utilisateur autre que root. J'ai les messages d'erreur :

Traceback (most recent call last): File “/usr/local/bin/ndrive”, line 6, in

sys.exit(main())

File “/usr/local/lib/python2.7/dist-packages/nxdrive/commandline.py”, line 752, in main

return CliHandler().handle(argv)

File “/usr/local/lib/python2.7/dist-packages/nxdrive/commandline.py”, line 466, in handle

options = self.parse_cli(argv)

File “/usr/local/lib/python2.7/dist-packages/nxdrive/commandline.py”, line 390, in parse_cli

self.load_config(parser)

File “/usr/local/lib/python2.7/dist-packages/nxdrive/commandline.py”, line 425, in load_config

config.read(configs)

File “/usr/lib/python2.7/ConfigParser.py”, line 305, in read

self._read(fp, filename)

File “/usr/lib/python2.7/ConfigParser.py”, line 512, in _read

raise MissingSectionHeaderError(fpname, lineno, line)

ConfigParser.MissingSectionHeaderError: File contains no section headers. file: config.ini, line: 3 'osgi.sharedConfiguration.area=file\:configuration/\n'

Une idée ?

0 votes



Hello,

Seems you have a bad config.ini file in /home/<username>/.nuxeo-drive. Either simply remove it or make it follow the right syntax, see Nuxeo Drive FAQ as an example.

Cheers.

0 votes