VideoThumbnailerException exception in video_cache.py when indexing videos

Bug #375632 reported by Samuel Buffet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Entertainer Media Center
New
Medium
Unassigned

Bug Description

Exception that raised while indexing my videos :

Exception in thread IndexerThread:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/mnt/raid/Programmes/branches_entertainer/bug_373707/entertainerlib/backend/components/mediacache/indexer_thread.py", line 65, in run
    cache.addDirectory(element)
  File "/mnt/raid/Programmes/branches_entertainer/bug_373707/entertainerlib/backend/components/mediacache/video_cache.py", line 129, in addDirectory
    self.addFile(os.path.join(root, name))
  File "/mnt/raid/Programmes/branches_entertainer/bug_373707/entertainerlib/backend/components/mediacache/video_cache.py", line 61, in addFile
    self._addVideoFile(filename)
  File "/mnt/raid/Programmes/branches_entertainer/bug_373707/entertainerlib/backend/components/mediacache/video_cache.py", line 235, in _addVideoFile
    thumbnailer.create_thumbnail()
  File "/mnt/raid/Programmes/branches_entertainer/bug_373707/entertainerlib/thumbnailer.py", line 273, in create_thumbnail
    raise VideoThumbnailerException('Unable to determine media size')
VideoThumbnailerException: Unable to determine media size

We have to catch that exception in the _addVideoFile method of the VideoCache Class where we have the line :
" thumbnailer.create_thumbnail()" without try/except VideoThumbnailerException

Changed in entertainer:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.