skip creating thumbnails for videos

Bug #538746 reported by Bratix
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
phraymd
Incomplete
Undecided
Unassigned

Bug Description

Error reading metadata for /home/Bilder/2010/XXXX/2010.02.26_155117(R2260237).AVI
Traceback (most recent call last):
  File "/home/XXX/develop/phraymd/phraymd/modules/phraymd/metadata1.py", line 42, in load_metadata
    rawmeta = pyexiv2.Image(filename)
  File "/home/XXX/develop/phraymd/phraymd/modules/phraymd/pyexiv2.py", line 397, in __init__
    libpyexiv2.Image.__init__(self, filename)
IOError: /home/Bilder/2010/XXXX/2010.02.26_155117(R2260237).AVI: The file contains data of an unknown image type

phraymed never comes back again and won't handle any input anymore

Regards
Bratix

Revision history for this message
Bratix (bratix) wrote :

Traceback (most recent call last):
  File "/home/XXX/develop/phraymd/phraymd/modules/phraymd/metadata1.py", line 42, in load_metadata
    rawmeta = pyexiv2.Image(filename)
  File "/home/XXX/develop/phraymd/phraymd/modules/phraymd/pyexiv2.py", line 397, in __init__
    libpyexiv2.Image.__init__(self, filename)
IOError: /home/Bilder/2008/XXX/ffm/test.mpg: The file contains data of an unknown image type

Revision history for this message
dmoore (damien-moore) wrote : Re: [Bug 538746] Re: skip creating thumbnails for videos

thanks. at a minimum, we need some exception handling in there (not
trying to read metadata for incompatible mimetypes might also be a
good idea)

On Sun, Mar 14, 2010 at 1:20 PM, Bratix <email address hidden> wrote:
> Traceback (most recent call last):
>  File "/home/XXX/develop/phraymd/phraymd/modules/phraymd/metadata1.py", line 42, in load_metadata
>    rawmeta = pyexiv2.Image(filename)
>  File "/home/XXX/develop/phraymd/phraymd/modules/phraymd/pyexiv2.py", line 397, in __init__
>    libpyexiv2.Image.__init__(self, filename)
> IOError: /home/Bilder/2008/XXX/ffm/test.mpg: The file contains data of an unknown image type
>
> --
> skip creating thumbnails for videos
> https://bugs.launchpad.net/bugs/538746
> You received this bug notification because you are subscribed to
> phraymd.
>

Revision history for this message
dmoore (damien-moore) wrote :

>phraymed never comes back again and won't handle any input anymore

Does this happen every time? e.g. after you kill the program and restart does the program hang again when it encounters this image?

I have video files and even though importing them triggers a traceback message, the program does not freeze. Is there something else that might help me identify the issue?

Revision history for this message
antistress (antistress) wrote :

I don't have any problem with that (note that all my videos are Motion JPEG).

Revision history for this message
antistress (antistress) wrote :

Bratix : could you make a few more test please ? i can't reproduce the bug even if i open a folder full of movies of different exotic formats with phraymd

Revision history for this message
dmoore (damien-moore) wrote :

This is probably resolved, but marking incomplete for now.

Changed in phraymd:
status: New → Incomplete
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.