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
I cloned the repository and installed all the requirements, as mentioned in the documenation.
But when I ran 'python recorder.py', it threw the following error:
File "PATH\OpenXC_Vehicle_Simulator\web-logging-example\logconfig\logconfig.py", line 82, in initialize_logging
'address': syslog_device,
UnboundLocalError: local variable 'syslog_device' referenced before assignment.
The command 'fab runserver', fails at the same point as well.
The text was updated successfully, but these errors were encountered:
This project is intended as a proof of concept, so it's not exactly maintained. The error mentioned should be a quick fix - the logging config is assuming your machine will either have /dev/log or /var/run/syslog:
if os.path.exists('/dev/log'):
syslog_device = '/dev/log'
elif os.path.exists('/var/run/syslog'):
syslog_device = '/var/run/syslog'
but if you are on Windows (or possibly OS X?) neither device may exist. Two recommendations:
Delete the syslog handler, since it's likely overkill anyway
Refactor the syslog handler so it's only created if a valid syslog device path is found
I cloned the repository and installed all the requirements, as mentioned in the documenation.
But when I ran 'python recorder.py', it threw the following error:
The command 'fab runserver', fails at the same point as well.
The text was updated successfully, but these errors were encountered: