dduff617 wrote:i have successfully run survey plugin in the past, but my last several attempts are failing. i'm still getting this error:
Traceback (most recent call last):
File "plugin.py", line 329, in survey_1pass_manualUpdate
File "plugin.py", line 311, in make_individual_reports
File "plugin.py", line 184, in make_report
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/survey2.indigoPlugin/Contents/Server Plugin/Cheetah/Template.py", line 1005, in __str__
File "cheetah_DynamicallyCompiledCheetahTemplate_1505575978_86_25526.py", line 136, in respond
TypeError: hex() argument can't be converted to hex
it seems the testing part is completing fine, but there's some error in the report generation. i might have been tempted to use my very limited python skills to track down a simple problem within the plugin, this error appears to be buried somewhere inside a contained library (?). together with the fact that i seem to be the only one having this problem, this makes me suspect it may be something that changed in my local python environment... anyone with more python experience have any ideas or suggestions of things i might try to get this working?
[/quote]
I'll take a look later today or tomorrow. I haven't seen this error.
The error is literally when the report is being written to the disk.
data_file.write(str(report_template))
Do you have any devices that have non-ascii names? I haven't seen any issues with device naming, but it's possible.
If not, can you ZIP up your database, and send me a copy of it? This way, I can try to test with your database...
If so, please send it to BENJAMIN at SCHOLLNICK dot NET...