phatch-dev team mailing list archive
-
phatch-dev team
-
Mailing list archive
-
Message #00238
[Bug 387116] Re: console mode raises Frame instance has no attribute 'show_info' attribute error
Thanks for reporting this bug. I forgot to implement show_info for the
console.
** Changed in: phatch
Importance: Undecided => Critical
** Changed in: phatch
Status: New => Confirmed
** Changed in: phatch
Assignee: (unassigned) => stani (stani)
--
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'
References