I should think you'd want

process_service = user.program1.Program1Test, user.program2.Program2.Test


Or, if you want to use quotes,

process_service = 'user.program1.Program1Test',
'user.program2.Program2.Test'


Or, am I missing something?

Incidentally, the two services are using different naming conventions. One
says "Program1Test", the other "Program2.Test". Note the period in the
second. Don't know if that's a typo, or what you're intending.

-tk

On Sun, Nov 24, 2019 at 8:26 AM steeple ian <[email protected]> wrote:

> Ok, for example
>
> Using this in install.py for a single service: -
>
> process_services='user.program1.Program1Test',
>
> Gave as expected in weewx.conf: -
>
> process_services = user.program1.Program1Test
>
> Adding a second service like so: -
>
> process_services='user.program1.Program1Test, user.program2.Program2.Test',
>
> Gave: - process_services="user.program1.Program1Test,
> user.program2.Program2.Test"
>
> This:
> - 
> process_services='user.program1.Program1Test'',''user.program2.Program2.Test',
>
> Gave: - process_services=
> "user.program1.Program1Test,user.program2.Program2.Test"
>
> Various other combinations either all resulted in similar results with
> double quote marks or a syntax error when running the install process with
> wee_extension --install
>
> Thanks,
> Ian
>
>
> On Sun, Nov 24, 2019 at 1:53 PM Thomas Keffer <[email protected]> wrote:
>
>> It would help if you included the error. I don't know what you mean by
>> "...try to add a second double quotes appear around the result..."
>>
>> On Sun, Nov 24, 2019 at 3:52 AM steeple ian <[email protected]> wrote:
>>
>>> Is it possible to to insert multiple services of the same type using
>>> install.py?
>>>
>>> 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 [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/07de6ced-7bfd-47e7-b790-cd23f336fc93%40googlegroups.com
>>> .
>>>
>> --
>> 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 [email protected].
>> 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
>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEAkf-P-dRkQnuYTV2QZbGCi6N_s7H88mc%3DGpE_jNJO2DQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/CADASSaQ2YpO6APyT8v_uAQokDc_-RMpfhyPLiMhuXS_EeG04jw%40mail.gmail.com
> <https://groups.google.com/d/msgid/weewx-user/CADASSaQ2YpO6APyT8v_uAQokDc_-RMpfhyPLiMhuXS_EeG04jw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEDkV3q0zbQ1iMSCZtW2KF3y%2BHsLXCHd%2BRwFeeJ2WG-kYQ%40mail.gmail.com.

Reply via email to