Re: [[SHR all] Read this if Call screen and messages dont work - a.k.a.- "fixing dissappearing call window, segfaults and name-to-number resolution"

2010-03-17 Thread Rui Miguel Silva Seabra
Em 16-03-2010 11:36, Dr. Michael Lauer escreveu:
> 
> Am 16.03.2010 um 01:07 schrieb Sebastian Reichel:
> 
>> On Tue, Mar 16, 2010 at 01:01:28AM +0100, Bernd Prünster wrote:
>>> Rui Miguel Silva Seabra wrote:
 Em 15-03-2010 23:36, Bernd Prünster escreveu:

> mdbus2 -s org.freesmartphone.opimd \
> /org/freesmartphone/PIM/Contacts \
> org.freesmartphone.PIM.Fields.ListFields
>

 I get


 r...@om-gta02 ~ $ mdbus2 -s org.freesmartphone.opimd \

> /org/freesmartphone/PIM/Contacts \
> org.freesmartphone.PIM.Fields.ListFields
>
 Segmentation fault
 r...@om-gta02 ~ $

 (updated yesterday).

 Rui
>>> then you need to issue the suggested commands (hopefully i am right.. my 
>>> brain is a little slushy already)
>>
>> mdbus2 should not segfault in any case. Try to get a backtrace and
>> report it to upstream.
> 
> Yes, please!

Well, something happened in the mean time. I've upgraded today because
the phone was unusable (but seems to be just as ok as previously now),
ans mdbus doesn't segfault anymore:

r...@om-gta02 ~ $ mdbus2 -s org.freesmartphone.opimd
/org/freesmartphone/PIM/Con
tacts org.freesmartphone.PIM.Fields.ListFields
( { "Phone":"phonenumber", "Surname":"name", "Name":"name",
"Affiliation":"text", "Photo":"photo", "Work phone":"phonenumber",
"Note":"text", "E-mail":"email", "Birthday":"date", "Mobile
phone":"phonenumber", "Address":"address", "Nickname":"name", "Home
phone":"phonenumber" } )
r...@om-gta02 ~ $


How safe is it to start adding contacts? I mean safe in the sense of not
having to change the values again anytime soon... :)

Rui

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


Re: [[SHR all] Read this if Call screen and messages dont work - a.k.a.- "fixing dissappearing call window, segfaults and name-to-number resolution"

2010-03-16 Thread Dr. Michael Lauer

Am 16.03.2010 um 01:07 schrieb Sebastian Reichel:

> On Tue, Mar 16, 2010 at 01:01:28AM +0100, Bernd Prünster wrote:
>> Rui Miguel Silva Seabra wrote:
>>> Em 15-03-2010 23:36, Bernd Prünster escreveu:
>>> 
 mdbus2 -s org.freesmartphone.opimd \
 /org/freesmartphone/PIM/Contacts \
 org.freesmartphone.PIM.Fields.ListFields
 
>>> 
>>> I get
>>> 
>>> 
>>> r...@om-gta02 ~ $ mdbus2 -s org.freesmartphone.opimd \
>>> 
 /org/freesmartphone/PIM/Contacts \
 org.freesmartphone.PIM.Fields.ListFields
 
>>> Segmentation fault
>>> r...@om-gta02 ~ $
>>> 
>>> (updated yesterday).
>>> 
>>> Rui
>> then you need to issue the suggested commands (hopefully i am right.. my 
>> brain is a little slushy already)
> 
> mdbus2 should not segfault in any case. Try to get a backtrace and
> report it to upstream.

Yes, please!

:M:


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


Re: [[SHR all] Read this if Call screen and messages dont work - a.k.a.- "fixing dissappearing call window, segfaults and name-to-number resolution"

2010-03-15 Thread Jan Girlich
Am Dienstag, den 16.03.2010, 00:36 +0100 schrieb Bernd Prünster:
> this is maybe a duplicate and most users prolly know it and the issue 
> should be fixed in newer images, but still this gives you a *working 
> phone* back if you have problems:
> 
> the root of all evil are missing typed fields.
> 
> if you converted your old opimd database using the convert script, you 
> prolly dont have to do this. (if te convert script complains about 
> existing db and aborts, simply delete
> if you imported you contacts using pisi, you might have to do this (is 
> wrong psis default config still an issue?)
> 
> if you didnt import anything you prolly have to do this.
> 
> you can list your current fields using
> 
> mdbus2 -s org.freesmartphone.opimd \
> /org/freesmartphone/PIM/Contacts \
> org.freesmartphone.PIM.Fields.ListFields
> 
> Here's an example output from my PIM databse: 
> 
> ( { "Surname":"name", "Name":"name", "Affiliation":"text", 
> "Photo":"photo", "Work phone":"phonenumber", "Mobile 
> phone":"phonenumber", "Note":"text", "Phone":"phonenumber", 
> "Birthday":"date", "E-mail":"email", "Address":"address", 
> "Nickname":"name", "Home phone":"phonenumber" } )
> 
> this is the bare minimum to get everythign working again:
> 
> mdbus2 -s org.freesmartphone.opimd /org/freesmartphone/PIM/Contacts \ 
> org.freesmartphone.PIM.Fields.AddField 'Name' 'name'
> mdbus2 -s org.freesmartphone.opimd /org/freesmartphone/PIM/Contacts \ 
> org.freesmartphone.PIM.Fields.AddField 'Phone' 'phonenumber'
> 
> 
> is works the same way for all other fields you may have and also for 
> adding extra fields (as shown in the example output above)

This solved starting up and using the applications, thanks!

But what about migrating the old contact entries? All data (sms,
phonelogs, contects) just vanished when I upgraded to the latest SHr a
few days ago. Anyway to get it back and imported into opimd with a
little command or script? (I got backups for the worst case)

Thanks
Jan


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [[SHR all] Read this if Call screen and messages dont work - a.k.a.- "fixing dissappearing call window, segfaults and name-to-number resolution"

2010-03-15 Thread Sebastian Reichel
On Tue, Mar 16, 2010 at 01:01:28AM +0100, Bernd Prünster wrote:
> Rui Miguel Silva Seabra wrote:
> > Em 15-03-2010 23:36, Bernd Prünster escreveu:
> >   
> >> mdbus2 -s org.freesmartphone.opimd \
> >> /org/freesmartphone/PIM/Contacts \
> >> org.freesmartphone.PIM.Fields.ListFields
> >> 
> >
> > I get
> >
> >
> > r...@om-gta02 ~ $ mdbus2 -s org.freesmartphone.opimd \
> >   
> >> /org/freesmartphone/PIM/Contacts \
> >> org.freesmartphone.PIM.Fields.ListFields
> >> 
> > Segmentation fault
> > r...@om-gta02 ~ $
> >
> > (updated yesterday).
> >
> > Rui
> then you need to issue the suggested commands (hopefully i am right.. my 
> brain is a little slushy already)

mdbus2 should not segfault in any case. Try to get a backtrace and
report it to upstream.

-- Sebastian


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


Re: [[SHR all] Read this if Call screen and messages dont work - a.k.a.- "fixing dissappearing call window, segfaults and name-to-number resolution"

2010-03-15 Thread Bernd Prünster
Rui Miguel Silva Seabra wrote:
> Em 15-03-2010 23:36, Bernd Prünster escreveu:
>   
>> mdbus2 -s org.freesmartphone.opimd \
>> /org/freesmartphone/PIM/Contacts \
>> org.freesmartphone.PIM.Fields.ListFields
>> 
>
> I get
>
>
> r...@om-gta02 ~ $ mdbus2 -s org.freesmartphone.opimd \
>   
>> /org/freesmartphone/PIM/Contacts \
>> org.freesmartphone.PIM.Fields.ListFields
>> 
> Segmentation fault
> r...@om-gta02 ~ $
>
> (updated yesterday).
>
> Rui
then you need to issue the suggested commands (hopefully i am right.. my 
brain is a little slushy already)

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


Re: [[SHR all] Read this if Call screen and messages dont work - a.k.a.- "fixing dissappearing call window, segfaults and name-to-number resolution"

2010-03-15 Thread Rui Miguel Silva Seabra
Em 15-03-2010 23:36, Bernd Prünster escreveu:
> mdbus2 -s org.freesmartphone.opimd \
> /org/freesmartphone/PIM/Contacts \
> org.freesmartphone.PIM.Fields.ListFields

I get


r...@om-gta02 ~ $ mdbus2 -s org.freesmartphone.opimd \
> /org/freesmartphone/PIM/Contacts \
> org.freesmartphone.PIM.Fields.ListFields
Segmentation fault
r...@om-gta02 ~ $

(updated yesterday).

Rui

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


[[SHR all] Read this if Call screen and messages dont work - a.k.a.- "fixing dissappearing call window, segfaults and name-to-number resolution"

2010-03-15 Thread Bernd Prünster
this is maybe a duplicate and most users prolly know it and the issue 
should be fixed in newer images, but still this gives you a *working 
phone* back if you have problems:

the root of all evil are missing typed fields.

if you converted your old opimd database using the convert script, you 
prolly dont have to do this. (if te convert script complains about 
existing db and aborts, simply delete
if you imported you contacts using pisi, you might have to do this (is 
wrong psis default config still an issue?)

if you didnt import anything you prolly have to do this.

you can list your current fields using

mdbus2 -s org.freesmartphone.opimd \
/org/freesmartphone/PIM/Contacts \
org.freesmartphone.PIM.Fields.ListFields

Here's an example output from my PIM databse: 

( { "Surname":"name", "Name":"name", "Affiliation":"text", 
"Photo":"photo", "Work phone":"phonenumber", "Mobile 
phone":"phonenumber", "Note":"text", "Phone":"phonenumber", 
"Birthday":"date", "E-mail":"email", "Address":"address", 
"Nickname":"name", "Home phone":"phonenumber" } )

this is the bare minimum to get everythign working again:

mdbus2 -s org.freesmartphone.opimd /org/freesmartphone/PIM/Contacts \ 
org.freesmartphone.PIM.Fields.AddField 'Name' 'name'
mdbus2 -s org.freesmartphone.opimd /org/freesmartphone/PIM/Contacts \ 
org.freesmartphone.PIM.Fields.AddField 'Phone' 'phonenumber'


is works the same way for all other fields you may have and also for 
adding extra fields (as shown in the example output above)

i can confrim thsi myself as all teh problems were gone as soon as i did 
this

i hope this is not considered spamming, but some people are still 
complainig about problems mentioned in the subject

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