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)

epage 2010-06-22 22:35

Re: [Announce] The One Ring
 
Quote:

Originally Posted by xur17 (Post 725598)
I don't think that log is being created. I have looked at the file before, but I don't see it in that folder right now. I just tried remove that directory, uninstalling the program, and then reinstalling the program, but that still did not work.

Is there some way to completely remove the program, and then reinstall it (settings and all)?

If you delete that directory and delete the account in te accounts window, then everything will have been uninstalled.

If its not logging then its crashing on start. Would you mind running from the command line?

Code:

/opt/theonering/lib/theonering.py
It should automatically quit after 10 seconds if no one is talking to it but it sounds like its crashing before then.

xur17 2010-06-22 23:15

Re: [Announce] The One Ring
 
Code:

(19:12:42) INFO  MainThread.root: telepathy-theonering 0.8.13-2
(19:12:42) DEBUG MainThread.root: OS: Linux
(19:12:43) DEBUG MainThread.root: Kernel: 2.6.28.10power37 (#1 PREEMPT Wed May 26 00:24:03 EEST 2010) for armv7l
(19:12:43) DEBUG MainThread.root: Hostname: Nokia-N900
(19:12:43) INFO  MainThread.connection_manager: Connection manager created
(19:12:53) INFO  MainThread.root: No connection received - quitting
(19:12:53) INFO  MainThread.connection_manager: Connection manager quitting

I tried deleting all of those accounts, deleting the directory, and then readded the account, but I had the same issue. The directory was created when I added a new account, but it was always empty.

epage 2010-06-22 23:28

Re: [Announce] The One Ring
 
Quote:

Originally Posted by xur17 (Post 725670)
Code:

(19:12:42) INFO  MainThread.root: telepathy-theonering 0.8.13-2
(19:12:42) DEBUG MainThread.root: OS: Linux
(19:12:43) DEBUG MainThread.root: Kernel: 2.6.28.10power37 (#1 PREEMPT Wed May 26 00:24:03 EEST 2010) for armv7l
(19:12:43) DEBUG MainThread.root: Hostname: Nokia-N900
(19:12:43) INFO  MainThread.connection_manager: Connection manager created
(19:12:53) INFO  MainThread.root: No connection received - quitting
(19:12:53) INFO  MainThread.connection_manager: Connection manager quitting

I tried deleting all of those accounts, deleting the directory, and then readded the account, but I had the same issue. The directory was created when I added a new account, but it was always empty.

(Thank you for your patience in working through this)

The the output you posted shows that the connection manager can load just fine. That would then make me question if the system can launch the connection manager. The fact that the directory is being created shows positive for that. The really odd part is that the log file isn't being created. Nothing really happens between creation of the directory and the log file.

I only have two ideas left.

The first is to run the following command
Code:

dbus-monitor --session > log
And then attempt to create the acccount. Then Ctrl+c that command. This will capture the communication between TOR and Maemo, if any is going on.

The other is to edit the following file (must be root)
Code:

/opt/theonering/lib/connection_manager.py
and change
Code:

IDLE_TIMEOUT = 10
to
Code:

IDLE_TIMEOUT = 100
Then run TOR manually
Code:

/opt/theonering/lib/theonering.py
Create your account now
Report any output or change in behavior (which might be quite a bit).

The longer idle time is to give you time to go from the command prompt over to the account creation and to create the account. If the regular TOR starts running you will have to "kill" it or wait a while for that timeout to hit.

xur17 2010-06-23 01:02

Re: [Announce] The One Ring
 
I changed the idle timeout to 100:

Code:

(20:50:03) INFO  MainThread.root: telepathy-theonering 0.8.13-2
(20:50:03) DEBUG MainThread.root: OS: Linux
(20:50:03) DEBUG MainThread.root: Kernel: 2.6.28.10power37 (#1 PREEMPT Wed May 26 00:24:03 EEST 2010) for armv7l
(20:50:03) DEBUG MainThread.root: Hostname: Nokia-N900
(20:50:03) INFO  MainThread.connection_manager: Connection manager created
(20:51:43) INFO  MainThread.root: No connection received - quitting
(20:51:43) INFO  MainThread.connection_manager: Connection manager quitting

I just PMed the log file from running dbus-monitor --session > log to you. I am afraid that it may have some personal information that I didn't remove.

epage 2010-06-23 01:17

Re: [Announce] The One Ring
 
Quote:

Originally Posted by xur17 (Post 725740)
I changed the idle timeout to 100:

Code:

(20:50:03) INFO  MainThread.root: telepathy-theonering 0.8.13-2
(20:50:03) DEBUG MainThread.root: OS: Linux
(20:50:03) DEBUG MainThread.root: Kernel: 2.6.28.10power37 (#1 PREEMPT Wed May 26 00:24:03 EEST 2010) for armv7l
(20:50:03) DEBUG MainThread.root: Hostname: Nokia-N900
(20:50:03) INFO  MainThread.connection_manager: Connection manager created
(20:51:43) INFO  MainThread.root: No connection received - quitting
(20:51:43) INFO  MainThread.connection_manager: Connection manager quitting

I just PMed the log file from running dbus-monitor --session > log to you. I am afraid that it may have some personal information that I didn't remove.

Hmm, Mission Control seems to be the one complaining. I'm unsure if its even had a chance to try to talk to TOR.

The relevant parts
Code:

method call sender=:1.1516 -> dest=org.freedesktop.Telepathy.AccountManager serial=228 path=/org/freedesktop/Telepathy/AccountManager; interface=org.freedesktop.Telepathy.AccountManager; member=CreateAccount
  string "theonering"
  string "gv"
  string ""
  array [
      dict entry(
        string "account"
        variant            string "email@gmail.com"
      )
      dict entry(
        string "ignore-dnd"
        variant            boolean true
      )
      dict entry(
        string "voicemail-poll-period-in-minutes"
        variant            int32 120
      )
      dict entry(
        string "use-gv-contacts"
        variant            boolean false
      )
      dict entry(
        string "texts-poll-period-in-minutes"
        variant            int32 10
      )
      dict entry(
        string "password"
        variant            string "password"
      )
      dict entry(
        string "contacts-poll-period-in-hours"
        variant            int32 12
      )
  ]
  array [
      dict entry(
        string "com.nokia.Account.Interface.Compat.Profile"
        variant            string "theonering"
      )
      dict entry(
        string "com.nokia.Account.Interface.Conditions.Condition"
        variant            array [
              dict entry(
                  string "ip-route"
                  string "1"
              )
            ]
      )
      dict entry(
        string "org.freedesktop.Telepathy.Account.Enabled"
        variant            boolean true
      )
  ]
error sender=:1.17 -> dest=:1.1516 error_name=org.freedesktop.Telepathy.Error.InvalidArgument reply_serial=228
  string "Not all parameters were recognized"

Yeah, that is baffling to me why it is giving you an "Invalid Argument" error. It might be basing this off of a file containing the list of parameters that is stored in "/usr/share/telepathy/managers".

epage 2010-06-23 01:32

Re: [Announce] The One Ring
 
Quote:

Originally Posted by mkotsayfan (Post 724384)
Im still having issues with fetching sms...cant figure out why it wont work. It works for the first few responses back and forth, but according to the log it thinks a new message has been read externally when it still shows as unread in my inbox.

I had three message filters map to that message. I just uploaded 0.8.14 to the autobuilder which provides separate messages for each reason. Currently they will only show up if the filter dropped the count down to zero, which means the culprit might not be the one logging them depending on the order of filters.

I'll look at adding even more detail to this. I'll probably have it all funnel to the "Debug Prompt". Once its added all you do is open a chat window with your Google Voice number and it will log some details to it (in addition to having some commands available, type in "help" for a list).

Quote:

Originally Posted by dantonic (Post 725482)
Same problem for me... I've been missing SMSes costantly lately...

For both, have you already had the chat window open for the missed messages?

xur17 2010-06-23 01:53

Re: [Announce] The One Ring
 
I'm not sure why I didn't think of this before - I just rebooted, and it fixed itself...

epage 2010-06-23 01:59

Re: [Announce] The One Ring
 
Quote:

Originally Posted by xur17 (Post 725780)
I'm not sure why I didn't think of this before - I just rebooted, and it fixed itself...

I even thought at one point "I wonder if a reboot would help, nah, xur17's probably already done that". So strange what reboots fix. I wish I understood why a reboot was needed.

xur17 2010-06-23 02:01

Re: [Announce] The One Ring
 
I have been playing with this for a few days, and I just assumed I had done that already. Then I looked at my uptime, and realized that I hadn't rebooted for 6 days...

Thanks for the help though.

fcrochik 2010-06-23 02:16

Re: [Announce] The One Ring
 
Quote:

Originally Posted by xur17 (Post 725789)
I have been playing with this for a few days, and I just assumed I had done that already. Then I looked at my uptime, and realized that I hadn't rebooted for 6 days...

Thanks for the help though.

I would like to offer the option on my application to place calls and send sms using tor. Did you create or plan to any dbus interfaces that would allow me to start tor passing a phone number to place a call and or send a sms message?

note: I don't actually have a google voice account so I am not sure how it or tor works.... I am assuming that it can place calls to phone numbers using a google voice and that you may have an interface to allow users to write a message and send it as sms via gv. Please correct if I am wrong.


All times are GMT. The time now is 04:21.

vBulletin® Version 3.8.8