I'm personally getting this error when I try to install it

Request to install '/home/pi/Desktop/weewx-svg2png.zip'
Extracting from zip archive /home/pi/Desktop/weewx-svg2png.zip
Traceback (most recent call last):
  File "/usr/share/weewx/wee_extension", line 92, in <module>
    main()
  File "/usr/share/weewx/wee_extension", line 84, in main
    ext.install_extension(options.install)
  File "/usr/share/weewx/weecfg/extension.py", line 130, in install_extension
    self.install_from_dir(extension_dir)
  File "/usr/share/weewx/weecfg/extension.py", line 150, in install_from_dir
    installer_path, installer = weecfg.get_extension_installer(extension_dir)
  File "/usr/share/weewx/weecfg/__init__.py", line 1904, in 
get_extension_installer
    installer = loader()
  File "/var/tmp/weewx-svg2png-master/install.py", line 8, in loader
  File "/var/tmp/weewx-svg2png-master/install.py", line 12, in __init__
NameError: name 'SNMPInstaller' is not defined

I personally want to add the weather data to snapshot of my webcam…


> On 7 Oct 23, at 02:47, Karen K <kk4468...@gmail.com> wrote:
> 
> I added another example. It shows how to put WeeWX weather data onto a webcam 
> picture.
> 
> Webcam picture with WeeWX weather readings 
> <https://github.com/roe-dl/weewx-svg2png/tree/master/examples/webcam-with-weather-data>
> 
> Stefan Gliessmann schrieb am Donnerstag, 5. Oktober 2023 um 14:21:44 UTC+2:
>> Awesome!
>> 
>> I will give it a shoot later and let you know :)
>> 
>> Thanks in advance for your contributions!!!!
>> 
>> On Tuesday, October 3, 2023 at 4:15:11 PM UTC+2 Karen K wrote:
>>> If there is a link in a social media post, sites like Twitter (X), Mastodon 
>>> and others show a preview image or thumbnail of the linked page. For a long 
>>> time I wondered how to define that image. Then I found out they look for 
>>> special "meta" statements within the page header. I included such 
>>> statements in my weather website, and indeed, the respective images were 
>>> displayed.
>>> 
>>> I used a screenshot for that purpose. But the screenshot said 3,8°C, and 
>>> it's summer time and temperatures are much higher. And I wondered how to 
>>> get actual data into that screenshot. So I thought I could create an SVG 
>>> file using the CheetahGenerator functionality of WeeWX, and convert it to 
>>> PNG afterwards. I found the CairoSVG package to do the converting job. 
>>> 
>>> But how to do the conversion after WeeWX created the SVG file, but before 
>>> WeeWX sends the data to the web server?
>>> 
>>> The answer is to write a generator for use in skins. And that's it: 
>>> weewx-svg2png <https://github.com/roe-dl/weewx-svg2png>
>>> 
>>> Now I look what is happening, and meanwhile I publish the generator here.
> 
> 
> -- 
> 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 
> <mailto:weewx-user+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/a4dfa6cd-44ca-4803-8f16-b0dcfd4f645dn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/weewx-user/a4dfa6cd-44ca-4803-8f16-b0dcfd4f645dn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/BF054AC0-A94E-4E46-B1C6-9AD89F708791%40gmail.com.

Reply via email to