Closed MrPowerGamerBR closed 7 years ago
Um, I'm not sure why this is happening. Does it only happen on your main account with a lot of contacts? I'll have to add some logging to understand the cause of the issue.
Yes, this is only happening in my main account.
Em 3 de ago de 2016 23:05, "Delthas" notifications@github.com escreveu:
Um, I'm not sure why this is happening. Does it only happen on your main account with a lot of contacts? I'll have to add some logging to understand the cause of the issue.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Delthas/JavaSkype/issues/12#issuecomment-237432006, or mute the thread https://github.com/notifications/unsubscribe-auth/AJDnJ5O57MRvqm7AFXLyM5Y_OS6UQ3CQks5qcUjegaJpZM4Ja9yl .
I have added a lot of debug (1.0.12). Could you please run the lib with your bot account and your main account with debug enabled and send me the logs?
(Just add Skype.setDebug(path)
before skype.connect()
, a log file will be created at path path
).
@Delthas
It seems the logger translated the level of the messages:
"DETALHADO": Fine.
"MAIS DETALHDO": Finest
"GRAVE": Fatal/Error
Link to the debug log: https://gist.github.com/MrPowerGamerBR/eedb366b723d8b4d2c069587a6c1e7a0
Thanks! I'll delve into the logs. :)
Okay, maybe I found the issue. Please run the lib on the latest (1.0.13) version with your main account with debug enabled and send me the logs.
@Delthas logs? Why would you need logs?
You fixed the issue. :smile:
Well, I think you fixed, the logs still show "socket write error" but everyone has a status (OFFLINE, BUSY, AWAY or ONLINE) https://gist.github.com/MrPowerGamerBR/1911345d47857c383e49fa693afda51b
@Delthas also, a little question...
I was rewriting my Skype client (which isn't finished yet) to use JavaSkype instead of Skype4J, and I found a little roadblock (at least for me)...
There isn't any way to get the messages sent to a contact/group? Skype4J allows to get all the messages in a conversation with a contact/group, however JavaSkype doesn't have a method to do it.
You fixed the issue. 😄
Yay!
the logs still show "socket write error" but everyone has a status (OFFLINE, BUSY, AWAY or ONLINE)
Yeah, that's why I need the logs to see what's the other issue that makes it throw a socket write error. There should be no errors at all. And actually the logs you've linked are apparently old logs pre-1.0.13 fix. Could you make sure you run the lib with debug on the latest version? Maybe delete the log file manually if it already exists, I don't know. I think we're almost there! :)
to get all the messages in a conversation with a contact/group
You mean the recent/last messages in a conversation? Like a User#getRecentMessages or a Group#getRecentMessages that returns a list of the last messages sent on a conversation? I can add that.
It is? Whoops, I will test it again tomorrow (it is 22:33 in Brazil)
Yes, it would be awesome if you added that. :)
(In Skype4J it is like this: .loadMessages(int amount) loads the messages and getAllMessages returns the messages loaded in chronological order (from older to newest))
Em 4 de ago de 2016 21:43, "Delthas" notifications@github.com escreveu:
You fixed the issue. 😄
Yay!
the logs still show "socket write error" but everyone has a status (OFFLINE, BUSY, AWAY or ONLINE)
Yeah, that's why I need the logs to see what's the other issue that makes it throw a socket write error. There should be no errors at all. And actually the logs you've linked are apparently old logs pre-1.0.13 fix. Could you make sure you run the lib with debug on the latest version? Maybe delete the log file manually if it already exists, I don't know. I think we're almost there! :)
to get all the messages in a conversation with a contact/group You mean the recent/last messages in a conversation? Like a User#getRecentMessages or Group#getRecentMessages that return a list of the last messages sent on a conversation? I can add that.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Delthas/JavaSkype/issues/12#issuecomment-237727004, or mute the thread https://github.com/notifications/unsubscribe-auth/AJDnJ9vQc-PYsH90Q5Gm24ma6g6MeyKUks5qcocRgaJpZM4Ja9yl .
Opened #32 for this. Closing this issue.
Same issue as #11, the only difference is that the moods are loaded but all contacts are shown as "OFFLINE"