Re: [weewx-user] Version 4

279 views
Skip to first unread message

Thomas Keffer

unread,
Mar 11, 2020, 8:25:18 PM3/11/20
to weewx-user
It's pretty much ready to go. The problem is packaging. We're trying to simplify the support matrix to something we can handle, and it's not proving to be easy.

On Wed, Mar 11, 2020 at 1:01 PM Keimpe Bleeker <blee...@xs4all.nl> wrote:
Hi Tom, others, After many using W##%&Disp##, based on a PC-server, for many years now, I'm waiting for some month to get my wx-station up-and-running with Weewx 4.#, based on RaspberryPi. Everything prepared on Weewx 3.9.2, but that version is not able to import the station history from WU. Tthat is the reason I'm waiting for the release of 4.#. Any idea when this will happen? Regards from Friesland (sneak preview: https://oentsjerk.eu/wwx/

--
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/cc1ee19c-03b7-499c-a719-094af13240ea%40googlegroups.com.

Ξ

unread,
Mar 12, 2020, 6:10:41 AM3/12/20
to weewx-user
I installed it yesterday and I wonder where the value for <h2>$current.dateTime</h2> is taken from because now the date appears in the m/d/yyyy format, I've set it to dd/mmm/yyyy and that's how it appears under plots, but in the title it's changed, so far this is the only setting I've noticed it didn't inherit from the old config v3.7.1, I upgraded using setup.py

Ivo


On Thursday, March 12, 2020 at 2:25:18 AM UTC+2, Thomas Keffer wrote:
It's pretty much ready to go. The problem is packaging. We're trying to simplify the support matrix to something we can handle, and it's not proving to be easy.

On Wed, Mar 11, 2020 at 1:01 PM Keimpe Bleeker <blee...@xs4all.nl> wrote:
Hi Tom, others, After many using W##%&Disp##, based on a PC-server, for many years now, I'm waiting for some month to get my wx-station up-and-running with Weewx 4.#, based on RaspberryPi. Everything prepared on Weewx 3.9.2, but that version is not able to import the station history from WU. Tthat is the reason I'm waiting for the release of 4.#. Any idea when this will happen? Regards from Friesland (sneak preview: https://oentsjerk.eu/wwx/

--
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...@googlegroups.com.

Thomas Keffer

unread,
Mar 12, 2020, 9:21:05 AM3/12/20
to weewx-user
Which skin?

The formatting should be as before: set in skin.conf, possibly overridden in weewx.conf. 

Look for section [[TimeFormats]] in skin.conf and [[[[TimeFormats]]]] in weewx.conf. What do they show?

-tk

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/2f501a7d-2971-44c3-939c-5850f35bb1c8%40googlegroups.com.

Ξ

unread,
Mar 13, 2020, 3:40:14 AM3/13/20
to weewx-user
Forgot to specify: Standard skin.
The skin.conf files are identical but it's the [[[[TimeFormats]]]] section in weewx.conf which is different and takes precedence I suppose:
This is from skin.conf
    [[TimeFormats]]
        # This section sets the string format to be used for each time scale.
        # The values below will work in every locale, but may not look
        # particularly attractive. See the Customizing Guide for alternatives.

        day        = %X
        week       = %X (%A)
        month      = %d/%b/%Y %X
        year       = %d/%b/%Y %X
        rainyear   = %d/%b/%Y %X
        current    = %d/%b/%Y %X
        ephem_day  = %X
        ephem_year = %d/%b/%Y %X


and weewx.conf
            [[[[TimeFormats]]]]

                hour = %H:%M
                day = %X
                week = %X (%A)
                month = %x %X
                year = %x %X
                rainyear = %x %X
                current = %x %X
                ephem_day = %X
                ephem_year = %x %X

Keimpe Bleeker

unread,
Mar 13, 2020, 5:27:22 AM3/13/20
to weewx-user
Thanks Tom, waiting in patience
!

Op donderdag 12 maart 2020 01:25:18 UTC+1 schreef Thomas Keffer:
It's pretty much ready to go. The problem is packaging. We're trying to simplify the support matrix to something we can handle, and it's not proving to be easy.

On Wed, Mar 11, 2020 at 1:01 PM Keimpe Bleeker <blee...@xs4all.nl> wrote:
Hi Tom, others, After many using W##%&Disp##, based on a PC-server, for many years now, I'm waiting for some month to get my wx-station up-and-running with Weewx 4.#, based on RaspberryPi. Everything prepared on Weewx 3.9.2, but that version is not able to import the station history from WU. Tthat is the reason I'm waiting for the release of 4.#. Any idea when this will happen? Regards from Friesland (sneak preview: https://oentsjerk.eu/wwx/

--
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...@googlegroups.com.

Thomas Keffer

unread,
Mar 13, 2020, 7:10:14 AM3/13/20
to weewx-user
Yes. The weewx.conf specifications take precedence. See the section How options work in the Customizing Guide.

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/34d7e1ec-c9e7-4fd8-8288-97cbd84a2366%40googlegroups.com.

Ξ

unread,
Mar 16, 2020, 6:11:39 PM3/16/20
to weewx-user
So I currently have 4.0.0b14, I tried installing belchertown-1.0.1 and I got the following:

[root@alarmpi weewx]# /home/weewx/bin/wee_extension --install weewx-belchertown-release-1.0.1.tar.gz
Request to install 'weewx-belchertown-release-1.0.1.tar.gz'
Extracting from tar archive weewx-belchertown-release-1.0.1.tar.gz
Traceback (most recent call last):
 
File "/home/weewx/bin/wee_extension", line 88, in <module>
    main
()
 
File "/home/weewx/bin/wee_extension", line 80, in main
    ext
.install_extension(options.install)
 
File "/home/weewx/bin/weecfg/extension.py", line 116, in install_extension
   
self.tmpdir, self.logger)
 
File "/home/weewx/bin/weecfg/__init__.py", line 1645, in extract_tar
    tar_archive
= tarfile.open(filename, mode='r')
 
File "/usr/lib/python2.7/tarfile.py", line 1680, in open
   
raise ReadError("file could not be opened successfully")
tarfile
.ReadError: file could not be opened successfully



I thought of upgrading to 4.0.0b16 and this is what happened:
[root@alarmpi weewx-4.0.0b16]# ./setup.py build
Traceback (most recent call last):
 
File "./setup.py", line 31, in <module>
   
from setuptools import setup, find_packages
ImportError: No module named setuptools


Linux alarmpi 4.9.61-1-ARCH #1 SMP Sun Nov 12 00:26:55 UTC 2017 armv6l GNU/Linux

Thomas Keffer

unread,
Mar 16, 2020, 6:24:55 PM3/16/20
to weewx-user
Take a look at the (beta version) of the instructions for setup.py installations. You can find it at /home/weewx/docs/setup.htm. You must use pip, which will install setuptools for you.

-tk

--
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.
Message has been deleted

Ξ

unread,
Mar 17, 2020, 3:10:24 AM3/17/20
to weewx-user
Thanks, it installed OK now but it run into a problem with CumulusRealTime: # $Id: crt.py 1477 2016-04-10 13:19:56Z mwall $


Mar 17 08:55:50 alarmpi weewxd[415]: weewx[415] DEBUG weewx.engine: Loading service user.crt.CumulusRealTime
Mar 17 08:55:50 alarmpi weewxd[415]: weewx[415] CRITICAL __main__: Caught unrecoverable exception:
Mar 17 08:55:50 alarmpi weewxd[415]: weewx[415] CRITICAL __main__:     ****  invalid syntax (crt.py, line 376)
Mar 17 08:55:50 alarmpi weewxd[415]: weewx[415] CRITICAL __main__:     ****  Traceback (most recent call last):
Mar 17 08:55:50 alarmpi weewxd[415]: weewx[415] CRITICAL __main__:     ****    File "/home/weewx/bin/weewxd", line 148, in main
Mar 17 08:55:50 alarmpi weewxd[415]: weewx[415] CRITICAL __main__:     ****      engine = weewx.engine.StdEngine(config_dict)
Mar 17 08:55:50 alarmpi weewxd[415]: weewx[415] CRITICAL __main__:     ****    File "/home/weewx/bin/weewx/engine.py", line 75, in __init__
Mar 17 08:55:50 alarmpi weewxd[415]: weewx[415] CRITICAL __main__:     ****      self.loadServices(config_dict)
Mar 17 08:55:50 alarmpi weewxd[415]: weewx[415] CRITICAL __main__:     ****    File "/home/weewx/bin/weewx/engine.py", line 136, in loadServices
Mar 17 08:55:50 alarmpi weewxd[415]: weewx[415] CRITICAL __main__:     ****      obj = weeutil.weeutil.get_object(svc)(self,config_dict)
Mar 17 08:55:50 alarmpi weewxd[415]: weewx[415] CRITICAL __main__:     ****    File "/home/weewx/bin/weeutil/weeutil.py", line 1093, in get_object
Mar 17 08:55:50 alarmpi weewxd[415]: weewx[415] CRITICAL __main__:     ****      mod = __import__(module)
Mar 17 08:55:50 alarmpi weewxd[415]: weewx[415] CRITICAL __main__:     ****    File "/home/weewx/bin/user/crt.py", line 376
Mar 17 08:55:50 alarmpi weewxd[415]: weewx[415] CRITICAL __main__:     ****      except Exception, e:
Mar 17 08:55:50 alarmpi weewxd[415]: weewx[415] CRITICAL __main__:     ****                      ^
Mar 17 08:55:50 alarmpi weewxd[415]: weewx[415] CRITICAL __main__:     ****  SyntaxError: invalid syntax
Mar 17 08:55:50 alarmpi weewxd[415]: weewx[415] CRITICAL __main__:     ****  Exiting.
Mar 17 08:55:50 alarmpi weewxd[415]: Traceback (most recent call last):
Mar 17 08:55:50 alarmpi weewxd[415]:   File "/home/weewx/bin/weewxd", line 261, in <module>
Mar 17 08:55:50 alarmpi weewxd[415]:     main()
Mar 17 08:55:50 alarmpi weewxd[415]:   File "/home/weewx/bin/weewxd", line 148, in main
Mar 17 08:55:50 alarmpi weewxd[415]:     engine = weewx.engine.StdEngine(config_dict)
Mar 17 08:55:50 alarmpi weewxd[415]:   File "/home/weewx/bin/weewx/engine.py", line 75, in __init__
Mar 17 08:55:50 alarmpi weewxd[415]:     self.loadServices(config_dict)
Mar 17 08:55:50 alarmpi weewxd[415]:   File "/home/weewx/bin/weewx/engine.py", line 136, in loadServices
Mar 17 08:55:50 alarmpi weewxd[415]:     obj = weeutil.weeutil.get_object(svc)(self,config_dict)
Mar 17 08:55:50 alarmpi weewxd[415]:   File "/home/weewx/bin/weeutil/weeutil.py", line 1093, in get_object
Mar 17 08:55:50 alarmpi weewxd[415]:     mod = __import__(module)
Mar 17 08:55:50 alarmpi weewxd[415]:   File "/home/weewx/bin/user/crt.py", line 376
Mar 17 08:55:50 alarmpi weewxd[415]:     except Exception, e:
Mar 17 08:55:50 alarmpi weewxd[415]:                     ^
Mar 17 08:55:50 alarmpi weewxd[415]: SyntaxError: invalid syntax
Mar 17 08:55:50 alarmpi systemd[1]: weewx.service: Main process exited, code=exited, status=1/FAILURE
Mar 17 08:55:50 alarmpi systemd[1]: weewx.service: Failed with result 'exit-code'.



Thomas Keffer

unread,
Mar 17, 2020, 8:23:27 AM3/17/20
to weewx-user
It looks like the Cumulus extension has not been ported to Python 3. 

You'll have to talk to the extension author about that.

--
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.
Reply all
Reply to author
Forward
0 new messages