My log has been filling up with messages like:

[10-05-22 18:38:54.1677] Slim::Utils::Misc::msg (1179) Warning:
[18:38:54.1651] Use of uninitialized value $map in hash element at
/mnt/disk1/ssods4/var/home/SqueezeboxServer/Slim/Control/Queries.pm
line 5475.

This on 

Code:
--------------------
    
  Version: 7.6.0 - r30813 @ Sat May 22 03:10:24 MDT 2010
  Hostname: SBS
  Server IP Address: 192.168.1.2
  Server HTTP Port Number: 9000
  Operating system: Debian - EN - utf8
  Platform Architecture: armv5tel-linux
  Perl Version: 5.10.0 - armv5tel-linux-thread-multi
  Database Version: DBD::SQLite 1.29 (sqlite 3.6.22)
  
--------------------


I added some debug statements into the Perl code and found that values
of $tag are being used that have no definition in the %colMap
associative array. In particular, $tag values of N, B, K, cause the
error message to appear.
For example:

Code:
--------------------
    
  2300: [10-05-22 18:26:26.9351] Slim::Utils::Misc::msg (1179) Warning: 
[18:26:26.9326] Use of uninitialized value $map in hash element at 
/mnt/disk1/ssods4/var/home/SqueezeboxServer/Slim/Control/Queries.pm line 5475.
  2299: [10-05-22 18:26:26.9316] Slim::Control::Queries::_songDataFromHash 
(5474) Error: tag used was [K]
  2298: [10-05-22 18:26:26.9283] Slim::Control::Queries::_songDataFromHash 
(5474) Error: tag used was [l]
  2297: [10-05-22 18:26:26.9251] Slim::Control::Queries::_songDataFromHash 
(5474) Error: tag used was [a]
  2296: [10-05-22 18:26:26.9181] Slim::Control::Queries::_songDataFromHash 
(5474) Error: tag used was [x]
  2295: [10-05-22 18:26:26.9148] Slim::Control::Queries::_songDataFromHash 
(5474) Error: tag used was [c]
  2294: [10-05-22 18:26:26.9117] Slim::Utils::Misc::msg (1179) Warning: 
[18:26:26.9092] Use of uninitialized value $map in hash element at 
/mnt/disk1/ssods4/var/home/SqueezeboxServer/Slim/Control/Queries.pm line 5475.
  2293: [10-05-22 18:26:26.9081] Slim::Control::Queries::_songDataFromHash 
(5474) Error: tag used was [N]
  2292: [10-05-22 18:26:26.9047] Slim::Utils::Misc::msg (1179) Warning: 
[18:26:26.9022] Use of uninitialized value $map in hash element at 
/mnt/disk1/ssods4/var/home/SqueezeboxServer/Slim/Control/Queries.pm line 5475.
  2291: [10-05-22 18:26:26.9012] Slim::Control::Queries::_songDataFromHash 
(5474) Error: tag used was [K]
  2290: [10-05-22 18:26:26.8980] Slim::Control::Queries::_songDataFromHash 
(5474) Error: tag used was [l]
  2289: [10-05-22 18:26:26.8947] Slim::Control::Queries::_songDataFromHash 
(5474) Error: tag used was [a]
  2288: [10-05-22 18:26:26.8877] Slim::Control::Queries::_songDataFromHash 
(5474) Error: tag used was [x]
  2287: [10-05-22 18:26:26.8844] Slim::Control::Queries::_songDataFromHash 
(5474) Error: tag used was [c]
  
--------------------


The $tag values c,x,a,k were fine, but K caused a problem because is
doesn't exist in the associative array %colMap.

This behavior has occurred in the last two weeks but I don't see anyone
else complaining, so it may be specific to my environment.


-- 
dsdreamer

----------------------
"Dreamer, easy in the chair that really fits you..."
------------------------------------------------------------------------
dsdreamer's Profile: http://forums.slimdevices.com/member.php?userid=12588
View this thread: http://forums.slimdevices.com/showthread.php?t=79068

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to