Page 1 of 1

Error using the --username option of bv_maker

Posted: Thu Jan 19, 2017 5:16 pm
by pron.a
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

Re: Error using the --username option of bv_maker

Posted: Wed Feb 15, 2017 1:49 am
by riviere
Hi,
I'm afraid I completely forgot to answer you and to look at this problem. However you seem to be right, the option is passed to svn at the wrong place. I'll try to remember to look at it within a few days...
Denis

Re: Error using the --username option of bv_maker

Posted: Wed Feb 15, 2017 9:12 am
by Yann Cointepas
Hi,

Yes, it is a bug. I started to look at it but failed to find time to fix it.

Yann

Re: Error using the --username option of bv_maker

Posted: Tue Feb 21, 2017 4:32 pm
by pron.a
Hello Denis and Yann,
thank you for the answer :) .
I will just continue to use bv_maker without the option for the moment there is no hurry ^^
Thank you for your time

Re: Error using the --username option of bv_maker

Posted: Thu Mar 02, 2017 8:09 pm
by riviere
Hi,
the --username option should be fixed now (on svn), but I have not tested it.
Denis