Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 7 of 7

Hybrid View

  1. #1
    Senior Member Philip Meyer's Avatar
    Join Date
    Apr 2005
    Location
    UK
    Posts
    5,568

    problem running 6.5b1, SVN6805

    When I try to run slimserver up, I instantly get the following:

    mkdir file:///P:/: Invalid argument at P:/Music/SlimServer/trunk/server/Slim/Utils/Prefs.pm line 447

    I had a look at the code - seems to be looking for the cache dir and attempting to create it if it doesn't exist.

    My slimserver.pref file contains:
    cachedir: P:\Music\SlimServer\server\Cache

    This Cache folder existed. I tried deleting it, but get the same error.

    Phil

  2. #2
    Senior Member Philip Meyer's Avatar
    Join Date
    Apr 2005
    Location
    UK
    Posts
    5,568

    problem running 6.5b1, SVN6805

    >My slimserver.pref file contains:
    >cachedir: P:\Music\SlimServer\server\Cache
    >

    I may have been looking at the wrong folder for my slimserver.pref file (I may have looked in my original slimserver install folder, rather than the svn checkout folder that I am running slimserver.pl from). I just double-checked the content, and now see that it contains:

    cachedir: file:///P:/Music/SlimServer/server/Cache

    I have tried completely deleting the cache folder and moving the slimserver.pref file, and get the same error. I can see a small default slimserver.pref file gets created, and contains the line above.

    Phil

  3. #3
    Senior Member Philip Meyer's Avatar
    Join Date
    Apr 2005
    Location
    UK
    Posts
    5,568

    problem running 6.5b1, SVN6805

    >cachedir: file:///P:/Music/SlimServer/server/Cache
    >

    I have managed to get the server to run up by reverting to SVN 6798 and hand-editing the slimserver.prefs file to remove all file:/// prefixes (and change any %20 to a space character in some of my other paths).

    I also had to create my Cache folder. I thought slimserver used to create this folder if it didn't exist? Is that a bug?

    Phil

  4. #4
    Junior Member
    Join Date
    Apr 2005
    Posts
    22
    ah, good to see I'm not the only one having this issue. At this point I'm just going to hang out and wait for a fix, but wanted to let whoever was working on the issue know your error is happening for more than one person.

  5. #5
    Perl Commando Dan Sully's Avatar
    Join Date
    Apr 2005
    Location
    Daly City, CA
    Posts
    2,864

    problem running 6.5b1, SVN6805

    * Phil Meyer shaped the electrons to say...

    >When I try to run slimserver up, I instantly get the following:
    >
    >mkdir file:///P:/: Invalid argument at P:/Music/SlimServer/trunk/server/Slim/Utils/Prefs.pm line 447
    >
    >I had a look at the code - seems to be looking for the cache dir and attempting to create it if it doesn't exist.
    >
    >My slimserver.pref file contains:
    >cachedir: P:\Music\SlimServer\server\Cache


    Ok - I just checked in a fix. You may need to edit your slimserver.pref file
    and remove the file:/// for audiodir, cachedir & playlistdir.

    -D
    --
    Do not panic, do not panic! We are trained professionals!
    Now, stay calm. We are going around the leaf.

  6. #6
    Junior Member
    Join Date
    Apr 2005
    Posts
    22
    Yep, that did the trick, didn't have to edit any files either.

  7. #7
    Senior Member Philip Meyer's Avatar
    Join Date
    Apr 2005
    Location
    UK
    Posts
    5,568

    Re: problem running 6.5b1, SVN6805

    >Ok - I just checked in a fix. You may need to edit your slimserver.pref file
    >and remove the file:/// for audiodir, cachedir & playlistdir.
    >

    Thanks - seems to have done the trick.

    However, I am still getting the other problem I posted about a crash when trying to update the firmware. Perhaps my slimserver.pref file has other corruption due to this bug?

    Phil

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •