baqir123 / gtalksms

Automatically exported from code.google.com/p/gtalksms
0 stars 0 forks source link

GTalkSMS 2.0 ignores messages/commands #125

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install gtalksms
2. create jabber.org-account for the phone
3. log into jabber account and make friends with google-talk-account
4. log out of jabber.org account from PC
5. set up account-info on phone
6. start gtalksms
7. Verify on google talk that friend (jabber-account) comes online
8. send question mark from google talk

What is the expected output?
a list of help commands

What do you see instead?
nothing

Additional informations:
GTalkSMS version = 2.0
Android OS version = firmware 2.1-update1, kernel 2.6.29-063c4d24, version 
3.32.405.2CL191507 release-keys, software 3.32.405.2, Browser Webkit 3.1
Phone model = HTC Hero

It is worth noting that the status of my phone-friend in google talk shows the 
battery state correctly, so the connection really is ok.

Paste GTalkSMS logs if they are relevant
(http://code.google.com/p/gtalksms/wiki/GenerateAppLog)

Version: 2.0
Kernel info: 2.6.29-063c4d24
htc-kernel@and18-2 )
#1 PREEMPT Thu May 27 00:21:28 CST 2010

03-11 12:34:45.877 D/gtalksms(22631): onCreate(): service thread created
03-11 12:34:53.307 D/gtalksms(22631): onStartCommand(): begin
03-11 12:34:53.307 D/gtalksms(22631): onStart: ACTION_MESSAGE_RECEIVED
03-11 12:34:53.397 D/gtalksms(22631): onStartCommand: 
_serviceHandler.sendMessage with intent action: 
com.googlecode.gtalksms.action.TOGGLE
03-11 12:34:53.397 D/gtalksms(22631): handling action 
'com.googlecode.gtalksms.action.TOGGLE' while in state 0
03-11 12:34:53.397 V/gtalksms(22631): broadcasting state transition from 0 to 1
03-11 12:34:53.687 D/gtalksms(22631): widget onReceive 
com.googlecode.gtalksms.XMPP_CONNECTION_CHANGED
03-11 12:34:53.727 D/gtalksms(22631): onStartCommand(): begin
03-11 12:34:53.727 D/gtalksms(22631): onStartCommand: 
_serviceHandler.sendMessage with intent action: 
com.googlecode.gtalksms.action.HANDLE_XMPP_NOTIFY
03-11 12:34:59.017 V/gtalksms(22631): connection established
03-11 12:34:59.037 V/gtalksms(22631): broadcasting state transition from 1 to 2
03-11 12:34:59.177 D/gtalksms(22631): handled action 
'com.googlecode.gtalksms.action.TOGGLE' - state now 2
03-11 12:34:59.177 D/gtalksms(22631): setupListenersForConnection
03-11 12:34:59.277 D/gtalksms(22631): widget onReceive 
com.googlecode.gtalksms.XMPP_CONNECTION_CHANGED
03-11 12:34:59.327 D/gtalksms(22631): Update presence: <me>@gmail.com - Offline
03-11 12:34:59.357 D/gtalksms(22631): onStartCommand(): begin
03-11 12:34:59.357 D/gtalksms(22631): onStartCommand: 
_serviceHandler.sendMessage with intent action: 
com.googlecode.gtalksms.action.HANDLE_XMPP_NOTIFY
03-11 12:34:59.517 D/gtalksms(22631): Update presence: <me>@gmail.com - Online
03-11 12:34:59.577 D/gtalksms(22631): handling action 
'com.googlecode.gtalksms.action.HANDLE_XMPP_NOTIFY' while in state 2
03-11 12:34:59.577 D/gtalksms(22631): handled action 
'com.googlecode.gtalksms.action.HANDLE_XMPP_NOTIFY' - state now 2
03-11 12:34:59.577 D/gtalksms(22631): handling action 
'com.googlecode.gtalksms.action.HANDLE_XMPP_NOTIFY' while in state 2
03-11 12:34:59.577 D/gtalksms(22631): handled action 
'com.googlecode.gtalksms.action.HANDLE_XMPP_NOTIFY' - state now 2
03-11 12:35:16.187 D/gtalksms(22631): Xmpp packet received
03-11 12:35:16.797 D/gtalksms(22631): Xmpp packet received
03-11 12:35:17.327 D/gtalksms(22631): Xmpp packet received

Original issue reported on code.google.com by mortenbr...@gmail.com on 11 Mar 2011 at 12:12

GoogleCodeExporter commented 9 years ago
Thanks for the detailed report. We have another users reporting a similar issue 
on the mailing list: 
https://groups.google.com/d/msg/gtalksms-users/t6IEQ-CvC_c/ds8xdeQJIaAJ

Original comment by fschm...@gmail.com on 11 Mar 2011 at 1:56

GoogleCodeExporter commented 9 years ago
Let me know how I can help (by increasing log level or something like that).

Original comment by mortenbr...@gmail.com on 11 Mar 2011 at 2:12

GoogleCodeExporter commented 9 years ago
If you are familiar with Android, you can install the latest-build apk and 
report back if the issue still exists, we made some changes regarding the 
intent handling, so it could be fixed there. 
But be warned: You will lose your GtalkSMS settings. And, as this build is not 
signed, you may have to uninstall GtalkSMS first.

Original comment by fschm...@gmail.com on 11 Mar 2011 at 3:10

Attachments:

GoogleCodeExporter commented 9 years ago
I removed the version installed from Market and downloaded and installed the 
attachment to comment 3.
That works perfectly!

Original comment by mortenbr...@gmail.com on 11 Mar 2011 at 7:13

GoogleCodeExporter commented 9 years ago
Glad to hear that. Will be fixed in the next release.

Original comment by fschm...@gmail.com on 12 Mar 2011 at 3:12

GoogleCodeExporter commented 9 years ago
Fixed in v2.1

Original comment by Florent....@gmail.com on 14 Mar 2011 at 10:42

GoogleCodeExporter commented 9 years ago
I have the same issue! HTC Desire with CM7 RC2, problem still persist with the 
version from post #3 and with 2.1 from the market. Tried before and after S-OFF 
and partitions table change.

Following you can find the log, I reproduced the issue 2 times, first I tried 
to obtain the help then disconnected, second the same followed by the exit 
command. No response from the program at all.

Log:

Version: 2.1
Kernel info: 2.6.37.2-cyanogenmod-g8cdf03e
android@giulio-desktop )
#9 PREEMPT Wed Mar 2 08:41:43 CET 2011

--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
03-21 14:01:24.341 D/gtalksms( 6003): onCreate(): service thread created
03-21 14:01:26.391 D/gtalksms( 6003): onStartCommand(): begin with 
com.googlecode.gtalksms.action.TOGGLE
03-21 14:01:26.431 D/gtalksms( 6003): handling action 
'com.googlecode.gtalksms.action.TOGGLE' while in state 0
03-21 14:01:26.431 D/gtalksms( 6003): broadcasting state transition from 0 to 
1via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
03-21 14:01:26.451 D/gtalksms( 6003): widget onReceive 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
03-21 14:01:26.481 D/gtalksms( 6003): onStartCommand(): begin with 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
03-21 14:01:31.121 I/gtalksms( 6003): connection established
03-21 14:01:31.161 D/gtalksms( 6003): broadcasting state transition from 1 to 
2via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
03-21 14:01:31.191 D/gtalksms( 6003): widget onReceive 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
03-21 14:01:31.201 D/gtalksms( 6003): Sending message "Welcome to GTalkSMS ..."
03-21 14:01:31.221 D/gtalksms( 6003): onStartCommand(): begin with 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
03-21 14:01:32.171 D/gtalksms( 6003): Update presence: ***@gmail.com - Offline
03-21 14:01:32.171 D/gtalksms( 6003): handled action 
'com.googlecode.gtalksms.action.TOGGLE' - state now 2
03-21 14:01:32.171 D/gtalksms( 6003): setupListenersForConnection()
03-21 14:01:32.271 D/gtalksms( 6003): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 2
03-21 14:01:32.271 D/gtalksms( 6003): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 2
03-21 14:01:32.271 D/gtalksms( 6003): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 2
03-21 14:01:32.271 D/gtalksms( 6003): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 2
03-21 14:01:42.181 D/gtalksms( 6003): Xmpp packet received
03-21 14:01:52.751 D/gtalksms( 6003): onStartCommand(): begin with 
com.googlecode.gtalksms.action.TOGGLE
03-21 14:01:52.751 D/gtalksms( 6003): handling action 
'com.googlecode.gtalksms.action.TOGGLE' while in state 2
03-21 14:01:52.751 D/gtalksms( 6003): broadcasting state transition from 2 to 
3via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
03-21 14:01:52.771 D/gtalksms( 6003): Sending message "GTalkSMS stopped."
03-21 14:01:52.801 D/gtalksms( 6003): widget onReceive 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
03-21 14:01:52.811 D/gtalksms( 6003): broadcasting state transition from 3 to 
0via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
03-21 14:01:52.821 D/gtalksms( 6003): handled action 
'com.googlecode.gtalksms.action.TOGGLE' - state now 0
03-21 14:01:52.821 D/gtalksms( 6003): we are disconnected, but more pending 
intents to be delivered - service will not stop
03-21 14:01:52.831 D/gtalksms( 6003): onStartCommand(): begin with 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
03-21 14:01:52.831 D/gtalksms( 6003): teardownListenersForConnection()
03-21 14:01:52.851 D/gtalksms( 6003): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 0
03-21 14:01:52.851 D/gtalksms( 6003): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 0
03-21 14:01:52.851 D/gtalksms( 6003): service is stopping (we are disconnected 
and no pending intents exist.)
03-21 14:01:52.851 D/gtalksms( 6003): widget onReceive 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
03-21 14:01:52.881 D/gtalksms( 6003): onStartCommand(): begin with 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
03-21 14:01:52.881 D/gtalksms( 6003): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 0
03-21 14:01:52.881 D/gtalksms( 6003): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 0
03-21 14:01:52.881 D/gtalksms( 6003): service is stopping (we are disconnected 
and no pending intents exist.)
03-21 14:02:01.261 I/gtalksms( 6003): service destroyed
03-21 14:02:01.261 D/gtalksms( 6003): teardownListenersForConnection()
03-21 14:02:58.571 D/gtalksms( 6003): onCreate(): service thread created
03-21 14:03:02.751 I/gtalksms( 6003): service destroyed
03-21 14:03:02.751 D/gtalksms( 6003): teardownListenersForConnection()
03-21 14:03:08.021 D/gtalksms( 6003): Preferences updated: key=debugLog
03-21 14:03:08.031 D/gtalksms( 6003): Preferences updated: key=debugLog
03-21 14:03:08.041 D/gtalksms( 6003): Preferences updated: key=debugLog
03-21 14:03:19.881 I/gtalksms( 6003): service destroyed
03-21 14:03:19.901 D/gtalksms( 6003): Downloading 
url:http://gtalksms.googlecode.com/hg/AUTHORS
03-21 14:03:21.491 D/gtalksms( 6003): downloaded in1 sec
03-21 14:03:21.501 D/gtalksms( 6003): Downloading 
url:http://gtalksms.googlecode.com/hg/Donors
03-21 14:03:22.341 D/gtalksms( 6003): downloaded in0 sec
03-21 14:03:22.341 D/gtalksms( 6003): Downloading 
url:http://gtalksms.googlecode.com/hg/Changelog
03-21 14:03:22.661 D/gtalksms( 6003): downloaded in0 sec
03-21 14:03:37.991 I/gtalksms( 6003): service destroyed
03-21 14:03:47.451 I/gtalksms( 6003): service destroyed
03-21 14:03:57.221 I/gtalksms( 6003): service destroyed
03-21 14:04:08.021 I/gtalksms( 6003): service destroyed
03-21 14:05:13.691 I/gtalksms( 6003): service destroyed
03-21 14:05:29.331 I/gtalksms( 6003): service destroyed
03-21 14:05:31.561 D/gtalksms( 6003): Preferences updated: key=debugLog
03-21 14:05:31.561 D/gtalksms( 6003): Preferences updated: key=debugLog
03-21 14:05:31.571 D/gtalksms( 6003): Preferences updated: key=debugLog
03-21 14:05:31.571 D/gtalksms( 6003): Preferences updated: key=debugLog
03-21 14:05:31.571 D/gtalksms( 6003): Preferences updated: key=debugLog
03-21 14:05:31.571 D/gtalksms( 6003): Preferences updated: key=debugLog
03-21 14:05:31.571 D/gtalksms( 6003): Preferences updated: key=debugLog
03-21 14:05:31.571 D/gtalksms( 6003): Preferences updated: key=debugLog
03-21 14:05:31.571 D/gtalksms( 6003): Preferences updated: key=debugLog
03-21 14:05:34.591 D/gtalksms( 6003): onCreate(): service thread created
03-21 14:05:41.711 D/gtalksms( 6003): onStartCommand(): begin with 
com.googlecode.gtalksms.action.TOGGLE
03-21 14:05:41.721 D/gtalksms( 6003): handling action 
'com.googlecode.gtalksms.action.TOGGLE' while in state 0
03-21 14:05:41.721 D/gtalksms( 6003): broadcasting state transition from 0 to 
1via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
03-21 14:05:41.761 D/gtalksms( 6003): widget onReceive 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
03-21 14:05:41.771 D/gtalksms( 6003): onStartCommand(): begin with 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
03-21 14:05:45.781 I/gtalksms( 6003): connection established
03-21 14:05:45.801 D/gtalksms( 6003): broadcasting state transition from 1 to 
2via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
03-21 14:05:45.821 D/gtalksms( 6003): Sending message "Welcome to GTalkSMS ..."
03-21 14:05:45.851 D/gtalksms( 6003): widget onReceive 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
03-21 14:05:45.871 D/gtalksms( 6003): onStartCommand(): begin with 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
03-21 14:05:46.121 D/gtalksms( 6003): Update presence: ***@gmail.com - Offline
03-21 14:05:46.121 D/gtalksms( 6003): handled action 
'com.googlecode.gtalksms.action.TOGGLE' - state now 2
03-21 14:05:46.121 D/gtalksms( 6003): setupListenersForConnection()
03-21 14:05:46.181 D/gtalksms( 6003): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 2
03-21 14:05:46.181 D/gtalksms( 6003): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 2
03-21 14:05:46.181 D/gtalksms( 6003): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 2
03-21 14:05:46.181 D/gtalksms( 6003): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 2
03-21 14:05:50.951 D/gtalksms( 6003): Xmpp packet received
03-21 14:06:10.211 D/gtalksms( 6003): Xmpp packet received

Original comment by luca.car...@gmail.com on 21 Mar 2011 at 1:13

GoogleCodeExporter commented 9 years ago
Issue stays closed, used did not set the notification address right. See: 
https://groups.google.com/d/msg/gtalksms-users/t6IEQ-CvC_c/rv_gAG6a0KYJ

Original comment by fschm...@gmail.com on 21 Mar 2011 at 1:47

GoogleCodeExporter commented 9 years ago

Original comment by fschm...@gmail.com on 25 Aug 2011 at 7:50