Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#2761 closed defect (fixed)

Nuvexport svn transcode broken

Reported by: laurent.devilliers@… Owned by: xris
Priority: minor Milestone: 0.21
Component: perl / nuvexport Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

When running latest svn (12173) using -transcode to export to xvid, the following error is displayed as soon as the first pass is started :

Undefined subroutine &export::transcode::unix_to_myth_time called at /usr/local/share/nuvexport/export/transcode.pm line 229, <STDIN> line 15.

Change History (4)

comment:1 Changed 13 years ago by laurent.devilliers@…

Some info about my myth config

./configure --disable-joystick-menu --enable-dvb --dvb-path=/usr/include --en

able-proc-opt --enable-symbol-visibility --with-bindings=perl

linux:/usr/local/src/mythtv-svn-trunk/mythtv # mythbackend --version Library API version: 0.20.20061128-1 Source code version: 12171 Options compiled in:

linux release use_hidesyms using_lmsensors using_v4l using_oss using_alsa using_arts using_jack using_ivtv using_dbox2 using_hdhr using_iptv using_live using_lirc using_dvb using_x11 using_xv using_xrandr using_frontend using_backend using_bindings_perl

comment:2 Changed 13 years ago by xris

Resolution: worksforme
Status: newclosed

which version of nuvexport are you using? The one from mythextras, or the one from forevermore.net?

Either way, unix_to_myth_time() is defined in MythTV.pm (and only used by the nuvexport in mythextras), so there is something wrong with your install if you are getting this error (most likely two copies of the perl bindings installed somewhere, or they are installed outside of your perl include path).

comment:3 in reply to:  2 Changed 13 years ago by otto at kolsi dot fi

Replying to xris:

which version of nuvexport are you using? The one from mythextras, or the one from forevermore.net?

Either way, unix_to_myth_time() is defined in MythTV.pm (and only used by the nuvexport in mythextras), so there is something wrong with your install if you are getting this error (most likely two copies of the perl bindings installed somewhere, or they are installed outside of your perl include path).

I have the same problem. I'm using latest nuvexport version: 0.4 0.20061117.svn from the mythextras.

I added a debug print to nuvexport to see which MythTV.pm is in use:

print $INC{"MythTV.pm"},"\n";
/usr/lib/perl5/site_perl/5.8.8/MythTV.pm 

This module HAS unix_to_myth_time() but it still doesn't work.

I then just added

use MythTV; 

into the beginning of /usr/local/share/nuvexport/export/transcode.pm and that fixed the problem for me. Should I somehow setup my environment differently or could this be added to transcode.pm? I have a more or less standard FC5 installation with Perl 5.8.8.

comment:4 Changed 13 years ago by xris

Resolution: worksformefixed

(In [12249]) add calls to MythTV.pm to close #2761 -- thought for sure these were already in place

Note: See TracTickets for help on using tickets.