Process Documentation

Questions about BrainVisa usage and installation

Moderators: denghien, riviere

Post Reply
yo_el
Posts: 6
Joined: Fri Sep 05, 2008 12:08 pm

Process Documentation

Post by yo_el »

Hi,

I wrote some new processes in BV, which are not in the standard path (they are somewhere in my account).
I want to add a documentation but I have some problems, as I don't have the rights to write in ../brainvisa/doc/.../processes/..
So when I select a process, push the Edit button ,write the documentation and then push the Apply Button, I get this message :

IOError: [Errno 13] Permission denied: '/usr/local/src/SHFJ_pack-stable-linux-3.0.2/brainvisa/doc/en/processes/Traitement1.html'
neuroProcessesGUI.py (1281) in applyChanges: generateHTMLDocumentation( self.process )
neuroProcesses.py (354) in generateHTMLDocumentation:
f = open( htmlFileName, 'w' )

On the top of the Edit Window there is the Field HTML Path and I have tried to set this field to the fullpath of a real html file/ directory in my work space :

/home/atlasuser/MesTraitements/doc/fr/processes/Traitement1.html
or
/home/atlasuser/MesTraitements/doc/fr/processes/
but I get :
TypeError: argument 1 of QLineEdit.setText() has an invalid type

neuroProcessesGUI.py (1280) in applyChanges: self.writeDocumentation()
neuroProcessesGUI.py (1244) in writeDocumentation:
elf.setLanguage( self.language )
neuroProcessesGUI.py (1248) in setLanguage:
self.leHTMLPath.setText( self.documentation.get( 'htmlPath', '' ) )

I have also tried to find a env_variable to add the htmlPath another path but I didn't find it
What is the right way to solve this problem? There is no way to indicate somewhere in the process code that there is a given doc html file ?

Thanks in advance,

Sara
Dominique Geffroy
Site Admin
Posts: 161
Joined: Thu Mar 01, 2007 4:22 pm
Location: IFR 49 - Neurospin, Gif-sur-Yvette, France
Contact:

Re: Process Documentation

Post by Dominique Geffroy »

Hi Sara,

Indeed it seems there is a bug with this field HTMLPath. We will correct this soon.
Meanwhile, maybe you can change the permissions on brainvisa's default doc directory...

Dominique
yo_el
Posts: 6
Joined: Fri Sep 05, 2008 12:08 pm

Re: Process Documentation

Post by yo_el »

Thank you.
I will ask our system manager to open rigths for me there.
Sara
Dominique Geffroy
Site Admin
Posts: 161
Joined: Thu Mar 01, 2007 4:22 pm
Location: IFR 49 - Neurospin, Gif-sur-Yvette, France
Contact:

Re: Process Documentation

Post by Dominique Geffroy »

This bug is fixed in last update (version 3.1.3).
Post Reply