According to what you posted, the file is called snap.jpeg (including 
character e) and not snap.jpg (without character e). 

Lorin Tremblay schrieb am Freitag, 13. Oktober 2023 um 20:43:42 UTC+2:

> Nothing as changed in my case, still not getting the image, only the 
> text….. 
>
>
> Oct 13 14:20:36 Weewx-APRS3695 weewx[3256] INFO *user.s*vg2png: Created 1 
> PNG file in 1.60 seconds
>
> Oct 13 14:20:43 Weewx-APRS3695 weewx[3256] INFO *user.s*vg2png: Created 1 
> PNG file in 1.52 seconds
>
> Oct 13 14:25:31 Weewx-APRS3695 weewx[3256] INFO *user.s*vg2png: Created 1 
> PNG file in 1.54 seconds
>
> Oct 13 14:25:38 Weewx-APRS3695 weewx[3256] INFO *user.s*vg2png: Created 1 
> PNG file in 1.51 seconds
>
> Oct 13 14:30:37 Weewx-APRS3695 weewx[3256] INFO *user.s*vg2png: Created 1 
> PNG file in 1.52 seconds
>
> Oct 13 14:30:45 Weewx-APRS3695 weewx[3256] INFO *user.s*vg2png: Created 1 
> PNG file in 1.55 seconds
>
>
> Once again here are my conf….
>
>
> Content and location /etc/weewx/skins/Belchertown/webcam/snap.svg.tmpl
>
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>
> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "
> http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>
>
> <svg xmlns="http://www.w3.org/2000/svg"; version="1.1" width="2688" height=
> "1512" viewBox="0 0 2688 1512">
>
>   <style>
>
>     text {
>
>         font-family: Roboto, sans-serif;
>
>         font-weight: 300;
>
>         line-height: 1.625;
>
>         margin: 0;
>
>         font-size: 48px;
>
>         fill: white;
>
>     }
>
>   </style>
>
>   ## webcam image
>
>   <image x="0" y="0" width="2688" height="1512" href=
> "/var/www/weewx/webcam/snap.jpg" />
>
>   ## readings
>
>   <text x="400" y="570" text-anchor="left">Temp:$current.outTemp - 
> Dir:$current.windDir.ordinal_compass - Speed:$current.windSpeed - 
> Bar:$current.barometer - Total Rain:$day.rain.sum - $current.pm2_5_aqi
> </text>
>
> </svg>
>
> Content and location of my Belchertwon skin.conf
>
>     [[ToDate]]
>
>         # Reports that show statistics "to date", such as day-to-date,
>
>         # week-to-date, month-to-date, etc.
>
>         [[[weewx_data]]]
>
>             template = json/weewx_data.json.tmpl
>
>
>         [[[Belchertown]]]
>
>             template = js/belchertown.js.tmpl
>
>
>         [[[home]]]
>
>             template = index.html.tmpl
>
>
>         [[[about]]]
>
>             template = about/index.html.tmpl
>
>
>         [[[graphs]]]
>
>             template = graphs/index.html.tmpl
>
>
>         [[[records]]]
>
>             template = records/index.html.tmpl
>
>
>         [[[reports]]]
>
>             template = reports/index.html.tmpl
>
>
>         [[[pi]]]
>
>             template = pi/index.html.tmpl
>
>
>         [[[kiosk]]]
>
>             template = kiosk.html.tmpl
>
>
>         [[[manifest]]]
>
>             encoding = utf8
>
>             template = manifest.json.tmpl
>
>
>        [[[file1]]]
>
>             template = webcam/snap.svg.tmpl
>
>
>
>
> ###############################################################################
>
>
> *[CopyGenerator]*
>
>
>     # This section is used by the generator CopyGenerator
>
>
>     # List of files to be copied only the first time the generator runs
>
>     copy_once = favicon.ico, images/*, json/index.html, js/index.html, 
> js/responsive-menu.js, robots.txt
>
>
>     # List of files to be copied each time the generator runs
>
>     copy_always = *.css
>
>
>
> ###############################################################################
>
>
> #
>
> # The list of generators that are to be run:
>
> #
>
> *[Generators]*
>
>     generator_list = weewx.cheetahgenerator.CheetahGenerator, 
> weewx.reportengine.CopyGenerator, user.belchertown.HighchartsJsonGenerator, 
> user.svg2png.SVGtoPNGGenerator
>
>
> *[SVGtoPNGGenerator]*
>
>     [[file1]]
>
>         # file name without extension (optional)
>
>         file = /var/www/html/weewx/webcam/snap
>
>         # image width in pixels (optional)
>
>         #width = replace_me
>
>         # image height in pixels (optional)
>
>         #height = replace_me
>
> Location of my webcam Image
>
> /var/www/html/weewx/webcam/
>
> And also included the jpg and png.
>
>

-- 
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/9f0de7e1-060b-41be-be7e-819f187aadc0n%40googlegroups.com.

Reply via email to