Michael Herger;198953 Wrote: 
> > I used your plugin to find all of the strings, but editing them
> didn't
> > work for either the main set of strings or for plugins
> 
> Something must be terribly wrong with it. You're not the first to
> report  
> this, but I wasn't able to reproduce so far :-(. This makes the whole 
> 
> plugin rather useless

Well I managed to get it to spit this out:
Could not open /etc/slimserver-strings.txt for writing: Permission
denied

I'm running slimserver on Gentoo linux, using the official gentoo
package.

Slim::Utils::Prefs::preferencesPath() returns /etc

slimserver does not have permission to create a file in /etc

This behaviour is correct. The problem is that your plugin is wrongly
assuming it can create and modify a file in preferencesPath(), which in
my setup (and probably other linux setups) it can't.

When I manually created /etc/slimserver-strings.txt and gave slimserver
permission to alter it, the plugin started working as expected for
built-in strings (the server's still ignoring the custom strings for
plugins, but at least /etc/slimserver-strings.txt contains the
requested modifications).

I'd suggest adding an error message in the web interface that explains
the problem and suggests manually creating the file. Or at least modify
the installation instructions to mention this problem.

Cheers


-- 
bukharin
------------------------------------------------------------------------
bukharin's Profile: http://forums.slimdevices.com/member.php?userid=10859
View this thread: http://forums.slimdevices.com/showthread.php?t=34865

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

Reply via email to