does not recover properly from failed project loading
Submitted by Jeff F.T.
Assigned to Jeff F.T.
As reported in https://bugs.launchpad.net/ubuntu/+source/pitivi/+bug/597759
If you try to load something that is not a project file as if it was a project file (ex: run "pitivi foo.ogv"), pitivi will produce a traceback and this will affect future operations:
Traceback (most recent call last):
File "/usr/lib/pitivi/python/pitivi/ui/sourcelist.py", line 593, in _dialogBoxResponseCb
File "/usr/lib/pitivi/python/pitivi/ui/sourcelist.py", line 475, in addUris
AttributeError: 'NoneType' object has no attribute 'sources'
This seems to put pitivi in an invalid state, preventing it from being able to import clips (and probably render) afterwards.
Imported from https://bugzilla.gnome.org/show_bug.cgi?id=622624