Hi
Thanks for all the answers.

I just copied a 4.10.2 database to the Version 5 system and it's working 
fine.

I have just installed version 5 on a test system and I'll continue to test 
the installation methods that Vince mentioned.

Gert

On Tuesday, August 15, 2023 at 3:23:10 PM UTC+2 Rainer Lang wrote:

> see inline below
> On 15.08.2023 13:25, [email protected] wrote:
>
> Hi Rainer 
> I did as you suggested and it seems to work now. gw1000.py was not there, 
> so something went wrong during the installation.
>
> A couple of questions:
> 1) I used sudo to install and WeeWX is running under root. Should I just 
> use the user login(pi), to install WeeWx?
>
> when you are acting as user pi, you need root rights - hence you use sudo 
> ....
> installing weewx as any user, root or any other, hasn't been an issue so 
> far (afaik)
>
> 2) Is the weewx.sdb compatible with Version 5?
>
> I don't think the database type has changed (still either a sqlite3 
> database or a MySQL database, and the weewx.sdb is/was a sqlite3 database)
> - and you will probably still use the wview_extended database schema
> what does weewx show when you use your "old" weewx.sdb in /var/lib/weewx ?
> if you can see you historical data, all is fine 😉
>
> 3) Should I use pip to install or sudo apt install ./python3-weewx_5...., 
> as I did
>
> as far as I know the general weewx install instructions are valid - you 
> can use apt and pip as package managers, depending on installation type
> see weewx documentation
>
>
> Thanks for helping
>
> Rgds
> Gert
>
> On Tuesday, August 15, 2023 at 11:18:22 AM UTC+2 Rainer Lang wrote:
>
>> I think a simple solution could be to extract the file gw1000.py from the 
>> gw1000-0.5.0b5.tar.gz 
>> archive and copy it to /usr/share/weewx/user
>> On 15.08.2023 10:42, [email protected] wrote:
>>
>> Hi Ian 
>> Thanks for looking.
>> I used this command to install WeeWx:
>>
>> sudo apt install ./python3-weewx_5.0.0a24-a_all.deb
>>
>>
>> and this command to install GW1000
>>
>>
>> sudo weectl extension install 
>> https://github.com/gjr80/weewx-gw1000/releases/download/v0.5.0b5/gw1000-0.5.0b5.tar.gz
>>
>>
>> From syslog:
>>
>> Aug 15 10:36:01 raspberrypi weewx[677] INFO weewx.engine: Loading station 
>> type GW1000 (user.gw1000)
>> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__: Caught 
>> unrecoverable exception:
>> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:     ****  No 
>> module named 'user.gw1000'
>> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:     **** 
>>  Traceback (most recent call last):
>> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:     ****   
>>  File "/usr/share/weewx/weewxd.py", line 149, in main
>> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:     ****     
>>  engine = weewx.engine.StdEngine(config_dict)
>> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:     ****   
>>  File "/usr/share/weewx/weewx/engine.py", line 78, in __init__
>> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:     ****     
>>  self.setupStation(config_dict)
>> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:     ****   
>>  File "/usr/share/weewx/weewx/engine.py", line 105, in setupStation
>> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:     ****     
>>  __import__(driver)
>> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:     **** 
>>  ModuleNotFoundError: No module named 'user.gw1000'
>> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:     **** 
>>  Exiting.
>> Aug 15 10:36:01 raspberrypi systemd[1]: weewx.service: Main process 
>> exited, code=exited, status=1/FAILURE
>> Aug 15 10:36:01 raspberrypi systemd[1]: weewx.service: Failed with result 
>> 'exit-code'.
>>
>>
>> I have attached the weewx.conf file
>>
>>
>> Gert
>>
>>
>>
>>
>> On Tuesday, August 15, 2023 at 8:52:05 AM UTC+2 Ian Millard wrote:
>>
>>> How did you attempt the install? I am running version 5 with a pip 
>>> installation. I am also running the Gateway driver and it installed 
>>> seamlessly using weectl extension install [URL] 
>>>
>>> Sent from my iPad.
>>>
>>> On 15 Aug 2023, at 05:57, [email protected] <[email protected]> 
>>> wrote:
>>>
>>> Hi Vince
>>>
>>> I followed the installation guide for the driver, but the installation 
>>> used the folder structure from WeeWx version 4.
>>>
>>> Rgds
>>> Gert
>>>
>>> On Tuesday, August 15, 2023 at 1:44:12 AM UTC+2 vince wrote:
>>>
>>>> sure why wouldn't it be ?
>>>>
>>>> On Monday, August 14, 2023 at 2:03:23 PM UTC-7 [email protected] 
>>>> wrote:
>>>>
>>>>> Hi 
>>>>> Is it possible to install the gateway with WeeWx 5.0
>>>>>
>>>>> Thanks
>>>>> Gert
>>>>>
>>>> -- 
>>> 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/99af5f5f-3f49-441d-acf0-e4006a1e734fn%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/99af5f5f-3f49-441d-acf0-e4006a1e734fn%40googlegroups.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/3cac5915-3b90-44f0-9f5d-e6e85ec506f4n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/3cac5915-3b90-44f0-9f5d-e6e85ec506f4n%40googlegroups.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/691f18ef-cf92-48d9-b409-d440e3986915n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/weewx-user/691f18ef-cf92-48d9-b409-d440e3986915n%40googlegroups.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/a6ee14a0-b86c-48ce-8f8b-6b420268bd81n%40googlegroups.com.

Reply via email to