Re: [weewx-user] column create/rename error "ModuleNotFoundError: No module named 'user'"

2023-12-30 Thread Tom Keffer
Mr Neutrino: could you set debug=1, try again, then post the actual log? It 
will show more information than just the stack trace.

On Saturday, December 30, 2023 at 1:26:22 AM UTC-8 neutrino wrote:

> Thanks for your information, unfortunately upgading to  weewx-5.0.0rc2 did 
> not solve this problem for me.
> If I can help debugging drop me a line
> Best regards
> Steeple Ian schrieb am Freitag, 29. Dezember 2023 um 23:16:27 UTC+1:
>
>> Apologies for the half-response. I meant to add that 5.0.0rc2 solves this 
>> problem for me.
>>
>> On Friday, December 29, 2023 at 1:35:11 PM UTC steepleian wrote:
>>
>>> I have an identical error when using weectl report run with v5rc1
>>> https://claydonsweather.org.uk
>>>
>>> On 29 Dec 2023, at 13:27, 'neutrino' via weewx-user <
>>> weewx...@googlegroups.com> wrote:
>>>
>>> 
>>>
>>> Hello everyone,
>>> I try to modify my existing database after upgrading to v5.
>>> Get these errors:
>>>
>>> (weewx-venv) xxx@###:~/weewx-data$ weectl database add-column test
>>> Using configuration file /home/jnz/weewx-data/weewx.conf
>>> Traceback (most recent call last):
>>>   File "/home/xxx/weewx-venv/bin/weectl", line 8, in 
>>> sys.exit(main())
>>>   File "/home/xxx/weewx-venv/lib/python3.10/site-packages/weectl.py", 
>>> line 66, in main
>>> namespace.func(namespace)
>>>   File 
>>> "/home/xxx/weewx-venv/lib/python3.10/site-packages/weectllib/__init__.py", 
>>> line 96, in dispatch
>>> namespace.action_func(config_dict, namespace)
>>>   File 
>>> "/home/xxx/weewx-venv/lib/python3.10/site-packages/weectllib/database_cmd.py",
>>>  
>>> line 342, in add_column
>>> weectllib.database_actions.add_column(config_dict,
>>>   File 
>>> "/home/xxx/weewx-venv/lib/python3.10/site-packages/weectllib/database_actions.py",
>>>  
>>> line 157, in add_column
>>> manager_dict = 
>>> weewx.manager.get_manager_dict_from_config(config_dict, db_binding)
>>>   File 
>>> "/home/xxx/weewx-venv/lib/python3.10/site-packages/weewx/manager.py", line 
>>> 886, in get_manager_dict_from_config
>>> manager_dict['schema'] = weeutil.weeutil.get_object(schema_name)
>>>   File 
>>> "/home/xxx/weewx-venv/lib/python3.10/site-packages/weeutil/weeutil.py", 
>>> line 1404, in get_object
>>> module = importlib.import_module(module_name)
>>>   File "/usr/lib/python3.10/importlib/__init__.py", line 126, in 
>>> import_module
>>> return _bootstrap._gcd_import(name[level:], package, level)
>>>   File "", line 1050, in _gcd_import
>>>   File "", line 1027, in _find_and_load
>>>   File "", line 992, in 
>>> _find_and_load_unlocked
>>>   File "", line 241, in 
>>> _call_with_frames_removed
>>>   File "", line 1050, in _gcd_import
>>>   File "", line 1027, in _find_and_load
>>>   File "", line 1004, in 
>>> _find_and_load_unlocked
>>> *ModuleNotFoundError: No module named 'user'*
>>>
>>> Any ideas?
>>> Thanks!
>>>
>>> -- 
>>> 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/ae5b4963-63a5-46e8-bb16-e0d8b2099203n%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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/d98eea63-f4cd-4aeb-a2b8-014489acc7a7n%40googlegroups.com.


[weewx-user] Error: invalid read_period in get_records

2023-12-30 Thread Μάριος
Hello,

I'm getting this error in weexw log
"weewx[1689] CRITICAL __main__: Caught WeeWxIOError: invalid read_period in 
get_records"
"weewx[1689] CRITICAL __main__:   Waiting 60 seconds then 
retrying..."

My setup is Raspberry Pi 3, WH1080 weather station and weewx 4.10.2-1. The 
error appeared suddenly without change anything.
I have already disconnect the weather station from USB and power source for 
8+ hours, i changed the usb port and i updete the weewx version.
I checked an older backup sd card, but same error.
The weather station on my Windows machine with Easyweather works fine.

Whats going wrong?

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/29464975-48ec-4b75-9670-ecff4f47dd61n%40googlegroups.com.


Re: [weewx-user] Re: Need help with change to SFTP

2023-12-30 Thread Steve Meltz
Gary..thank you for the reply
 I think I have it sorted out. In my old version of Weewx, I made a few
changes in weewx.conf which seems to have worked, and as you said, the
Steel Guages are not affected.

On Sat, Dec 30, 2023, 12:31 AM gjr80  wrote:

> Steve,
>
> Sorry I cannot help with SFTP, but if you are using the realtime gauge
> data extension to drive your Steel Series gauges and use the HTTP POST or
> rsync to transfer gauge-data.txt to you server, the change to SFTP will
> have no impact on your gauges. The HTTP POST and rsync capabilities used by
> the realtime gauge data extension is completely independent of any
> transfers performed by the StdReport service.
>
> Gary
>
> On Thursday 28 December 2023 at 09:07:30 UTC+10 Steve2Q wrote:
>
>> Hello. I am a long time user, but have not had any reason (so far) to
>> update from V3.8.2. In the past few weeks, I have had problems where my
>> files stopped uploading to DreamHost. They found the error on their end,
>> but recommend that I change for FTP to SFTP. I have two questions:
>>
>> 1. Will this affect my Steel Gauges which continue working fine even when
>> the "regular" Weewx files are not uploading?
>>
>> 2. I am a very casual user, so I found that the directions on the Wiki
>> are insufficient to make me comfortable making the change. Can anyone walk
>> me through how to do it?
>>
>> Thanks, Steve
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/raoMHaewaOY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/3fa2d55b-6062-4916-9eb4-631f4b887fd9n%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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAH0o-any6uTKNo%2BO_Af7_RjNDjW-4hE%2BzKtKTmGAUMgg4MvjAw%40mail.gmail.com.


Re: [weewx-user] Wind Run in RTGD with SteelSeries Gauges

2023-12-30 Thread 'Rory Gillies' via weewx-user
Thanks John, I misunderstood that setting. I have now set it to 0 to 
disable the feature (this is an internal display only). All working well 
now except for the wind run issue.

On Friday, December 29, 2023 at 5:31:58 PM UTC John Kline wrote:

>
>
> > On Dec 29, 2023, at 4:30 AM, 'Rory Gillies' via weewx-user <
> weewx...@googlegroups.com> wrote:
> > 
> > I also noticed that after a while (around 10 minutes but sometimes more) 
> the interface stops updating.
>
> The default is to timeout after 20m unless you have passed the correct 
> page update password (defaults to its-me).
>
> Are you passing it?
> http://&pageUpdate=its-me

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/14da51d1-138e-46b4-a8ed-bbc1d14918aan%40googlegroups.com.


Re: [weewx-user] column create/rename error "ModuleNotFoundError: No module named 'user'"

2023-12-30 Thread 'neutrino' via weewx-user
Thanks for your information, unfortunately upgading to  weewx-5.0.0rc2 did 
not solve this problem for me.
If I can help debugging drop me a line
Best regards
Steeple Ian schrieb am Freitag, 29. Dezember 2023 um 23:16:27 UTC+1:

> Apologies for the half-response. I meant to add that 5.0.0rc2 solves this 
> problem for me.
>
> On Friday, December 29, 2023 at 1:35:11 PM UTC steepleian wrote:
>
>> I have an identical error when using weectl report run with v5rc1
>> https://claydonsweather.org.uk
>>
>> On 29 Dec 2023, at 13:27, 'neutrino' via weewx-user <
>> weewx...@googlegroups.com> wrote:
>>
>> 
>>
>> Hello everyone,
>> I try to modify my existing database after upgrading to v5.
>> Get these errors:
>>
>> (weewx-venv) xxx@###:~/weewx-data$ weectl database add-column test
>> Using configuration file /home/jnz/weewx-data/weewx.conf
>> Traceback (most recent call last):
>>   File "/home/xxx/weewx-venv/bin/weectl", line 8, in 
>> sys.exit(main())
>>   File "/home/xxx/weewx-venv/lib/python3.10/site-packages/weectl.py", 
>> line 66, in main
>> namespace.func(namespace)
>>   File 
>> "/home/xxx/weewx-venv/lib/python3.10/site-packages/weectllib/__init__.py", 
>> line 96, in dispatch
>> namespace.action_func(config_dict, namespace)
>>   File 
>> "/home/xxx/weewx-venv/lib/python3.10/site-packages/weectllib/database_cmd.py",
>>  
>> line 342, in add_column
>> weectllib.database_actions.add_column(config_dict,
>>   File 
>> "/home/xxx/weewx-venv/lib/python3.10/site-packages/weectllib/database_actions.py",
>>  
>> line 157, in add_column
>> manager_dict = 
>> weewx.manager.get_manager_dict_from_config(config_dict, db_binding)
>>   File 
>> "/home/xxx/weewx-venv/lib/python3.10/site-packages/weewx/manager.py", line 
>> 886, in get_manager_dict_from_config
>> manager_dict['schema'] = weeutil.weeutil.get_object(schema_name)
>>   File 
>> "/home/xxx/weewx-venv/lib/python3.10/site-packages/weeutil/weeutil.py", 
>> line 1404, in get_object
>> module = importlib.import_module(module_name)
>>   File "/usr/lib/python3.10/importlib/__init__.py", line 126, in 
>> import_module
>> return _bootstrap._gcd_import(name[level:], package, level)
>>   File "", line 1050, in _gcd_import
>>   File "", line 1027, in _find_and_load
>>   File "", line 992, in 
>> _find_and_load_unlocked
>>   File "", line 241, in 
>> _call_with_frames_removed
>>   File "", line 1050, in _gcd_import
>>   File "", line 1027, in _find_and_load
>>   File "", line 1004, in 
>> _find_and_load_unlocked
>> *ModuleNotFoundError: No module named 'user'*
>>
>> Any ideas?
>> Thanks!
>>
>> -- 
>> 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/ae5b4963-63a5-46e8-bb16-e0d8b2099203n%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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/62ef764b-aaf6-43a5-9566-b22bdca10bbcn%40googlegroups.com.


[weewx-user] empty week images due to end of year?

2023-12-30 Thread 'Michael Waldor' via weewx-user
Since (today?) all week images contain no measured data, only the forecast 
data are visible.
[image: weektempdew.png]
I have to admit that I've patched utilities.py to shift the right border of 
the timescale into the "future". It works fine all over the year. To my 
surprise all (measured) data is missing. If I drop my shift the data 
re-appears. But - as you see from the image above - the timescale looks 
fine and is exactly as intended. I've even debugged my modification for the 
current date, and everythind works as intended. But why are there no data 
from the past? Even from the above image one can see that imagegenerator.py 
can cross the year boundary perfectly.

And there IS data available within the past (I've checked this by dropping 
my change, and I've got a plot between 23. and 31.).

Why does weewx don't see the missing data? Images without forecast data 
aren't generated at all, e.g. weekUV.

For more details on my patch see 
https://groups.google.com/g/weewx-user/c/76qdbSy3bbQ/m/oIlk3sKrBgAJ

Regards, Michael

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/4d414da7-f81f-476f-8fbd-9b81da25b86en%40googlegroups.com.