Re: [SlimDevices: Plugins] Meteo Plugin doesn't work

2012-05-17 Thread J�rg Huder

I have been lucky here before and so I try again :-) :

I have updated my Logitech Media Servers to 7.7.1 and then 7.7.2.
Unfortunately, in both versions the Meteo Plugin doesn't seem to work
anymore and this on both Windows 7 and my Linux NAS. The Meteo menu
still appears but when an item is selected (e.g. 'Allgemeine Lage') at
best a few characters are shown (e.g. 'adeb721e'). 
There is an error message in the Log (on Win 7):
[12-05-17 22:57:41.2093] Slim::Control::Request::execute (1889) Error:
While trying to run function coderef
[Plugins::Meteo::Plugin::cliRequest]: [Can't use an undefined value as a
SCALAR reference at
C:\ProgramData\Squeezebox\Cache\InstalledPlugins/Plugins/Meteo/Plugin.pm
line 589.
]

I almost don't dare to ask but Michael, can you help again ? Or anybody
else out there ?

Thanks much !
Jürg



Jürg Huder's Profile: http://forums.slimdevices.com/member.php?userid=40318
View this thread: http://forums.slimdevices.com/showthread.php?t=90757

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


Re: [SlimDevices: Plugins] Meteo Plugin doesn't work

2011-10-16 Thread J�rg Huder

Just in case anybody wonders: the Meto plugin works now on my Touch as
well - I guess a restart solved did it.

Cheers,
Jürg


-- 
Jürg Huder

Jürg Huder's Profile: http://forums.slimdevices.com/member.php?userid=40318
View this thread: http://forums.slimdevices.com/showthread.php?t=90757

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


Re: [SlimDevices: Plugins] Meteo Plugin doesn't work

2011-10-11 Thread J�rg Huder

Hi again,

I finally found the time to install the Meteo plugin on my NAS as well.
It's a Synology DS508. Synology actually offers SqueezeboxServer
packages for installation but they don't keep it very well up to date.
I think the current version is still at 7.3.3. When the Meteo plugin
stopped working, I switched to the SSODS, thinking I could maybe fix
the problem by updating SqueezeboxServer. Unfortunatley, the DS508 has
a PowerPC processor and the SSODS project has stopped supporting this
architecture. The last SqueezeboxServer version to run on the
SSODS/DS508 is 7.5.1 (...which is still newer than 7.3.3 ;-) ) but the
update did not help.
Anyway, I have now copied the Meteo 2.7.3 onto my NAS with SSODS and
SqueezeboxServer 7.5.1 and it works BEAUTIFULLY there too. I am
delighted :-) ! It seems you did a thorough job ! Thanks again!

Once I am stealing your time again (sorry about it), I have two more
minor things:
1) Is it right that the weather forecast is available in the 'EXTRA'
menu on the Boom, Duet and Squeezebox 3 but not on the Touch ? (or
is there something one could configure?) ? 

2) While I was trying the Meteo plugin with SqueezeboxServer 7.7.0
(r33563), I noticed that there was a problem with the library scan.
There were errors in the logs and - more important - after the scan had
ended, e.g. albums titles and artists were listed but I could not browse
trough my Music directory - it was 'Empty'. Just in case you haven't
noticed yet.

Best regards,
J:)rg

PS: Meteo/cached information - you mentioned it could take an hour. On
my system an hour is not enough, rather a night (and this is
consistent). Mabye it is reloaded the next time the website is updated
? But not that it would matter :-)...


-- 
Jürg Huder

Jürg Huder's Profile: http://forums.slimdevices.com/member.php?userid=40318
View this thread: http://forums.slimdevices.com/showthread.php?t=90757

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


Re: [SlimDevices: Plugins] Meteo Plugin doesn't work

2011-10-07 Thread J�rg Huder

Hello Michael,

Thanks for your replay, it is very much appreciated !
I have tried with the S3, Boom, Duet, Touch and Softsqueeze - with
7.6.1 they all show the same behaviour: when I access the
Extra-Weatherforecast Switzerland... it informs 'Collecting data...'
and stays there.
I have uninstalled 7.6.1 and installed 7.7.0 (33563). I seem to have
'lost'  the 'Extra' menu on all players except the S3 and Softsqueeze
(..is it in a different place now ? I will search later...). Anyway,
when I launch the Weatherforecast on S3/Softsqueeze, I still stays
forever at 'Collecting data...'.

The logs look now as follows:
[11-10-07 10:17:33.2171] main::init (354) Starting Logitech Media
Server (v7.7.0, r33563, Thu Oct  6 03:07:08 PDT 2011) perl 5.014001
[11-10-07 10:17:40.2117] Slim::Utils::Misc::msg (1304) Warning:
[10:17:40.2114] defined(%hash) is deprecated at
/C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXEPAR.pm line 498.
[11-10-07 10:17:40.2119] Slim::Utils::Misc::msg (1304) Warning:
[10:17:40.2118] (Maybe you should just omit the defined()?)
[11-10-07 10:17:40.5476] Slim::Utils::Misc::msg (1304) Warning:
[10:17:40.5473] defined(%hash) is deprecated at
/C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXEPAR/Heavy.pm line 73.
[11-10-07 10:17:40.5901] Slim::Utils::Misc::msg (1304) Warning:
[10:17:40.5897] (Maybe you should just omit the defined()?)
[11-10-07 10:17:41.7246] Slim::Player::Protocols::HTTP::new (38)
Warning: No song passed!
[11-10-07 10:17:41.9684] Slim::Utils::PluginManager::load (341)
Warning: Couldn't call Plugins::Meteo::Plugin-initPlugin: Can't call
method controller on an undefined value at
/C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXESlim/Player/Protocols/HTTP.pm
line 390.
[11-10-07 10:17:42.7509] Slim::Utils::PluginManager::load (341)
Warning: Couldn't call Slim::Plugin::UPnP::Plugin-initPlugin: Can't
locate Network/IPv4Addr.pm in @INC (@INC contains:
C:\PROGRA~2\SQUEEZ~1\server\Plugins\MHCPAN
C:\ProgramData\Squeezebox\Cache\InstalledPlugins\Plugins\Meteo\lib
CODE(0xb2fa74c) C:\ProgramData\Squeezebox\Cache\InstalledPlugins
C:\PROGRA~2\SQUEEZ~1\server\CPAN\arch\5.14\MSWin32-x86-multi-thread
C:\PROGRA~2\SQUEEZ~1\server\CPAN\arch\5.14\MSWin32-x86-multi-thread\auto
C:\PROGRA~2\SQUEEZ~1\server\CPAN\arch\5.14.1\MSWin32-x86-multi-thread
C:\PROGRA~2\SQUEEZ~1\server\CPAN\arch\5.14.1\MSWin32-x86-multi-thread\auto
C:\PROGRA~2\SQUEEZ~1\server\CPAN\arch\MSWin32-x86-multi-thread
C:\PROGRA~2\SQUEEZ~1\server\lib C:\PROGRA~2\SQUEEZ~1\server\CPAN
C:/PROGRA~2/SQUEEZ~1/server
C:\Users\JRG~1\AppData\Local\Temp\pdk-J[fc]rg-2248\
C:\PROGRA~2\SQUEEZ~1\server CODE(0xafa5d0c)) at
C:/PROGRA~2/SQUEEZ~1/server/Slim/Plugin/UPnP/Discovery.pm line 15.
BEGIN failed--compilation aborted at
C:/PROGRA~2/SQUEEZ~1/server/Slim/Plugin/UPnP/Discovery.pm line 15.
Compilation failed in require at
C:/PROGRA~2/SQUEEZ~1/server/Slim/Plugin/UPnP/Plugin.pm line 36.
[11-10-07 10:25:44.9237] Slim::Player::Protocols::HTTP::new (38)
Warning: No song passed!
[11-10-07 10:25:45.0510] Slim::Buttons::Common::pushMode (2099) Error:
Couldn't push into new mode: [details] !: Can't call method
controller on an undefined value at
/C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXESlim/Player/Protocols/HTTP.pm
line 390.

I forget to mention I am on a W7 64 bit - could this be the problem ?

Thanks again for your help,
Jürg


-- 
Jürg Huder

Jürg Huder's Profile: http://forums.slimdevices.com/member.php?userid=40318
View this thread: http://forums.slimdevices.com/showthread.php?t=90757

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


Re: [SlimDevices: Plugins] Meteo Plugin doesn't work

2011-10-07 Thread Michael Herger
 I have tried with the S3, Boom, Duet, Touch and Softsqueeze - with
 7.6.1 they all show the same behaviour: when I access the
 Extra-Weatherforecast Switzerland... it informs 'Collecting data...'
 and stays there.

Could you please test again with all other 3rd party plugins disabled?

 [11-10-07 10:17:42.7509] Slim::Utils::PluginManager::load (341)
 Warning: Couldn't call Slim::Plugin::UPnP::Plugin-initPlugin: Can't
 locate Network/IPv4Addr.pm in @INC (@INC contains:

Oops... that's a new issue (unrelated) I have to fix in the server. Thanks  
for the heads up :-)

-- 

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


Re: [SlimDevices: Plugins] Meteo Plugin doesn't work

2011-10-07 Thread J�rg Huder

Hi again,

I just tried with ALL plugins disabled (except the few I can't).
Unfortunately the problem persists.

The logs again:
[11-10-07 12:42:40.4401] main::init (354) Starting Logitech Media
Server (v7.7.0, r33563, Thu Oct  6 03:07:08 PDT 2011) perl 5.014001
[11-10-07 12:42:42.8036] Slim::Utils::Misc::msg (1304) Warning:
[12:42:42.8031] defined(%hash) is deprecated at
/C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXEPAR.pm line 498.
[11-10-07 12:42:42.8041] Slim::Utils::Misc::msg (1304) Warning:
[12:42:42.8038] (Maybe you should just omit the defined()?)
[11-10-07 12:42:43.1279] Slim::Utils::Misc::msg (1304) Warning:
[12:42:43.1276] defined(%hash) is deprecated at
/C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXEPAR/Heavy.pm line 73.
[11-10-07 12:42:43.1282] Slim::Utils::Misc::msg (1304) Warning:
[12:42:43.1281] (Maybe you should just omit the defined()?)
[11-10-07 12:42:43.3894] Slim::Player::Protocols::HTTP::new (38)
Warning: No song passed!
[11-10-07 12:42:43.7203] Slim::Utils::PluginManager::load (341)
Warning: Couldn't call Plugins::Meteo::Plugin-initPlugin: Can't call
method controller on an undefined value at
/C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXESlim/Player/Protocols/HTTP.pm
line 390.
[11-10-07 12:42:43.7593] Slim::Control::Request::execute (1869) Request
in error, returning
[11-10-07 12:43:11.9401] Slim::Player::Protocols::HTTP::new (38)
Warning: No song passed!
[11-10-07 12:43:12.0656] Slim::Buttons::Common::pushMode (2099) Error:
Couldn't push into new mode: [details] !: Can't call method
controller on an undefined value at
/C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXESlim/Player/Protocols/HTTP.pm
line 390.

Cheers,
Jürg


-- 
Jürg Huder

Jürg Huder's Profile: http://forums.slimdevices.com/member.php?userid=40318
View this thread: http://forums.slimdevices.com/showthread.php?t=90757

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


Re: [SlimDevices: Plugins] Meteo Plugin doesn't work

2011-10-07 Thread Michael Herger
Oh, did you update from a SBS  7.5? Just found the following line in my  
changelog:

# 2.7.2 - use LWP::UserAgent instead of S::P::Protocols::HTTP for 7.5  
compatibility

Alas - I never released 2.7.2 to the public. Might show how popular it is  
:-). S::P::Protocols::HTTP is exactly where your problem occurs.

I'm going to release 2.7.3 in a few minutes. Thanks for the heads up!

-- 

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


Re: [SlimDevices: Plugins] Meteo Plugin doesn't work

2011-10-07 Thread J�rg Huder

Your the man - great ! :-)

Thank you very much - it's much better now. Funny, it does not yet
properly update the forecast textthe info is still in French
although I even switched from German to English and back (..the menus
change the language correctly). I remember having had this before and
after a day or two it corrected itself without doing anything. 

I doubt that this really shows how popular your plugin is: I for one
downgraded several times my Squeezebox Server ONLY because METEO did
not run anymore :-). As I usually run the server on a Linux-NAS (btw,
the MCPAN seemed to work there as well), I suspected the problem came
from the OS. That's why I finally tried on my W7 laptop (I will have to
retry on my NAS as soon as time allows...). METEO is definitively my
favorite plugin (...and I am very sorry for the rest of the world who
cannot access well localised weather forecast ;-) ).

Thanks again !
J:)rg

PS: No, I did not upgrade, it was a new installation of 7.6.1


-- 
Jürg Huder

Jürg Huder's Profile: http://forums.slimdevices.com/member.php?userid=40318
View this thread: http://forums.slimdevices.com/showthread.php?t=90757

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


Re: [SlimDevices: Plugins] Meteo Plugin doesn't work

2011-10-07 Thread Michael Herger
 Thank you very much - it's much better now. Funny, it does not yet
 properly update the forecast textthe info is still in French
 although I even switched from German to English and back (..the menus
 change the language correctly). I remember having had this before and
 after a day or two it corrected itself without doing anything.

Might be some stale file: the information is cached for about an hour  
before it's being refreshed.

 retry on my NAS as soon as time allows...). METEO is definitively my
 favorite plugin (...and I am very sorry for the rest of the world who
 cannot access well localised weather forecast ;-) ).

Heh... interesting. There were a few more issues I had to fix: meteonews  
changed URLs (again!), the packaging system we used for plugins seems to  
be broken in 7.7, and said change I missed to publish earlier.

-- 

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


[SlimDevices: Plugins] Meteo Plugin doesn't work

2011-10-06 Thread J�rg Huder

Hi all,
I have just installed Squeezebox Server 7.6.1 on my Windows 7.
Unfortunately the Meteo (Weatherforecast Switzerland) plugin doesn't
work. It seems to be properly installed and also the MCPAN module. The
Plugin appears unter EXTRAS as usual but when I click on 'Allgemeine
Lage', 'Regionen' or 'Orte', nothing happens. 
I tried in vain to launch Squeezebox Server as Admininstrator and in
XP3 mode. 

Can anybody help ?

Thanks much,
Jürg


The logs show this:
[11-10-06 17:13:45.9204] main::init (350) Starting Squeezebox Server
(v7.6.1, r33110, Wed Aug 17 18:52:34 PDT 2011) perl 5.01
[11-10-06 17:13:53.4808] Plugins::LazySearch2::Plugin::initPlugin (774)
Initialising v3.6.0 (trunk-7.x)
[11-10-06 17:13:53.4830] Plugins::Meteo::Plugin::getPage (483) Meteo:
cache miss
(http://www.meteonews.ch/index.php?section=chpage=generalspage=wetter_reglang=frsub=06711000)
[11-10-06 17:13:53.4833] Slim::Player::Protocols::HTTP::new (38)
Warning: No song passed!
[11-10-06 17:13:53.6636] Slim::Utils::PluginManager::load (340)
Warning: Couldn't call Plugins::Meteo::Plugin-initPlugin: Can't call
method controller on an undefined value at
/C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXESlim/Player/Protocols/HTTP.pm
line 385.
[11-10-06 17:13:58.4825] Plugins::LazySearch2::Plugin::scanDoneCallback
(2248) Lazifying database items not already done
[11-10-06 17:13:59.0973] Plugins::LazySearch2::Plugin::lazifyDatabase
(2305) No database items require lazification
[11-10-06 17:14:21.8315] Plugins::Meteo::Plugin::getPage (483) Meteo:
cache miss
(http://www.meteonews.ch/index.php?section=chpage=generalspage=wetter_reglang=frsub=06711000)
[11-10-06 17:14:21.8322] Slim::Player::Protocols::HTTP::new (38)
Warning: No song passed!
[11-10-06 17:14:22.0422] Slim::Control::Request::execute (1883) Error:
While trying to run function coderef
[Plugins::Meteo::Plugin::cliRequest]: [Can't call method controller
on an undefined value at
/C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXESlim/Player/Protocols/HTTP.pm
line 385.
]


-- 
Jürg Huder

Jürg Huder's Profile: http://forums.slimdevices.com/member.php?userid=40318
View this thread: http://forums.slimdevices.com/showthread.php?t=90757

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


Re: [SlimDevices: Plugins] Meteo Plugin doesn't work

2011-10-06 Thread Michael Herger
 I have just installed Squeezebox Server 7.6.1 on my Windows 7.

Working fine here on 7.7.

 [11-10-06 17:13:53.4830] Plugins::Meteo::Plugin::getPage (483) Meteo:
 cache miss
 (http://www.meteonews.ch/index.php?section=chpage=generalspage=wetter_reglang=frsub=06711000)
 [11-10-06 17:13:53.4833] Slim::Player::Protocols::HTTP::new (38)
 Warning: No song passed!
 [11-10-06 17:13:53.6636] Slim::Utils::PluginManager::load (340)
 Warning: Couldn't call Plugins::Meteo::Plugin-initPlugin: Can't call
 method controller on an undefined value at
 /C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXESlim/Player/Protocols/HTTP.pm
 line 385.

What kind of player are you using? What UI?

I don't understand how/why this method would be called from the Meteo  
plugin...

-- 

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