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

Python 3 compatibility #7

Open
DavidLP opened this issue Apr 11, 2017 · 1 comment
Open

Python 3 compatibility #7

DavidLP opened this issue Apr 11, 2017 · 1 comment

Comments

@DavidLP
Copy link
Collaborator

DavidLP commented Apr 11, 2017

The python 3 compatibility got lost. Unit tests fail in the serializer functions in the underlying generic online_monitor package:

Process DUT0:

Traceback (most recent call last):

  File ".../python3.6/multiprocessing/process.py", line 249, in _bootstrap

    self.run()

  File ".../python3.6/site-packages/online_monitor/converter/transceiver.py", line 167, in run

    self.send_data(data)

  File ".../python3.6/site-packages/online_monitor/converter/transceiver.py", line 137, in send_data

    serialized_data = serialized_data.encode('utf-8')

AttributeError: 'array.array' object has no attribute 'encode'
@DavidLP
Copy link
Collaborator Author

DavidLP commented Apr 11, 2017

No sure if this is fixed in development branch of online_monitor already. Then a new release is needed.

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

No branches or pull requests

1 participant