Can not open 1.4.2 project in 1.4.3 alpha

Bug #1057973 reported by XXLRay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenShot Video Editor
Expired
Undecided
Unassigned

Bug Description

I pulled openshot 1.4.3 alpha from the repository and launch it on Ubuntu 11.10 by "openshot/bin/openshot". I can not open at least one of my projects I created in 1.4.2 any more (others work properly). I get a window opened containing the following error message:

There was an error opening this project file. Please be sure you open the correct *.osp file.

There are no error messages on the command line.

I attached the project file.

Revision history for this message
XXLRay (xxlray) wrote :
Revision history for this message
Jonathan Thomas (jonoomph) wrote :

Hi, I found the problem with your OSP file. To fix it, open in a text editor, and change the 1st line from:

Original:
(iopenshot.classes.project

Modified:
(iclasses.project

Save the file, and now it will work in OpenShot. I have no idea why it would do that, but maybe it's based on how you launched OpenShot, or how OpenShot was imported initially. But I don't think it has to do specifically with 1.4.3, because I could not reproduce this problem. Thanks.

Changed in openshot:
status: New → Incomplete
Revision history for this message
Tomas Jura (tomas-jura1) wrote :

I have a same problem and I created a dump of the exception. Here is the output:
Error <type 'exceptions.ImportError'> No module named classes.project
  File "/home/tomas/src/openshot/openshot/windows/OpenProject.py", line 66, in on_btnOpenProject_clicked
    self.form.open_project(file_to_open)
  File "/home/tomas/src/openshot/openshot/windows/MainGTK.py", line 886, in open_project
    self.project.Open(file_to_open)
  File "/home/tomas/src/openshot/openshot/classes/project.py", line 347, in Open
    open_project.open_project(self, file_path)
  File "/home/tomas/src/openshot/openshot/classes/open_project.py", line 39, in open_project
    project_object = pickle.load(myFile)

It seems that pickle.load cannot find the class "classes.project". I tried to add "import classes.project" and "import project" into open_project.py , but it did not helped.

I'm using python version 2.7.3 on debian sid

Revision history for this message
XXLRay (xxlray) wrote :

Thank you so much! Changing the first line to "(iclasses.project" really made it work again. I have no idea where the wring entry came from but this fix saved days of work.

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

[Expired for OpenShot Video Editor because there has been no activity for 60 days.]

Changed in openshot:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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