console mode raises Frame instance has no attribute 'show_info' attribute error

Bug #387116 reported by trbs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Phatch
Fix Released
Critical
Stani

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'

Revision history for this message
Stani (stani) wrote :

Thanks for reporting this bug. I forgot to implement show_info for the console.

Changed in phatch:
assignee: nobody → stani (stani)
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
Stani (stani) wrote :

$ bzr commit -m "fix console info message"
Committing to: /home/stani/sync/python/phatch/trunk/
modified phatch/console/console.py
Committed revision 798.

Changed in phatch:
status: Confirmed → Fix Committed
Stani (stani)
Changed in phatch:
milestone: none → 0.2.1
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.