Re: [debian/shr apps] call list?
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] conatcts app crashes with full addressbook w/o any error message
And another failing strcmp :P (The segfaults I reported so far where strcmp caused, too). I just checked the source. I guess you have a contact with an empty Name field. Can you check [1] /etc/freesmartphone/opim/csv-contacts.txt for such contacts? indeed there where a few. replacing it with a generic string makes contacts work again. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [debian/shr apps] call list?
On 1/21/10, arne anka openm...@ginguppin.de 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?
On Thu, Jan 21, 2010 at 11:11:36PM +0100, Sebastian Krzyszkowiak wrote: On 1/21/10, arne anka openm...@ginguppin.de 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?
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] conatcts app crashes with full addressbook w/o any error message
shh freerunner $ export DISPLAY=:0.0 $ gdb phoneuid # run # bt here's what i get when starting phoneui-contacts. besides the actual crash there seems to be an issue with the log file -- i don't find where it is defined, but it is set to /var/log/phoneuid.log ... and per default writable for root only, while phoneuid runs as normal user, i guess? (gdb) run Starting program: /usr/bin/phoneuid [Thread debugging using libthread_db enabled] Log file: /var/log/phoneuid.log Log level: DEBUG (process:8351): phoneuid-DEBUG: Configuration file read phoneuid-Message: Using log level 'DEBUG' libphone-ui-Message: Loading phoneuid libphone-ui-Message: No speaker value for idle found, using none libphone-ui-Message: No microphone value for idle found, using none (process:8351): libphone-ui-DEBUG: settisg speaker_min to 90 libphone-ui-Message: no vibrator configured - turning vibration off (process:8351): libphone-ui-DEBUG: feedback: no flash configured for action error (process:8351): libphone-ui-DEBUG: feedback: no sound configured for action error (process:8351): libphone-ui-DEBUG: feedback: no vibrate configured for action error (process:8351): libphone-ui-DEBUG: feedback: no flash configured for action warning (process:8351): libphone-ui-DEBUG: feedback: no sound configured for action warning (process:8351): libphone-ui-DEBUG: feedback: no vibrate configured for action warning (process:8351): libphone-ui-DEBUG: feedback: no flash configured for action notice (process:8351): libphone-ui-DEBUG: feedback: no sound configured for action notice (process:8351): libphone-ui-DEBUG: feedback: no vibrate configured for action notice (process:8351): libphone-ui-DEBUG: feedback: no flash configured for action click (process:8351): libphone-ui-DEBUG: feedback: no sound configured for action click (process:8351): libphone-ui-DEBUG: feedback: no vibrate configured for action click (process:8351): libphone-ui-shr-WARNING **: No such file or directory (process:8351): libframeworkd-glib-DEBUG: Trying to get the system bus (process:8351): libframeworkd-glib-DEBUG: Adding signals. (process:8351): libframeworkd-glib-DEBUG: registered to GSM.Network.Status (process:8351): libframeworkd-glib-DEBUG: registered to GSM.Network.SignalStrength (process:8351): libframeworkd-glib-DEBUG: registered to GSM.Call.CallStatus (process:8351): libframeworkd-glib-DEBUG: registered to Device.IdleNotifier.State (process:8351): libframeworkd-glib-DEBUG: registered to Device.PowerSupply.Capacity. (process:8351): libframeworkd-glib-DEBUG: registered to Usage.ResourceChanged (process:8351): libframeworkd-glib-DEBUG: registered to PIM.Messages.UnreadMessages (process:8351): libframeworkd-glib-DEBUG: registered to PIM.Calls.NewMissedCalls (process:8351): libframeworkd-glib-DEBUG: registered to Preferences.Notify (process:8351): libphone-ui-shr-DEBUG: Initiated elementary (process:8351): libphone-ui-DEBUG: _idle_notifier_handler: idle state now 0 (process:8351): phoneuid-DEBUG: org.shr.phoneuid.Contacts.DisplayList (process:8351): libphone-ui-shr-DEBUG: window_new (process:8351): libphone-ui-shr-DEBUG: window_init(win=234408) (process:8351): libphone-ui-shr-DEBUG: window_view_show() (process:8351): libphone-ui-shr-DEBUG: window_view_hide() (process:8351): libphone-ui-shr-DEBUG: contact_list_view_show() (process:8351): libphone-ui-shr-DEBUG: No frame to hide (process:8351): libphone-ui-shr-DEBUG: frame_list_show() (process:8351): libphone-ui-shr-DEBUG: setting layout from file '/usr/share/libphone-ui-shr/default.edj' (phoneui/contacts/list) Error creating the logfile (/var/log/phoneuid.log) !!!EDJE ERROR: file /usr/share/elementary/themes/default.edj, group elm/index/base/vertical/default has a non-fixed part. add fixed: 1 1; ??? Problem part is: elm.swallow.event.0 Will recalc min size not allowing broken parts to affect the result. (process:8351): libphone-ui-shr-DEBUG: contact_list_fill() libphone-ui-Message: Probing for contacts (process:8351): libphone-ui-shr-DEBUG: window_show(win=234408) (process:8351): libphone-ui-DEBUG: _handle_network_status (process:8351): libphone-ui-DEBUG: provider is 'E-Plus' (process:8351): libphone-ui-DEBUG: signal strength is 52 (process:8351): GLib-CRITICAL **: g_hash_table_unref: assertion `hash_table-ref_count 0' failed (process:8351): libphone-ui-DEBUG: _handle_network_status (process:8351): libphone-ui-DEBUG: provider is 'E-Plus' (process:8351): libphone-ui-DEBUG: signal strength is 52 (process:8351): GLib-CRITICAL **: g_hash_table_unref: assertion `hash_table-ref_count 0' failed libphone-ui-Message: Contact query result gave 34 entries (process:8351): libphone-ui-DEBUG: Got to _contact_list_result_callback (process:8351): GLib-GObject-CRITICAL **: g_value_get_string: assertion `G_VALUE_HOLDS_STRING (value)' failed Program received signal SIGSEGV, Segmentation fault. 0x402858c0 in strcasecmp () from /lib/libc.so.6 (gdb) bt #0 0x402858c0 in strcasecmp
[debian/shr apps] call list?
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
Re: [debian/shr apps] call list?
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
Re: [debian/shr apps] conatcts app crashes with full addressbook w/o any error message
On Tue, Jan 19, 2010 at 11:14:16PM +0100, arne anka wrote: shh freerunner $ export DISPLAY=:0.0 $ gdb phoneuid # run # bt here's what i get when starting phoneui-contacts. besides the actual crash there seems to be an issue with the log file -- i don't find where it is defined, but it is set to /var/log/phoneuid.log ... and per default writable for root only, while phoneuid runs as normal user, i guess? phoneuid is supposed to be started as the X user. In SHR they are using the root account for everything, so they don't have this problem ;) Try adding log_file = in the config file. #1 0x401ded1c in _compare_contacts (_a=value optimized out, _b=0x112124) at phoneui-utils.c:674 And another failing strcmp :P (The segfaults I reported so far where strcmp caused, too). I just checked the source. I guess you have a contact with an empty Name field. Can you check [1] /etc/freesmartphone/opim/csv-contacts.txt for such contacts? Ah I may have forgotten to switch default logging back to file. Can you check your frameworkd's config? yes, indeed. although i compared both the old and the new one in meld and copied log_level and log_destination over, the hash mark has escaped me. log_to was set to stderr instead of file. I guess I should change this back *makes notice* -- 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?
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
[debian/shr apps] conatcts app crashes with full addressbook w/o any error message
after today's update of libphone-ui*, the gui of contacts, dialer, messages and pin dialog looks ok. thanks to whoever is responsible. so i used the not so recently posted script [1] to import my contacts from an vcf file into opimd -- but after that, contacts crashes immediately without logging any error whatsoever. is there any way to make contacts (or any other shr/phoneui app) more verbose? [1] http://www.mail-archive.com/community@lists.openmoko.org/msg56143.html ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [debian/shr apps] conatcts app crashes with full addressbook w/o any error message
Am Montag 18 Januar 2010 18:53:53 schrieb arne anka: after today's update of libphone-ui*, the gui of contacts, dialer, messages and pin dialog looks ok. thanks to whoever is responsible. so i used the not so recently posted script [1] to import my contacts from an vcf file into opimd -- but after that, contacts crashes immediately without logging any error whatsoever. is there any way to make contacts (or any other shr/phoneui app) more verbose? in /etc/phoneuid.conf set log_level to DEBUG -- Klaus 'mrmoku' Kurzmann ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [debian/shr apps] conatcts app crashes with full addressbook w/o any error message
On Mon, Jan 18, 2010 at 06:53:53PM +0100, arne anka wrote: after today's update of libphone-ui*, the gui of contacts, dialer, messages and pin dialog looks ok. thanks to whoever is responsible. np :) so i used the not so recently posted script [1] to import my contacts from an vcf file into opimd -- but after that, contacts crashes immediately without logging any error whatsoever. is there any way to make contacts (or any other shr/phoneui app) more verbose? Can you check what is actually crashing? The framework? phoneuid? I will update the framework later. There were some changes in opimd since the last Debian package. -- 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] conatcts app crashes with full addressbook w/o any error message
in /etc/phoneuid.conf set log_level to DEBUG that has been my first thought -- no dice. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [debian/shr apps] conatcts app crashes with full addressbook w/o any error message
Can you check what is actually crashing? The framework? phoneuid? I will update the framework later. There were some changes in opimd since the last Debian package. actually, it really seems to be only the contacts app itself. messages and dialer come up fine, but once i hit in dialer the button to open contacts (to select a number), even the dialer crashes. phoneuid log and phonefsod log are both silent about that, although set to DEBUG (and since today's update of fso-config-gta02 the frameworkd log stays empty. not sure if coincidence or causation, though). ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [debian/shr apps] conatcts app crashes with full addressbook w/o any error message
On Mon, Jan 18, 2010 at 08:51:25PM +0100, arne anka wrote: Can you check what is actually crashing? The framework? phoneuid? I will update the framework later. There were some changes in opimd since the last Debian package. actually, it really seems to be only the contacts app itself. messages and dialer come up fine, but once i hit in dialer the button to open contacts (to select a number), even the dialer crashes. Can you install gdb and check for the segfault reason? shh freerunner $ export DISPLAY=:0.0 $ gdb phoneuid # run # bt You should install libphoneui-shr-dbg and libphoneui0-dbg before, though. phoneuid log and phonefsod log are both silent about that, although set to DEBUG (and since today's update of fso-config-gta02 the frameworkd log stays empty. not sure if coincidence or causation, though). Ah I may have forgotten to switch default logging back to file. Can you check your frameworkd's config? -- Sebastian signature.asc Description: Digital signature ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
[debian] shr apps/stability usable as daily phone?
since shr apps are now part of pkg-fso repo i was wondering how stable si it, because now i am seriously considering to switch to debain [wardriving!!!] is it as stable as (the stable shr u revisions) shr? ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [debian] shr apps/stability usable as daily phone?
On Sat, Oct 03, 2009 at 02:56:01PM +0200, Bernd Prünster wrote: since shr apps are now part of pkg-fso repo i was wondering how stable si it, because now i am seriously considering to switch to debain [wardriving!!!] is it as stable as (the stable shr u revisions) shr? Hi, I packaged SHR for the pkg-fso repository. On my phone it's running very stable, but I didn't get much feedback from other guys. Apart from this I can't compare with SHR, because I'm running Debian only on my FR. Please note, that some parts of SHR are still missing due to missing python-elementary in Debian (shr-settings, opimd-utils) and that I'm still working on the package containing the framework configuration. P.S.: For wardriving you have to use an usb wifi stick, beacause the Freerunner's wifi chip can't go into promiscious mode. -- Sebastian signature.asc Description: Digital signature ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Debian + SHR Apps
i tried to install shr apps under debian (on fr) well ipk install doens't work because the filetype differs, and (and thats what made me give up) obviously the architecture in the control file, so the only possibility to install apps was altering the archives an scp the contents (of course of the data archive) to my fr... pretty soon i riealized if one doesn't know ALL the dependecies it's a job that can't be done till Feb 2032. (btw i'm running e (Illume) on my debian installation) so i wanted to ask you if you know a better way to install shr apps under debian (supposed it's compatible (SHR is fso m4 basend and so is my current version od debain)) as said simple transforimg the tar into an ar archve doesn't work (and neither does altering and manually editing the control file - so i stuck with scp) ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Debian + SHR Apps
so i wanted to ask you if you know a better way to install shr apps under debian The correct thing is to create debian packages for software in question. Debian New Maintainer Guide [1] documents how to do so. [1] http://www.debian.org/doc/maint-guide/ ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Debian + SHR Apps
On Sun, Nov 23, 2008 at 9:14 PM, Nikita V. Youshchenko [EMAIL PROTECTED] wrote: The correct thing is to create debian packages for software in question. Nomeata is already working on that. -- Julien Cassignol http://www.ainulindale.net ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Debian + SHR Apps
Nikita V. Youshchenko schrieb: so i wanted to ask you if you know a better way to install shr apps under debian The correct thing is to create debian packages for software in question. blah! sry but ipk and deb just differ in filetype... No. Distributions do call packages differently, and have other differences. When you install non-native package, you do break system dependency handling. If you want things to work reliable, don't break dependency handling. This is a gold rule for desktops and servers, and it is still true for Debian on freerunner. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Debian + SHR Apps
Nikita V. Youshchenko schrieb: Nikita V. Youshchenko schrieb: so i wanted to ask you if you know a better way to install shr apps under debian The correct thing is to create debian packages for software in question. blah! sry but ipk and deb just differ in filetype... No. Distributions do call packages differently, and have other differences. When you install non-native package, you do break system dependency handling. If you want things to work reliable, don't break dependency handling. This is a gold rule for desktops and servers, and it is still true for Debian on freerunner. Ok you shut me up, wasn't considering the diffenrent names of packages ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community