Re: [debian/shr apps] call list?

2010-01-21 Thread arne anka
>> That's just python2.6 syntax, and you're using python2.5. I'll try to
>> look tommorow to make pyphonelog compatible with python2.5,

the one from pkg-fso has exactly the same two lines and python does not  
complain.

> ah, I'm sorry I forgot to upload the patched package. I didn't
> notice so far, since nobody ever complained about it. You can
> add with support in python2.5 by inserting the following
> somewhere at the top:
>
> from __future__ import with_statement

already there.
and while i was starting the pkg-fso one to describe the problems with the  
listing of names i experienced before, everything is ok now. confusing ...

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian/shr apps] call list?

2010-01-21 Thread Sebastian Reichel
On Thu, Jan 21, 2010 at 11:11:36PM +0100, Sebastian Krzyszkowiak wrote:
> On 1/21/10, arne anka  wrote:
> >> Try "pyphonelog", it reads the call history from opimd.
> >
> > the one currently in pkg-fso seems unable to cope with the format opimd
> > delivers, but the one in the shr feeds works better.
> > "better" meaning, it does not start by default due to
> > $ phonelog
> > /usr/bin/phonelog:758: Warning: 'with' will become a reserved keyword in
> > Python 2.6
> >File "/usr/bin/phonelog", line 758
> >  with open(CONFIGURATION_FILE,'w+') as f:
> >  ^
> > SyntaxError: invalid syntax
> >
> > i don't quite understand, why a warning will produce a "syntax error" and
> > moreover, why the very same lines (the last two) in the debian version
> > work.
> > for the moment i commented those two lines, but since phonelog depends on
> > it to determine new calls, it is not a viable solution.
> >
> > ___
> > Openmoko community mailing list
> > community@lists.openmoko.org
> > http://lists.openmoko.org/mailman/listinfo/community
> >
> 
> That's just python2.6 syntax, and you're using python2.5. I'll try to
> look tommorow to make pyphonelog compatible with python2.5,

ah, I'm sorry I forgot to upload the patched package. I didn't
notice so far, since nobody ever complained about it. You can
add with support in python2.5 by inserting the following
somewhere at the top:

from __future__ import with_statement

-- Sebastian


signature.asc
Description: Digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian/shr apps] call list?

2010-01-21 Thread Sebastian Krzyszkowiak
On 1/21/10, arne anka  wrote:
>> Try "pyphonelog", it reads the call history from opimd.
>
> the one currently in pkg-fso seems unable to cope with the format opimd
> delivers, but the one in the shr feeds works better.
> "better" meaning, it does not start by default due to
> $ phonelog
> /usr/bin/phonelog:758: Warning: 'with' will become a reserved keyword in
> Python 2.6
>File "/usr/bin/phonelog", line 758
>  with open(CONFIGURATION_FILE,'w+') as f:
>  ^
> SyntaxError: invalid syntax
>
> i don't quite understand, why a warning will produce a "syntax error" and
> moreover, why the very same lines (the last two) in the debian version
> work.
> for the moment i commented those two lines, but since phonelog depends on
> it to determine new calls, it is not a viable solution.
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>

That's just python2.6 syntax, and you're using python2.5. I'll try to
look tommorow to make pyphonelog compatible with python2.5,

-- 
Sebastian Krzyszkowiak
dos

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian/shr apps] call list?

2010-01-21 Thread arne anka
> Try "pyphonelog", it reads the call history from opimd.

the one currently in pkg-fso seems unable to cope with the format opimd  
delivers, but the one in the shr feeds works better.
"better" meaning, it does not start by default due to
$ phonelog
/usr/bin/phonelog:758: Warning: 'with' will become a reserved keyword in  
Python 2.6
   File "/usr/bin/phonelog", line 758
 with open(CONFIGURATION_FILE,'w+') as f:
 ^
SyntaxError: invalid syntax

i don't quite understand, why a warning will produce a "syntax error" and  
moreover, why the very same lines (the last two) in the debian version  
work.
for the moment i commented those two lines, but since phonelog depends on  
it to determine new calls, it is not a viable solution.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian/shr apps] call list?

2010-01-19 Thread Sebastian Reichel
On Tue, Jan 19, 2010 at 11:21:55PM +0100, arne anka wrote:
> the new package brought the shr idle screen which shows "XX calls" and "YY  
> sms" -- that reminds of onen question:
> sms do i see with the messages app, but where do i see the calls?

Try "pyphonelog", it reads the call history from opimd.

-- Sebastian


signature.asc
Description: Digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian/shr apps] call list?

2010-01-19 Thread Al Johnson
On Tuesday 19 January 2010, arne anka wrote:
> the new package brought the shr idle screen which shows "XX calls" and "YY
> sms" -- that reminds of onen question:
> sms do i see with the messages app, but where do i see the calls?

in shr it would be phonelog, packaged as pyphonelog, or the phonelog in 
launcher

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[debian/shr apps] call list?

2010-01-19 Thread arne anka
the new package brought the shr idle screen which shows "XX calls" and "YY  
sms" -- that reminds of onen question:
sms do i see with the messages app, but where do i see the calls?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community