Inserting one service into process_services works fine, but when I try to add a second double quotes appear around the result in weewx.conf and subsequently causes WeeWX to exit with an error.
I have tried every permutation of syntax that I can think of without success. Am I not seeing the wood for the trees or is it just not possible?
Thanks
Ian
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/07de6ced-7bfd-47e7-b790-cd23f336fc93%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEAkf-P-dRkQnuYTV2QZbGCi6N_s7H88mc%3DGpE_jNJO2DQ%40mail.gmail.com.
process_service = user.program1.Program1Test, user.program2.Program2.Test
process_service = 'user.program1.Program1Test', 'user.program2.Program2.Test'
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CADASSaQ2YpO6APyT8v_uAQokDc_-RMpfhyPLiMhuXS_EeG04jw%40mail.gmail.com.
Traceback (most recent call last):
File "./wee_extension", line 82, in <module>
main()
File "./wee_extension", line 74, in main
ext.install_extension(options.install)
File "/home/weewx/bin/weecfg/extension.py", line 123, in install_extension
self.install_from_dir(extension_path)
File "/home/weewx/bin/weecfg/extension.py", line 138, in install_from_dir
extension_dir)
File "/home/weewx/bin/weecfg/__init__.py", line 1599, in get_extension_installer
__import__('install')
File "weewx-Weather34/install.py", line 21
config={The second example gave this error
Traceback (most recent call last):
File "./wee_extension", line 82, in <module>
main()
File "./wee_extension", line 74, in main
ext.install_extension(options.install)
File "/home/weewx/bin/weecfg/extension.py", line 123, in install_extension
self.install_from_dir(extension_path)
File "/home/weewx/bin/weecfg/extension.py", line 138, in install_from_dir
extension_dir)
File "/home/weewx/bin/weecfg/__init__.py", line 1599, in get_extension_installer
__import__('install')
File "weewx-Weather34/install.py", line 19
process_services='user.program1.Program1Test', 'user.program2.Program2.Test',
SyntaxError: non-keyword arg after keyword arg
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEDkV3q0zbQ1iMSCZtW2KF3y%2BHsLXCHd%2BRwFeeJ2WG-kYQ%40mail.gmail.com.
process_services = ['user.program1.Program1Test', 'user.program2.Program2Test']
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CADASSaSCE0TU9BX4sWf0t_A4N12s3BmhKc4wEwZnB5sCw9Bb3w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEBqOS_y6stmgQJLbJ_Pe4FAxdp3tEca0mvSf0PSxZWNsg%40mail.gmail.com.