maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Dialcentral 1.0 (https://talk.maemo.org/showthread.php?t=29347)

epage 2009-09-14 19:05

Re: Dialcentral 1.0
 
Quote:

Originally Posted by qole (Post 326901)
I had no problems as a Canadian switching to Google Voice. Soon, Grandcentral will be shut down and GV will be the only service you'll need to support...

I'm having a couple problems (on Fremantle DialCentral 1.0.5-4).

There's an error about libalarm.so.0 at the bottom of the screen when I first start DialCentral.
Code:

libalarm.so.0: cannot open shared object file: No such file or direct...
In the Account tab, my callback number is always blank. All my numbers are in the dropdown box, but I can't choose any of them. I can enter a number there (causing errors for every number up to the very last one, "6 is not a valid callback number," yes, I know, I'm not finished yet!) and my entered number will work, but it disappears when I restart the program.

Glad to hear you've got things working for you up North.

It sounds like the python bindings for alarmd have ... issues. These extrodinary errors I haven't hardened my code completely against and I am guessing that error is causing your other issues. I will try and get a fix into 1.0.6 (SVN only right now) so you can move forward on using it under Fremantle.

EDIT: NM The code seems to be protected against no libalarmd. Could you post a log (~/.dialcentral/dialcentral.log) which might help in finding the issue.

Thanks

qole 2009-09-14 22:28

Re: Dialcentral 1.0
 
Posting on-device:

Code:

~ $ rm .dialcentral/dialcentral.log
~ $ dialcentral.py
~ $ cat .dialcentral/dialcentral.log
ERROR:root:libalarm.so.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/usr/lib/dialcentral/dc_glade.py", line 195, in _idle_setup
    import alarm_handler
  File "/usr/lib/dialcentral/alarm_handler.py", line 9, in <module>
    import osso.alarmd as alarmd
  File "/alarmd.py", line 31, in <module>
  File "/usr/lib/python2.5/ctypes/__init__.py", line 348, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libalarm.so.0: cannot open shared object file: No such file or directory
WARNING:root:No notification support
WARNING:root:No connection support
WARNING:root:Performing download of https://www.google.com/voice/mobile/phones
INFO:root:Logged into <gv_backend.GVDialer object at 0x417271d0> through cookies
WARNING:root:Performing download of https://www.google.com/voice/mobile/contacts


epage 2009-09-14 23:26

Re: Dialcentral 1.0
 
Quote:

Originally Posted by qole (Post 326964)
Posting on-device:

Code:

~ $ rm .dialcentral/dialcentral.log
~ $ dialcentral.py
~ $ cat .dialcentral/dialcentral.log
ERROR:root:libalarm.so.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/usr/lib/dialcentral/dc_glade.py", line 195, in _idle_setup
    import alarm_handler
  File "/usr/lib/dialcentral/alarm_handler.py", line 9, in <module>
    import osso.alarmd as alarmd
  File "/alarmd.py", line 31, in <module>
  File "/usr/lib/python2.5/ctypes/__init__.py", line 348, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libalarm.so.0: cannot open shared object file: No such file or directory
WARNING:root:No notification support
WARNING:root:No connection support
WARNING:root:Performing download of https://www.google.com/voice/mobile/phones
INFO:root:Logged into <gv_backend.GVDialer object at 0x417271d0> through cookies
WARNING:root:Performing download of https://www.google.com/voice/mobile/contacts


Oops, I was correct before my edit. I watch for some but not all errors. Its now fixed in SVN for this case. I'll see about getting an early build out so you can continue to use (and test) it.

epage 2009-09-14 23:33

Re: Dialcentral 1.0
 
Any suggestions as to what category DIalcentral would belong under in Fremantle?

qole 2009-09-14 23:39

Re: Dialcentral 1.0
 
You're right, there's nowhere for a telephony app to go. Network? Utilities? I don't know...

EDIT: Please make sure python-glade2 is in the dependencies. I had to install it manually...

EDIT EDIT: I also had to create the ~/.dialcentral directory manually...

epage 2009-09-15 00:26

Re: Dialcentral 1.0
 
[QUOTE=qole;326984]You're right, there's nowhere for a telephony app to go. Network? Utilities? I don't know...

For now I guess I'll put it in "network"

Quote:

Originally Posted by qole (Post 326984)
EDIT: Please make sure python-glade2 is in the dependencies. I had to install it manually...

Interesting, glade bindings were packaged with something else in Diablo. I do think its right to seperate them, I just didn't expect a breakage like that.

Quote:

Originally Posted by qole (Post 326984)
EDIT EDIT: I also had to create the ~/.dialcentral directory manually...

Drat, when I added logging support I forgot about this dependency

qole 2009-09-16 10:43

Re: Dialcentral 1.0
 
Fresh install on fresh firmware:

Code:

$ dialcentral.py
Traceback (most recent call last):
  File "/usr/bin/dialcentral.py", line 12, in <module>
    import dc_glade
  File "/usr/lib/dialcentral/dc_glade.py", line 38, in <module>
    import hildonize
  File "/usr/lib/dialcentral/hildonize.py", line 5, in <module>
    import dbus
ImportError: No module named dbus

EDIT: fixed by apt-get install python-dbus

EDIT2: Now there are empty menus across the top, File, Edit, View, About... They weren't there before.

epage 2009-09-16 11:57

Re: Dialcentral 1.0
 
Quote:

Originally Posted by qole (Post 327771)
Fresh install on fresh firmware:

Code:

$ dialcentral.py
Traceback (most recent call last):
  File "/usr/bin/dialcentral.py", line 12, in <module>
    import dc_glade
  File "/usr/lib/dialcentral/dc_glade.py", line 38, in <module>
    import hildonize
  File "/usr/lib/dialcentral/hildonize.py", line 5, in <module>
    import dbus
ImportError: No module named dbus

EDIT: fixed by apt-get install python-dbus

EDIT2: Now there are empty menus across the top, File, Edit, View, About... They weren't there before.

Well, thats better than me. I can't even install due to a new postrm script in 1.0.6-0 with a bug in it. I fixed the dependency on dbus (added as part of work in prep for rotation support). I'm curious about the menus though...

EDIT: At least in should now be in the proper fremantle category and have an icon in HAM

qole 2009-09-16 18:58

Re: Dialcentral 1.0
 
Trying to install new version of DialCentral:

Code:

/home/user # apt-get install dialcentral
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Recommended packages:
  python-osso python2.5-osso python-hildon python2.5-hildon
The following packages will be upgraded:
  dialcentral
1 upgraded, 0 newly installed, 0 to remove and 864 not upgraded.
Need to get 135kB of archives.
After this operation, 16.4kB disk space will be freed.
WARNING: The following packages cannot be authenticated!
  dialcentral
Install these packages without verification [y/N]? y
Get:1 http://repository.maemo.org fremantle/free dialcentral 1.0.6-2 [135kB]
Fetched 135kB in 0s (146kB/s)     
(Reading database ... 23593 files and directories currently installed.)
Preparing to replace dialcentral 1.0.6-1 (using .../dialcentral_1.0.6-2_all.deb) ...
/var/lib/dpkg/info/dialcentral.prerm: line 3: /usr/lib/dialcentral/alarm_handler.py: Permission denied
dpkg: warning - old pre-removal script returned error exit status 126
dpkg - trying script from the new package instead ...
Traceback (most recent call last):
  File "/usr/lib/dialcentral/alarm_handler.py", line 9, in <module>
    import osso.alarmd as alarmd
ImportError: No module named osso.alarmd
dpkg: error processing /var/cache/apt/archives/dialcentral_1.0.6-2_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
gtk-update-icon-cache: Cache file created successfully.
Errors were encountered while processing:
 /var/cache/apt/archives/dialcentral_1.0.6-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Texrat 2009-09-17 00:05

Re: Dialcentral 1.0
 
Dialcentral installs fine on my n810, but won't start... :(


All times are GMT. The time now is 02:36.

vBulletin® Version 3.8.8