Easyfind Bubba3 Twisted: No JSON object could be decoded

Got problems with your B2 or B3? Share and get helped!
Post Reply
solar5647
Posts: 4
Joined: 23 Nov 2012, 01:40
Location: Switzerland

Easyfind Bubba3 Twisted: No JSON object could be decoded

Post by solar5647 » 01 Jan 2013, 03:52

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

elsbernd
Posts: 19
Joined: 18 Jul 2012, 17:40

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

Post by elsbernd » 06 Jan 2013, 08:13

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

peter
Posts: 26
Joined: 07 Oct 2008, 09:35
Location: the Netherlands

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

Post by peter » 07 Jan 2013, 14:42

Same problem here on both b2 and (brandnew) b3.

carl
Posts: 474
Joined: 07 May 2008, 04:41

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

Post by carl » 10 Jan 2013, 07:55

Hello,

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

Regards,

Carl
/Carl Fürstenberg, Excito Software Developer
http://www.excito.com
support@excito.com

Tom
Posts: 3
Joined: 04 Feb 2014, 03:54

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

Post by Tom » 04 Feb 2014, 04:15

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

Post Reply