You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After finishing the recording command, the safe_start_capture() method fails with the following error:
2016-11-17 22:20:01 ERROR [ca.py:395:safe_start_capture()] Start capture failed
2016-11-17 22:20:01 ERROR [ca.py:396:safe_start_capture()] Traceback (most recent call last):
File "/home/jan/git/electures/pyca/pyca/ca.py", line 393, in safe_start_capture
return start_capture(event)
File "/home/jan/git/electures/pyca/pyca/ca.py", line 256, in start_capture
attachments = event.get_data().get('attach')
File "/home/jan/git/electures/pyca/pyca/db.py", line 69, in get_data
return json.loads(self.data)
File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'
This was run on Arch Linux using Python 3.5.2. When run on the same system but with Python 2.7.12, it works just fine.
The text was updated successfully, but these errors were encountered:
This patches the Unicode handling of the JSON encoding and decoding
methods of the database module. As well as adding some unit tests to
ensure it is working properly.
This fixes#39
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
This patches the Unicode handling of the JSON encoding and decoding
methods of the database module. As well as adding some unit tests to
ensure it is working properly.
This fixes#39
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
After finishing the recording command, the safe_start_capture() method fails with the following error:
This was run on Arch Linux using Python 3.5.2. When run on the same system but with Python 2.7.12, it works just fine.
The text was updated successfully, but these errors were encountered: