Closed GoogleCodeExporter closed 8 years ago
It would be great if you could send a log where the "contact:<name>" command
and its output show up. This would give us the time stamps of input and output.
Nevertheless I improved gtalksms to send only one message for the output of the
command and not a message per contact. But this will maybe not fix the issue.
Original comment by fschm...@gmail.com
on 4 Dec 2011 at 9:30
So i decided to download the source and start debugging for more information
and this is what i got
12-04 09:57:37.129: I/gtalksms(334): XMPP packet received - sending Intent:
com.googlecode.gtalksms.action.XMPP.MESSAGE_RECEIVED
12-04 09:57:37.169: I/gtalksms(334): onStartCommand(): Intent
com.googlecode.gtalksms.action.XMPP.MESSAGE_RECEIVED
12-04 09:57:37.169: I/gtalksms(334): handling action
'com.googlecode.gtalksms.action.XMPP.MESSAGE_RECEIVED' while in state Connected
12-04 09:57:37.169: D/gtalksms(334): onCommandReceived(): "contact:josh"
12-04 09:57:37.269: I/gtalksms(334): Sending message "No match for "josh"" to
*censored*
12-04 09:57:57.336: W/System.err(334): No response from the server.:
12-04 09:57:57.336: W/System.err(334): at
org.jivesoftware.smackx.ServiceDiscoveryManager.discoverInfo(ServiceDiscoveryMan
ager.java:594)
12-04 09:57:57.336: W/System.err(334): at
org.jivesoftware.smackx.ServiceDiscoveryManager.discoverInfo(ServiceDiscoveryMan
ager.java:552)
12-04 09:57:57.338: W/System.err(334): at
org.jivesoftware.smackx.XHTMLManager.isServiceEnabled(XHTMLManager.java:135)
12-04 09:57:57.338: W/System.err(334): at
com.googlecode.gtalksms.XmppManager.send(XmppManager.java:769)
12-04 09:57:57.338: W/System.err(334): at
com.googlecode.gtalksms.MainService.send(MainService.java:480)
12-04 09:57:57.338: W/System.err(334): at
com.googlecode.gtalksms.MainService.send(MainService.java:469)
12-04 09:57:57.338: W/System.err(334): at
com.googlecode.gtalksms.cmd.CommandHandlerBase.send(CommandHandlerBase.java:63)
12-04 09:57:57.338: W/System.err(334): at
com.googlecode.gtalksms.cmd.CommandHandlerBase.send(CommandHandlerBase.java:55)
12-04 09:57:57.338: W/System.err(334): at
com.googlecode.gtalksms.cmd.CommandHandlerBase.send(CommandHandlerBase.java:51)
12-04 09:57:57.338: W/System.err(334): at
com.googlecode.gtalksms.cmd.ContactCmd.execute(ContactCmd.java:68)
12-04 09:57:57.338: W/System.err(334): at
com.googlecode.gtalksms.cmd.CommandHandlerBase.execute(CommandHandlerBase.java:1
20)
12-04 09:57:57.338: W/System.err(334): at
com.googlecode.gtalksms.cmd.CommandHandlerBase.execute(CommandHandlerBase.java:8
9)
12-04 09:57:57.338: W/System.err(334): at
com.googlecode.gtalksms.MainService.executeCommand(MainService.java:541)
12-04 09:57:57.338: W/System.err(334): at
com.googlecode.gtalksms.MainService.onCommandReceived(MainService.java:643)
12-04 09:57:57.338: W/System.err(334): at
com.googlecode.gtalksms.MainService.onHandleIntent(MainService.java:208)
12-04 09:57:57.338: W/System.err(334): at
com.googlecode.gtalksms.MainService$ServiceHandler.handleMessage(MainService.jav
a:133)
12-04 09:57:57.338: W/System.err(334): at
android.os.Handler.dispatchMessage(Handler.java:99)
12-04 09:57:57.338: W/System.err(334): at
android.os.Looper.loop(Looper.java:123)
12-04 09:57:57.338: W/System.err(334): at
android.os.HandlerThread.run(HandlerThread.java:60)
12-04 09:57:57.348: I/gtalksms(334): handled action
'com.googlecode.gtalksms.action.XMPP.MESSAGE_RECEIVED' - state now: Connected
I downloaded a demo using the same library as i was and there were no issues.
So i basically stripped the demo down to bare basics and it still worked fine
so i couldn't find the issue. So it must be something i'm doing but i cant
figure it out. Hope this helps a little.
Original comment by TheDeat...@gmail.com
on 4 Dec 2011 at 3:02
Which revision did you compile? Make sure to use the actual version tag and not
the head. I don't think that this error is related. It's basically a timeout
that is not there on your previous logs.
Original comment by fschm...@gmail.com
on 5 Dec 2011 at 8:36
I just did 'hg clone https://code.google.com/p/gtalksms/' and ran it from there.
Original comment by TheDeat...@gmail.com
on 6 Dec 2011 at 3:02
That's bad. The HEAD revision is sometimes broken. Please check out the
according version tag.
Original comment by fschm...@gmail.com
on 6 Dec 2011 at 7:48
Still problems with the latest HEAD of GTalkSMS?
Original comment by fschm...@gmail.com
on 27 Dec 2011 at 11:09
No feedback for over a month. Closing this one. Feel free to reopen
Original comment by fschm...@gmail.com
on 10 Feb 2012 at 3:58
Original issue reported on code.google.com by
TheDeat...@gmail.com
on 3 Dec 2011 at 4:35