After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 557575 - Doesn't load relative filenames
Doesn't load relative filenames
Status: RESOLVED FIXED
Product: pitivi
Classification: Other
Component: User interface
Git
Other Linux
: Normal normal
: 0.13.1
Assigned To: Brandon Lewis
Pitivi maintainers
Depends on:
Blocks:
 
 
Reported: 2008-10-23 10:18 UTC by Bastien Nocera
Modified: 2009-05-14 14:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2008-10-23 10:18:01 UTC
$ pitivi Video1.MOV 
Traceback (most recent call last):
  • File "/usr/share/pitivi/python/pitivi/ui/ruler.py", line 123 in do_expose_event
    self.drawPosition(context, self.get_allocation())
  • File "/usr/share/pitivi/python/pitivi/ui/ruler.py", line 319 in drawPosition
    if self.getDuration() <= 0:
  • File "/usr/share/pitivi/python/pitivi/ui/ruler.py", line 218 in getDuration
    return instance.PiTiVi.current.timeline.getDuration()
AttributeError: 'NoneType' object has no attribute 'timeline'

And the error:
PiTiVi is unable to load file "file://Video1.MOV": There was an error loading the file.

The file should have been file:///home/hadess/Video1.MOV.

Use the g_file_new_for_commandline_arg() and g_file_get_uri() bindings to get the full URI.
Comment 1 Brandon Lewis 2009-02-11 19:59:46 UTC
the filename argument is for project files, not individual movies.
Comment 2 Alessandro Decina 2009-03-11 12:31:25 UTC
brandon can we close this now that we merged your command_line branch?