zimdicator.py : ValueError: Expecting , delimiter: line 1 column 25299 (char 25299)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zimdicator |
Fix Released
|
Critical
|
Mitja Pagon |
Bug Description
Hi,
I'm running zimdicator from bzr trunk with my desktop patch applied. Thanks for your help with that BTW :-) However, running zimdicator.py now causes a ValueError. See the traceback below.
Traceback (most recent call last):
File "./zimdicator.py", line 173, in <module>
zim = Zimdicator()
File "./zimdicator.py", line 90, in __init__
self.
File "./zimdicator.py", line 127, in check_mail
json_data = json.loads(
File "/usr/lib/
return _default_
File "/usr/lib/
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/
obj, end = self._scanner.
File "/usr/lib/
rval, next_pos = action(m, context)
File "/usr/lib/
value, end = iterscan(s, idx=end, context=
File "/usr/lib/
rval, next_pos = action(m, context)
File "/usr/lib/
value, end = iterscan(s, idx=end, context=
File "/usr/lib/
rval, next_pos = action(m, context)
File "/usr/lib/
raise ValueError(
ValueError: Expecting , delimiter: line 1 column 25299 (char 25299)
I'm sorry I keep breaking your stuff but I will help test in any way I can :-)
Regards, Martin.
Changed in zimdicator: | |
importance: | Undecided → Critical |
status: | New → Triaged |
Changed in zimdicator: | |
assignee: | nobody → Mitja Pagon (sect2k) |
Changed in zimdicator: | |
milestone: | none → 0.2 |
Changed in zimdicator: | |
status: | Fix Committed → Fix Released |
Looks like more JSON decoding issues, the thing is, I can't reproduce this one. Is there anyway you could find out what part of JSON returned by zimbra causes the error (located at chat 25299 in your case).
To do that, try this. Login into zimbra web client, open a new tab in browser and type this url
https://<email address hidden> /?fmt=json& query=is: unread
copy the content of that page into text editor and look at what is at char 25299.
That would probably help a lot. You breaking my stuff, helps me improve it so keep on breaking ;-)
Cheers,
Mitja