Empty list view

Tomeu Vizoso tomeu at sugarlabs.org
Wed Sep 29 08:13:19 EDT 2010


On Wed, Sep 29, 2010 at 13:17, javed khan <javedkhan2k2 at gmail.com> wrote:
> thanks man
> i fixed it
> there is a patch for the sugar 0.84
> https://crank.laptop.org/attachment/ticket/10372/0001-If-the-string-does-not-contain-a-conversion-specifie.patch
> i change the line 228 for util.py
> from elapsed_units) % elapsed_units
> to elapsed_units)

Hi,

I'm just forwarding this to the list to let people know that Javed has
found a solution.

Regards,

Tomeu

> On Wed, Sep 29, 2010 at 3:40 PM, Tomeu Vizoso <tomeu at sugarlabs.org> wrote:
>>
>> On Wed, Sep 29, 2010 at 13:03, javed khan <javedkhan2k2 at gmail.com> wrote:
>> > here is the log
>>
>> Seems to be an issue with localization:
>>
>> /usr/lib/python2.5/site-packages/sugar/util.py in
>> timestamp_to_elapsed_string(timestamp=dbus.Double(1285751109.0,
>> variant_level=1), max_levels=2)
>>    226
>>    227             time_period += _ngettext(name_singular, name_plural,
>> --> 228                                      elapsed_units) %
>> elapsed_units
>>        elapsed_units = 1
>>    229
>>    230             elapsed_seconds -= elapsed_units * factor
>>
>> TypeError: not all arguments converted during string formatting
>>
>> Simon and the rest of the Sugar OLPC team are aware of the issue and
>> have a fix coming, though not sure if for 0.82.
>>
>> Regards,
>>
>> Tomeu
>>
>> >
>> > On Wed, Sep 29, 2010 at 3:19 PM, Tomeu Vizoso <tomeu at sugarlabs.org>
>> > wrote:
>> >>
>> >> On Wed, Sep 29, 2010 at 12:44, javed khan <javedkhan2k2 at gmail.com>
>> >> wrote:
>> >> > Hi All
>> >> >
>> >> > when i click on the list view i could not find any activity there.
>> >> > the language setting is set to Pashto Afghanistan (LANG="ps_AF.utf8")
>> >> > the sugar version is 0.82.1
>> >> >
>> >> > any suggetion
>> >>
>> >> Can you attach ~/.sugar/default/logs/shell.log?
>> >>
>> >> Thanks,
>> >>
>> >> Tomeu
>> >>
>> >> > Regards
>> >> >
>> >> > --
>> >> > Javid Alam
>> >> > Software Developer and Technical support Officer OLPC
>> >> > Ministry of Education
>> >> > Kabul Afghanistan
>> >> > contact: +93(0)798123451
>> >> > alternative email: javid.alam at moe.gov.af
>> >> >
>> >> > _______________________________________________
>> >> > Devel mailing list
>> >> > Devel at lists.laptop.org
>> >> > http://lists.laptop.org/listinfo/devel
>> >> >
>> >> >
>> >
>> >
>> >
>> > --
>> > Javid Alam
>> > Software Developer and Technical support Officer OLPC
>> > Ministry of Education
>> > Kabul Afghanistan
>> > contact: +93(0)798123451
>> > alternative email: javid.alam at moe.gov.af
>> >
>
>
>
> --
> Javid Alam
> Software Developer and Technical support Officer OLPC
> Ministry of Education
> Kabul Afghanistan
> contact: +93(0)798123451
> alternative email: javid.alam at moe.gov.af
>



More information about the Devel mailing list