telkel / rrdweather

Automatically exported from code.google.com/p/rrdweather
0 stars 0 forks source link

Multiple cities in db_builder script #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. install
2. configure much more localities than one (EZXX0009 EZXX0002 EZXX0012)
3. call db_builder script
4. call db_update script

What is the expected output? What do you see instead?
Working data. Instead Ive got this output with errors...

pavka@pavka:~$ bash /usr/share/rrdweather/db_update.sh
ERROR: opening '/var/lib/rrdweather/db/EZXX0002/real.rrd': No such file or
directory
ERROR: opening '/var/lib/rrdweather/db/EZXX0002/felt.rrd': No such file or
directory
ERROR: opening '/var/lib/rrdweather/db/EZXX0002/dew.rrd': No such file or
directory
ERROR: opening '/var/lib/rrdweather/db/EZXX0002/humidity.rrd': No such file
or directory
ERROR: opening '/var/lib/rrdweather/db/EZXX0002/wind.rrd': No such file or
directory
ERROR: opening '/var/lib/rrdweather/db/EZXX0002/pressure.rrd': No such file
or directory
ERROR: opening '/var/lib/rrdweather/db/EZXX0002/uv.rrd': No such file or
directory

What version of the product are you using? On what operating system?
0.42, but builder script is the same in last version

Please provide any additional information below.
In builder script isnt for cycle like in update script.

Original issue reported on code.google.com by pavka...@gmail.com on 25 Sep 2009 at 8:39