Hallo Chuck Rhode,

I copied the file "growing_degrees.py" from the message   

in to weewx / bin / user 

and restarted weewx

the result
Mar  9 19:25:59 hesba weewx[14366] INFO weewx.engine: StdConvert target 
unit is 0x10
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__: Caught unrecoverable 
exception:
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:     ****  invalid 
syntax (growing_degrees.py, line 294)
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:     ****  Traceback 
(most recent call last):
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:     ****    File 
"/home/weewx/bin/weewxd", line 151, in main
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:     ****      engine 
= weewx.engine.StdEngine(config_dict)
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:     ****    File 
"/home/weewx/bin/weewx/engine.py", line 93, in __init__
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:     ****      
self.loadServices(config_dict)
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:     ****    File 
"/home/weewx/bin/weewx/engine.py", line 161, in loadServices
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:     ****      obj = 
weeutil.weeutil.get_object(svc)(self, config_dict)
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:     ****    File 
"/home/weewx/bin/weeutil/weeutil.py", line 1093, in get_object
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:     ****      mod = 
__import__(module)
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:     ****    File 
"/home/weewx/bin/user/phenologyservice.py", line 35, in <module>
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:     ****      import 
user.growing_degrees
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:     ****    File 
"/home/weewx/bin/user/growing_degrees.py", line 294
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:     ****      
**dummies,
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:     
****               ^
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:     ****  
SyntaxError: invalid syntax
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:     ****  Exiting.

Thanks
Hartmut
crh...@lacusveris.com schrieb am Dienstag, 9. März 2021 um 19:02:11 UTC+1:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Yes, that all looks good, and I am unable to guess what else could be
> wrong. Maybe there is an unclosed string literal close to the top of
> the module. It must be really late for you today. I'll attach a copy
> of the module to a private message to you for comparison. Please let
> me know if you see any differences. Thanks.
>
> - -- 
> .. Be Seeing You,
> .. Chuck Rhode, Sheboygan, WI, USA
> .. Weather: http://LacusVeris.com/WX
> .. 48° — Wind SE 9 mph
>
> -----BEGIN PGP SIGNATURE-----
>
> iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYEe25gAKCRBg2/xipKOW
> UlG7AJ9IqcrCYwrjh4+E7g7NmdE8TOqk9QCbBJ49ZaVaSTKK8/TeoIbRuYh4IZw=
> =V9Zc
> -----END PGP SIGNATURE-----
>

-- 
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/a2b262e4-cc94-488f-a10e-ecffe57774abn%40googlegroups.com.

Reply via email to