Page 1 of 1

Easyfind Bubba3 Twisted: No JSON object could be decoded

Posted: 01 Jan 2013, 03:52
by solar5647
Since some days I got error messages in user.log. Normally I got a line that indicates that there was the same IP found. But now there seems to be a problem with easyfind. Now I get the following output.

Code: Select all

Jan 1 08:10:32 Bubba3 twisted: [HTTP11ClientProtocol,client] Unhandled Error
Jan 1 08:10:32 Bubba3 twisted: [HTTP11ClientProtocol,client] #011Traceback (most recent call last):
Jan 1 08:10:32 Bubba3 twisted: [HTTP11ClientProtocol,client] #011 File "/usr/lib/python2.6/dist-packages/twisted/web/_newclient.py", line 1034, in _bodyDataFinished_CONNECTED
Jan 1 08:10:32 Bubba3 twisted: [HTTP11ClientProtocol,client] #011 self._bodyProtocol.connectionLost(reason)
Jan 1 08:10:32 Bubba3 twisted: [HTTP11ClientProtocol,client] #011 File "/usr/share/bubba-backend/bubba-easyfind.tac", line 55, in connectionLost
Jan 1 08:10:32 Bubba3 twisted: [HTTP11ClientProtocol,client] #011 self.deferred.callback(self.string_io.getvalue())
Jan 1 08:10:32 Bubba3 twisted: [HTTP11ClientProtocol,client] #011 File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 368, in callback
Jan 1 08:10:32 Bubba3 twisted: [HTTP11ClientProtocol,client] #011 self._startRunCallbacks(result)
Jan 1 08:10:32 Bubba3 twisted: [HTTP11ClientProtocol,client] #011 File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 464, in _startRunCallbacks
Jan 1 08:10:32 Bubba3 twisted: [HTTP11ClientProtocol,client] #011 self._runCallbacks()
Jan 1 08:10:32 Bubba3 twisted: [HTTP11ClientProtocol,client] #011--- <exception caught here> ---
Jan 1 08:10:32 Bubba3 twisted: [HTTP11ClientProtocol,client] #011 File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 551, in _runCallbacks
Jan 1 08:10:32 Bubba3 twisted: [HTTP11ClientProtocol,client] #011 current.result = callback(current.result, *args, **kw)
Jan 1 08:10:32 Bubba3 twisted: [HTTP11ClientProtocol,client] #011 File "/usr/share/bubba-backend/bubba-easyfind.tac", line 102, in easyfind_ip_changed
Jan 1 08:10:32 Bubba3 twisted: [HTTP11ClientProtocol,client] #011 decoded = json.loads(data)
Jan 1 08:10:32 Bubba3 twisted: [HTTP11ClientProtocol,client] #011 File "/usr/lib/python2.6/json/__init__.py", line 307, in loads
Jan 1 08:10:32 Bubba3 twisted: [HTTP11ClientProtocol,client] #011 return _default_decoder.decode(s)
Jan 1 08:10:32 Bubba3 twisted: [HTTP11ClientProtocol,client] #011 File "/usr/lib/python2.6/json/decoder.py", line 319, in decode
Jan 1 08:10:32 Bubba3 twisted: [HTTP11ClientProtocol,client] #011 obj, end = self.raw_decode(s, idx=_w(s, 0).end())
Jan 1 08:10:32 Bubba3 twisted: [HTTP11ClientProtocol,client] #011 File "/usr/lib/python2.6/json/decoder.py", line 338, in raw_decode
Jan 1 08:10:32 Bubba3 twisted: [HTTP11ClientProtocol,client] #011 raise ValueError("No JSON object could be decoded")
Jan 1 08:10:32 Bubba3 twisted: [HTTP11ClientProtocol,client] #011exceptions.ValueError: No JSON object could be decoded
Is this a know problem. I did not change anything.
Thanks
Ruedi

Re: Easyfind Bubba3 Twisted: No JSON object could be decoded

Posted: 06 Jan 2013, 08:13
by elsbernd
I got the same problem.
syslog and user.log is filled every minute.
I thought it is related to easyfind, but I already updated the LOOP_TIMEOUT variable to 3600, as suggested in an other thread.

What makes me worry about is the "[HTTP11ClientProtocol,client] Unhandled Error" message in both logs.
"Unhandled" shouldn't occur anywhere. Imho

Re: Easyfind Bubba3 Twisted: No JSON object could be decoded

Posted: 07 Jan 2013, 14:42
by peter
Same problem here on both b2 and (brandnew) b3.

Re: Easyfind Bubba3 Twisted: No JSON object could be decoded

Posted: 10 Jan 2013, 07:55
by carl
Hello,

Issue had been solved now. Was a disc space issue that shut it down.

Regards,

Carl

Re: Easyfind Bubba3 Twisted: No JSON object could be decoded

Posted: 04 Feb 2014, 04:15
by Tom
Hi,

I have ran into the very same problem as others described above. It must have happened within the past one or maximum two weeks.

Carl, could you please explain the disc space issue a little bit further... or can anybody else give me a lead?

BR
Tom