-
Notifications
You must be signed in to change notification settings - Fork 117
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
TypeError: the JSON object must be str, not 'bytes' in import_logs.py #286
Comments
In my case moving to Python 3.8.5 (anaconda) solved this issue |
for Python3.5 there is a missing "decode" should be: |
I've updated to python3.9 and edit ./misc/log-analytics/import_logs.py to specify in first line python3.9 and it fix it for me. |
Thanks, helped my python3.5 setup . Probably one more at ll 2015:
At least that helped in my case. |
When i run
./misc/log-analytics/import_logs.py
following https://github.com/matomo-org/matomo-log-analytics#how-do-i-setup-nginx-to-directly-import-to-matomo-via-syslog( and after update like describe here : #285 )
Here is what i get :
And it's the same either the way i run it :
The text was updated successfully, but these errors were encountered: