Re: [SHR] Phonelog and hidden caller ids

2009-03-14 Thread Xavier Cremaschi
Klaus 'mrmoku' Kurzmann a écrit :
> what version of SHR (or more specifically ophonekitd) are you using? Must be 
> rather old... This was fixed long time ago.

pyphonelog - 0.16.3-r0 -
ophonekitd - 0.0.1+gitr603+55f1ffd482fe6172a694a2416e18627a0acc6484-r15


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


Re: [SHR] Phonelog and hidden caller ids

2009-03-09 Thread Klaus 'mrmoku' Kurzmann
Am Montag 09 März 2009 21:22:13 schrieb Natanael:
> Natanael wrote:
> > Klaus 'mrmoku' Kurzmann wrote:
> >> what version of SHR (or more specifically ophonekitd) are you using?
> >> Must be rather old... This was fixed long time ago.
> >>
> >> Klaus 'mrmoku' Kurzmann
> >
> > r...@om-gta02 ~ $ opkg list | grep phonelog
> > pyphonelog - 0.15.10-r0.1 - PyPhonelog is a phonelog gui that connects to
> > the shr daemon/a custom daemon
> > pyphonelog-dbg - 0.15.10-r0.1 - PyPhonelog is a phonelog gui that
> > connects to the shr daemon/a custom daemon
> > pyphonelog-dev - 0.15.10-r0.1 - PyPhonelog is a phonelog gui that
> > connects to the shr daemon/a custom daemon
> > r...@om-gta02 ~ $ opkg list | grep ophonekitd
> > ophonekitd - 0.0.1+gitr514+b3961977c3c2b3ce8fabded3a7cbea9115b4ca6f-r12.1
> > - Ophonekitd daemon
> > ophonekitd-dbg -
> > 0.0.1+gitr514+b3961977c3c2b3ce8fabded3a7cbea9115b4ca6f-r12.1 - Ophonekitd
> > daemon
> > ophonekitd-dev -
> > 0.0.1+gitr514+b3961977c3c2b3ce8fabded3a7cbea9115b4ca6f-r12.1 - Ophonekitd
> > daemon
yeah... that version still had that error with hidden caller ids.

>
> ok opkg update and opkg upgrade made some changes, I hope the problem will
> be fixed :-)
>
> Upgrading ophonekitd on root from
> 0.0.1+gitr514+b3961977c3c2b3ce8fabded3a7cbea9115b4ca6f-r12.1 to
> 0.0.1+gitr597+4613a89ffa96d9a858e773719d510c612b1593a7-r15...
> Downloading
> http://shr.bearstech.com/shr-testing/ipk/armv4t/ophonekitd_0.0.1+gitr597+46
>13a89ffa96d9a858e773719d510c612b1593a7-r15_armv4t.ipk
>
> Upgrading pyphonelog on root from 0.15.10-r0.1 to 0.16.3-r0...
> Downloading
> http://shr.bearstech.com/shr-testing/ipk/armv4t/pyphonelog_0.16.3-r0_armv4t
>.ipk
Hmm... and it wants to upgrade those two packages only? That would indeed be 
strange. Lot of things changed between the old shr-testing version you are 
using 
and the current shr-testing version. To make things even worse... it won't 
upgrade correctly. You might have to reflash instead.

>
> be blessed
> Natanael
>
> --
> Web: http://natanael.comiles.eu
> eMail: natanaela _at_ gmx.de

Klaus 'mrmoku' Kurzmann


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


Re: [SHR] Phonelog and hidden caller ids

2009-03-09 Thread Natanael
Natanael wrote:

> Klaus 'mrmoku' Kurzmann wrote:
>> what version of SHR (or more specifically ophonekitd) are you using? Must
>> be rather old... This was fixed long time ago.
>> 
>> Klaus 'mrmoku' Kurzmann
> 
> r...@om-gta02 ~ $ opkg list | grep phonelog
> pyphonelog - 0.15.10-r0.1 - PyPhonelog is a phonelog gui that connects to
> the shr daemon/a custom daemon
> pyphonelog-dbg - 0.15.10-r0.1 - PyPhonelog is a phonelog gui that connects
> to the shr daemon/a custom daemon
> pyphonelog-dev - 0.15.10-r0.1 - PyPhonelog is a phonelog gui that connects
> to the shr daemon/a custom daemon
> r...@om-gta02 ~ $ opkg list | grep ophonekitd
> ophonekitd - 0.0.1+gitr514+b3961977c3c2b3ce8fabded3a7cbea9115b4ca6f-r12.1
> - Ophonekitd daemon
> ophonekitd-dbg -
> 0.0.1+gitr514+b3961977c3c2b3ce8fabded3a7cbea9115b4ca6f-r12.1 - Ophonekitd
> daemon
> ophonekitd-dev -
> 0.0.1+gitr514+b3961977c3c2b3ce8fabded3a7cbea9115b4ca6f-r12.1 - Ophonekitd
> daemon

ok opkg update and opkg upgrade made some changes, I hope the problem will
be fixed :-)

Upgrading ophonekitd on root from
0.0.1+gitr514+b3961977c3c2b3ce8fabded3a7cbea9115b4ca6f-r12.1 to
0.0.1+gitr597+4613a89ffa96d9a858e773719d510c612b1593a7-r15...
Downloading
http://shr.bearstech.com/shr-testing/ipk/armv4t/ophonekitd_0.0.1+gitr597+4613a89ffa96d9a858e773719d510c612b1593a7-r15_armv4t.ipk

Upgrading pyphonelog on root from 0.15.10-r0.1 to 0.16.3-r0...
Downloading
http://shr.bearstech.com/shr-testing/ipk/armv4t/pyphonelog_0.16.3-r0_armv4t.ipk

be blessed
Natanael

--
Web: http://natanael.comiles.eu
eMail: natanaela _at_ gmx.de


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


Re: [SHR] Phonelog and hidden caller ids

2009-03-09 Thread Natanael
Klaus 'mrmoku' Kurzmann wrote:
> what version of SHR (or more specifically ophonekitd) are you using? Must
> be rather old... This was fixed long time ago.
> 
> Klaus 'mrmoku' Kurzmann

r...@om-gta02 ~ $ opkg list | grep phonelog
pyphonelog - 0.15.10-r0.1 - PyPhonelog is a phonelog gui that connects to
the shr daemon/a custom daemon
pyphonelog-dbg - 0.15.10-r0.1 - PyPhonelog is a phonelog gui that connects
to the shr daemon/a custom daemon
pyphonelog-dev - 0.15.10-r0.1 - PyPhonelog is a phonelog gui that connects
to the shr daemon/a custom daemon
r...@om-gta02 ~ $ opkg list | grep ophonekitd
ophonekitd - 0.0.1+gitr514+b3961977c3c2b3ce8fabded3a7cbea9115b4ca6f-r12.1 -
Ophonekitd daemon
ophonekitd-dbg -
0.0.1+gitr514+b3961977c3c2b3ce8fabded3a7cbea9115b4ca6f-r12.1 - Ophonekitd
daemon
ophonekitd-dev -
0.0.1+gitr514+b3961977c3c2b3ce8fabded3a7cbea9115b4ca6f-r12.1 - Ophonekitd
daemon


be blessed
Natanael

--
Web: http://natanael.comiles.eu
eMail: natanaela _at_ gmx.de


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


Re: [SHR] Phonelog and hidden caller ids

2009-03-09 Thread Klaus 'mrmoku' Kurzmann
Am Montag 09 März 2009 20:24:30 schrieb Natanael:
> Xavier Cremaschi wrote:
> > Hi folks,
> > phonelog crashes as soon as someone calls me from a phone with hidden
> > caller id.
> >
> > There is a simple problem in /usr/bin/phonelog : the output of the error
> > message fails because of a problem of python string and int
> > concatenation. It seems easy to fix, by replacing :
> >  print "foo" + call + "bar"
> > by
> >  print "foo %d bar" % call
> > (never done anything in python, so not sure)
> >
> > But, by reading the code, it seems that phonelog will just output a
> > message saying "hey dude, delete call from database and relaunch", so
> > does anybody has or is able to modify phonelog to handle this kind of
> > caller-without-id ?
> >
> > Btw db still grows, so even if the app cannot be launched the FR still
> > logs calls.
> >
> > Xavier Cremaschi.
>
> Hey Xavier,
> this is a realy bad problem.
> Here i found some lines handling Unknown Numbers,
>
> from line 367:
> #don't group supressed numbers
> #and make the contact Unknown Number
> if number == "*":
> last_parent_added = None
> contact = config.get("suppressed_name")
>
> but on my phone Unknown Numbers are "�...@-�" and I get the output:
> "sqlite3.OperationalError: Could not decode to UTF-8 column 'number' with
> text '�...@-�'"
what version of SHR (or more specifically ophonekitd) are you using? Must be 
rather old... This was fixed long time ago.

Klaus 'mrmoku' Kurzmann


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


Re: [SHR] Phonelog and hidden caller ids

2009-03-09 Thread Natanael
Xavier Cremaschi wrote:

> Hi folks,
> phonelog crashes as soon as someone calls me from a phone with hidden
> caller id.
> 
> There is a simple problem in /usr/bin/phonelog : the output of the error
> message fails because of a problem of python string and int concatenation.
> It seems easy to fix, by replacing :
>  print "foo" + call + "bar"
> by
>  print "foo %d bar" % call
> (never done anything in python, so not sure)
> 
> But, by reading the code, it seems that phonelog will just output a
> message saying "hey dude, delete call from database and relaunch", so
> does anybody has or is able to modify phonelog to handle this kind of
> caller-without-id ?
> 
> Btw db still grows, so even if the app cannot be launched the FR still
> logs calls.
> 
> Xavier Cremaschi.

Hey Xavier,
this is a realy bad problem.
Here i found some lines handling Unknown Numbers,

from line 367:
#don't group supressed numbers
#and make the contact Unknown Number
if number == "*":
last_parent_added = None
contact = config.get("suppressed_name")

but on my phone Unknown Numbers are "�...@-�" and I get the output:
"sqlite3.OperationalError: Could not decode to UTF-8 column 'number' with
text '�...@-�'"

I think a simple script reading the sqlite db from /var/db/ would be good.

be blessed
Natanael

--
Web: http://natanael.comiles.eu
eMail: natanaela _at_ gmx.de


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