Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when weewx-wdc skin is enabled #1

Closed
andrewpmoore opened this issue Jun 1, 2022 · 2 comments
Closed

Error when weewx-wdc skin is enabled #1

andrewpmoore opened this issue Jun 1, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@andrewpmoore
Copy link

Thanks for creating this docker, it was exactly what I was looking for. I managed to get it all working apart from the public_html reports. After a bit of experimenting I noticed that if I disable weewx_wdc skin in the weewx.conf I got the reports.

Running wee_reports with the weewx_wdc skin enabled I get the following error:

Traceback (most recent call last):
  File "/home/weewx/bin/weewx/reportengine.py", line 197, in run
    obj.start()
  File "/home/weewx/bin/weewx/reportengine.py", line 385, in start
    self.run()
  File "/home/weewx/bin/weewx/cheetahgenerator.py", line 166, in run
    self.init_extensions(gen_dict[section_name])
  File "/home/weewx/bin/weewx/cheetahgenerator.py", line 197, in init_extensions
    klass = weeutil.weeutil.get_object(x)
  File "/home/weewx/bin/weeutil/weeutil.py", line 1150, in get_object
    mod = __import__(module)
ModuleNotFoundError: No module named 'user.forecast_util'

I'd love to get your skin working as it's by far the best looking one I've seen. Any ideas what the cause may be?

@Daveiano Daveiano added the bug Something isn't working label Jun 1, 2022
@Daveiano
Copy link
Owner

Daveiano commented Jun 1, 2022

There was a Bug in weewx-wdc, which is resolved in version 1.2.2.

Please set ARG WDC_VERSION="v1.2.2", or pull this repository and build again, I bumped weewx-wdc to 1.2.2, this should resolve the issue.

And thank you very much for the compliment :)

Daveiano added a commit that referenced this issue Jun 1, 2022
@andrewpmoore
Copy link
Author

Thanks for the prompt reply, I uninstalled the wdc extension and manually installed it from you github repo and it's now working perfectly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants