You want to provide your settings?
> On 15 Oct 23, at 05:27, Karen K <[email protected]> wrote: > > If I try your files at my location, they work. > > The next thing I would check is the CairoSVG installation. > > Lorin Tremblay schrieb am Freitag, 13. Oktober 2023 um 21:44:13 UTC+2: >> NO the email software changed it >> >> pi@Weewx-APRS3695:~ $ ls -la /var/www/html/weewx/webcam/ >> total 544 >> drwxrwxrwx 2 root root 4096 Oct 13 15:40 . >> drwxr-xr-x 15 root root 4096 Oct 13 15:40 .. >> -rw-r--r-- 1 pi pi 500914 Oct 13 15:40 snap.jpg >> -rw-r--r-- 1 root root 34386 Oct 13 15:40 snap.png >> -rw-r--r-- 1 root root 694 Oct 13 15:40 snap.svg >> -rwxrwxrwx 1 root root 482 Oct 13 15:40 '#Webcam_FTP.last' >> pi@Weewx-APRS3695:~ $ >> >> >> >> >>> On 13 Oct 23, at 14:43, Lorin Tremblay <[email protected] <>> wrote: >>> >> >>> 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.svg2png: Created 1 PNG >>> file in 1.60 seconds >>> Oct 13 14:20:43 Weewx-APRS3695 weewx[3256] INFO user.svg2png: Created 1 PNG >>> file in 1.52 seconds >>> Oct 13 14:25:31 Weewx-APRS3695 weewx[3256] INFO user.svg2png: Created 1 PNG >>> file in 1.54 seconds >>> Oct 13 14:25:38 Weewx-APRS3695 weewx[3256] INFO user.svg2png: Created 1 PNG >>> file in 1.51 seconds >>> Oct 13 14:30:37 Weewx-APRS3695 weewx[3256] INFO user.svg2png: Created 1 PNG >>> file in 1.52 seconds >>> Oct 13 14:30:45 Weewx-APRS3695 weewx[3256] INFO user.svg2png: 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. >>> >> >>> <snap.svg> >>> <snap.png> >>> <snap.jpeg> >> >>> >>> >>>> On 13 Oct 23, at 14:17, Lorin Tremblay <[email protected] <>> wrote: >>>> >>>> I have tried that and it didn't work, but will try it again and kept you >>>> posted! >>>> >>>> >>>>> On 13 Oct 23, at 10:47, Karen K <[email protected] <>> wrote: >>>>> >>>>> The result is as I expected. If you reference a file that does not exist, >>>>> it cannot work. >>>>> >>>>> Try href="/var/www/html/weewx/webcam/snap.jpg" in your template. >>>>> >>>>> Lorin Tremblay schrieb am Freitag, 13. Oktober 2023 um 16:44:34 UTC+2: >>>>>> Hi! >>>>>> >>>>>> The path of where the pictures is: >>>>>> /var/www/html/weewx/webcam/snap.jpg >>>>>> >>>>>> >>>>>> pi@Weewx-APRS3695:/ $ ls -l /webcam >>>>>> ls: cannot access '/webcam': No such file or directory >>>>>> pi@Weewx-APRS3695:/ $ >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> On 12 Oct 23, at 13:30, Karen K <[email protected] <>> wrote: >>>>>>> >>>>>> >>>>>>> Please, enter ls -l /webcam , not just ls -l >>>>>>> >>>>>>> Lorin Tremblay schrieb am Donnerstag, 12. Oktober 2023 um 19:06:17 >>>>>>> UTC+2: >>>>>>>>> What says ls -l /webcam ? >>>>>>>> >>>>>>>> pi@Weewx-APRS3695:/ $ ls -l >>>>>>>> total 68 >>>>>>>> lrwxrwxrwx 1 root root 7 May 2 20:04 bin -> usr/bin >>>>>>>> drwxr-xr-x 4 root root 4096 Dec 31 1969 boot >>>>>>>> drwxr-xr-x 16 root root 3840 Oct 7 21:27 dev >>>>>>>> drwxr-xr-x 124 root root 12288 Sep 27 19:53 etc >>>>>>>> drwxr-xr-x 3 root root 4096 May 2 20:37 home >>>>>>>> lrwxrwxrwx 1 root root 7 May 2 20:04 lib -> usr/lib >>>>>>>> drwx------ 2 root root 16384 May 2 20:34 lost+found >>>>>>>> drwxr-xr-x 2 root root 4096 May 2 20:04 media >>>>>>>> drwxr-xr-x 2 root root 4096 May 2 20:04 mnt >>>>>>>> drwxr-xr-x 4 root root 4096 May 2 20:14 opt >>>>>>>> dr-xr-xr-x 235 root root 0 Dec 31 1969 proc >>>>>>>> drwx------ 5 root root 4096 Sep 5 22:13 root >>>>>>>> drwxr-xr-x 29 root root 880 Oct 12 12:58 run >>>>>>>> lrwxrwxrwx 1 root root 8 May 2 20:04 sbin -> usr/sbin >>>>>>>> drwxr-xr-x 2 root root 4096 May 2 20:04 srv >>>>>>>> dr-xr-xr-x 12 root root 0 Dec 31 1969 sys >>>>>>>> drwxrwxrwt 18 root root 4096 Oct 12 12:59 tmp >>>>>>>> drwxr-xr-x 11 root root 4096 May 2 20:04 usr >>>>>>>> drwxr-xr-x 12 root root 4096 Sep 5 22:25 var >>>>>>>> pi@Weewx-APRS3695:/ $ >>>>>>>> >>>>>>>> >>>>>>>>> you have log_failure = True ? >>>>>>>> >>>>>>>> Yes always >>>>>>>> >>>>>>>>> set debug = 1 in weewx.conf, restart WeeWX and look at the log again. >>>>>>>>> There should be a message containing the file names and paths of the >>>>>>>>> files read and created >>>>>>>> >>>>>>>> Now just did and here are the results >>>>>>>> >>>>>>>> Oct 12 13:02:35 Weewx-APRS3695 wee_reports[29176] DEBUG user.svg2png: >>>>>>>> /var/www/html/weewx/webcam/snap.svg --> >>>>>>>> /var/www/html/weewx/webcam/snap.png >>>>>>>> Oct 12 13:02:35 Weewx-APRS3695 wee_reports[29176] INFO user.svg2png: >>>>>>>> Created 1 PNG file in 1.60 seconds >>>>>>>> Oct 12 13:02:43 Weewx-APRS3695 wee_reports[29176] DEBUG user.svg2png: >>>>>>>> /var/www/html/weewx/webcam/snap.svg --> >>>>>>>> /var/www/html/weewx/webcam/snap.png >>>>>>>> Oct 12 13:02:43 Weewx-APRS3695 wee_reports[29176] INFO user.svg2png: >>>>>>>> Created 1 PNG file in 1.52 seconds >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Yes that picture is in use already for my Web pages. >>>>>>>> >>>>>>>> http:///www.gestionlgt.com/Maison/ <http://www.gestionlgt.com/Maison/> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> On 12 Oct 23, at 12:21, Karen K <[email protected] <>> wrote: >>>>>>>>> >>>>>>>> >>>>>>>>> Actually I do not see the glue in that. >>>>>>>>> What says ls -l /webcam ? >>>>>>>>> you have log_failure = True ? >>>>>>>>> set debug = 1 in weewx.conf, restart WeeWX and look at the log again. >>>>>>>>> There should be a message containing the file names and paths of the >>>>>>>>> files read and created. >>>>>>>>> I assume that you looked at snap.jpg and checked that it is a valid >>>>>>>>> picture. >>>>>>>>> >>>>>>>> >>>>>>>>> -- >>>>>>>>> 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/5107f476-1c67-4708-8378-4277d217b94bn%40googlegroups.com >>>>>>>>> >>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/5107f476-1c67-4708-8378-4277d217b94bn%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 [email protected] <>. >>>>>> >>>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/msgid/weewx-user/38fe7f85-050d-4f8c-afe1-ff8c591431a2n%40googlegroups.com >>>>>>> >>>>>>> <https://groups.google.com/d/msgid/weewx-user/38fe7f85-050d-4f8c-afe1-ff8c591431a2n%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 [email protected] <>. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/weewx-user/c055358f-1efb-4a35-8e54-ae674a0497b8n%40googlegroups.com >>>>> >>>>> <https://groups.google.com/d/msgid/weewx-user/c055358f-1efb-4a35-8e54-ae674a0497b8n%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 [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/4eeadb23-976e-4b11-8933-742141600768n%40googlegroups.com > > <https://groups.google.com/d/msgid/weewx-user/4eeadb23-976e-4b11-8933-742141600768n%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/AB2C18E2-00FB-4249-9B45-83E6441599F7%40gmail.com.
