Empty list view

2010-09-29 Thread javed khan
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

Regards

-- 
Javid Alam
Software Developer and Technical support Officer OLPC
Ministry of Education
Kabul Afghanistan
contact: +93(0)798123451
alternative email: javid.a...@moe.gov.af
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Empty list view

2010-09-29 Thread Tomeu Vizoso
On Wed, Sep 29, 2010 at 12:44, javed khan javedkhan...@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.a...@moe.gov.af

 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Empty list view

2010-09-29 Thread Tomeu Vizoso
On Wed, Sep 29, 2010 at 13:03, javed khan javedkhan...@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 to...@sugarlabs.org wrote:

 On Wed, Sep 29, 2010 at 12:44, javed khan javedkhan...@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.a...@moe.gov.af
 
  ___
  Devel mailing list
  Devel@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.a...@moe.gov.af

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Empty list view

2010-09-29 Thread Simon Schampijer
On 09/29/2010 01:10 PM, Tomeu Vizoso wrote:
 On Wed, Sep 29, 2010 at 13:03, javed khanjavedkhan...@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

Hi Javed,

funny, how things turn up at the same time. We just worked on that issue 
a a few days ago and have a fix for 0.84 [1].

About a fix for 0.82 - I am not sure about that as I am only involved in 
the 0.84 builds, maybe someone else can comment.

There might be other issues in Arabic languages in 0.84. If you (or 
someone from your team) as a knowledgeable person can have a look at the 
latest builds in [2] and check the latest Arabic localization that would 
be highly appreciated. You can comment your findings at [3] or here on list.

Thanks,
Simon

[1] http://dev.laptop.org/ticket/10372
[2] http://download.laptop.org/xo-1/os/official/latest/ or
http://download.laptop.org/xo-1.5/os/official/latest/
[3] http://dev.laptop.org/ticket/6808
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Empty list view

2010-09-29 Thread Tomeu Vizoso
On Wed, Sep 29, 2010 at 13:17, javed khan javedkhan...@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 to...@sugarlabs.org wrote:

 On Wed, Sep 29, 2010 at 13:03, javed khan javedkhan...@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 to...@sugarlabs.org
  wrote:
 
  On Wed, Sep 29, 2010 at 12:44, javed khan javedkhan...@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.a...@moe.gov.af
  
   ___
   Devel mailing list
   Devel@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.a...@moe.gov.af
 



 --
 Javid Alam
 Software Developer and Technical support Officer OLPC
 Ministry of Education
 Kabul Afghanistan
 contact: +93(0)798123451
 alternative email: javid.a...@moe.gov.af

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel