Public bug reported:
Using console mode fails, reporting the following exception:
Traceback (most recent call last):
File "phatch.py", line 57, in <module>
main()
File "phatch.py", line 54, in main
app.main(config_paths, app_file = __file__)
File "/dev/phatch/phatch/app.py", line 193, in main
_console(paths,settings)
File "/dev/phatch/phatch/app.py", line 166, in _console
console.main(actionlist=paths[0],paths=paths[1:],settings=settings)
File "/dev/phatch/phatch/console/console.py", line 158, in main
Frame(actionlist,paths,settings)
File "/dev/phatch/phatch/console/console.py", line 103, in __init__
self._pubsub()
File "/dev/phatch/phatch/core/message.py", line 36, in _pubsub
self.subscribe('show_info')
File "/dev/phatch/phatch/core/lib/events.py", line 59, in subscribe
listener = ReceiveListener(self,method)
File "/dev/phatch/phatch/core/lib/events.py", line 44, in __init__
self.method = getattr(obj,method)
AttributeError: Frame instance has no attribute 'show_info'
** Affects: phatch
Importance: Critical
Assignee: stani (stani)
Status: Confirmed
--
console mode raises Frame instance has no attribute 'show_info' attribute error
https://bugs.launchpad.net/bugs/387116
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.
Status in Phatch = Photo & Batch!: Confirmed
Bug description:
Using console mode fails, reporting the following exception:
Traceback (most recent call last):
File "phatch.py", line 57, in <module>
main()
File "phatch.py", line 54, in main
app.main(config_paths, app_file = __file__)
File "/dev/phatch/phatch/app.py", line 193, in main
_console(paths,settings)
File "/dev/phatch/phatch/app.py", line 166, in _console
console.main(actionlist=paths[0],paths=paths[1:],settings=settings)
File "/dev/phatch/phatch/console/console.py", line 158, in main
Frame(actionlist,paths,settings)
File "/dev/phatch/phatch/console/console.py", line 103, in __init__
self._pubsub()
File "/dev/phatch/phatch/core/message.py", line 36, in _pubsub
self.subscribe('show_info')
File "/dev/phatch/phatch/core/lib/events.py", line 59, in subscribe
listener = ReceiveListener(self,method)
File "/dev/phatch/phatch/core/lib/events.py", line 44, in __init__
self.method = getattr(obj,method)
AttributeError: Frame instance has no attribute 'show_info'
_______________________________________________
Mailing list: https://launchpad.net/~phatch-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~phatch-dev
More help : https://help.launchpad.net/ListHelp