Hi Tom, and many thanks for your reply. Per your post:
1) I have removed the PROTOCOL entry (see my update)

2) My ID is, in fact, w2irt (my ham callsign). It's been running 
successfully since 2012 like that. It was a special request to the site 
admin at the time. I don't use the APRS network, I just upload like any 
other PWS, but I am very proud of my call and wanted it as my CWOP ID, 
which was kindly granted.

3) Not sure why there are two processes running. I only have one instance 
of it that I know of!!

On Sunday, February 12, 2017 at 12:33:40 PM UTC-5, Tom Keffer wrote:
>
> A few things
>
>    1. The CWOP section of weewx.conf should not have a "protocol" entry.
>    2. Your CWOP station id "w2irt" looks suspicious. Usually they are one 
>    or two letters, followed by a four digit number. Something like CW1234. 
> The 
>    reason why you are getting the error "APRS station WSIRT requires 
> passcode" 
>    is that weewx assumes that anything that does not match this must be an 
>    APRS station, which requires the passcode.
>    3. Make sure you are not running more than one instance of weewx. From 
>    the little log snippet you provided, I can see two process IDs (15498 and 
>    15513).
>
> -tk
>
>
> On Sun, Feb 12, 2017 at 9:21 AM, Peter Dougherty <[email protected] 
> <javascript:>> wrote:
>
>> Hello all,
>>
>> I'm extremely new to weewx and the rawest Linux newbie with absolutely no 
>> experience in the OS. 
>>
>> I've been running my Davis Vantage Pro 2 since 2012 on Windows, using 
>> Cumulus, and have had no uploading to any service when it's running. Due to 
>> Windows stability and other hardware issues I decided to run the station on 
>> a Raspberry Pi 3 using Raspian, which was powered up and configured for 
>> weewx for the first time yesterday. I'm running version 3.6.2 at the moment.
>>
>> I upload to CWOP, Weather Underground and PWStation. Wunderground is 
>> working fine but the other two are not.
>>
>> Troubleshooting log snippets follow:
>> my config:
>>
>>     [[CWOP]]
>>         # This section is for configuring posts to CWOP.
>>
>>         # If you wish to do this, set the option 'enable' to true,
>>         # and specify the station ID (e.g., CW1234).
>>
>>         enable = true
>>         station = w2irt
>>         server = cwop.aprs.net:14580, cwop.aprs.net:23
>>         interval = 180
>>         protocol = CWOP
>>
>>         # If this is an APRS (radio amateur) station, uncomment
>>         # the following and replace with a passcode (e.g., 12345).
>>         #passcode = -1
>> Although I am a ham, I am *not* using the APRS network to generate 
>> posts. In Cumulus, I was told initially to use -1 as the passcode and it 
>> has worked since 2012. Different errors are occurring depending on whether 
>> I have "passcode" commented out or not. See below.
>>
>>     [[PWSweather]]
>>         # This section is for configuring posts to PWSweather.com.
>>
>>         # If you wish to do this, set the option 'enable' to true,
>>         # and specify a station and password.
>>         enable = true
>>         station = w2irt
>>         password = (my PWSweather website password)
>>
>>
>> From the log....
>>
>> Without "passcode = -1" enabled, the log returns this error:
>>
>> 11:29:35 wx weewx[15542]: APRS station W2IRT requires passcode
>>
>>
>> With "passcode = -1" this exception happens
>>
>> 11:29:10 wx weewx[15498]: engine: Caught unrecoverable exception in 
>> engine:
>> Feb 12 11:29:10 wx weewx[15498]:     ****  __init__() got an unexpected 
>> keyword argument 'protocol'
>> Feb 12 11:29:10 wx weewx[15498]:     ****  Traceback (most recent call 
>> last):
>> Feb 12 11:29:10 wx weewx[15498]:     ****    File 
>> "/usr/share/weewx/weewx/engine.py", line 841, in main
>> Feb 12 11:29:10 wx weewx[15498]:     ****      engine = 
>> engine_class(config_dict)
>> Feb 12 11:29:10 wx weewx[15498]:     ****    File 
>> "/usr/share/weewx/weewx/engine.py", line 76, in __init__
>> Feb 12 11:29:10 wx weewx[15498]:     ****      
>> self.loadServices(config_dict)
>> Feb 12 11:29:10 wx weewx[15498]:     ****    File 
>> "/usr/share/weewx/weewx/engine.py", line 140, in loadServices
>> Feb 12 11:29:10 wx weewx[15498]:     ****      
>> self.service_obj.append(weeutil.weeutil._get_object(svc)(self, config_dict))
>> Feb 12 11:29:10 wx weewx[15498]:     ****    File 
>> "/usr/share/weewx/weewx/restx.py", line 880, in __init__
>> Feb 12 11:29:10 wx weewx[15498]:     ****      **_cwop_dict)
>> Feb 12 11:29:10 wx weewx[15498]:     ****  TypeError: __init__() got an 
>> unexpected keyword argument 'protocol'
>> Feb 12 11:29:10 wx weewx[15498]:     ****  Exiting.
>> Feb 12 11:29:33 wx weewx[15513]: Stopping weewx weather system: weewx not 
>> running....
>> ---end log snippet
>>
>> I am getting no errors for PWStation, but it's just not posting to the 
>> site.
>>
>> Thanks in advance for any assistance.
>>
>>
>> -- 
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to