Yes, that will be fine. [[Bootstrap]] is only created when you install the bootstrap skin.
Gary On Monday 18 March 2024 at 06:37:52 UTC+10 Thomas Hackler wrote: > I have a copy of my old /etc/weewx/bin/user. there is a > historygenerator.py file > but there is no [[Bootstrap]] in my new or in my old weewx.conf file > > so maybe it is enough to copy the file historygenerator.py from my old > system to /etc/weewx/bin/user or should I install the bootstrap skin? > > So I guess I should install the neowx skin again too ? > > gjr80 schrieb am Sonntag, 17. März 2024 um 21:26:05 UTC+1: > >> Agree the problem is a missing user.historygenerator search list >> extension which (from memory) is provided by the bootstrap skin, but >> user.historygenerator is being called by the Seasons skin. So I suspect >> you have modified your Season skin in the past and added >> user.historygenerator to the Seasons skin config file, >> skins/Seasons/skin.conf. This would explain why you missed it when >> checking your backup weewx.conf. >> >> The solution is to obtain the historygenerator.py from the bootstrap skin >> and add it to your system. You could simply extract this file from the >> bootstrap skin and save it to you system, but the easiest way will be as >> Vince said - just install the bootstrap skin. I would go one step further >> and disable the bootstrap skin (set enable = False under [StdReport] >> [[Bootstrap]] in weewx.conf). This will have no impact on the >> availability of user.historygenerator, but will prevent the Bootstrap >> skin from generating its content/output. >> >> Gary >> On Monday 18 March 2024 at 05:43:50 UTC+10 vince wrote: >> >>> Not quite. >>> >>> You need to install all added user extensions and skins. In your case it >>> looks like you had the bootstrap skin on your old system which has a file >>> bin/user/historygenerator.py that you are missing on the new system. Either >>> remove the reference to historygenerator in your weewx.conf or install the >>> bootstrap skin to add the missing file. >>> >>> >>> On Sunday, March 17, 2024 at 12:23:43 PM UTC-7 Thomas Hackler wrote: >>> >>>> sorry I don't understand, I followed this guide >>>> >>>> https://weewx.com/docs/5.0/usersguide/backup/ >>>> >>>> I compared the weewx.conf file from the fresh installation with my old >>>> one and added all the missing things >>>> so I guess everything should work after that? >>>> The neowx skin works normal at the moment, so I will check the warnings >>>> later >>>> >>>> >>>> vince schrieb am Sonntag, 17. März 2024 um 18:33:09 UTC+1: >>>> >>>>> ModuleNotFoundError: No module named 'user.historygenerator' >>>>> You need to install all skins and extensions referenced in your .conf >>>>> files.... >>>>> >>>>> You also have a variety of warnings from neowx: >>>>> _etc_weewx_skins_neowx_material_month__Y__m_html_tmpl.py:406: >>>>> SyntaxWarning: "is not" with a literal. Did you mean "!="? >>>>> >>>>> I 'think' this is related to newer versions of python being more >>>>> strict. I recall trying neowx once and simply editing all the places >>>>> that >>>>> weewx logged those warnings and they went away. >>>>> >>>>> On Sunday, March 17, 2024 at 8:12:09 AM UTC-7 Thomas Hackler wrote: >>>>> >>>>>> Hello, >>>>>> my raspberry pi crashed and I started with a new system. Fortunately >>>>>> I have copies from my database and the skins. >>>>>> I started installing weewx and the gw1000 driver, then I copied the >>>>>> skin folder and the database. >>>>>> I had some issues with permissions with the database but this works >>>>>> now. >>>>>> I use two skins. The neowx skin works fine but I get errors for the >>>>>> season skin and no site is made and I don't understand why. >>>>>> >>>>>> Mar 17 15:45:28 raspberrypi weewxd[114945]: ERROR weewx.reportengine: >>>>>> Caught unrecoverable exception in generator >>>>>> 'weewx.cheetahgenerator.CheetahGenerator' >>>>>> >>>>>> Full log file attached. >>>>>> Thank you for helping! >>>>>> Thomas Hackler >>>>>> >>>>>> >>>>>> -- 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/319cad41-5ebb-427b-9d8d-b6d8aca7a130n%40googlegroups.com.
