[Bug 1031439] Re: transcoding fails to start: NameError: global name 'Gst' is not defined
Iain Lane
iain at orangesquash.org.uk
Sun Aug 5 21:59:43 UTC 2012
The transmageddon SRU fix doesn't need tracking in its own bug; I'll
just reupload it.
** Description changed:
- All transcoding attempts fail the same -
+ = gst0.10-python =
+
+ [ Description ]
+
+ gst-python0.10 didn't expose preset_set_app_dir, which the SRUed
+ transmageddon (0.20-1ubuntu0.1) relied upon.
+
+ [ Proposed fix ]
+
+ Cherry-pick upstream patch to expose this. Upload transmageddon with
+ appropriate versioned dep.
+
+ [ Development release fix ]
+
+ Identical.
+
+ [ Regression potential ]
+
+ Applications could rely on the new exposed functions without an
+ appropriate versioned dep, leading to runtime failures.
+
+ [ Test plan ]
+
+ Launch `transmageddon' from a terminal. Attempt to transcode a video.
+ Note that an error referring to preset_set_app_dir appears before the
+ update, and transcoding does not proceed. After the update, note that
+ transcoding does proceed without this specific error.
+
+ [ Original description ]
+
+ All transcoding attempts fail the same -
~$ transmageddon
Traceback (most recent call last):
- File "transmageddon.py", line 863, in on_transcodebutton_clicked
- self._start_transcoding()
- File "transmageddon.py", line 736, in _start_transcoding
- self.videopasstoggle, self.interlaced, self.inputvideocaps)
- File "/usr/share/transmageddon/transcoder_engine.py", line 60, in __init__
- Gst.preset_set_app_dir("/usr/share/transmageddon/presets/")
+ File "transmageddon.py", line 863, in on_transcodebutton_clicked
+ self._start_transcoding()
+ File "transmageddon.py", line 736, in _start_transcoding
+ self.videopasstoggle, self.interlaced, self.inputvideocaps)
+ File "/usr/share/transmageddon/transcoder_engine.py", line 60, in __init__
+ Gst.preset_set_app_dir("/usr/share/transmageddon/presets/")
NameError: global name 'Gst' is not defined
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: transmageddon 0.20-1ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-6.6-generic 3.5.0
Uname: Linux 3.5.0-6-generic x86_64
ApportVersion: 2.4-0ubuntu6
Architecture: amd64
Date: Tue Jul 31 13:42:04 2012
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120707)
PackageArchitecture: all
ProcEnviron:
- TERM=xterm
- PATH=(custom, user)
- LANG=en_US.UTF-8
- SHELL=/bin/bash
+ TERM=xterm
+ PATH=(custom, user)
+ LANG=en_US.UTF-8
+ SHELL=/bin/bash
SourcePackage: transmageddon
UpgradeStatus: No upgrade log present (probably fresh install)
** Summary changed:
- transcoding fails to start: NameError: global name 'Gst' is not defined
+ transmageddon fails to transcode because python-gst0.10 doesn't expose gst.preset_set_app_dir
** No longer affects: transmageddon (Ubuntu Precise)
** Changed in: gst0.10-python (Ubuntu Precise)
Status: New => In Progress
** Changed in: gst0.10-python (Ubuntu Precise)
Assignee: (unassigned) => Iain Lane (laney)
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1031439
Title:
transmageddon fails to transcode because python-gst0.10 doesn't expose
gst.preset_set_app_dir
Status in “gst0.10-python” package in Ubuntu:
Fix Released
Status in “transmageddon” package in Ubuntu:
Fix Released
Status in “gst0.10-python” source package in Precise:
In Progress
Status in “gst0.10-python” package in Debian:
Unknown
Bug description:
= gst0.10-python =
[ Description ]
gst-python0.10 didn't expose preset_set_app_dir, which the SRUed
transmageddon (0.20-1ubuntu0.1) relied upon.
[ Proposed fix ]
Cherry-pick upstream patch to expose this. Upload transmageddon with
appropriate versioned dep.
[ Development release fix ]
Identical.
[ Regression potential ]
Applications could rely on the new exposed functions without an
appropriate versioned dep, leading to runtime failures.
[ Test plan ]
Launch `transmageddon' from a terminal. Attempt to transcode a video.
Note that an error referring to preset_set_app_dir appears before the
update, and transcoding does not proceed. After the update, note that
transcoding does proceed without this specific error.
[ Original description ]
All transcoding attempts fail the same -
~$ transmageddon
Traceback (most recent call last):
File "transmageddon.py", line 863, in on_transcodebutton_clicked
self._start_transcoding()
File "transmageddon.py", line 736, in _start_transcoding
self.videopasstoggle, self.interlaced, self.inputvideocaps)
File "/usr/share/transmageddon/transcoder_engine.py", line 60, in __init__
Gst.preset_set_app_dir("/usr/share/transmageddon/presets/")
NameError: global name 'Gst' is not defined
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: transmageddon 0.20-1ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-6.6-generic 3.5.0
Uname: Linux 3.5.0-6-generic x86_64
ApportVersion: 2.4-0ubuntu6
Architecture: amd64
Date: Tue Jul 31 13:42:04 2012
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120707)
PackageArchitecture: all
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: transmageddon
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gst0.10-python/+bug/1031439/+subscriptions
More information about the Ubuntu-sponsors
mailing list