← Back to team overview

phatch-dev team mailing list archive

[Bug 387116] Re: console mode raises Frame instance has no attribute 'show_info' attribute error

 

** Changed in: phatch
       Status: Fix Committed => Fix Released

** Changed in: phatch
    Milestone: None => 0.2.1

-- 
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!: Fix Released

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