ikuraj / pidgin-opensteamworks

Automatically exported from code.google.com/p/pidgin-opensteamworks
0 stars 0 forks source link

JSON-Critical error when using plugin with spectrum2 backend #64

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am using this plugin with the libpurple-backend for spectrum2. Short note on 
what I am planning to do: Spectrum2 is a software which allows to provide 
so-called "Jabber Transports" on a jabber server. Jabber itself is a chat 
protocol. In short words: I want to log into steam via jabber. Link: 
http://spectrum.im
There is a bug that everytime someone uses the backend, it spews this error to 
console:
(process:14690): Json-CRITICAL **: json_object_get_string_member: assertion 
`node != NULL' failed
Besides that, the plugin is working almost fine, but it spams this message like 
every time a steam buddy changes its status.
I had that error on two machines: Pentium IV 32 bit, Debian unstable and 
on my vServer with 64 bit ubuntu 12.04 . I already tried recompiling from 
source (with appropriate libjson-glib dev libs installed) but it does not 
resolve the problem.

Original issue reported on code.google.com by shopc...@hotmail.de on 19 Sep 2013 at 7:34

GoogleCodeExporter commented 9 years ago
Not really an issue, but json-glib will emit this assertion whenever we request 
a json node that doesn't exist. Eg, we look for the game ID of every buddy 
every time they change status to display what game they're playing, but buddies 
that aren't in a game won't have a game ID property and json-glib will complain 
as it has done in your log. 

You might also want to lodge an issue with json-glib asking them to not throw 
the assertion as critical 

Original comment by eionrobb on 19 Sep 2013 at 7:57