EionRobb / purple-hangouts

47 stars 4 forks source link

Pidgin with Google Hangouts emits many errors on the console #164

Closed EionRobb closed 6 years ago

EionRobb commented 6 years ago

Original report by Shlomi Fish (Bitbucket: shlomif, GitHub: shlomif).


Hi!

With pidgin-2.12.0-2.mga7 and purple-hangouts-0-1.20171023hg4ce9b33.mga7 , I am getting these errors on the command line:

(Pidgin:30622): Json-CRITICAL **: json_parser_load_from_data: assertion 'data != NULL' failed

(Pidgin:30622): Json-CRITICAL **: json_parser_load_from_data: assertion 'data != NULL' failed

They are at best annoying and distracting.

EionRobb commented 6 years ago

Original comment by Eion Robb (Bitbucket: EionRobb, GitHub: EionRobb).


That's not good that there's json parsing errors. :( There should be corresponding errors in the purple debug log starting with "Error parsing JSON:". Are you able to attach a debug log with those errors captured?

EionRobb commented 6 years ago

Original comment by Shlomi Fish (Bitbucket: shlomif, GitHub: shlomif).


On Sun, 24 Dec 2017 02:42:28 +0000 (UTC) "Ei

EionRobb commented 6 years ago

Original comment by Eion Robb (Bitbucket: EionRobb, GitHub: EionRobb).


That didn't seem to work. Can you try post it inline in the issue?

EionRobb commented 6 years ago

Original comment by Shlomi Fish (Bitbucket: shlomif, GitHub: shlomif).


Eion Robb: I meant to say that I'll try to get the logs to you.

EionRobb commented 6 years ago

Original comment by Shlomi Fish (Bitbucket: shlomif, GitHub: shlomif).


excerpt from the debug log about the json error.

EionRobb commented 6 years ago

Original comment by Shlomi Fish (Bitbucket: shlomif, GitHub: shlomif).


Hi! Ping! Any news about this issue? It is annoying.

EionRobb commented 6 years ago

Original comment by Eion Robb (Bitbucket: EionRobb, GitHub: EionRobb).


Silence a JSON parser error when no data is received Fixes issue #164

EionRobb commented 6 years ago

Original comment by Eion Robb (Bitbucket: EionRobb, GitHub: EionRobb).


Can you give that commit a try?

EionRobb commented 6 years ago

Original comment by Shlomi Fish (Bitbucket: shlomif, GitHub: shlomif).


Yes, I'm going to try that commit

EionRobb commented 6 years ago

Original comment by Shlomi Fish (Bitbucket: shlomif, GitHub: shlomif).


That commit seems to have fixed the problem - thanks!