Hallo Garry, Sorry for late reaction, but i was one week to Italy. Problems solved. basic and xstats are running now and show in html. sudo did the trick. i have still some strange /var//log/messages:
Oct 15 17:15:18 Rpb4 weewx[1672]: manager: Added record 2019-10-15 17:15:00 CEST (1571152500) to daily summary in 'weewx.sdb' Oct 15 17:15:19 Rpb4 weewx[1672]: restx: PWSWeather: Published record 2019-10-15 17:15:00 CEST (1571152500) Oct 15 17:15:19 Rpb4 weewx[1672]: cheetahgenerator: Generated 8 files for report SeasonsReport in 0.77 seconds Oct 15 17:15:19 Rpb4 weewx[1672]: restx: AWEKAS: Published record 2019-10-15 17:15:00 CEST (1571152500) Oct 15 17:15:20 Rpb4 weewx[1672]: imagegenerator: Generated 14 images for SeasonsReport in 0.53 seconds Oct 15 17:15:20 Rpb4 weewx[1672]: copygenerator: copied 0 files to /var/www/html/weewx Oct 15 17:15:20 Rpb4 weewx[1672]: **** Traceback (most recent call last): Oct 15 17:15:20 Rpb4 weewx[1672]: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate Oct 15 17:15:20 Rpb4 weewx[1672]: **** fd.write(str(compiled_template)) Oct 15 17:15:20 Rpb4 weewx[1672]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1045, in __str__ Oct 15 17:15:20 Rpb4 weewx[1672]: **** rc = getattr(self, mainMethName)() Oct 15 17:15:20 Rpb4 weewx[1672]: **** File "_etc_weewx_skins_basic_index_html_tmpl.py", line 165, in respond Oct 15 17:15:20 Rpb4 weewx[1672]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1685, in _handleCheetahInclude Oct 15 17:15:20 Rpb4 weewx[1672]: **** file=file) Oct 15 17:15:20 Rpb4 weewx[1672]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 738, in compile Oct 15 17:15:20 Rpb4 weewx[1672]: **** fileHash += str(os.path.getmtime(file)) Oct 15 17:15:20 Rpb4 weewx[1672]: **** File "/usr/lib/python2.7/genericpath.py", line 62, in getmtime Oct 15 17:15:20 Rpb4 weewx[1672]: **** return os.stat(filename).st_mtime Oct 15 17:15:20 Rpb4 weewx[1672]: **** OSError: [Errno 2] Bestand of map bestaat niet: '/etc/weewx/skins/basic/INST_SKIN_ROOT/basic/current.inc' Oct 15 17:15:20 Rpb4 weewx[1672]: cheetahgenerator: Generated 0 files for report basic in 0.06 seconds Oct 15 17:15:20 Rpb4 weewx[1672]: imagegenerator: Generated 10 images for basic in 0.40 seconds Oct 15 17:15:20 Rpb4 weewx[1672]: copygenerator: copied 0 files to /var/www/html/weewx/basic Oct 15 17:15:20 Rpb4 weewx[1672]: cheetahgenerator: Generated 6 files for report SmartphoneReport in 0.05 seconds Oct 15 17:15:20 Rpb4 weewx[1672]: imagegenerator: Generated 6 images for SmartphoneReport in 0.27 seconds Oct 15 17:15:20 Rpb4 weewx[1672]: copygenerator: copied 0 files to /var/www/html/weewx/smartphone Oct 15 17:15:20 Rpb4 weewx[1672]: cheetahgenerator: Generated 1 files for report MobileReport in 0.02 seconds Oct 15 17:15:21 Rpb4 weewx[1672]: imagegenerator: Generated 4 images for MobileReport in 0.15 seconds Oct 15 17:15:21 Rpb4 weewx[1672]: copygenerator: copied 0 files to /var/www/html/weewx/mobile Oct 15 17:15:22 Rpb4 weewx[1672]: rsyncupload: rsync executed in 1.23 seconds Oct 15 17:15:39 Rpb4 kernel: [ 694.346111] usb 1-1.1: usbfs: process 1672 (python) did not claim interface 0 before use Oct 15 17:15:42 Rpb4 kernel: [ 697.350116] usb 1-1.1: usbfs: process 1672 (python) did not claim interface 0 before use Oct 15 17:16:13 Rpb4 kernel: [ 728.958770] usb 1-1.1: usbfs: process 1672 (python) did not claim interface 0 before use Oct 15 17:16:16 Rpb4 kernel: [ 731.962514] usb 1-1.1: usbfs: process 1672 (python) did not claim interface 0 before use Oct 15 17:16:47 Rpb4 kernel: [ 762.834099] usb 1-1.1: usbfs: process 1672 (python) did not claim interface 0 before use Oct 15 17:16:50 Rpb4 kernel: [ 765.837852] usb 1-1.1: usbfs: process 1672 (python) did not claim interface 0 before use Oct 15 17:16:53 Rpb4 kernel: [ 768.839277] usb 1-1.1: usbfs: process 1672 (python) did not claim interface 0 before use Oct 15 17:17:25 Rpb4 kernel: [ 800.342602] usb 1-1.1: usbfs: process 1672 (python) did not claim interface 0 before use Oct 15 17:17:28 Rpb4 kernel: [ 803.346337] usb 1-1.1: usbfs: process 1672 (python) did not claim interface 0 before use Oct 15 17:17:59 Rpb4 kernel: [ 834.342858] usb 1-1.1: usbfs: process 1672 (python) did not claim interface 0 before use Oct 15 17:18:02 Rpb4 kernel: [ 837.344433] usb 1-1.1: usbfs: process 1672 (python) did not claim interface 0 before use Oct 15 17:18:05 Rpb4 kernel: [ 840.348268] usb 1-1.1: usbfs: process 1672 (python) did not claim interface 0 before use Oct 15 17:18:36 Rpb4 kernel: [ 871.835777] usb 1-1.1: usbfs: process 1672 (python) did not claim interface 0 before use Oct 15 17:18:39 Rpb4 kernel: [ 874.839909] usb 1-1.1: usbfs: process 1672 (python) did not claim interface 0 before use I want to have temp4 in graph how do i update that this shoes in index.html with shorter context like temp1-temp2-temp3-temp4 made extra temp4 in weewx.conf Regards Harry de PE1IAA Op woensdag 2 oktober 2019 03:24:02 UTC+2 schreef gjr80: > > Hi, > > Comments below: > > Gary > > On Wednesday, 2 October 2019 03:50:12 UTC+10, Harry Nieuwdorp wrote: >> >> 1- Command not found. Made directories myself. >> home/pi/Weewx/Examples and home//pi/Weewx/Skins >> > > The ls command was not found? Odd. Could you please post screen (text) > captures showing the exact command entered and the exact response. Makes it > much easier for us to diagnose and give you help so we don't waste both > your time and ours. > > >> 2- Command Nano works but is difficult to handle. I prefer Text editor. >> > > You can use whatever editor you are comfortable with (as long as it is a > text editor). The main point here was to run your editor with elevated > privileges rather than as (the unprivileged) user pi. > > >> Weewx is running with weewxd weewx1.conf (weewx1.conf in /home/pi/ >> directory.) >> Running on Raspberry 4 with 4 gb >> installed with .rpm >> Installations using .deb or .rpm >> >> Now consider the case where weewx was installed from a .deb or .rpm >> package. In this case, the following are equivalent: >> >> /usr/share/weewx/weewxd /etc/weewx/weewx.conf >> cd /usr/share/weewx >> >> ./weewxd /etc/weewx/weewx.conf >> >> weewxd /etc/weewx/weewx.conf >> >> > I am not sure from this whether WeeWX is running as you want (with the > extension installed from your first post). If it is that is good, but just > a word or warning. WeeWX will run quite happily with a config file named > something other than weewx.conf and located somewhere other than > /home/weewx or /etc/weewx, but if you don't keep your wits about you can > easily end up with multiple config files and you may edit or use the wrong > one and wonder why changes don't work. > > -- 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/8945ec8d-c525-4393-a336-160182a9db87%40googlegroups.com.