Project is not saved

Bug #1176463 reported by Carlos Maniero
56
This bug affects 14 people
Affects Status Importance Assigned to Milestone
OpenShot Video Editor
Fix Committed
High
Andy Finch
openshot (Ubuntu)
Fix Committed
Undecided
Unassigned

Bug Description

On click "Save project" return the message below:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openshot/windows/NewProject.py", line 200, in on_btnCreateProject_clicked
    self.create_project()
  File "/usr/lib/pymodules/python2.7/openshot/windows/NewProject.py", line 240, in create_project
    self.project.Save("%s/%s.osp" % (localFolder, localName))
  File "/usr/lib/pymodules/python2.7/openshot/classes/project.py", line 339, in Save
    save_project.save_project(self, file_path)
  File "/usr/lib/pymodules/python2.7/openshot/classes/save_project.py", line 31, in save_project
    os.mkdir(os.path.join(project_object.folder, "thumbnail"))
OSError: [Errno 2] Arquivo ou diretório não encontrado: '/home/user/Desktop/thumbnail'

To correct it, change from os.mkdir to os.makedirs on save_project.py.
Thank's

Related branches

Revision history for this message
Carlos Maniero (carlosmaniero) wrote :
Revision history for this message
Carlos Maniero (carlosmaniero) wrote :

In my linux (Ubuntu Gnome 13.04 - Pt-br version) the Desktop folder is named "Área de Trabalho", the save action ever save the project in "desktop" folder.

Revision history for this message
Carlos Maniero (carlosmaniero) wrote :

I changed the newWindow UI, now he uses GtkFileChooserWidget. because GtkFileChooserButton has a bug that could not identify, but always brings the default folder.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openshot (Ubuntu):
status: New → Confirmed
affects: openshot → openshot (Ubuntu)
Changed in openshot (Ubuntu):
status: New → Confirmed
David Planella (dpm)
Changed in openshot (Ubuntu):
importance: Undecided → Critical
importance: Critical → Undecided
Changed in openshot:
status: New → Confirmed
Andy Finch (fincha)
Changed in openshot (Ubuntu):
assignee: nobody → Andy Finch (fincha)
Andy Finch (fincha)
Changed in openshot (Ubuntu):
assignee: Andy Finch (fincha) → nobody
Changed in openshot:
assignee: nobody → Andy Finch (fincha)
status: Confirmed → Fix Committed
importance: Undecided → High
Changed in openshot:
status: Fix Committed → In Progress
status: In Progress → Fix Committed
Revision history for this message
Andy Finch (fincha) wrote :

Thanks for the hint, the fix has been committed to the trunk.

Hery Pinto (hery-pinto)
Changed in openshot (Ubuntu):
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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