[Sugar-devel] AttributeError: 'NoneType' object has no attribute 'startswith'
greenfeld at laptop.org
Tue Apr 26 23:25:43 EDT 2011
I already helped him with this.
The issue was the ~/.i18n file missing due to olpc-utils not being in the
build, and Sugar/various applications' inability to compensate (
http://dev.laptop.org/ticket/10682 - although some progress has been made on
this). Chris compensated for this by adding an English /home/olpc/.i18n
file as a temporary fix to the build.
We probably should eventually support ~/.dmrc files as well (
On Tue, Apr 26, 2011 at 11:10 PM, Simon Schampijer <simon at schampijer.de>wrote:
> On 04/26/2011 06:38 PM, Chris Ball wrote:
>> 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>
>> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Sugar-devel