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

Errors while running #13

Closed
sthorsen opened this issue Jan 8, 2017 · 1 comment
Closed

Errors while running #13

sthorsen opened this issue Jan 8, 2017 · 1 comment

Comments

@sthorsen
Copy link

sthorsen commented Jan 8, 2017

Hi I 'm trying to get your awesome project to work with my Benq MP626. But I bet this errors:

./pyjector_controller benq "/dev/ttyUSB0" power on
Traceback (most recent call last):
File "./pyjector_controller", line 18, in
pyjector = Pyjector(port=args.port, device_id=args.device)
File "/root/pyjector/pyjector/pyjector.py", line 92, in init
self.get_config(device_id, kwargs)
File "/root/pyjector/pyjector/pyjector.py", line 110, in get_config
self.available_configs = self._populate_configs()
File "/root/pyjector/pyjector/pyjector.py", line 142, in _populate_configs
json_data = json.loads(data.read())
File "/usr/lib/python2.7/json/init.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 380, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting object: line 356 column 6 (char 9289)

I don't have that much experience with python. Du you know if I'm missing something?

@JohnBrodie
Copy link
Owner

I've merged changes from #11 and released a new version, does it work for you now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants