Problem with Rsync and graphs

26 views
Skip to first unread message

Juan Antonio Mosquera

unread,
Dec 8, 2016, 3:02:53 PM12/8/16
to weewx-user


I am now using rsync to upload the files to a remote server. It seems to upload the data correctly but I have this error in creating the graphics, any ideas ?.
It does not generate the same graphics as it generated with FTP.
Thank you.


Dec  8 20:58:14 raspberrypi weewx[26137]:         ****  Traceback (most recent call last):
Dec  8 20:58:14 raspberrypi weewx[26137]:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 238, in run
Dec  8 20:58:14 raspberrypi weewx[26137]:         ****      obj.start()
Dec  8 20:58:14 raspberrypi weewx[26137]:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 271, in start
Dec  8 20:58:14 raspberrypi weewx[26137]:         ****      self.run()
Dec  8 20:58:14 raspberrypi weewx[26137]:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 150, in run
Dec  8 20:58:14 raspberrypi weewx[26137]:         ****      ngen = self.generate(gen_dict[section_name], self.gen_ts)
Dec  8 20:58:14 raspberrypi weewx[26137]:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 219, in generate
Dec  8 20:58:14 raspberrypi weewx[26137]:         ****      ngen += self.generate(section[subsection], gen_ts)
Dec  8 20:58:14 raspberrypi weewx[26137]:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 219, in generate
Dec  8 20:58:14 raspberrypi weewx[26137]:         ****      ngen += self.generate(section[subsection], gen_ts)
Dec  8 20:58:14 raspberrypi weewx[26137]:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 234, in generate
Dec  8 20:58:14 raspberrypi weewx[26137]:         ****      self.skin_dict['skin']))
Dec  8 20:58:14 raspberrypi weewx[26137]:         ****    File "/usr/lib/python2.7/dist-packages/configobj.py", line 554, in __getitem__
Dec  8 20:58:14 raspberrypi weewx[26137]:         ****      val = dict.__getitem__(self, key)
Dec  8 20:58:14 raspberrypi weewx[26137]:         ****  KeyError: 'skin'
Dec  8 20:58:14 raspberrypi weewx[26137]:         ****  Generator terminated
Dec  8 20:58:18 raspberrypi weewx[26137]: genimages: Generated 12 images for FTP in 4.26 seconds
Dec  8 20:58:18 raspberrypi weewx[26137]: reportengine: Caught unrecoverable exception in generator weewx.reportengine.CopyGenerator
Dec  8 20:58:18 raspberrypi weewx[26137]:         ****  'skin'
Dec  8 20:58:18 raspberrypi weewx[26137]:         ****  Traceback (most recent call last):
Dec  8 20:58:18 raspberrypi weewx[26137]:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 238, in run
Dec  8 20:58:18 raspberrypi weewx[26137]:         ****      obj.start()
Dec  8 20:58:18 raspberrypi weewx[26137]:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 271, in start
Dec  8 20:58:18 raspberrypi weewx[26137]:         ****      self.run()
Dec  8 20:58:18 raspberrypi weewx[26137]:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 415, in run
Dec  8 20:58:18 raspberrypi weewx[26137]:         ****      self.skin_dict['skin']))
Dec  8 20:58:18 raspberrypi weewx[26137]:         ****    File "/usr/lib/python2.7/dist-packages/configobj.py", line 554, in __getitem__
Dec  8 20:58:18 raspberrypi weewx[26137]:         ****      val = dict.__getitem__(self, key)
Dec  8 20:58:18 raspberrypi weewx[26137]:         ****  KeyError: 'skin'
Dec  8 20:58:18 raspberrypi weewx[26137]:         ****  Generator terminated
Dec  8 20:58:28 raspberrypi weewx[26137]: rsyncupload: rsync'd 43 files (313,081 bytes) in 9.52 seconds

gjr80

unread,
Dec 8, 2016, 3:13:53 PM12/8/16
to weewx-user
Hi,

You likely have a missing skin= setting for a report under [StdReport] in weewx.conf - have a look at all of your [[]] stanzas. If you can't find the error either puot a wee_debug output or post a copy of your weewx.conf with any sensitive info removed.

Gary

Juan Antonio Mosquera

unread,
Dec 8, 2016, 4:27:46 PM12/8/16
to weewx...@googlegroups.com
yes, weewx.conf thanks

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/MCkp4j-mxGU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

gjr80

unread,
Dec 8, 2016, 4:33:34 PM12/8/16
to weewx-user
So it's fixed?


On Friday, 9 December 2016 07:27:46 UTC+10, Juan Antonio Mosquera wrote:
yes, weewx.conf thanks

El 8/12/2016 9:13 p. m., "gjr80" <gjrod...@gmail.com> escribió:
Hi,

You likely have a missing skin= setting for a report under [StdReport] in weewx.conf - have a look at all of your [[]] stanzas. If you can't find the error either puot a wee_debug output or post a copy of your weewx.conf with any sensitive info removed.

Gary

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/MCkp4j-mxGU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.

Juan Antonio Mosquera

unread,
Dec 8, 2016, 4:45:17 PM12/8/16
to weewx-user
Yes, 
I had commented on the skin = Ftp line and not the connection data. I uncommented that line and commented on the connection data. Now the upload is done only by rsync.
Thank you.
Reply all
Reply to author
Forward
0 new messages