maemo.org Bugzilla – Bug 4824
python-mafw: source_browsing.py example does not work
Last modified: 2009-11-25 00:00:56 UTC
You need to log in before you can comment on or make changes to this bug.
Running "run-standalone.sh python2.5 examples/source_browsing.py localtagfs::" currently (for python-mafw 0.1-1maemo1) returns: INFO:root:Starting example... Traceback (most recent call last): File "examples/source_browsing.py", line 134, in <module> main() File "examples/source_browsing.py", line 127, in main app = SourceBrowsing(gobject.MainLoop(), 'aaaa') File "examples/source_browsing.py", line 24, in __init__ self._add_existing_ext() File "examples/source_browsing.py", line 37, in _add_existing_ext extension_list = self.registry.get_renderers() AttributeError: 'mafw.Registry' object has no attribute 'get_renderers'
(In reply to comment #0) > Running "run-standalone.sh python2.5 examples/source_browsing.py localtagfs::" > currently (for python-mafw 0.1-1maemo1) returns: > > INFO:root:Starting example... > Traceback (most recent call last): > File "examples/source_browsing.py", line 134, in <module> > main() > File "examples/source_browsing.py", line 127, in main > app = SourceBrowsing(gobject.MainLoop(), 'aaaa') > File "examples/source_browsing.py", line 24, in __init__ > self._add_existing_ext() > File "examples/source_browsing.py", line 37, in _add_existing_ext > extension_list = self.registry.get_renderers() > AttributeError: 'mafw.Registry' object has no attribute 'get_renderers' > Now get_renderers() and get_sources() are implemented, but we cannot fully test these methods due to a know bug in MAFW library. Anyway other methods used in source_browse.py are not implemented yet, so the example cannot run successfully.