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 635984 - The -p command line flag for previewing a project is broken
The -p command line flag for previewing a project is broken
Status: RESOLVED FIXED
Product: pitivi
Classification: Other
Component: General
Git
Other Linux
: Normal normal
: 0.14
Assigned To: Pitivi maintainers
Pitivi maintainers
Depends on:
Blocks:
 
 
Reported: 2010-11-28 13:52 UTC by Alex Băluț
Modified: 2010-12-08 14:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alex Băluț 2010-11-28 13:52:32 UTC
$ bin/pitivi -p  ~/Videos/test.xptv 
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Traceback (most recent call last):
  • File "bin/pitivi", line 138 in <module>
    _run_pitivi()
  • File "bin/pitivi", line 133 in _run_pitivi
    sys.exit(ptv.main(sys.argv))
  • File "pitivi/application.py", line 428 in main
    ptv.run(sys.argv[1:])
  • File "pitivi/application.py", line 311 in run
    self.gui = PitiviViewer()
TypeError: __init__() takes at least 3 arguments (1 given)

Comment 1 Alex Băluț 2010-12-06 07:49:55 UTC
A commit on Nov 25 changed PitiviViewer to allow it to be aware of the app/settings, so when it's docked/undocked/resized it remembers. This is bad IMO because it makes the PitiviViewer too complex. Its container should be aware of the settings, instead.

The minimal fix is here:
https://github.com/aleb/pitivi/commit/4dac02774995fd523e3d2c6845460d618ef8b1ae
Comment 2 Brandon Lewis 2010-12-08 14:11:58 UTC
commit 6058563a634c69153be0abb6e9381a6ae8437096
Author: Alex Băluț <alexandru.balut@gmail.com>
Date:   Sun Dec 5 23:28:30 2010 +0100

    fixed 635984 - make -p command line argument work again