Author Topic: pywws on rpi 'name or service not known'  (Read 5969 times)

Offline Sc00by

  • New member
  • *
  • Posts: 2
    • g
pywws on rpi 'name or service not known'
« on: April 18, 2013, 05:59:40 AM »
I'm trying to set up the weather nature template however I keep receiving the following when running the LiveLog script:

2013-04-18 11:51:36:pywws.Upload:[Errno -2] Name or service not known

I also had IOError: [Errno 2] No such file or directory: '/home/pi/weather/text/forecast_icon.txt' which did not exist but fixed this by changing it to include 9am in the filename.

My weather.ini:

[config]
ws type = 1080
logdata sync = 1
day end hour = 9
rain day threshold = 0.2
gnuplot encoding = iso_8859_1

[fixed]
station clock = 1366273877.39
sensor clock = 1366273835.65
pressure offset = 28.4
fixed block = ........

[paths]
work = /tmp/weather
templates = /home/pi/weather/text/
graph_templates = /home/pi/weather/plot/

[daily]
last update =
plot = ['7days.png.xml', '2012.png.xml', '28days.png.xml', 'rose_7days_nights.png.xml']
text = ['feed_daily.xml', 'forecast_week.txt', '7days.txt', 'allmonths.txt']
twitter = []
services = []

[logged]
last update =
plot = ['rose_1hr.png.xml', 'rose_12hrs.png.xml']
text = ['1hrs.txt', '6hrs.txt', '6hrs_html_cp.txt', 'forecast_9am.txt']
twitter = []
services = []

[hourly]
last update =
plot = ['24hrs_full_features.png.xml', '24hrs.png.xml', 'rose_24hrs.png.xml']
text = ['feed_hourly.xml', '24hrs.txt']
twitter = []
services = []

[live]
services = []
twitter = []
text = []
plot = []

[12 hourly]
last update =
plot = []
text = []
twitter = []
services = []


Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: pywws on rpi 'name or service not known'
« Reply #1 on: April 18, 2013, 06:35:30 AM »
Hi,

You probably have typed a mistake in your Ftp configuration.
Check the Ftp section in your weather.ini file

Regards,
Jacques
Please, consider supporting this site 

Offline Sc00by

  • New member
  • *
  • Posts: 2
    • g
Re: pywws on rpi 'name or service not known'
« Reply #2 on: April 18, 2013, 07:17:02 AM »
I had missed the FTP section completely! - It's uploading now

However I am still not seeing any data on the webpage.  Only the top header and nothing else

The data folder is being populated fine.

Any suggestions?

UPDATE - All fixed and working.  Checked the apache error logs and found that it was related to an error with the forecast_icon.txt file

« Last Edit: April 18, 2013, 08:38:10 AM by Sc00by »