Hi,
I s there a solution to the problem of the constantly crashing Biography plugin. My experience is it crashes almost always on fisrt time use with an artist i haven't chosen before.
The windows event viewer shows this;
The description for Event ID ( 0 ) in Source ( Application ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Can't locate object method "displayWidth" via package "Slim::Player::HTTP" at C:/Program Files/SlimServer/server/Plugins/Biography/Plugin.pm line 364.
These are the line in the script it refers to;
# wrap the text to the device's width
if ($client->displayWidth() > 40) {
my $text2 = $text;
$text2 =~ s/\n//gs;
$width = int($client->displayWidth / ($client->measureText($text2, 2) / length($text2))) - 1;
}
return $width;
}
Can anyone make sense out of this?
The same happen when using the album review plugin.
The description for Event ID ( 0 ) in Source ( Application ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Can't locate object method "displayWidth" via package "Slim::Player::HTTP" at C:/Program Files/SlimServer/server/Plugins/AlbumReview/Plugin.pm line 446.
This refiers to;
if ($client->displayWidth() > 40) {
$text =~ s/\n//gs;
$width = int($client->displayWidth / ($client->measureText($text, 2) / length($text))) - 1;
}
return $width;
}
I can see a pattern here ;-)
Any help would be appreciated.
NB: I'm using slimserver 6.5 but 6.2 has the same problem.
I also use use firefox mostly on a windows XP sp2 client.
rgds,
Hellsblade
I s there a solution to the problem of the constantly crashing Biography plugin. My experience is it crashes almost always on fisrt time use with an artist i haven't chosen before.
The windows event viewer shows this;
The description for Event ID ( 0 ) in Source ( Application ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Can't locate object method "displayWidth" via package "Slim::Player::HTTP" at C:/Program Files/SlimServer/server/Plugins/Biography/Plugin.pm line 364.
These are the line in the script it refers to;
# wrap the text to the device's width
if ($client->displayWidth() > 40) {
my $text2 = $text;
$text2 =~ s/\n//gs;
$width = int($client->displayWidth / ($client->measureText($text2, 2) / length($text2))) - 1;
}
return $width;
}
Can anyone make sense out of this?
The same happen when using the album review plugin.
The description for Event ID ( 0 ) in Source ( Application ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Can't locate object method "displayWidth" via package "Slim::Player::HTTP" at C:/Program Files/SlimServer/server/Plugins/AlbumReview/Plugin.pm line 446.
This refiers to;
if ($client->displayWidth() > 40) {
$text =~ s/\n//gs;
$width = int($client->displayWidth / ($client->measureText($text, 2) / length($text))) - 1;
}
return $width;
}
I can see a pattern here ;-)
Any help would be appreciated.
NB: I'm using slimserver 6.5 but 6.2 has the same problem.
I also use use firefox mostly on a windows XP sp2 client.
rgds,
Hellsblade
Comment