New created project was not saved.

Bug #271082 reported by NicoInattendu
2
Affects Status Importance Assigned to Milestone
Myrtille
Status tracked in Trunk
Trunk
Fix Released
High
NicoInattendu

Bug Description

When using assistant to create a new project, the creation of project fails at the last "page" of the assistant, i.e when project is created on disk ; the following error was raised :

   projectObj.new_project(project_folder,self.project_datas)
  File "/usr/lib/myrtille/myrtLib/myrtille_file_in_out.py", line 266, in
new_project
    self.__save_to_file(newprojectXmlfile)
  File "/usr/lib/myrtille/myrtLib/myrtille_file_in_out.py", line 520, in
__save_to_file
    self.__doc_et.write(file_temp,"UTF-8")
  File "/usr/lib/python2.5/xml/etree/ElementTree.py", line 658, in write
    file = open(file, "wb")
IOError: [Errno 13] Permission non accordée: 'testWebCam.xml'

Related branches

Revision history for this message
NicoInattendu (nico-inattendu) wrote :

The error is due to incorrect parameter in call __save_to_file in method nex_project. The pameter is only given with basename not with full path.
This a regression introduced when version 57.1.3 was commited

Revision history for this message
NicoInattendu (nico-inattendu) wrote :

Fix released in myrtille branch 0.5.15.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.