Error using the --username option of bv_maker

Questions about BrainVisa usage and installation

Moderators: denghien, riviere

Post Reply
pron.a
Posts: 22
Joined: Mon Feb 22, 2016 10:09 am

Error using the --username option of bv_maker

Post 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
User avatar
riviere
Site Admin
Posts: 1361
Joined: Tue Jan 06, 2004 12:21 pm
Location: CEA NeuroSpin, Saint Aubin, France
Contact:

Re: Error using the --username option of bv_maker

Post 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
User avatar
Yann Cointepas
Posts: 316
Joined: Tue Jan 20, 2004 2:56 pm
Location: Neurospin, Saint Aubin, France
Contact:

Re: Error using the --username option of bv_maker

Post by Yann Cointepas »

Hi,

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

Yann
pron.a
Posts: 22
Joined: Mon Feb 22, 2016 10:09 am

Re: Error using the --username option of bv_maker

Post 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
User avatar
riviere
Site Admin
Posts: 1361
Joined: Tue Jan 06, 2004 12:21 pm
Location: CEA NeuroSpin, Saint Aubin, France
Contact:

Re: Error using the --username option of bv_maker

Post by riviere »

Hi,
the --username option should be fixed now (on svn), but I have not tested it.
Denis
Post Reply