← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 647908] Re: Too many OTG selections causes daemon to crash

 

mythexport (2.2.2-0ubuntu1) maverick; urgency=low

  [ John Baab ]
  * debian/mythexport.config and debian/mythexport.templates
    - Added warning about new configuration 
  * usr/bin/mythexport-daemon
    - Fixed issue with OTG exports (LP #598439)
    - Added lockfile, to keep mythtv-backend informed of the job status (LP #596251)
    - Removed commented out code from past release
  * usr/bin/mythexport_addjob
    - Added lockfile, to keep mythtv-backend informed of the job status (LP #596251)
  * usr/share/mythtv/mythexport.sql
    - Changed param column to longtext (LP #647908)
  * usr/share/mythtv/mythexport/otg.cgi
    - Fixed issue where old configuration file was still in use (LP #652322)
  * usr/share/mythtv/mythexport/otg_job.cgi
    - Renamed variable, no longer using "block" from old configuration
  * usr/share/mythtv/mythexport/setup.cgi
    - Fixed issue where form was submitting to the wrong page (LP #652322)
    - Changed configuration input to radio buttons
  * usr/share/mythtv/mythexport/save_system_setup.cgi
    - Fixed typo
  * usr/share/mythtv/mythexport/otg.cgi
    - Fixed issue where old configuration file was still in use
  * usr/share/mythtv/mythexport/setupsave.cgi
    - Removed debugging line
  * debial/rules:
    - Synced BZR_REVISION 

  [ Angel Abad ]
  * debian/rules: Fix typo in TARFILE rule (LP: #654088)

 -- John Baab <rhpot1991@xxxxxxxxxx>  Sun, 03 Oct 2010 22:46:48 -0400

** Changed in: mythexport (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
Too many OTG selections causes daemon to crash
https://bugs.launchpad.net/bugs/647908
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to mythexport in ubuntu.

Status in “mythexport” package in Ubuntu: Fix Released

Bug description:
Binary package hint: mythexport

I selected 11 recordings to be exported with OTG (On The Go) via the web interface. However, the 'param' column in the mythexport_job_queue table did not have enough characters to hold the resulting insert. Querying the table showed the following in the param column:

chanid=1211|1211|1211|1211|1211|1211|1211|1211|1213|1213|1211&starttime=2009-12-21 08:00:00|2010-09-10 08:00:00|2010-09-02 08:00:00|2009-11-30 08:00:00|2010-09-03 08:00:00|2009-12-16 08:00:00|2009-12-04 08:00:00|2009-11-27 08:00:00|2009-12-01 19:00:00|201

With the date cut off, and no room for the path, the daemon crashes, displaying the following:


September 25 18:14:50 Typhoon /usr/bin/mythexport-daemon[20845]: Starting Processing:  1285452890
September 25 18:14:50 Typhoon /usr/bin/mythexport-daemon[20845]: ERROR: Directory  is not writeable.
 at line 157 in /usr/bin/mythexport-daemon
Can't use an undefined value as a symbol reference at /usr/bin/mythexport-daemon line 167.

Notice the error prints a blank variable after the word "Directory".

I assume a resolution is to warn on the frontend, and/or make the field larger.





References