Author Topic: Update Media and Spaces in Filenames are bad!  (Read 3114 times)

atreidae

  • Regular Poster
  • **
  • Posts: 35
    • View Profile
Update Media and Spaces in Filenames are bad!
« on: October 09, 2007, 03:13:30 pm »
hey, just a quick one for anyone getting the following when trying to update media,

Code: [Select]
sudo -u root /usr/pluto/bin/UpdateMedia -d "/home/public/data/videos/TV series"

Error doing statfs on '/home/public/data/videos/TV/'.
Error doing statfs on '/home/public/data/videos/TV/'.
05 10/09/07 22:54:44.110 # PlutoMediaFile STARTED: dir /home/public/data/videos file TV <0xb6b426d0>
05 10/09/07 22:54:44.111 Adding parent folder to db: /home/public/data/videos/TV PlutoMediaParentFolder.HandleFileNotInDatabase <0xb6b426d0>
01 10/09/07 22:54:44.144 Cannot find self in maplock! (0x80b47b4) (>2) alarm: AlarmManager.cpp:102  <0xb6b41b90>
ready to dump locks using logger: 0x80b4858
05 10/09/07 22:54:44.144 Dumping 1 locks <0xb6b41b90>
05 10/09/07 22:54:44.144 finished check for exceptions <0xb6b41b90>
05 10/09/07 22:54:44.144 OL: (0x80b47b4) (>1) alarm AlarmManager.cpp l:87 time: 10:54:44p (0 s) thread: 3065259728 Rel: Y Got: Y <0xb6b41b90>


This is caused by a space in the directory path, resyncronise from the folder above the one with the space in the filename and update media will figure it out.

I'm not 100% as to why the command fails from the webinterface, works fine if you do it from a command line...

Thaughts anyone?


rwilson131

  • Veteran
  • ***
  • Posts: 118
    • View Profile
Re: Update Media and Spaces in Filenames are bad!
« Reply #1 on: October 09, 2007, 05:27:53 pm »
It was a bug. This reports the same problem.

http://mantis.linuxmce.org/view.php?id=3523

Thanks,
Rob