mythexport crashes with non-words characters in channel name

Bug #260393 reported by Javier Vilalta
8
Affects Status Importance Assigned to Milestone
mythexport (Ubuntu)
Fix Released
Undecided
rhpot1991

Bug Description

Binary package hint: mythexport

Hello,

If the channel name has a non-word character, mythexport cannot find the created file in the second pass and crashes (exporting to an iPod with h264 codec)
I have made a little patch that solves the problem in my case.

Related branches

Revision history for this message
Javier Vilalta (jvilalta) wrote :
Revision history for this message
rhpot1991 (rhpot1991) wrote :

Can you provide some specific examples of data that caused this to happen? I would like to dig into it more and figure out why the 2nd pass of the iPod export fails but atomic parsley seems fine with the naming scheme.

Changed in mythexport:
assignee: nobody → rhpot1991
Revision history for this message
Javier Vilalta (jvilalta) wrote :

This is the relevant part of the log:

FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable-debug --enable-libmp3lame --enable-libfaadbin --enable-libfaad --enable-libfaac --enable-xvid --enable-x264 --enable-liba52 --enable-amr_nb --enable-amr_wb --enable-shared --prefix=/usr
  libavutil version: 1d.49.3.0
  libavcodec version: 1d.51.38.0
  libavformat version: 1d.51.10.0
  built on Jul 29 2008 18:28:49, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Input #0, mpegts, from '/var/lib/mythtv/recordings/1804_20080817191800.mpg':
  Duration: 00:42:39.2, start: 3979.031033, bitrate: 4612 kb/s
  Stream #0.0[0x8d]: Video: mpeg2video, yuv420p, 720x576, 15000 kb/s, 25.00 fps(r)
  Stream #0.1[0x8e](cat): Audio: mp2, 48000 Hz, stereo, 192 kb/s
  Stream #0.2[0x90](v.o): Audio: mp2, 48000 Hz, mono, 96 kb/s
  Stream #0.3[0x324](cat): Subtitle: dvbsub
Could not open '/var/local/mythtv/ipod/K3/300_Sid_ria_Babylon_5__20080817191800.mp4'
AtomicParsley error: can't open /var/local/mythtv/ipod/K3/300_Sid_ria_Babylon_5__20080817191800.mp4 for reading: No such file or directory
AP error trying to fopen: No such file or directory
rm: no se puede borrar «/var/local/mythtv/ipod/K3/300_Sid_ria_Babylon_5__20080817191800.mp4»: No existe el fichero ó directorio
mv: no se puede efectuar `stat' sobre «/var/local/mythtv/ipod/*temp*.mp4»: No existe el fichero ó directorio
2008-08-22 11:04:10.482 JobQueue: Finished "Exportar a iPod" for "Sidèria - Babylon 5" recorded from channel 1804 at dom ago 17 19:18:00 2008.
2008-08-22 11:04:10.492 jobqueue: Job "Exportar a iPod" Finished: Finished "Exportar a iPod" for "Sidèria - Babylon 5" recorded from channel 1804 at dom ago 17 19:18:00 2008.

The channel name is K3/300 and the / confuses the system. You're right, AtomicParsley also fails (I'm not sure that it's in the second pass, it was only a guess based on the time it takes to fail)

rhpot1991 (rhpot1991)
Changed in mythexport:
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mythexport - 1.0.3-0ubuntu1

---------------
mythexport (1.0.3-0ubuntu1) intrepid; urgency=low

  * Fixed videoless recording bug (LP: #271409).
  * Fixed illegal character bug (LP: #260393).
  * Fixed RSS grouping bug (LP: #271407).

 -- John Baab <email address hidden> Wed, 17 September 2008 01:30:00 -0500

Changed in mythexport:
status: In Progress → Fix Released
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.