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 2010-12-10 17:14

Re: Dialcentral 1.0
 
Quote:

Originally Posted by Hassayampa Slim (Post 894112)
Thanks for checking this out and coming back with a solution.
:o Sorry to sound so dumb..but how do I disable the extras-devel repository?
Slim

I don't have my device in front of me but in the menu is an item dealing with application catalogs. It should provide a list of places where apps are pulled from. There should be an item for extras-devel (and hopefully one for extras). If there is not one for extras, just delete "-devel" and hit ok. If there is an "extras" one, go into the editor for "extras-devel" and I think there is a check box to disable it.

buurmas 2010-12-10 19:24

Re: Dialcentral 1.0
 
Quote:

Originally Posted by Hassayampa Slim (Post 894112)
Thanks for checking this out and coming back with a solution.
:o Sorry to sound so dumb..but how do I disable the extras-devel repository?
Slim

For Maemo4:
1. Run the Application Manager
2. Tap Menu / Tools / Application catalog
3. Tap maemo Extras Devel and tap Edit.
4. Tap Disabled.
5. Tap OK, Close, and close Application Manager.

Hassayampa Slim 2010-12-10 19:50

Re: Dialcentral 1.0
 
I found the catalogs under the AppMgr Tools menu, and disabled the extras-devel, reinstalled DC, and still had the same problem:eek:
Found a Mameo Extras-Devel also and disabled it, and VIOLA I'm back and running with DC again:D. If I had went to the Mameo Talk site and read "buurmas" post (instead of just reading the auto-email), I would have known all this :rolleyes:
As usual, a big Thank You to ebay, and even though I stumbled through it before reading, to you too buurmas.
Slim

epage 2010-12-11 02:21

Re: Dialcentral 1.0
 
It looks like I have a viable work around for those adventurous enough to ignore my warning.

1. Uninstall any Qt applications if they aren't already(DialCentral, Gonvert, ejpi)
2. Disable extras-devel
3. Install Gonvert
4. Confirm Gonvert launches
5. Enable extras-devel
6. Install DialCentral (make sure the install size is less than a MB)

So it looks like the version of PyQt in extras-devel is broken but not the one in extras. Gonvert is in extras and will pull in the extras version of PyQt. Installing DialCentral from extras-devel will for some reason not pull in the broken version.

heavyt 2010-12-11 05:16

Re: Dialcentral 1.0
 
Your work around did it.

Phone numbers are tiny...will post more later.

heavyt 2010-12-11 20:41

Re: Dialcentral 1.0
 
O.K. I am not adventurous enough to keep playing with this version. It does load but that is about all, will not connect for out going calls, some of the fonts and icons are very small...sorry I took so much of your time figuring out how to get it loaded on a N8XX. When it's more bake I will try another slice of it. Thanks for your efforts.

epage 2010-12-11 20:44

Re: Dialcentral 1.0
 
Quote:

Originally Posted by heavyt (Post 894865)
O.K. I am not adventurous enough to keep playing with this version. It does load but that is about all, will not connect for out going calls, some of the fonts and icons are very small...sorry I took so much of your time figuring out how to get it loaded on a N8XX. When it's more bake I will try another slice of it. Thanks for your efforts.

Yeah Qt on Maemo 4.1 doesn't work so well. I'll need to do more tweaking. One thing I find strange is that it doesn't properly categorize the items for messages and history.

Addison 2010-12-12 00:17

Re: Dialcentral 1.0
 
Hi Ed!

Old version of DC keeps giving me unnecessary grief.

I think it's because of the sheer volume of incoming and outgoing daily texts.

I have to go to the Google Voice web page and delete everything about twice a day.

If you ever want to hang out for the night, I'd be more than happy to share all of my account info with you. :)

ddiscodave 2010-12-13 00:00

Re: Dialcentral 1.0
 
okay so i went in and tried to remove the old version of dial central and then install the new verision. im still getting the python errors that there is a conflict. what is the workaround here everyone. i just want to install this APP and go about my life. i dont have time to read thru 137 posts. is there any one who can just give simple instructions to getthis app installed once and for all?

heavyt 2010-12-13 05:01

Re: Dialcentral 1.0
 
If you dont want headaches then leave the update along. It sounds like you don't have time to try out beta apps, it's truely beta!

epage 2010-12-13 23:49

Re: Dialcentral 1.0
 
I'm fixing a calling out bug with certain contacts and a host of failed login issues.

I've still got some UI formatting things for fix for n8x0 users. Any other known issues I'm missing?

Quote:

Originally Posted by Addison (Post 894949)
Hi Ed!

Old version of DC keeps giving me unnecessary grief.

I think it's because of the sheer volume of incoming and outgoing daily texts.

I have to go to the Google Voice web page and delete everything about twice a day.

If you ever want to hang out for the night, I'd be more than happy to share all of my account info with you. :)

For the short time you ran the new version, did you see anything like these issues?

ddiscodave 2010-12-14 01:26

Re: Dialcentral 1.0
 
i simply cannot install anything now and i removed the old version and now im stuck with nothing. how do i get something even if its the old version??

epage 2010-12-14 03:04

Re: Dialcentral 1.0
 
Quote:

Originally Posted by ddiscodave (Post 896297)
i simply cannot install anything now and i removed the old version and now im stuck with nothing. how do i get something even if its the old version??

Could you create a step by step list of what you've done so I can get a clear picture of the state of your device?

Can you go to the catalog editor and list out what catalogs you have and which are enabled/disabled?

Could you describe more specifically what you mean by "cannot install anything"?

Addison 2010-12-14 03:16

Re: Dialcentral 1.0
 
Hi Ed!

I'm using 1.1.13-0 for the longest time.

And yeah, I think it's because I send and receive so many texts, calls, and voice mails in a single day.

I'm constantly having to delete it all for DC to behave correctly.

Some of how DC acts up is super weird. :)

Oh well. I'm still going to probably use this forever. :)

ddiscodave 2010-12-14 17:50

Re: Dialcentral 1.0
 
Quote:

Originally Posted by epage (Post 896349)
Could you create a step by step list of what you've done so I can get a clear picture of the state of your device?

Can you go to the catalog editor and list out what catalogs you have and which are enabled/disabled?

Could you describe more specifically what you mean by "cannot install anything"?

thanks for the reply:

this is what i do to get the new version now that i have deleted the old version and now I cannot restore the new:

1- open app mgr
2- search for dialpad
3-find dialpad 1.1.94-0\
4-click to install it then check off the "i agree" box and click continue
5-get error "unable to install 'dialcentral'. Conflicting application packages."
6- i click on details to get the details and the return message is "conflicting with application packages python2.5-qt4-network (4.7.5-maemo1) python2.5-qt4-wegkit (4.7.5-maemo1)

as for the application catalogues that are enabled I have the following all enabled:

1-nokia applications
2-nokia system software updates
3-ovi
4-maemo.org
5-maemo devel
6-maemo extras
7-maemo testing
8-sygis


hope this helps... i just want this done already!!
thanks a lot

epage 2010-12-14 18:06

Re: Dialcentral 1.0
 
Quote:

Originally Posted by ddiscodave (Post 896717)
thanks for the reply:

this is what i do to get the new version now that i have deleted the old version and now I cannot restore the new:

1- open app mgr
2- search for dialpad
3-find dialpad 1.1.94-0\
4-click to install it then check off the "i agree" box and click continue
5-get error "unable to install 'dialcentral'. Conflicting application packages."
6- i click on details to get the details and the return message is "conflicting with application packages python2.5-qt4-network (4.7.5-maemo1) python2.5-qt4-wegkit (4.7.5-maemo1)

as for the application catalogues that are enabled I have the following all enabled:

1-nokia applications
2-nokia system software updates
3-ovi
4-maemo.org
5-maemo devel
6-maemo extras
7-maemo testing
8-sygis


hope this helps... i just want this done already!!
thanks a lot

And what happens when you disable "maemo devel". Can you install the old version?

That error is different than the one others get. Theirs is a runtime (rather than install-time) issue on Maemo 4.1 For yours it looks like on Maemo 5 I either got some of the dependencies messed up or someone else did.

ddiscodave 2010-12-14 18:40

Re: Dialcentral 1.0
 
Quote:

Originally Posted by epage (Post 896726)
And what happens when you disable "maemo devel". Can you install the old version?

That error is different than the one others get. Theirs is a runtime (rather than install-time) issue on Maemo 4.1 For yours it looks like on Maemo 5 I either got some of the dependencies messed up or someone else did.

okay that worked but i was only able to get the old version. how can i get the upgrade now??

epage 2010-12-14 20:11

Re: Dialcentral 1.0
 
Quote:

Originally Posted by ddiscodave (Post 896742)
okay that worked but i was only able to get the old version. how can i get the upgrade now??

The current version is early beta and I'd recommend waiting a bit more first.

Overall the issue is some kind of conflict on the system with something else installed. Later I'll try to look at least at DialCentral to see the chance it is at fault, otherwise I'll need to investigate where to go from there.

ddiscodave 2010-12-14 20:56

Re: Dialcentral 1.0
 
okay great thanks for the help =)

TiagoTiago 2010-12-14 23:28

Re: Dialcentral 1.0
 
For the last few upgrades i've been getting an error, i don't remember the exact error from the previous upgrades but i think it was the same as the latest one:

Code:

Traceback (most recent call last):
  File "/opt/dialcentral/lib/alarm_handler.py", line 323, in <module>
    main()
  File "/opt/dialcentral/lib/alarm_handler.py", line 314, in main
    alarmHandler.save_settings(config, "alarm")
  File "/opt/dialcentral/lib/alarm_handler.py", line 112, in save_settings
    config.set(sectionName, "recurrence", str(self._recurrence))
  File "/usr/lib/python2.5/ConfigParser.py", line 640, in set
    ConfigParser.set(self, section, option, value)
  File "/usr/lib/python2.5/ConfigParser.py", line 358, in set
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'alarm'

Could you explain to me what this is about please?

epage 2010-12-14 23:58

Re: Dialcentral 1.0
 
Quote:

Originally Posted by TiagoTiago (Post 897007)
For the last few upgrades i've been getting an error, i don't remember the exact error from the previous upgrades but i think it was the same as the latest one:

Code:

Traceback (most recent call last):
  File "/opt/dialcentral/lib/alarm_handler.py", line 323, in <module>
    main()
  File "/opt/dialcentral/lib/alarm_handler.py", line 314, in main
    alarmHandler.save_settings(config, "alarm")
  File "/opt/dialcentral/lib/alarm_handler.py", line 112, in save_settings
    config.set(sectionName, "recurrence", str(self._recurrence))
  File "/usr/lib/python2.5/ConfigParser.py", line 640, in set
    ConfigParser.set(self, section, option, value)
  File "/usr/lib/python2.5/ConfigParser.py", line 358, in set
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'alarm'

Could you explain to me what this is about please?

I believe you are referring to a message being reported on the command line or in your HAM log? This does not stop the upgrade, correct?

In the pre-install is a check to prevent issues with alarms on upgrade.

The Qt version of dialcentral does not yet have alarm support (do people still use/want it?) so the script can't get the settings, so it should be moving along.

TiagoTiago 2010-12-15 00:18

Re: Dialcentral 1.0
 
I see, ok, thanx

peterch405 2010-12-15 17:30

Re: Dialcentral 1.0
 
Is there a solution to this?
Code:

There was a problem with GV: {'data': {'code':20}, 'ok': False}

epage 2010-12-15 18:34

Re: Dialcentral 1.0
 
Quote:

Originally Posted by peterch405 (Post 897470)
Is there a solution to this?
Code:

There was a problem with GV: {'data': {'code':20}, 'ok': False}

What version of DialCentral are you using?

Have you configured your callback number (the accounts tab on the released version, the accounts dialog on the beta version).

kwtm 2010-12-15 19:55

Can I dial a number from command line?
 
Is there a way I can use the command-line to dial a number? E.g. I want to write a shell script that says something like:

/opt/dialcentral/bin/dialcentral.py ---dial 1-415-555-1234

and then it would use GoogleVoice to dial that number.

It would also be okay to invoke Dialcentral, and then use dbus-send to dial a number. As long as it can be automated by script. (I am trying to get Vim to dial out.)

I couldn't find the answer by web search. I thought a post here would be more useful than a private message to Mr. Page.

Thank you for your work, Mr. Page.

epage 2010-12-15 21:07

Re: Can I dial a number from command line?
 
Quote:

Originally Posted by kwtm (Post 897576)
Is there a way I can use the command-line to dial a number? E.g. I want to write a shell script that says something like:

/opt/dialcentral/bin/dialcentral.py ---dial 1-415-555-1234

and then it would use GoogleVoice to dial that number.

It would also be okay to invoke Dialcentral, and then use dbus-send to dial a number. As long as it can be automated by script. (I am trying to get Vim to dial out.)

I couldn't find the answer by web search. I thought a post here would be more useful than a private message to Mr. Page.

Thank you for your work, Mr. Page.

Oh VIM :)

I could add some command line flags. They might be a bit slow since they would have to login then dial. I hesitate on adding dbus stuff because of the solution I would suggest, The One Ring.

The One Ring is a Google Voice plugin for the system. You can use dbus or telepathy wrappers over dbus to initiate a call. If you want a single command for it, it would be easy for me to wrap this into a single script.

You can disable polling for contacts, voicemail,. and texts which would greatly reduce the battery overhead. The cost would then be whenever you switch networks it has to login again. I am tempted to improve that for quick network switches but not right now.

kwtm 2010-12-16 00:57

Re: Can I dial a number from command line?
 
Quote:

Originally Posted by epage (Post 897641)
Oh VIM :)

Well, it could be any shell script. I work about 2/3 of the time in vim and the other 1/3 from the command line. But, yes, text interface. Sure beats using the GUI and having to wait 4 seconds for the Phone app to switch over to the Contacts screen.

Quote:

Originally Posted by epage (Post 897641)
I could add some command line flags. They might be a bit slow since they would have to login then dial.

That would be appreciated, especially if it's not too inconvenient. In my particular case, I am trying to initiate a long-d call while driving, so I would rather tap on one icon or type a short string (say, the name of a shell script) and then wait for the automated connection, than have to type in a long phone number with the onscreen keypad while I'm driving.

(I hope the changes that you make won't force me to upgrade to PR 1.3. Right now PR 1.2 works well and I am rather leery of the bugs reported in PR 1.3.)

Quote:

Originally Posted by epage (Post 897641)
I hesitate on adding dbus stuff because of the solution I would suggest, The One Ring.
The One Ring is a Google Voice plugin for the system. You can use dbus or telepathy wrappers over dbus to initiate a call. If you want a single command for it, it would be easy for me to wrap this into a single script.

I've looked at this before --in fact, I think I have it installed-- but I have to admit that I find it confusing. There are several names --"The One Ring", "Telepathy", "Google Voice Plugin For Conversations"-- and it is not clear to me whether these are all the same thing. I had expected the Conversations widget to change after installation but it didn't. I'm not sure how to use it.

If it is as I understand, then this "Google The Voice One Plugin Telepathy For Ring Conversations" acts as a daemon which will respond to dbus signals and initiate calls and SMS's on command? Presumably I would use qdbusviewer or something to see what dbus signals it's hooked up to, and all that? If so, then I'd like more info but I'll probably move it over to some other thread since this thread is about Dialcentral.

Dialcentral is attractive since it is written in Python, with which I am familiar; if Google The ... whatever, is written in C++ then I might just stay with Dialcentral to examine its innards.

epage 2010-12-16 01:28

Re: Can I dial a number from command line?
 
Quote:

Originally Posted by kwtm (Post 897778)
(I hope the changes that you make won't force me to upgrade to PR 1.3. Right now PR 1.2 works well and I am rather leery of the bugs reported in PR 1.3.)

I'm still on 1.2 also

Quote:

Originally Posted by kwtm (Post 897778)
I've looked at this before --in fact, I think I have it installed-- but I have to admit that I find it confusing. There are several names --"The One Ring", "Telepathy", "Google Voice Plugin For Conversations"-- and it is not clear to me whether these are all the same thing. I had expected the Conversations widget to change after installation but it didn't. I'm not sure how to use it.

If it is as I understand, then this "Google The Voice One Plugin Telepathy For Ring Conversations" acts as a daemon which will respond to dbus signals and initiate calls and SMS's on command? Presumably I would use qdbusviewer or something to see what dbus signals it's hooked up to, and all that? If so, then I'd like more info but I'll probably move it over to some other thread since this thread is about Dialcentral.

Dialcentral is attractive since it is written in Python, with which I am familiar; if Google The ... whatever, is written in C++ then I might just stay with Dialcentral to examine its innards.

Telepathy is a generic framework for communication. Clients connect to a central hub (Mission Control) which manages all of the individual accounts (Connections on Connection Managers). All of this is through DBus. The One Ring ("pretty name" being "Google Voice Plugin for Calls and Contacts" or something) is a Connection Manager. Because DBus is used at each layer, I wrote TOR in Python.

TOR (not to be confused with Tor) can do the following:
  • Add a "Google Voice" button to system contacts phone numbers
  • Add GV Contacts to the system, updating through polling the server
  • Send Texts
  • Receive texts / voicemail through polling the server
  • Make calls

When a person mentions Telepathy, they could be referring to the spec for any of the pieces or the implementations on their system. Telepathy has a documented spec:
http://telepathy.freedesktop.org/spec/

RTComm (Maemo 4.1, Maemo 5) and Empathy are the most common Telepathy clients.

In prepping myself for writing a util, I realized I made a previous utility more generic than I remembered.

In /opt/theonering/lib is a script called "tp_send_debug.py". It is used in the following way:
Code:

/opt/theonering/lib/tp_send_debug.py GV_NUMBER call DEST_NUMBER
GV_NUMBER and DEST_NUMBER both must be of the format "+180083555" (with +, no spaces, no dashes, no parens). I could add in some stuff to handle sloppier numbers like in the other parts of the code.

peterch405 2010-12-16 14:22

Re: Dialcentral 1.0
 
Quote:

Originally Posted by epage (Post 897526)
What version of DialCentral are you using?

Have you configured your callback number (the accounts tab on the released version, the accounts dialog on the beta version).

I've added a callback number yes.

epage 2010-12-16 14:40

Re: Dialcentral 1.0
 
Quote:

Originally Posted by peterch405 (Post 898074)
I've added a callback number yes.

Sorry for the questions but I'd rather not be making assumptions.

First, please inform me of the DC version.

Second, are you saying you've set it and are getting the problem or you've added it and it has since been fixed?

Is it a Gizmo number or a regular one?

Is the number added in your GV account?

If this is DC 1.1.9X, have you re-applied your callback number since re-launching?

Addison 2010-12-19 21:55

Re: Dialcentral 1.0
 
Okay. Just want to make a quick mention on how to remove unnecessary notifications with DC.

Go to google.com/voice and remove everything from the inbox, incuding texts sent.

Then, simply SMS someone first.

Works great for quite some time until there's too much of a build up, then you will start going back to notifications when sending a text as well.

Cheers.

slvr32 2010-12-20 00:57

Re: Dialcentral 1.0
 
A few questions about the Qt version in the works...

Is this the appropriate thread for discussion of the Qt version, or will/should discussion for the Qt version be moved to another thread?

On more of a general Qt note, I've been getting started with some Qt (C++) development of my own, and I decided to pick up an N8 as another target for Qt/C++ and Symbian^3 development.

Are you planning to start building Symbian^3 versions of the Qt version of DialCentral?

I realize that porting between Maemo and Symbian^3 isn't completely trivial, and I've only written portable Qt/C++, that currently builds and runs on Linux, OS X, and Maemo5, without any platform-specific #ifdef so far.

Any feedback on these questions would be greatly appreciated.

uvatbc 2010-12-20 01:08

Re: Dialcentral 1.0
 
Quote:

Originally Posted by slvr32 (Post 900222)
I realize that porting between Maemo and Symbian^3 isn't completely trivial, and I've only written portable Qt/C++, that currently builds and runs on Linux, OS X, and Maemo5, without any platform-specific #ifdef so far.

Any feedback on these questions would be greatly appreciated.

In general all of the platform specific code I have had to write -with #ifdefs - has been for components that are specifically not supported by Symbian. For me this primarily means Telepathy and surprisingly enough, the QT system tray icon class.

Addison 2010-12-20 01:28

Re: Dialcentral 1.0
 
Hey Ed, small request?

DC 1.1.13-0

When using the hardware menu key button, you have

Login
Paste
Refresh
About

Any chance you could put Refresh on top?

It would save on two extra key presses each time.

Thanks. :)

epage 2010-12-20 11:50

Re: Dialcentral 1.0
 
Quote:

Originally Posted by slvr32 (Post 900222)
Is this the appropriate thread for discussion of the Qt version, or will/should discussion for the Qt version be moved to another thread?

Yes it is because in theory it will soon become the only DialCentral.

Quote:

Originally Posted by slvr32 (Post 900222)
On more of a general Qt note, I've been getting started with some Qt (C++) development of my own, and I decided to pick up an N8 as another target for Qt/C++ and Symbian^3 development.

Are you planning to start building Symbian^3 versions of the Qt version of DialCentral?

I realize that porting between Maemo and Symbian^3 isn't completely trivial, and I've only written portable Qt/C++, that currently builds and runs on Linux, OS X, and Maemo5, without any platform-specific #ifdef so far.

Any feedback on these questions would be greatly appreciated.

DialCentral is built using Python. I am unsure what the status of PyQt or PySide is on Symbian. uvatbc has ported his C++/Qt GV app to Symbian.

epage 2010-12-20 11:53

Re: Dialcentral 1.0
 
Quote:

Originally Posted by Addison (Post 900229)
Hey Ed, small request?

DC 1.1.13-0

When using the hardware menu key button, you have

Login
Paste
Refresh
About

Any chance you could put Refresh on top?

It would save on two extra key presses each time.

Thanks. :)

irc you have a n800 rather than n810? Because I have Ctrl+r mapped to refresh. I'd rather not change the menu ordering as this aligns more with how menus are generally organized. Maybe swapping paste and refresh. Don't like to use the long-tap on the tabs? Too bad I couldn't get that to work in Qt.

As for 1.1.9X (Qt) I'm unsure why the keyboard shortcuts aren't working.

epage 2010-12-22 18:08

Re: Dialcentral 1.0
 
Quote:

Originally Posted by george_seifert (Post 902202)
I just installed DialCentral. The install seemed to go without a hitch, but when I start it nothing happens. The app manager thinks it's there. What happened?

Maemo 4.1 (n8x0) or Maemo 5 device? What version of DialCentral? Was this previously working? What version did you upgrade from if so?

george_seifert 2010-12-22 18:19

Re: Dialcentral 1.0
 
Quote:

Originally Posted by epage (Post 902213)
Maemo 4.1 (n8x0) or Maemo 5 device? What version of DialCentral? Was this previously working? What version did you upgrade from if so?

It was Maemo 4 on an N810. Application Manager says the version of DialCentral is 1.1.98-0 (the latest). This was a new install. I'd like to get Google Voice working with it.

George

epage 2010-12-22 19:00

Re: Dialcentral 1.0
 
Quote:

Originally Posted by george_seifert (Post 902222)
It was Maemo 4 on an N810. Application Manager says the version of DialCentral is 1.1.98-0 (the latest). This was a new install. I'd like to get Google Voice working with it.

George

I already have a good guess as to what the problem is. I've not gotten around to filing a bug report on it. You have extras-devel enabled (having D 1.1.9X). The version of PyQt in extras-devel is broken.

Steps to recover. The alternative is you only run the version of DC out of extras (rather than extras-devel). The version in extras-devel is a beta though I think all outstanding issues are resolved (anyone want to correct me, especially n8x0 users?).

george_seifert 2010-12-22 19:34

Re: Dialcentral 1.0
 
Quote:

Originally Posted by epage (Post 902245)
I already have a good guess as to what the problem is. I've not gotten around to filing a bug report on it. You have extras-devel enabled (having D 1.1.9X). The version of PyQt in extras-devel is broken.

Steps to recover. The alternative is you only run the version of DC out of extras (rather than extras-devel). The version in extras-devel is a beta though I think all outstanding issues are resolved (anyone want to correct me, especially n8x0 users?).

Yep, you're right. I'll load the other one. Thanks. BTW, is there a way to load the Extras version without disabling Extras-devel? I'm not a power-user - can you tell?

George


All times are GMT. The time now is 20:55.

vBulletin® Version 3.8.8