GNOME Bugzilla – Bug 754446
failed to raise FatalError if package is not meta
Last modified: 2017-12-15 14:29:24 UTC
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):
+ Trace 235411
main()
Main(sys.argv[1:])
self.run_command()
res = commands.run(command, self.config, self.args)
return _commands[command].run(config, args)
pkg = Packager(config, p, self.store)
return _packagers[d][v](config, package, store)
"for MetaPackage")
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} ...
Created attachment 310479 [details] [review] remove comma
Created attachment 310562 [details] [review] fix typo and refine message
ping? is this not acceptable?
Too old bug.