I've seen some recent discussion of the skymap extension to weewx, and it 
looks really interesting. However, I can't seem to get it installed 
correctly. Running weewx 5.2 on a Mac Studio for a while now, with no 
problems, and uploading data to PWS and an FTP site also with no problems 
until now.

I installed skymap according to the instructions on the roe-dl github, and 
installation seemed to work. I added the following to my weewx.conf as a 
test, copied from the github:

[Almanac]
    [[Skyfield]]
        enable = true
        ephemeris = de440.bsp
        use_builtin_timescale = false
        timescale_url = 
https://datacenter.iers.org/products/eop/rapid/standard/finals2000A.all, 
ftps://gdc.cddis.eosdis.nasa.gov/products/iers/finals.all

However, I get the following errors when I try to tun a Standard Seasons 
Report:

2025-12-23 08:41:40 weectl[65919]: INFO weectllib: Initializing weectl 
version 5.2.0
2025-12-23 08:41:40 weectl[65919]: INFO weectllib: Command line: 
/Library/Frameworks/Python.framework/Versions/3.13/bin/weectl report run 
SeasonsReport
2025-12-23 08:41:40 weectl[65919]: INFO weectllib: Using Python: 3.13.5 
(v3.13.5:6cb20a219a8, Jun 11 2025, 12:23:45) [Clang 16.0.0 
(clang-1600.0.26.6)]
2025-12-23 08:41:40 weectl[65919]: INFO weectllib: Located at:   
/Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13
2025-12-23 08:41:40 weectl[65919]: INFO weectllib: Platform:     
macOS-15.5-arm64-arm-64bit-Mach-O
2025-12-23 08:41:40 weectl[65919]: INFO weectllib: Locale:       
'en_US.UTF-8'
2025-12-23 08:41:40 weectl[65919]: INFO weectllib: Entry path:   
/Library/Frameworks/Python.framework/Versions/3.13/bin/weectl
2025-12-23 08:41:40 weectl[65919]: INFO weectllib: WEEWX_ROOT:   
/Users/seancurry2/weewx-data
2025-12-23 08:41:40 weectl[65919]: INFO weectllib: Config file: 
 /Users/seancurry2/weewx-data/weewx.conf
2025-12-23 08:41:40 weectl[65919]: INFO weectllib: User module: 
 /Users/seancurry2/weewx-data/bin/user
2025-12-23 08:41:40 weectl[65919]: INFO weectllib: Debug:        0
2025-12-23 08:41:40 weectl[65919]: INFO weectllib: User:         root
2025-12-23 08:41:40 weectl[65919]: INFO weectllib: Group:        wheel
2025-12-23 08:41:40 weectl[65919]: INFO weectllib: Groups:       wheel 
daemon kmem sys tty operator procview procmod everyone staff certusers 
localaccounts admin com.apple.sharepoint.group.1 _appstore _lpadmin 
_lpoperator _developer _analyticsusers com.apple.access_ftp 
com.apple.access_screensharing-disabled com.apple.access_ssh 
com.apple.access_remote_ae
2025-12-23 08:41:40 weectl[65919]: INFO weewx.engine: StdConvert target 
unit is 0x1
2025-12-23 08:41:40 weectl[65919]: INFO weewx.wxservices: StdWXCalculate 
will use data binding wx_binding
2025-12-23 08:41:40 weectl[65919]: INFO weewx.engine: Archive will use data 
binding wx_binding
2025-12-23 08:41:40 weectl[65919]: INFO weewx.engine: Record generation 
will be attempted in 'hardware'
2025-12-23 08:41:40 weectl[65919]: INFO weewx.engine: Using archive 
interval of 300 seconds (specified by hardware)
2025-12-23 08:41:40 weectl[65919]: INFO weewx.restx: StationRegistry: No 
config info. Skipped.
2025-12-23 08:41:40 weectl[65919]: INFO weewx.restx: Wunderground: No 
config info. Skipped.
2025-12-23 08:41:40 weectl[65919]: INFO weewx.restx: PWSWeather: Data for 
station KORTALEN1 will be posted
2025-12-23 08:41:40 weectl[65919]: INFO weewx.restx: CWOP: No config info. 
Skipped.
2025-12-23 08:41:40 weectl[65919]: INFO weewx.restx: WOW: No config info. 
Skipped.
2025-12-23 08:41:40 weectl[65919]: INFO weewx.restx: AWEKAS: No config 
info. Skipped.
2025-12-23 08:41:40 weectl[65919]: INFO weewx.engine: 'pyephem' detected, 
extended almanac data is available
2025-12-23 08:41:40 weectl[65919]: ERROR weewx.cheetahgenerator: Evaluation 
of template /Users/seancurry2/weewx-data/skins/Seasons/index.html.tmpl 
failed.
2025-12-23 08:41:40 weectl[65919]: ERROR weewx.cheetahgenerator: **** 
Ignoring template /Users/seancurry2/weewx-data/skins/Seasons/index.html.tmpl
2025-12-23 08:41:40 weectl[65919]: ERROR weewx.cheetahgenerator: **** 
Reason: cannot find 'sun'
2025-12-23 08:41:40 weectl[65919]: ERROR weewx.cheetahgenerator: **** To 
debug, try inserting '#errorCatcher Echo' at top of template
2025-12-23 08:41:41 weectl[65919]: ERROR weewx.cheetahgenerator: Evaluation 
of template /Users/seancurry2/weewx-data/skins/Seasons/celestial.html.tmpl 
failed.
2025-12-23 08:41:41 weectl[65919]: ERROR weewx.cheetahgenerator: **** 
Ignoring template 
/Users/seancurry2/weewx-data/skins/Seasons/celestial.html.tmpl
2025-12-23 08:41:41 weectl[65919]: ERROR weewx.cheetahgenerator: **** 
Reason: cannot find 'sun'
2025-12-23 08:41:41 weectl[65919]: ERROR weewx.cheetahgenerator: **** To 
debug, try inserting '#errorCatcher Echo' at top of template
2025-12-23 08:41:41 weectl[65919]: INFO weewx.cheetahgenerator: Generated 6 
files for report SeasonsReport in 0.12 seconds
2025-12-23 08:41:41 weectl[65919]: INFO weewx.imagegenerator: Generated 15 
images for report SeasonsReport in 0.06 seconds
2025-12-23 08:41:41 weectl[65919]: INFO weewx.reportengine: Copied 5 files 
to /Users/seancurry2/Library/CloudStorage/Dropbox/Weather

The "cannot find 'sun'" errors seem to be related to weewx not finding the 
almanac module? If I disable the skyfield entry in my weewx.conf, 
everything runs fine.

Any help would be appreciated. I'm a bit of a newby here, so not sure where 
I should be looking.

Sean

-- 
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 visit 
https://groups.google.com/d/msgid/weewx-user/cc328844-a318-4c06-97ab-d23cd6c5cfb8n%40googlegroups.com.

Reply via email to