bluetdi wrote: 
> Tom,
> 
> after quite some time of useless trying I have to ask you again. Though
> I  know you reworked the getting of moon data and I use the latest SDT 
> 5_10_17 WU (installed via the repository) they still are not retrieved. 
> It never worked since the server at http://aa.usno.navy.mil changed its 
> format. All other weather data from WU are fine. 
> There are error messages:
> 
> > 
Code:
--------------------
  >   > 2015-10-15 10:57:37 squeezeboxserver_safe started.
  > [15-10-15 10:57:43.4413] main::init (368) Starting Logitech Media Server  
(v7.8.1, 1438696600, Fri Aug 14 03:04:19 UTC 2015) perl 5.018002
  > [15-10-15 10:57:46.4735] Slim::Utils::Misc::msg (1311) Warning:  
[10:57:46.4728] Using an array as a reference is deprecated at  
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/InformationScreen/ConfigManager/ParameterHandler.pm
  line 103.
  > [15-10-15 10:57:46.4743] Slim::Utils::Misc::msg (1311) Warning:  
[10:57:46.4738] Using an array as a reference is deprecated at  
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/InformationScreen/ConfigManager/ParameterHandler.pm
  line 104.
  > [15-10-15 10:57:46.4751] Slim::Utils::Misc::msg (1311) Warning:  
[10:57:46.4747] Using an array as a reference is deprecated at  
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/InformationScreen/ConfigManager/ParameterHandler.pm
  line 107.
  > [15-10-15 10:57:46.4760] Slim::Utils::Misc::msg (1311) Warning:  
[10:57:46.4755] Using an array as a reference is deprecated at  
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/InformationScreen/ConfigManager/ParameterHandler.pm
  line 109.
  > [15-10-15 10:57:46.4835] Slim::Utils::Misc::msg (1311) Warning:  
[10:57:46.4829] Using an array as a reference is deprecated at  
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/InformationScreen/ConfigManager/ParameterHandler.pm
  line 431.
  > [15-10-15 10:57:46.4843] Slim::Utils::Misc::msg (1311) Warning:  
[10:57:46.4839] Using an array as a reference is deprecated at  
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/InformationScreen/ConfigManager/ParameterHandler.pm
  line 432.
  > [15-10-15 10:57:48.3086] Slim::Utils::Misc::msg (1311) Warning:  
[10:57:48.3080] Using a hash as a reference is deprecated at  
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SuperDateTime/lib/Plugins/SuperDateTime/Plugin.pm
  line 2383.
  > [15-10-15 10:57:48.3501] Slim::Utils::Misc::msg (1311) Warning:  
[10:57:48.3495] defined(@array) is deprecated at  
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SuperDateTime/lib/Plugins/SuperDateTime/Plugin.pm
  line 4789.
  > [15-10-15 10:57:48.3507] Slim::Utils::Misc::msg (1311) Warning: 
[10:57:48.3503]     (Maybe you should just omit the defined()?)
  > [15-10-15 10:57:48.9893] Slim::Utils::Misc::msg (1311) Warning:  
[10:57:48.9887] $[ used in numeric lt (<) (did you mean $] ?) at  
/usr/share/squeezeboxserver/CPAN/PAR.pm line 576.
  > [15-10-15 10:57:49.2140] Slim::Utils::Misc::msg (1311) Warning:  
[10:57:49.2134] UNIVERSAL->import is deprecated and will be removed  in a 
future perl at /usr/share/squeezeboxserver/CPAN/HTML/Formatter.pm  line 110.
  > [15-10-15 10:57:56.7823] Plugins::SuperDateTime::Plugin::gotErrorViaHTTPmap 
(6750) error getting  error count at 1
  > [15-10-15 10:57:56.7828] Plugins::SuperDateTime::Plugin::gotErrorViaHTTPmap 
(6751) Cannot request non-HTTP URL 
  > [15-10-15 10:57:59.7842] Plugins::SuperDateTime::Plugin::gotErrorViaHTTPmap 
(6750) error getting  error count at 2
  > [15-10-15 10:57:59.7848] Plugins::SuperDateTime::Plugin::gotErrorViaHTTPmap 
(6751) Cannot request non-HTTP URL 
  > [15-10-15 10:58:02.7868] Plugins::SuperDateTime::Plugin::gotErrorViaHTTPmap 
(6750) error getting  error count at 3
  > [15-10-15 10:58:02.7873] Plugins::SuperDateTime::Plugin::gotErrorViaHTTPmap 
(6751) Cannot request non-HTTP URL 
  > [15-10-15 10:58:05.7891] Plugins::SuperDateTime::Plugin::gotErrorViaHTTPmap 
(6750) error getting  error count at 4
  > [15-10-15 10:58:05.7896] Plugins::SuperDateTime::Plugin::gotErrorViaHTTPmap 
(6751) Cannot request non-HTTP URL 
  > [15-10-15 10:58:08.7452] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP  
(6722) error getting  
http://aa.usno.navy.mil/cgi-bin/aa_mrst2.pl?form=2&ID=AA&year=2015&month=10&day=15&reps=5&body=11&place=%28no+name+given%29&lon_sign=1&lon_deg=16&lon_min=17&lon_sec=29.8&lat_sign=1&lat_deg=48&lat_min=11&lat_sec=28.6&height=&tz=2.0&tz_sign=1
  > [15-10-15 10:58:08.7458] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP  
(6723) Error reading headers: Server closed connection without sending  any 
data back at /usr/share/squeezeboxserver/CPAN/Net/HTTP/Methods.pm  line 306.
  > ...propagated at /usr/share/squeezeboxserver/CPAN/Net/HTTP/NB.pm line 32.
  > [15-10-15 10:58:08.7906] Plugins::SuperDateTime::Plugin::gotErrorViaHTTPmap 
(6750) error getting  error count at 5
  > [15-10-15 10:58:08.7911] Plugins::SuperDateTime::Plugin::gotErrorViaHTTPmap 
(6751) Cannot request non-HTTP URL 
  > [15-10-15 10:58:11.7922] Plugins::SuperDateTime::Plugin::gotErrorViaHTTPmap 
(6750) error getting  error count at 6
  > [15-10-15 10:58:11.7927] Plugins::SuperDateTime::Plugin::gotErrorViaHTTPmap 
(6751) Cannot request non-HTTP URL 
  > [15-10-15 10:58:14.7949] Plugins::SuperDateTime::Plugin::gotErrorViaHTTPmap 
(6750) error getting  error count at 7
  > [15-10-15 10:58:14.7954] Plugins::SuperDateTime::Plugin::gotErrorViaHTTPmap 
(6751) Cannot request non-HTTP URL 
  > [15-10-15 10:58:16.1077] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP  
(6722) error getting  
http://aa.usno.navy.mil/cgi-bin/aa_mrst2.pl?form=2&ID=AA&year=2015&month=10&day=15&reps=5&body=11&place=%28no+name+given%29&lon_sign=1&lon_deg=16&lon_min=17&lon_sec=29.8&lat_sign=1&lat_deg=48&lat_min=11&lat_sec=28.6&height=&tz=2.0&tz_sign=1
  > [15-10-15 10:58:16.1083] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP  
(6723) Error reading headers: Server closed connection without sending  any 
data back at /usr/share/squeezeboxserver/CPAN/Net/HTTP/Methods.pm  line 306.
  > ...propagated at /usr/share/squeezeboxserver/CPAN/Net/HTTP/NB.pm line 32.
  > [15-10-15 10:58:17.7973] Plugins::SuperDateTime::Plugin::gotErrorViaHTTPmap 
(6750) error getting  error count at 8
  > [15-10-15 10:58:17.7978] Plugins::SuperDateTime::Plugin::gotErrorViaHTTPmap 
(6751) Cannot request non-HTTP URL 
  > [15-10-15 10:58:20.7997] Plugins::SuperDateTime::Plugin::gotErrorViaHTTPmap 
(6750) error getting  error count at 9
  > [15-10-15 10:58:20.8002] Plugins::SuperDateTime::Plugin::gotErrorViaHTTPmap 
(6751) Cannot request non-HTTP URL 
  > [15-10-15 10:58:23.4735] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP  
(6722) error getting  
http://aa.usno.navy.mil/cgi-bin/aa_mrst2.pl?form=2&ID=AA&year=2015&month=10&day=15&reps=5&body=11&place=%28no+name+given%29&lon_sign=1&lon_deg=16&lon_min=17&lon_sec=29.8&lat_sign=1&lat_deg=48&lat_min=11&lat_sec=28.6&height=&tz=2.0&tz_sign=1
  > [15-10-15 10:58:23.4741] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP  
(6723) Error reading headers: Server closed connection without sending  any 
data back at /usr/share/squeezeboxserver/CPAN/Net/HTTP/Methods.pm  line 306.
  > ...propagated at /usr/share/squeezeboxserver/CPAN/Net/HTTP/NB.pm line 32.
  > [15-10-15 10:58:23.8016] Plugins::SuperDateTime::Plugin::gotErrorViaHTTPmap 
(6750) error getting  error count at 10
  > [15-10-15 10:58:23.8021] Plugins::SuperDateTime::Plugin::gotErrorViaHTTPmap 
(6751) Cannot request non-HTTP URL 
  > [15-10-15 10:58:23.8025]  
Plugins::SuperDateTime::Plugin::gotErrorViaHTTPmap (6753) Network error  count 
reached during getWeatherMapURL.
  > 
  > ...
  > 
  > [15-10-15 10:58:30.8446] PLUGINS::SUPERDATETIME::PLUGIN::GOTERRORVIAHTTP  
(6722) ERROR GETTING  
HTTP://AA.USNO.NAVY.MIL/CGI-BIN/AA_MRST2.PL?FORM=2&ID=AA&YEAR=2015&MONTH=10&DAY=15&REPS=5&BODY=11&PLACE=%28NO+NAME+GIVEN%29&LON_SIGN=1&LON_DEG=16&LON_MIN=17&LON_SEC=29.8&LAT_SIGN=1&LAT_DEG=48&LAT_MIN=11&LAT_SEC=28.6&HEIGHT=&TZ=2.0&TZ_SIGN=1
  > [15-10-15 10:58:30.8451] PLUGINS::SUPERDATETIME::PLUGIN::GOTERRORVIAHTTP  
(6723) ERROR READING HEADERS: SERVER CLOSED CONNECTION WITHOUT SENDING  ANY 
DATA BACK AT /USR/SHARE/SQUEEZEBOXSERVER/CPAN/NET/HTTP/METHODS.PM  LINE 306.
  > ...PROPAGATED AT /USR/SHARE/SQUEEZEBOXSERVER/CPAN/NET/HTTP/NB.PM LINE 32.
  > 
  > -...[does it 10 times]-
  > 
  > [15-10-15 10:59:22.4009] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP 
(6727) Network error count reached during getMoonData.
  > [15-10-15 10:59:58.4332] Plugins::SuperDateTime::Plugin::doneDrawing (4819) 
Data refresh completed with errors.
--------------------
> > 
> 
> Can you help? Thanks in advance.
> Karl

Unfortunately it looks like that web site is not available at all
locations (countries?). It works for me - I did have to make one
adjustment because they changed the format of the output data, and
earlier this year I wasn't able to access the site for several days.  I
haven't found a good alternative for determining the moon rise and set
times - there have been requests for several years for weather
underground to provide in their API, but it's not there yet.  If someone
has other alternatives for finding the moon rise and set times, I will
consider changes.


------------------------------------------------------------------------
tcutting's Profile: http://forums.slimdevices.com/member.php?userid=17402
View this thread: http://forums.slimdevices.com/showthread.php?t=14327

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to