Bugs item #1623960, was opened at 2006-12-29 01:44
Message generated for change (Comment added) made by duncanwebb
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1623960&group_id=46652
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.x svn (rel-1)
>Status: Pending
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Gorka Olaizola (gorka)
Assigned to: Nobody/Anonymous (nobody)
Summary: Traceback with directory not found
Initial Comment:
I've powered down my Freevo box and i've got this traceback. I think the
problem is that the directory is mounted over NFS and the NFS server got killed
before Freevo.
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/freevo/skins/main/info_area.py", line
99, in update_content
self.sellist = self.eval_expressions( self.list )
File "/usr/lib/python2.4/site-packages/freevo/skins/main/info_area.py", line
251, in eval_expressions
if exp and eval(exp, {'attr': item.getattr}, function_calls):
File "<string>", line 0, in ?
File "/usr/lib/python2.4/site-packages/freevo/item.py", line 449, in getattr
r = self.__getitem__(attr)
File "/usr/lib/python2.4/site-packages/freevo/directory.py", line 315, in
__getitem__
space = getattr(util, key)(self.dir) / 1000000
File "/usr/lib/python2.4/site-packages/freevo/util/fileops.py", line 129, in
totalspace
s = os.statvfs(path)
OSError: [Errno 2] No such file or directory:
'/net/kuro/mnt/home/kuro/media/divx'
----------------------------------------------------------------------
>Comment By: Duncan Webb (duncanwebb)
Date: 2006-12-29 16:15
Message:
Logged In: YES
user_id=104395
Originator: NO
I have applied a fix that will stop freevo from crashing on this type of
error.
It is in rel-1 at r8858.
Not sure if it is always best not to crash, when a path is not found
Messages in the error log are easily missed, whereas a crash is not :)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1623960&group_id=46652
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel