[Sugar-devel] AttributeError: 'NoneType' object has no attribute 'startswith'

Simon Schampijer simon at schampijer.de
Tue Apr 26 23:10:10 EDT 2011


On 04/26/2011 06:38 PM, Chris Ball wrote:
> Hi,
>
> I'm seeing an odd bug running Fedora 13 Sugar on ARM.  When I launch any
> Sugar activity:
>
> Traceback (most recent call last):
>    File "/usr/bin/sugar-activity", line 21, in<module>
>      main.main()
>    File "/usr/lib/python2.6/site-packages/sugar/activity/main.py", line 101, in main
>      locale_path = i18n.get_locale_path(bundle.get_bundle_id())
>    File "/usr/lib/python2.6/site-packages/sugar/activity/i18n.py", line 131, in get_locale_path
>      bundle_id + '.mo')
>    File "/usr/lib/python2.6/posixpath.py", line 65, in join
>      if b.startswith('/'):
> AttributeError: 'NoneType' object has no attribute 'startswith'
>
> Anyone happen to have dealt with this one, before I go hunting further?

If I remember correctly Sam has seen it and it was a matter of choosing 
the right set of activities.

Regards,
    Simon


More information about the Sugar-devel mailing list