Bugzilla – Bug 3833
Clean install crashes with undefined value in Import.pm
Last modified: 2008-09-15 14:39:24 UTC
I attempted a clean installation, in a new user account of the SlimServer svn trunk in order to try out the svn version without affecting the regular version I run. The slimserver command was run and output was as follows : --- slim2@buttercup:~$ ./slimserver.pl --httpport 9001 --cliport 9002 060728 12:38:53 InnoDB: Started; log sequence number 0 131971 060728 12:38:53 [Note] /resource/slim2/Bin/i386-linux/mysqld: ready for connections. Version: '5.0.21-standard' socket: '/resource/slim2/Cache/slimserver-mysql.sock' port: 9092 MySQL Community Edition - Standard (GPL) 2006-07-28 12:39:04.0458 Your data source needs to be configured. Please open your web browser, 2006-07-28 12:39:04.0472 go to the following URL, and click on the "Server Settings" link. 2006-07-28 12:39:04.0481 The URL to access SlimServer is now: http://buttercup:9001/ Can't call method "value" on an undefined value at /resource/slim2/Slim/Music/Import.pm line 296. 060728 12:39:13 [Note] /resource/slim2/Bin/i386-linux/mysqld: Normal shutdown 060728 12:39:13 InnoDB: Starting shutdown... 060728 12:39:15 InnoDB: Shutdown completed; log sequence number 0 131981 060728 12:39:15 [Note] /resource/slim2/Bin/i386-linux/mysqld: Shutdown complete --- I made a tiny modification to the Import.pm file at the line indicated to check that the value was not undefined before obtaining $value. This appears to have fixed the problem.
i believe this was just fixed by Dan at change 8717
or..maybe not. coffee first :)
Fixed - change 8718