[Bug 754446] New: failed to raise FatalError if package is not meta
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Sep 2 03:37:28 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=754446
Bug ID: 754446
Summary: failed to raise FatalError if package is not meta
Classification: Platform
Product: GStreamer
Version: git master
OS: Mac OS
Status: NEW
Severity: normal
Priority: Normal
Component: cerbero
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: justin.joy.9to5 at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
If package is not meta package, FatalError is called in Packager class.
However, due to comma in an error message, it looks like something wrong in
cerbero.
eg.
$ ./cerbero-uninstalled -c config/cross-ios-arm64.cbc package
gstreamer-1.0-editing
Traceback (most recent call last):
File "./cerbero-uninstalled", line 9, in <module>
main()
File "./cerbero/main.py", line 130, in main
Main(sys.argv[1:])
File "./cerbero/main.py", line 55, in __init__
self.run_command()
File "./cerbero/main.py", line 105, in run_command
res = commands.run(command, self.config, self.args)
File "./cerbero/commands/__init__.py", line 78, in run
return _commands[command].run(config, args)
File "./cerbero/commands/package.py", line 90, in run
pkg = Packager(config, p, self.store)
File "./cerbero/packages/packager.py", line 53, in __new__
return _packagers[d][v](config, package, store)
File "./cerbero/packages/osx/packager.py", line 612, in __new__
"for MetaPackage")
TypeError: __init__() takes at most 2 arguments (3 given)
Expected result maybe like this;
Traceback (most recent call last):
File "./cerbero/main.py", line 105, in run_command
res = commands.run(command, self.config, self.args)
File "./cerbero/commands/__init__.py", line 78, in run
return _commands[command].run(config, args)
File "./cerbero/commands/package.py", line 90, in run
pkg = Packager(config, p, self.store)
File "./cerbero/packages/packager.py", line 53, in __new__
return _packagers[d][v](config, package, store)
File "./cerbero/packages/osx/packager.py", line 611, in __new__
raise FatalError ("iOS platform only support packages "
FatalError: Fatal Error: iOS platform only support packages for MetaPackage
***** Error running 'package' command:
Fatal Error: iOS platform only support packages for MetaPackage
usage: cerbero-uninstalled [-h] [-c CONFIG]
{add-recipe,rdeps,tag,genxcconfig,genlibfiles,check,list-packages,show-config,add-package,build,genvsprops,shell,run,cleanone,packageinfo,buildone,wipe,debug-packages,package,bootstrap,list,checkpackage,deps,gensdkshell,fetch-package,fetch}
...
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list