Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seesaw seems to not be able to get the item json. #96

Closed
luckcolors opened this issue Mar 28, 2016 · 1 comment
Closed

Seesaw seems to not be able to get the item json. #96

luckcolors opened this issue Mar 28, 2016 · 1 comment
Labels

Comments

@luckcolors
Copy link

This error seems to happen every time the script tries to get a new item:

Starting CheckIP for Item
Finished CheckIP for Item
Starting GetItemFromTracker for Item
Starting CheckIP for Item
Finished CheckIP for Item
Starting GetItemFromTracker for Item
Failed GetItemFromTracker for Item
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/site-packages/tornado/stack_context.py", line 314, in wrapped
    ret = fn(*args, **kwargs)
  File "/usr/local/lib/python3.5/site-packages/seesaw-0.9-py3.5.egg/seesaw/tracker.py", line 64, in handle_response
    self.process_body(response.body, item)
  File "/usr/local/lib/python3.5/site-packages/seesaw-0.9-py3.5.egg/seesaw/tracker.py", line 125, in process_body
    data = json.loads(body)
  File "/usr/local/lib/python3.5/json/__init__.py", line 312, in loads
    s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'

I hope you can help me.

@chfoo chfoo added the bug label Mar 28, 2016
@chfoo
Copy link
Member

chfoo commented Mar 28, 2016

Fixed in 07bbaa4 (#91)

@chfoo chfoo closed this as completed Mar 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants