Tovid Wiki
Advertisement

This page lists error messages and other problems that may occur when using programs in the tovid suite, along with any known solutions.

Command-line errors

ERROR: charset conversion failed

This is a problem that crops up with some versions of 'vcdxbuild'. If it happens to you, try using:

vcdxbuild --filename-encoding=iso8859-1 my_disc.xml'.

unable to open64("/dev/dvd",O_RDONLY): Permission denied

If you get this error with makedvd, it probably means you don't have permission to burn DVDs, and must burn them as the root user. To burn as root, run

   su -c "makedvd -burn MyDisc.xml"

mkfifo: cannot create fifo 'stream.yuv': Operation not permitted

This may occur if you are using Windows filesystems like vfat, NTFS, or another filesystem that doesn't support FIFOs. To remedy this, run tovid from a Linux filesystem (like ext3 or reiserfs), or edit your ~/.tovid/preferences file and set:

WORKING_DIR=/home/eric/tmp

giving a directory on a FIFO-capable filesystem.


GUI errors

No module named wxPython.wx

or

Error -3 while decompressing data: invalid window size

wxPython problems have been reported with Mandriva and other Mandrake Linux distributions. One possible solution is to upgrade wxPythonGTK using the latest source RPM from Cooker.

AttributeError: 'module' object has no attribute 'SimpleHelpProvider'

You probably need to install wxPython version 2.6 (and ensure that if you also have wxPython 2.4 installed, your 2.6 libs are used by default).

ImportError: No module named libtovid.gui.frames

(or similar) This means libtovid is installed where Python can't find it. On some distributions (Gentoo, Slackware, Arch, and Fedora Core 4 reported), Python does not include /usr/local in its module search path--meaning, if libtovid is there, it won't work. One way to fix this is to run:

./configure --prefix=/usr

when installing tovid. Another solution is to create a symbolic link (as root):

ln -s /usr/lib/python2.4/site-packages \
      /usr/local/lib/python2.4/site-packages

ImportError: No module named wx

First, make sure you have wxGTK installed. If so, you may be dealing with a distribution-specific "standard" python version mismatch. For exmple on debian/etch, the default python version is 2.3, and so the wx packages are installed in /usr/lib/python2.3/site-packages. But tovidgui uses python 2.4 (and it looks for wx in /usr/lib/python2.4/site-packages). Linking the python2.3 wx packages to the python2.4 site-packages directory is a fix. For example (as root):

ln -s /usr/lib/python2.3/site-packages/wx.pth \
      /usr/lib/python2.4/site-packages/wx.pth
ln -s /usr/lib/python2.3/site-packages/wx-2.6-gtk2-unicode \
      /usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode

ImportError: No module named wxversion

(Followed by explanation) tovidgui 0.26 has a new dependency: wxversion. On many distributions, this is a separate package from the main wx package (for example, in debian, it's called python-wxversion). Please find it for your system and install it.


Missing Interface

The GUI seems to be missing part of its interface (buttons, text, etc.); I can't choose a disc or TV format or I can't choose a font; I just see empty boxes.

Try switching to a different GTK theme (especially if you use a custom theme in Gnome). Certain themes have been known to cause problems with the tovid GUI widgets. One that has been reported to work is GrandCanyon. If you don't use GNOME, you can use gtk-theme-switch to change your GTK theme.

Other problems

Missing output file

If tovid says "Copying the existing audio stream ...", and you end up with no .mpg file at the end, chances are that multiplexing failed (though tovid may say otherwise). Try using the -force option. This will force the audio stream to be re-encoded, and multiplexing should work.

If you continue to experience problems, use the -keepfiles option to save the streams, in case multiplexing fails--then you may be able to manually multiplex them.

If even that fails, as it did for me on a couple of avi's, try using something from the command line like:

$ mencoder INFILE -ofps 25 -ovc lavc -oac lavc \
      -vf scale=352,harddup \
      -srate 48000 -af lavcresample=48000 \
      -lavcopts codec=mp2:abitrate=224:vcodec=mpeg1video:vrc_buf_size=327:vrc_minrate=1152:vrc_maxrate=1152:vbitrate=1152:keyint=15:aspect=4/3 \
      -of mpeg -o OUTFILE

Then run your usual tovid on the resulting OUTFILE. This worked for me, although it added a step. I was trying to create dvd-vcd files (hence the 48000 sample rate), and I couldn't figure out the video flags to send to end up with correct video. This cleans up the file to a point and I didn't have any problems with them afterwards.

Advertisement