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

A volte il log in /var/log/syslog non è leggibile #53

Open
onosAdmin opened this issue Jul 30, 2017 · 1 comment
Open

A volte il log in /var/log/syslog non è leggibile #53

onosAdmin opened this issue Jul 30, 2017 · 1 comment
Assignees
Labels

Comments

@onosAdmin
Copy link
Collaborator

A volte il log in /var/log/syslog non è leggibile perchè ci sono dei caratteri non ascii ,che manda arduino sulla seriale.

@onosAdmin onosAdmin added the bug label Jul 30, 2017
@onosAdmin onosAdmin self-assigned this Jul 30, 2017
@onosAdmin
Copy link
Collaborator Author

onosAdmin commented Aug 8, 2017

Tolte le linee :
if len(buf)>0:
logprint(buf)

modificate linee:

        else: #cmd not found
          tmp_buf=buf.decode("utf8","replace")
          tmp_buf.encode("ascii","replace")

Da arduinoserial.py
Da verificare se il problema è risolto

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

1 participant