Error using the --username option of bv_maker
Posted: Thu Jan 19, 2017 5:16 pm
Hello dear Brainvisa team,
I am testing compilation of brainvisa on a Jessy (Debian machine) and discovered the --username option of bv_maker. I thought I could use it to solve an svn authentification issue but I have an error. If I don't use the option everything works fine. It seems that the option is not parsed at the right place in the svn command but not sure of it . Here is what I have got , I just changed the username to toto:
./bv_maker --username=toto sources
svn --username toto propset svn:externals --file /home/pron.a/software-dev/brainvisa-test/source/bv_maker.externals /home/pron.a/software-dev/brainvisa-test/source
Unknown subcommand: ' --username'
Entrer 'svn help' pour l'aide.
Traceback (most recent call last):
File "./bv_maker", line 428, in process
getattr(o, method)(*meth_args, **meth_kwargs)
File "./bv_maker", line 1145, in process
'--file', externalsFileName, self.directory)
File "./bv_maker", line 1184, in svncommand
system(*cmd)
File "./bv_maker", line 127, in system
raise OSError(txt)
OSError: Command failed: 'svn' ' --username' 'toto' 'propset' 'svn:externals' '--file' '/home/pron.a/software-dev/brainvisa-test/source/bv_maker.externals' '/home/pron.a/software-dev/brainvisa-test/source'
Have a good day
I am testing compilation of brainvisa on a Jessy (Debian machine) and discovered the --username option of bv_maker. I thought I could use it to solve an svn authentification issue but I have an error. If I don't use the option everything works fine. It seems that the option is not parsed at the right place in the svn command but not sure of it . Here is what I have got , I just changed the username to toto:
./bv_maker --username=toto sources
svn --username toto propset svn:externals --file /home/pron.a/software-dev/brainvisa-test/source/bv_maker.externals /home/pron.a/software-dev/brainvisa-test/source
Unknown subcommand: ' --username'
Entrer 'svn help' pour l'aide.
Traceback (most recent call last):
File "./bv_maker", line 428, in process
getattr(o, method)(*meth_args, **meth_kwargs)
File "./bv_maker", line 1145, in process
'--file', externalsFileName, self.directory)
File "./bv_maker", line 1184, in svncommand
system(*cmd)
File "./bv_maker", line 127, in system
raise OSError(txt)
OSError: Command failed: 'svn' ' --username' 'toto' 'propset' 'svn:externals' '--file' '/home/pron.a/software-dev/brainvisa-test/source/bv_maker.externals' '/home/pron.a/software-dev/brainvisa-test/source'
Have a good day