Notices


Reply
Thread Tools
epage's Avatar
Posts: 1,684 | Thanked: 1,562 times | Joined on Jun 2008 @ Austin, TX
#51
Originally Posted by lemmyslender View Post
Tried calling (n900,1.1,0.7.0-1)

"Call disconnected"

screen name +1 (747) xxx-xxxx forward blank or 1747xxxxxxx

Code:
(23:38:35) INFO:connection:get_handle_by_name Contact: 330yyyyyyy
(23:38:35) DEBUG:handle:Created Handle: <ContactHandle id=20 name='+1330yyyyyyy'> (From Cache)
(23:38:35) DEBUG:channel_manager:New media channel
(23:38:35) WARNING:channel.call:InitiatorID or InitiatorHandle not set on new channel, assuming locally initiated
(23:38:44) DEBUG:gvoice.browser_emu:Performing download of https://www.google.com/voice/mobile/phones
(23:38:44) INFO:gvoice.backend:{'subscriberNumber': 'undefined', 'remember': '1', 'phoneType': '2', 'forwardingNumber': u'+1747xxxxxxx', 'outgoingNumber': '+1330yyyyyyy'}
(23:38:44) DEBUG:gvoice.browser_emu:Performing download of https://www.google.com/voice/call/connect
(23:38:45) DEBUG:channel.call:Closing call
Call from Dialcentral completes fine, same numbers used.
Originally Posted by sky4vip View Post
I have similar error and log. I hope it's user error.. SMS works great, and dialcentral is works.
Thanks for the work!
So the expected behavior is to "start" a call and have it immediately disconnect. Then the callback should be initiated. Nothing in the log indicates the "Code 20" error Dialcentral is having with a Gizmo phone number. Interesting, I do see when I changed phone numbers to always start with "+" I didn't update some other code. That could be it. I'll try and push out a 0.7.0-3
__________________
770, n810, n900, Ideapad S10-3t
TheOneRing, DialCentral, Gonvert, Quicknote, Multilist, ejpi, nQa, Waters of Shiloah
Programming Blog
 

The Following 6 Users Say Thank You to epage For This Useful Post:
heavyt's Avatar
Posts: 708 | Thanked: 125 times | Joined on Jan 2007 @ Too Close To D.C
#52
Originally Posted by epage View Post
Sorry, no update on Maemo 4.1 support but I'll be sure to announce it.
Will be waiting for it, thanks @epage..
 
epage's Avatar
Posts: 1,684 | Thanked: 1,562 times | Joined on Jun 2008 @ Austin, TX
#53
FYI I updated the first post to clarify points that have come up in the thread so far.
__________________
770, n810, n900, Ideapad S10-3t
TheOneRing, DialCentral, Gonvert, Quicknote, Multilist, ejpi, nQa, Waters of Shiloah
Programming Blog
 

The Following 3 Users Say Thank You to epage For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#54
Hey epage.

Are you cross compiling both Maemo 5 and 4.1 at the same time or does the Diablo version require it's own separate code?

This was quite some undertaking by you so congratulations are in order.

This will easily be a 2,000 post thread if not more. I can't even begin to imagine the headache you're about to receive from all of us posting here.
 
Posts: 968 | Thanked: 974 times | Joined on Nov 2008 @ Ohio
#55
N900, 1.1, 0.7.0-3

Installed 7-3. Checked sms, downloaded already seen "new" sms. Rebooted.

Initially said authentification failed, checked account settings, saved. Errored out as network error.

Code:
(17:47:50) DEBUG:root:Kernel: 2.6.28-omap1 (#1 PREEMPT Thu Dec 17 09:40:52 EET 2009) for armv7l
(17:47:50) DEBUG:root:Hostname: Nokia-N900-42-11
(17:47:50) INFO:connection_manager:Connection manager created
(17:47:50) DEBUG:handle:Created Handle: <ConnectionHandle id=1 name='mycorrectusername'> (Is New!)
(17:47:50) INFO:connection:Connection to the account mycorrectusername created
(17:47:51) INFO:connection:Connecting...
(17:47:51) DEBUG:gvoice.conversations:'get_texts' Skipping cache due to version mismatch (0.7.0-1)
(17:47:51) DEBUG:gvoice.conversations:'get_voicemails' Skipping cache due to version mismatch (0.7.0-1)
(17:47:51) DEBUG:gvoice.browser_emu:Performing download of https://www.google.com/voice/m
(17:47:51) DEBUG:gvoice.browser_emu:Performing download of https://www.google.com/accounts/ServiceLoginAuth
(17:47:54) INFO:gvoice.state_machine:Addressbook Starting State Machine
(17:47:54) INFO:gvoice.state_machine:Voicemail Starting State Machine
(17:47:54) INFO:gvoice.state_machine:Texting Starting State Machine
(17:47:54) ERROR:connection:Connection Failed
Traceback (most recent call last):
  File "/usr/lib/theonering/connection.py", line 180, in Connect
    self.session.backend
  File "/usr/lib/theonering/gvoice/backend.py", line 832, in get_sane_callback
    if numberCriteria is not None and re.compile(numberCriteria).match(number) is None:
  File "/usr/lib/python2.5/re.py", line 188, in compile
    return _compile(pattern, flags)
  File "/usr/lib/python2.5/re.py", line 241, in _compile
    raise error, v # invalid expression
error: nothing to repeat
(17:47:54) INFO:gvoice.state_machine:Addressbook Next update in 10800 seconds
(17:47:54) DEBUG:gvoice.browser_emu:Performing download of http://www.google.com/voice/inbox/search/contact
(17:47:56) INFO:gvoice.state_machine:Voicemail Next update in 1800 seconds
(17:47:56) DEBUG:gvoice.browser_emu:Performing download of https://www.google.com/voice/inbox/recent/voicemail/
(17:47:57) INFO:gvoice.state_machine:Texting Next update in 22 seconds
(17:47:57) DEBUG:gvoice.browser_emu:Performing download of https://www.google.com/voice/inbox/recent/sms/
(17:47:58) INFO:gvoice.state_machine:Texting Next update in 22 seconds
(17:47:58) DEBUG:connection:Incoming messages from: set(['+1330xxxxxxx', '+1330yyyyyyy', '48368'])
(17:47:58) INFO:connection:get_handle_by_name Contact: +1330xxxxxxx
(17:47:58) DEBUG:handle:Created Handle: <ContactHandle id=2 name='+1330xxxxxxx'> (Is New!)
(17:47:58) DEBUG:channel_manager:New text channel
(17:47:58) DEBUG:channel.text:No voicemails in the conversation yet for '+13307037477'
(17:47:58) INFO:channel.text:Received message from User <ContactHandle id=2 name='+1330xxxxxxx'>
(17:47:58) INFO:connection:get_handle_by_name Contact: +1330yyyyyyy
(17:47:58) DEBUG:handle:Created Handle: <ContactHandle id=3 name='+1330yyyyyyy'> (Is New!)
(17:47:58) INFO:connection:get_handle_by_name Contact: 48368
(17:47:58) DEBUG:handle:Created Handle: <ContactHandle id=4 name='48368'> (Is New!)
(17:47:58) DEBUG:channel.text:Incoming messages from '+1330xxxxxxx' for existing conversation
(17:47:58) DEBUG:channel.text:New messages for '+1330xxxxxxx' have already been read externally
(17:48:21) INFO:gvoice.state_machine:Texting Next update in 24 seconds
(17:48:21) DEBUG:gvoice.browser_emu:Performing download of https://www.google.com/voice/inbox/recent/sms/
(17:48:22) ERROR:connection:__init__
Traceback (most recent call last):
  File "/usr/lib/theonering/gtk_toolbox.py", line 248, in wrapper
    return func(*args, **kwds)
  File "/usr/lib/theonering/connection.py", line 87, in __init__
    constants._telepathy_implementation_name_
  File "/usr/lib/theonering/tp/conn.py", line 82, in __init__
    _Connection.__init__(self, bus_name, object_path)
  File "/usr/lib/pymodules/python2.5/dbus/service.py", line 480, in __init__
    self.add_to_connection(conn, object_path)
  File "/usr/lib/pymodules/python2.5/dbus/service.py", line 571, in add_to_connection
    self._fallback)
KeyError: "Can't register the object-path handler for '/org/freedesktop/Telepathy/Connection/theonering/sip/mycorrectusername': there is already a handler"
(17:48:34) ERROR:connection:__init__
Looks like the last bit repeats when checking for new sms.
__________________
*Consumer*, not a developer! I apologize for any inconvenience.
My script to backup /home and /opt
Samsung Galaxy S Vibrant, Huawei S7, N900(retired), N800(retired)

Last edited by lemmyslender; 2010-01-23 at 23:14.
 
epage's Avatar
Posts: 1,684 | Thanked: 1,562 times | Joined on Jun 2008 @ Austin, TX
#56
Originally Posted by Addison View Post
Hey epage.

Are you cross compiling both Maemo 5 and 4.1 at the same time or does the Diablo version require it's own separate code?
The One Ring is written in Python. All of the source code is exactly the same. I do have some things in there for it to fail gracefully when features aren't available.

I do release separate packages for each platform due to how some of the support files are needing to be setup.

Originally Posted by Addison View Post
This was quite some undertaking by you so congratulations are in order.

This will easily be a 2,000 post thread if not more. I can't even begin to imagine the headache you're about to receive from all of us posting here.
2,000 is a bit of an exaggeration but I am looking forward to seeing where all this leads. One of the reasons i've been so restrictive on offering help is because this is going to take a lot of time, both development and support. The more applications I write, the heavier burden I have.

The horrible part is I do have other ideas for applications once this becomes "feature complete" (nothing ever is really feature complete). I would like to write an application that let's you view the world as if you have different kinds of visual impairment. Minimally I'll implement color-blindness. Another would be to research if a similar connection manager could be made to go over bluetooth. This wouldn't necessarily be for IM and talk but the Telepathy framework can be used for application communication. The last (again unsure if its possible) I would expect t be there but I don't think it is: a sharing plugin to share items with IM contacts.

*hint* *hint* anybody feel free to take these ideas and run with them, help with development on my apps, or take over maintainership of some of my applications.
__________________
770, n810, n900, Ideapad S10-3t
TheOneRing, DialCentral, Gonvert, Quicknote, Multilist, ejpi, nQa, Waters of Shiloah
Programming Blog
 

The Following 4 Users Say Thank You to epage For This Useful Post:
epage's Avatar
Posts: 1,684 | Thanked: 1,562 times | Joined on Jun 2008 @ Austin, TX
#57
Originally Posted by lemmyslender View Post
N900, 1.1, 0.7.0-3

Installed 7-3. Checked sms, downloaded already seen "new" sms. Rebooted.

Initially said authentification failed, checked account settings, saved. Errored out as network error.

Code:
(17:47:50) DEBUG:root:Kernel: 2.6.28-omap1 (#1 PREEMPT Thu Dec 17 09:40:52 EET 2009) for armv7l
(17:47:50) DEBUG:root:Hostname: Nokia-N900-42-11
(17:47:50) INFO:connection_manager:Connection manager created
(17:47:50) DEBUG:handle:Created Handle: <ConnectionHandle id=1 name='mycorrectusername'> (Is New!)
(17:47:50) INFO:connection:Connection to the account mycorrectusername created
(17:47:51) INFO:connection:Connecting...
(17:47:51) DEBUG:gvoice.conversations:'get_texts' Skipping cache due to version mismatch (0.7.0-1)
(17:47:51) DEBUG:gvoice.conversations:'get_voicemails' Skipping cache due to version mismatch (0.7.0-1)
(17:47:51) DEBUG:gvoice.browser_emu:Performing download of https://www.google.com/voice/m
(17:47:51) DEBUG:gvoice.browser_emu:Performing download of https://www.google.com/accounts/ServiceLoginAuth
(17:47:54) INFO:gvoice.state_machine:Addressbook Starting State Machine
(17:47:54) INFO:gvoice.state_machine:Voicemail Starting State Machine
(17:47:54) INFO:gvoice.state_machine:Texting Starting State Machine
(17:47:54) ERROR:connection:Connection Failed
Traceback (most recent call last):
  File "/usr/lib/theonering/connection.py", line 180, in Connect
    self.session.backend
  File "/usr/lib/theonering/gvoice/backend.py", line 832, in get_sane_callback
    if numberCriteria is not None and re.compile(numberCriteria).match(number) is None:
  File "/usr/lib/python2.5/re.py", line 188, in compile
    return _compile(pattern, flags)
  File "/usr/lib/python2.5/re.py", line 241, in _compile
    raise error, v # invalid expression
error: nothing to repeat
(17:47:54) INFO:gvoice.state_machine:Addressbook Next update in 10800 seconds
(17:47:54) DEBUG:gvoice.browser_emu:Performing download of http://www.google.com/voice/inbox/search/contact
(17:47:56) INFO:gvoice.state_machine:Voicemail Next update in 1800 seconds
(17:47:56) DEBUG:gvoice.browser_emu:Performing download of https://www.google.com/voice/inbox/recent/voicemail/
(17:47:57) INFO:gvoice.state_machine:Texting Next update in 22 seconds
(17:47:57) DEBUG:gvoice.browser_emu:Performing download of https://www.google.com/voice/inbox/recent/sms/
(17:47:58) INFO:gvoice.state_machine:Texting Next update in 22 seconds
(17:47:58) DEBUG:connection:Incoming messages from: set(['+1330xxxxxxx', '+1330yyyyyyy', '48368'])
(17:47:58) INFO:connection:get_handle_by_name Contact: +1330xxxxxxx
(17:47:58) DEBUG:handle:Created Handle: <ContactHandle id=2 name='+1330xxxxxxx'> (Is New!)
(17:47:58) DEBUG:channel_manager:New text channel
(17:47:58) DEBUG:channel.text:No voicemails in the conversation yet for '+13307037477'
(17:47:58) INFO:channel.text:Received message from User <ContactHandle id=2 name='+1330xxxxxxx'>
(17:47:58) INFO:connection:get_handle_by_name Contact: +1330yyyyyyy
(17:47:58) DEBUG:handle:Created Handle: <ContactHandle id=3 name='+1330yyyyyyy'> (Is New!)
(17:47:58) INFO:connection:get_handle_by_name Contact: 48368
(17:47:58) DEBUG:handle:Created Handle: <ContactHandle id=4 name='48368'> (Is New!)
(17:47:58) DEBUG:channel.text:Incoming messages from '+1330xxxxxxx' for existing conversation
(17:47:58) DEBUG:channel.text:New messages for '+1330xxxxxxx' have already been read externally
(17:48:21) INFO:gvoice.state_machine:Texting Next update in 24 seconds
(17:48:21) DEBUG:gvoice.browser_emu:Performing download of https://www.google.com/voice/inbox/recent/sms/
(17:48:22) ERROR:connection:__init__
Traceback (most recent call last):
  File "/usr/lib/theonering/gtk_toolbox.py", line 248, in wrapper
    return func(*args, **kwds)
  File "/usr/lib/theonering/connection.py", line 87, in __init__
    constants._telepathy_implementation_name_
  File "/usr/lib/theonering/tp/conn.py", line 82, in __init__
    _Connection.__init__(self, bus_name, object_path)
  File "/usr/lib/pymodules/python2.5/dbus/service.py", line 480, in __init__
    self.add_to_connection(conn, object_path)
  File "/usr/lib/pymodules/python2.5/dbus/service.py", line 571, in add_to_connection
    self._fallback)
KeyError: "Can't register the object-path handler for '/org/freedesktop/Telepathy/Connection/theonering/sip/mycorrectusername': there is already a handler"
(17:48:34) ERROR:connection:__init__
Looks like the last bit repeats when checking for new sms.
Oops, when trying to improve things, I didn't realize I was messing with a regex. I've fixed it and added support for displaying the auto-guessed callback number in the debug prompt.

I'm pushing 0.7.0-4 out right now.

For those wondering, I'm taking a break waiting to see what issues arise and what feedback I get before going and implementing some of the planned features or taking another crack at Maemo 4.1.
__________________
770, n810, n900, Ideapad S10-3t
TheOneRing, DialCentral, Gonvert, Quicknote, Multilist, ejpi, nQa, Waters of Shiloah
Programming Blog
 

The Following 5 Users Say Thank You to epage For This Useful Post:
Posts: 41 | Thanked: 17 times | Joined on Dec 2009 @ Seattle, WA
#58
Originally Posted by epage View Post
*hint* *hint* anybody feel free to take these ideas and run with them, help with development on my apps, or take over maintainership of some of my applications.
Do you have a git or hg repository set up? I don't think I have time to take over maintainership of anything right now, but I'd like to contribute some.
 
epage's Avatar
Posts: 1,684 | Thanked: 1,562 times | Joined on Jun 2008 @ Austin, TX
#59
Originally Posted by natmaster View Post
Do you have a git or hg repository set up? I don't think I have time to take over maintainership of anything right now, but I'd like to contribute some.
Dialcentral
git clone https://vcs.maemo.org/git/gc-dialer

Gonvert
git clone https://vcs.maemo.org/git/gonvert

Quicknote (I don't have permission to switch it over to git and all those who do are gone I think)
svn checkout https://vcs.maemo.org/svn/quicknote

A calculator I wrote mainly to explore ideas for a touchscreen I hadn't seen others do
git clone https://vcs.maemo.org/git/ejpi

Yours truly
git clone https://vcs.maemo.org/git/theonering

Also all except The One Ring are in bugs.maemo.org so feel free to look for anything your interested in and helping out. For The One Ring type "make todo" and a "TODO" file will be generated from comments in the code.
__________________
770, n810, n900, Ideapad S10-3t
TheOneRing, DialCentral, Gonvert, Quicknote, Multilist, ejpi, nQa, Waters of Shiloah
Programming Blog
 

The Following 3 Users Say Thank You to epage For This Useful Post:
Posts: 968 | Thanked: 974 times | Joined on Nov 2008 @ Ohio
#60
SUCESS! (N900, 1.1, 0.7,.0-4) Thanks epage.

I was able to place a call from the dialpad (area code and number). Sms was recognized as new (expected), but no longer duplicates entries in the conversation log.

Adding a field in contacts for google voice and entering a number allows me to place a google voice call from that contact. Area code + numer failed, "general error", 1+area code+number works.

The initial call stays on screen for ~5 seconds, shows disconnected, then after a second or two Gizmo sip phone rings and completes the call as usual.

Great work so far. I'll try sms in the morning.
__________________
*Consumer*, not a developer! I apologize for any inconvenience.
My script to backup /home and /opt
Samsung Galaxy S Vibrant, Huawei S7, N900(retired), N800(retired)
 
Reply

Tags
google voice, maemo 4, maemo 5


 
Forum Jump


All times are GMT. The time now is 10:01.