Bug 4824 - python-mafw: source_browsing.py example does not work
: python-mafw: source_browsing.py example does not work
Status: RESOLVED FIXED
Product: PyMaemo
General
: unspecified
: All Linux
: Medium normal (vote)
: ---
Assigned To: Anderson Lizardo
: general
:
:
: 4823
:
  Show dependency tree
 
Reported: 2009-07-22 23:20 UTC by Anderson Lizardo
Modified: 2009-11-25 00:00 UTC (History)
2 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Anderson Lizardo (reporter) 2009-07-22 23:20:47 UTC
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'
Comment 1 Andrea Grandi 2009-08-12 11:02:34 UTC
(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.