maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] The One Ring (https://talk.maemo.org/showthread.php?t=41817)

les_garten 2010-02-06 18:34

Re: [Announce] The One Ring
 
Quote:

Originally Posted by epage (Post 513364)
Sounds like expected behavior when GV contacts are enabled



Yea, I'm concerned Google changed something

We could get a better picture of this by running the following program

Code:

#!/usr/bin/python

import sys
sys.path.insert(0, "/usr/lib/theonering")
import logging
import pprint

import gvoice.backend as backend
import gvoice.addressbook as abook


def print_contacts():
        logging.basicConfig(level=logging.DEBUG)

        args = sys.argv
        username = args[1]
        password = args[2]

        b = backend.GVoiceBackend()
        b.login(username, password)
        assert b.is_authed()

        book = abook.Addressbook(b)
        book.update()
        for number in book.get_numbers():
                pprint.pprint((number, book.get_contact_name(number), book.get_phone_type(number), book.is_blocked(number)))


def print_blank_names():
        logging.basicConfig(level=logging.DEBUG)

        args = sys.argv
        username = args[1]
        password = args[2]

        b = backend.GVoiceBackend()
        b.login(username, password)
        assert b.is_authed()

        book = abook.Addressbook(b)
        book.update()
        for number in book.get_numbers():
                if not book.get_contact_name(number):
                        pprint.pprint(book._numbers[number])


if __name__ == "__main__":
        #print_contacts()
        print_blank_names()

This will print out every number of yours and the associated information. Its a lot to look through but we can compare what happens when the names are blank

So save the file, and run it
Code:

python FILE_NAME USERNAME PASSWORD

I'll try this tonight. What username password, GV?

epage 2010-02-06 18:36

Re: [Announce] The One Ring
 
Quote:

Originally Posted by les_garten (Post 513377)
OK,

So I go in and disable GV contacts and disable GV

The entries go away

I restart GV with GV contacts disabled and they come back.

?

That ... is weird and shouldn't happen. In the mean time another thing that could be tried is to also set your addressbook polling time to "-1"?

heavyt 2010-02-06 18:40

Re: [Announce] The One Ring
 
Quote:

Originally Posted by epage (Post 513313)
The Maemo 4.1 autobuilder is back up and 0.7.6-0 is now available for Maemo 4.1 users.

Had to do dpkg -i to install 7.6.0. No errors with the install. Now where are the setting/options for onering. I can't see any difference in DC or rtcomm.

N810 WiMAX.

epage 2010-02-06 18:49

Re: [Announce] The One Ring
 
Quote:

Originally Posted by les_garten (Post 513380)
I'll try this tonight. What username password, GV?

Correct

Quote:

Originally Posted by heavyt (Post 513383)
Had to do dpkg -i to install 7.6.0. No errors with the install. Now where are the setting/options for onering. I can't see any difference in DC or rtcomm.

N810 WiMAX.

I've seen the same thing. Mind filing a bug? I hope this is something I can fix on my part. Rather than writing my own UI I'm re-using telepathy-haze's UI.

heavyt 2010-02-06 18:56

Re: [Announce] The One Ring
 
Quote:

Originally Posted by epage (Post 513391)
I've seen the same thing. Mind filing a bug? I hope this is something I can fix on my part. Rather than writing my own UI I'm re-using telepathy-haze's UI.

Rats hate to hear it is not working for you to. Will file bug now.

fms 2010-02-06 19:00

Re: [Announce] The One Ring
 
Quote:

Originally Posted by epage (Post 513338)
And not everyone minds using Python applications. Its listed in the deps for those who care.

I do not mind Python either, just not for something this small and having to stay resident.

Quote:

I thought HAM was suppose to auto-remove dependencies when uninstalling an application?
Not sure HAM itself knows about it though :)

Quote:

What version of Maemo were you using? What version of The One Ring? In what way did it not work?
Been using Maemo5. I do not remember the exact details, but it did not allow me to place calls and messed up the address book by creating multiple entries for all my Google Talk contacts.

epage 2010-02-06 19:11

Re: [Announce] The One Ring
 
Quote:

Originally Posted by fms (Post 513406)
I do not mind Python either, just not for something this small and having to stay resident.


Not sure HAM itself knows about it though :)

The One Ring uses the glib mainloop. As long as its not responding to anything, it is completely off the processor. The times it responds to something besides direct user interaction is all configurable including doing nothing. At peak on my desktop I got it at 0.6% CPU

As for memory that could be an issue. On my desktop it peaked at 0.7% memory.

As for storage, I think new installations of python are optified so if you didn't have python on it before, it shouldn't take up rootfs. Come on, 2GB is plenty of space for applications ;)

Quote:

Originally Posted by fms (Post 513406)
Been using Maemo5. I do not remember the exact details, but it did not allow me to place calls and messed up the address book by creating multiple entries for all my Google Talk contacts.

Adding Google Voice contacts is expected behavior. It can be disabled in the "Advanced" settings. DO note that currently TOR doesn't support System contacts so if you do not have GV contacts enabled, you have to hand enter each contact.

As for placing calls not working, this depends. Could you not enter numbers and click dial in the phone app? Did it give a general error? Did it just report "disconnected"?

The first two questions are bad things of "did not allow". The last means it worked! GV works by using a callback number. So you "place the call" which immediately disconnects, GV will then call your callback number, and then GV will call the other person. If if reported "Disconnected" and didn't try and call you,I recommend checking the callback number you have configured. It should be displayed in your "Screen Name" field in the account settings.

I recommend reading the first post in this thread, it has a lot of good info, including the stuff I'm currently repeating (I think).

Laughing Man 2010-02-06 19:15

Re: [Announce] The One Ring
 
Quote:

Originally Posted by fms (Post 513406)
Been using Maemo5. I do not remember the exact details, but it did not allow me to place calls and messed up the address book by creating multiple entries for all my Google Talk contacts.

For the place calls I found out you have to either..

Have an activate SIP account on the N900. For example, I have a SIPP # from Gizmo usually turned off, since TOR defaults to Gizmo, unless I turned on my Gizmo SIPP account on the N900, no calls would be made. So there are two solutions here..

a) turn on your SIP account # on the N900

b) change the # listed in the advanced settings to your cell phone #.

For the multiple contacts, that seems to come from your contacts having several phone numbers. I've noticed that you can delete them from your N900 and it won't delete them from the Google Voice server (though I did a backup from the GV server just in case).

fms 2010-02-06 19:55

Re: [Announce] The One Ring
 
Quote:

Originally Posted by epage (Post 513416)
As for storage, I think new installations of python are optified so if you didn't have python on it before, it shouldn't take up rootfs.

Yes, it made complete mess of the mount table instead.

Quote:

Adding Google Voice contacts is expected behavior. ... DO note that currently TOR doesn't support System contacts
Well, this apparently means that if you have a Google Talk account enabled (and most people who would use GV do), you get all your Google Talk contacts duplicated. Not acceptable.

Quote:

As for placing calls not working, this depends. Could you not enter numbers and click dial in the phone app? Did it give a general error? Did it just report "disconnected"?
It did allow me to enter the number but failed to make a call. I no longer remember what the error was.

Quote:

I recommend reading the first post in this thread, it has a lot of good info, including the stuff I'm currently repeating (I think).
Naah, I simply went back to using a regular calling card.

epage 2010-02-06 20:03

Re: [Announce] The One Ring
 
Quote:

Originally Posted by fms (Post 513465)
Well, this apparently means that if you have a Google Talk account enabled (and most people who would use GV do), you get all your Google Talk contacts duplicated. Not acceptable.

Let me rephrase that
Quote:

Not acceptable [to me].
I respect that different people have different needs, Working to fulfill everyones needs though creates a paradox of requirements.

GTalk provides GTalk contacts. TOR Provides TOR contacts. In essence they are different. You cannot use one with the other. Every connection manager populates the list with its native contact types. TOR is no different. TOR goes beyond that though by providing an option to disable the contact list, its just not a default.

I would love system contact support. It is also the top voted for bug. The fact is its not working for now.

lemmyslender 2010-02-06 20:34

Re: [Announce] The One Ring
 
One of the first things I did after getting a Google Voice account was clean up all the imported contacts (from gmail). Once I started using DialCentral, I did another cleanup. I think this really helped. For the record I don't use Gtalk.

@epage Would it be possible to sync the contacts based on a group? For example, in GV create a "TOR" group and add contacts to it. Then if there was a setting we could import all, none, or TOR. Perhaps that would help minimize some of the contact issues and maximize functionality?

epage 2010-02-06 20:49

Re: [Announce] The One Ring
 
Quote:

Originally Posted by lemmyslender (Post 513498)
@epage Would it be possible to sync the contacts based on a group? For example, in GV create a "TOR" group and add contacts to it. Then if there was a setting we could import all, none, or TOR. Perhaps that would help minimize some of the contact issues and maximize functionality?

That is a very interesting idea. The current way I get contacts does not provide any group information though. The other challenge would be in how to present it to the user.

I already provide All and None. Is there much of a use case where someone would want only certain contacts or only certain phone types?

lemmyslender 2010-02-06 21:33

Re: [Announce] The One Ring
 
Quote:

Originally Posted by epage (Post 513510)
That is a very interesting idea. The current way I get contacts does not provide any group information though. The other challenge would be in how to present it to the user.

I already provide All and None. Is there much of a use case where someone would want only certain contacts or only certain phone types?

It occurred to me reading some of the latest posts. I was thinking for the users that have a lot of contacts it would be a way to get a commonly used subset of those contacts and minimize the "duplicate" contacts we are currently seeing. Or to create a subset of single number contacts (ie "Jim cell") so you don't see 3 or 4 listings for Jim. (work, home, etc). Might help merging as well? It'd be easy to segregate on GV as well.

Didn't know if it'd be hard to do. Just a suggestion for contact issues.

greenfly 2010-02-07 01:32

Re: [Announce] The One Ring
 
For those of you who have your n900 number as a callback, how do you deal with TOR IMs combining with SMS replies? Do you just put up with getting double the replies (the SMS to your n900 number and another in the TOR IM session) or do you have some other solution?

Laughing Man 2010-02-07 01:37

Re: [Announce] The One Ring
 
Quote:

Originally Posted by greenfly (Post 513843)
For those of you who have your n900 number as a callback, how do you deal with TOR IMs combining with SMS replies? Do you just put up with getting double the replies (the SMS to your n900 number and another in the TOR IM session) or do you have some other solution?

Well I don't have an SMS plan. But I have my N900 set as a callback, the texts aren't sent from my regular # if I use the TOR IM session (it uses the GV #).

epage 2010-02-07 01:49

Re: [Announce] The One Ring
 
Quote:

Originally Posted by greenfly (Post 513843)
For those of you who have your n900 number as a callback, how do you deal with TOR IMs combining with SMS replies? Do you just put up with getting double the replies (the SMS to your n900 number and another in the TOR IM session) or do you have some other solution?

I do everything off of a data plan. I have a separate pre-paid phone for when I don't have decent data. I just ignore everything on my pre-paid phone because I have to pay for it.

If you want to only use your cell's sms and not the TOR's, then you can set the text polling time to "-1" which means "never poll". The other option would be to have GV stop forwarding to your cell.

If the texts are free, you might as well save battery and use the cell.

lemmyslender 2010-02-07 02:48

Re: [Announce] The One Ring
 
Quote:

Originally Posted by greenfly (Post 513843)
For those of you who have your n900 number as a callback, how do you deal with TOR IMs combining with SMS replies? Do you just put up with getting double the replies (the SMS to your n900 number and another in the TOR IM session) or do you have some other solution?

I have GV set to forward calls to my # and gizmo # but not sms. If I'm going to be in a data poor area, I will turn on sms. I avoid the double sms that way.

greenfly 2010-02-07 05:32

Re: [Announce] The One Ring
 
Quote:

Originally Posted by epage (Post 513851)
I do everything off of a data plan. I have a separate pre-paid phone for when I don't have decent data. I just ignore everything on my pre-paid phone because I have to pay for it.

If you want to only use your cell's sms and not the TOR's, then you can set the text polling time to "-1" which means "never poll". The other option would be to have GV stop forwarding to your cell.

If the texts are free, you might as well save battery and use the cell.

Thanks, I didn't think about setting the text polling time to a negative value. That should work for me for the time being until I decide to go strictly data-only (and/or cancel my SMS plan).

Laughing Man 2010-02-08 02:58

Re: [Announce] The One Ring
 
Noted an interesting bug. When I specified my Google Voice account it uses whoever's name I clicked on as my contact name in my GV IM talk. I'll post pictures to explain if needed.

epage 2010-02-08 13:42

Re: [Announce] The One Ring
 
I just uploaded 0.7.7 to the autobuilder
  • On change between available/away, start state_machine at max rather than min, reducing overhead
  • Added a check for voicemails on missed/rejected calls (checks 3 times, 1 minute apart each)
  • Adjusted default polling times to be more battery cautious for our n8x0 friends who can't change things right now
  • Bugfix: Some of the derived polling settings had bugs
  • Bugfix: Setting text polling to infinite would still have polling done if one sent a text

Quote:

Originally Posted by Laughing Man (Post 515296)
Noted an interesting bug. When I specified my Google Voice account it uses whoever's name I clicked on as my contact name in my GV IM talk. I'll post pictures to explain if needed.

Yeah I'm not too sure I understand. You can PM or email (eopage AT byu DOT net) the picture if you want to be lazy about censuring it.

sondjata 2010-02-08 16:19

Re: [Announce] The One Ring
 
just upgrade. 0.7.7. Still can't initiate a "chat" with GV contacts since they are considered "away"

Thanks.

Laughing Man 2010-02-08 17:10

Re: [Announce] The One Ring
 
2 Attachment(s)
Quote:

Originally Posted by epage (Post 516227)
Yeah I'm not too sure I understand. You can PM or email (eopage AT byu DOT net) the picture if you want to be lazy about censuring it.

Nah, I censored the details out.

Screenshot-20100208-115927.jpg first shows the conversation normally with my number appearing where my name should be. During the Superbowl he and I were talking and for some reason his name showed up where my phone # should be.

Screenshot-20100207-215029.jpg shows me talking to my other friend about hte Superbowl and notice how my other friend's name is still on my name.

sky4vip 2010-02-08 18:18

Re: [Announce] The One Ring
 
Quote:

Originally Posted by Laughing Man (Post 516503)
Nah, I censored the details out.

Screenshot-20100208-115927.jpg first shows the conversation normally with my number appearing where my name should be. During the Superbowl he and I were talking and for some reason his name showed up where my phone # should be.

Screenshot-20100207-215029.jpg shows me talking to my other friend about hte Superbowl and notice how my other friend's name is still on my name.

I've had similar happen on my n900. reboot or reconnect seemed to fix it. Didnt get a chance to ask the other party if they were seeing my GV # or some other one; I just assumed it was TOR/n900 display bug.

sondjata 2010-02-08 20:23

Re: [Announce] The One Ring
 
Two issues with 0.7.7; Dialcentral gives an error about the GV sms gateway being not accessible.
The Chat portion no longer notifies me of incoming SMS's.

sondjata 2010-02-08 20:27

Re: [Announce] The One Ring
 
OK. Rebooted and now I can chat with these "away" contacts. Ok I've figured this out. I disabled my G-talk account and now I can get the chat to work with GV accounts. So I either lose the ability to IM with Gtalk clients so I can SMS or get GTALK IM and lose SMS. Can't be right.

Laughing Man 2010-02-08 20:32

Re: [Announce] The One Ring
 
Quote:

Originally Posted by sky4vip (Post 516595)
I've had similar happen on my n900. reboot or reconnect seemed to fix it. Didnt get a chance to ask the other party if they were seeing my GV # or some other one; I just assumed it was TOR/n900 display bug.

Yeah I rebooted my N900, I'll report if this issue happens again. As far as I can tell the other party was seeing my GV # since I could read the history of the message on the Google Voice website.

christexaport 2010-02-09 00:14

Re: [Announce] The One Ring
 
My IM is broken as well. I need Gtalk AND GV, and depend on both alot. Right now, I'm married to the GV webpage. Is a fix soon??

epage 2010-02-09 00:19

Re: [Announce] The One Ring
 
Quote:

Originally Posted by christexaport (Post 517021)
My IM is broken as well. I need Gtalk AND GV, and depend on both alot. Right now, I'm married to the GV webpage. Is a fix soon??

I assume this is the "logged into gtalk and gv" bug I've seen reported?

I take part in dialog on t.m.o but when it comes to my development, I look at my bug list and work top to bottom. It took too much energy tracking issues in posts, correlating the information together, etc.

epage 2010-02-09 00:26

Re: [Announce] The One Ring
 
Quote:

Originally Posted by Laughing Man (Post 516726)
Yeah I rebooted my N900, I'll report if this issue happens again. As far as I can tell the other party was seeing my GV # since I could read the history of the message on the Google Voice website.

That looks very ... weird. I actually suspect it is a RTComm bug and not TOR. A log file might provide some helpful detail but am unsure. I think I'd need to add some extra debug statements to see if TOR is doing anything wrong.

Quote:

Originally Posted by sondjata (Post 516723)
OK. Rebooted and now I can chat with these "away" contacts. Ok I've figured this out. I disabled my G-talk account and now I can get the chat to work with GV accounts. So I either lose the ability to IM with Gtalk clients so I can SMS or get GTALK IM and lose SMS. Can't be right.

Yes, as long as you are logged in, TOR is running preventing any updates to take affect. TOR waits a little after disconnect before shutting down to see if anyone else is going to make a connection, so I reboot isn't actually required.

At least one chat feature was broken in 0.7.7 but I think thats unrelated to what you are discussing. Someone has sent me an exhaustive set of logs in various situations. Hopefully that can help.

Uploading 0.7.8 right now to fix an incoming chat bug

Quote:

Originally Posted by sondjata (Post 516717)
Two issues with 0.7.7; Dialcentral gives an error about the GV sms gateway being not accessible.
The Chat portion no longer notifies me of incoming SMS's.

I assume you mean Dialcentral and TOR? Mind providing a log so I can see better what is going on?

epage 2010-02-09 04:04

Re: [Announce] The One Ring
 
I just uploaded 0.7.9 to the auto-builder. I found at least one Disconnect/Connect issue with Empathy 2.26 that is fixed by reverting some code. I'm hoping this is similar to the issue a lot of other people are seeing.

*sigh* I put that change in in 0.7.1-0 in hopes to reduce bugs.

mrebanza 2010-02-09 04:31

Re: [Announce] The One Ring
 
Quote:

Originally Posted by sky4vip (Post 503379)
I'm having similar issues: "Network Error" is displayed; it sometimes connects gracefully, but often (everytime?) I go from wifi - 3g or back, it starts to have problems.
Rebooting *sometimes* helps. Enabling/Disabling/offline/online availability etc seems to have no effect.
I disabled GChat, and did all of the above (including switching internet connection source) and it didnt seem to have any effect.

However. REBOOT w/ GChat disabled seem to make it sign in the past 3 times when there was connectivity/network error issues.

I also have SIP enabled (gizmo provider) & ovi.

The native GChat was messing up my skype too so i disabled it . . . who needs GTalk anyway

epage 2010-02-09 13:33

Re: [Announce] The One Ring
 
I'm uploading 0.7.10 which fixes an issue with not cleaning up properly when TOR fails to connect. I'm hoping this, in addition to 0.7.9's fix will improve things quite a bit for everyone.

I'm also increasing the network timeout which I hope will help reduce login issues.

n9ots 2010-02-09 14:34

Re: [Announce] The One Ring
 
Wondering what format is proper for "User Name" in acct. set-up?
Noticed that when I have a log-in issue that if I change the user name by either adding or removing the @gmail.com bit I can successfully log-in...not sure if this is due to my taking the acct. off-line while editing or if google sees the change and treats it differently. Doesn't seem to matter if I leave the G-TALK plug-in running while trying to relog-in.
All tthis is on an n800

epage 2010-02-09 14:52

Re: [Announce] The One Ring
 
Quote:

Originally Posted by n9ots (Post 517741)
Wondering what format is proper for "User Name" in acct. set-up?
Noticed that when I have a log-in issue that if I change the user name by either adding or removing the @gmail.com bit I can successfully log-in...not sure if this is due to my taking the acct. off-line while editing or if google sees the change and treats it differently. Doesn't seem to matter if I leave the G-TALK plug-in running while trying to relog-in.
All tthis is on an n800

I think its because you are taking it offline. Hopefully 0.7.10 will help some

hollowplayer 2010-02-09 15:37

Re: [Announce] The One Ring
 
please release to testing epage

Laughingstok 2010-02-09 15:38

Re: [Announce] The One Ring
 
I am following this application closely. I installed an older version and experienced some issues so I have uninstalled, waiting for it to mature. Looks VERY promising!

epage 2010-02-09 15:54

Re: [Announce] The One Ring
 
Quote:

Originally Posted by hollowplayer (Post 517842)
please release to testing epage

Is this a request to move to -testing because
  • you think its mature enough
  • that you want it matured so it can be moved to testing

epage 2010-02-09 15:54

Re: [Announce] The One Ring
 
Quote:

Originally Posted by Laughingstok (Post 517844)
I am following this application closely. I installed an older version and experienced some issues so I have uninstalled, waiting for it to mature. Looks VERY promising!

Which issues were blockers for you?

Laughingstok 2010-02-09 16:21

Re: [Announce] The One Ring
 
Quote:

Originally Posted by epage (Post 517866)
Which issues were blockers for you?

After making an initial phone call using it and hanging up, I was unable to make a second one. Something about something still being in use. Unfortunately I did not have time to send the information, but if the logs are not removed when the application is uninstalled, I should still have it on the n900 to paste here.

epage 2010-02-09 16:27

Re: [Announce] The One Ring
 
Quote:

Originally Posted by Laughingstok (Post 517898)
After making an initial phone call using it and hanging up, I was unable to make a second one. Something about something still being in use. Unfortunately I did not have time to send the information, but if the logs are not removed when the application is uninstalled, I should still have it on the n900 to paste here.

That is kind of strange. I can't remember if anything I've done would affect that or not.

Logs are removed on install just for this reason ;)


All times are GMT. The time now is 00:15.

vBulletin® Version 3.8.8