Your log snippet shows an error in  weewx-realtime_gauge-data, probably because 
it’s an old version that doesn’t work with Python3.  What version of  
weewx-realtime_gauge-data have you installed?

Also, since you are want to get the forecast extension working, what version 
are you using of that?

And what python version are you running?

Lastly, it would be good if you included the log as it would answer these 
questions.  See: https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user

> On May 27, 2022, at 7:46 AM, [email protected] <[email protected]> 
> wrote:
> 
> 
> I have migrated weewx to another server, but have a problem.
> First I copied old files to new server and try to start it and didn't worked.
> Than i Have new installation of weex and after that I have installed driver 
> observer when I start weewx it was ok. But after that I have installed 
> forecast.zip and try to start weewx and all stopped.
> I use before version 4.8 and don't know if I migrate do I need to install 
> wewx first and than install observer driver and forecast.
> after that copy old weewx.conf into /etc/weewx
> and restore mysql database and it should work, but doesn't.
> when I start weewx I get this error.
> May 27 16:23:58 web journal[6058]: weewx[6058] INFO weewx.restx: 
> StationRegistry: Registration not requested.
> May 27 16:23:58 web journal[6058]: weewx[6058] INFO weewx.restx: PWSweather: 
> Posting not enabled.
> May 27 16:23:58 web journal[6058]: weewx[6058] INFO weewx.restx: CWOP: 
> Posting not enabled.
> May 27 16:23:58 web journal[6058]: weewx[6058] INFO weewx.restx: WOW: Posting 
> not enabled.
> May 27 16:23:58 web journal[6058]: weewx[6058] INFO weewx.restx: AWEKAS: 
> Posting not enabled.
> May 27 16:23:58 web journal[6058]: weewx[6058] INFO weewx.engine: 'pyephem' 
> detected, extended almanac data is available
> May 27 16:23:58 web journal[6058]: weewx[6058] INFO user.interceptor: 
> shutting down server thread
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__: Caught 
> unrecoverable exception:
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__:     ****  
> invalid syntax (rtgd.py, line 1234)
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__:     ****  
> Traceback (most recent call last):
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__:     ****    
> File "/usr/share/weewx/weewxd", line 147, in main
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__:     ****    
>   engine = weewx.engine.StdEngine(config_dict)
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__:     ****    
> File "/usr/share/weewx/weewx/engine.py", line 93, in __init__
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__:     ****    
>   self.loadServices(config_dict)
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__:     ****    
> File "/usr/share/weewx/weewx/engine.py", line 161, in loadServices
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__:     ****    
>   obj = weeutil.weeutil.get_object(svc)(self, config_dict)
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__:     ****    
> File "/usr/share/weewx/weeutil/weeutil.py", line 1150, in get_object
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__:     ****    
>   mod = __import__(module)
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__:     ****    
> File "/usr/share/weewx/user/rtgd.py", line 1234
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__:     ****    
>   except Exception, e:
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__:     ****    
>                   ^
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__:     ****  
> SyntaxError: invalid syntax
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__:     ****  
> Exiting.
> -- 
> 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/57148ec2-5516-40e6-b02f-896df88d13e9n%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/2C1F3C01-96DF-4ECC-9042-CE56FBF4BFEB%40johnkline.com.

Reply via email to