Frequently asked questions (FAQ)
================================


Q: Moviefly installed correctly (from sources), but when starting
   lmc.py (Moviefly <= 0.12.2) it prints: ...

Q: Moviefly returns RuntimeError: the sip module supports API v1.0 to v1.0 but
   the lmcqt module requires API v0.2

Q: Is CVS access possible?

Q: Moviefly starts up, but when I create a new file and try to add a movie
   the following debug message occurs: ...

Q: does Moviefly run with Python 2.4?


################################################################################

Q: Moviefly installed correctly (from sources), but when starting
   lmc.py (Moviefly <= 0.12.2) it prints:

$ lmc.py
[root] INFO: lmc.py - Moviefly $Rev: 209 $ (c) by Uwe Mayer
Traceback (most recent call last):
File "/usr/bin/lmc.py", line 56, in ?
import Settings
ImportError: No module named Settings


A: First check that ./configure and make have completed successfully.
   Then check the access rights of the following directories:

$ ls -alh /usr/local/lib/<python-version>/site-packages

drwxrwsr-x  3 root staff 4.0K 2005-06-01 18:16 .
drwxrwsr-x  3 root staff 4.0K 2005-04-04 13:39 ..
drwxr-sr-x  4 root staff 4.0K 2005-06-01 18:16 lmc
-rw-r--r--  1 root staff    4 2005-06-02 09:20 lmc.pth
-rw-r--r--  1 root staff 536K 2005-06-02 09:20 lmcqt.so

   Upon creating the site-packages directory in /usr/local, the build
   system forgets to set access rights o+rx on 

site-packages
site-packages/lmc


   Second, check which python interpreter you used to configure the
   project and compare it to:

$ python -V
Python 2.4.1

   If those differ, lmc.py is executed with the wrong version of python
   and the modules directory is not found. There are two ways of fixing
   that:

   1. edit /usr/local/bin/lmc.py and replace "#! /usr/bin/python" in the
      bang-line by "#! /usr/bin/python<version>"

   2. explicitly pass lmc.py to the correct interpreter (the one detected
      at configure-time):
      $ python<version> `which lmc.py`

   This problem should have been fixed in Moviefly (>= 0.12.3).

################################################################################

Q: Moviefly returns RuntimeError: the sip module supports API v1.0 to v1.0 but
   the lmcqt module requires API v0.2


A: This happens if you configured and compiled Moviefly with sip4 version
   4.1.1 and afterwards update python-sip4-qt3 runtime library.

   Solution: return to the sources, and rebuild Moviefly:
   $ ./configure
   $ make 
   $ make install

################################################################################

Q: Is CVS access possible?


A: No. And it never will be. However, I am working on subversion read-only
   access. (2005-06-02) 
   Availability will be announced on

   https://savannah.nongnu.org/projects/lmc/

################################################################################

Q: Moviefly starts up, but when I create a new file and try to add a movie
   the following debug message occur:

[LMCMain] INFO: Creating new file Try.amc
[PicturePreview] DEBUG: No image set: clearing label
[LMCMain] DEBUG: Enabling file actions
[LMCMain] DEBUG: adding new record at index 1
Traceback (most recent call last):
File "/usr/local/bin/lmc.py", line 593, in movieAdd
self.centralWidget().add(record)
File "/usr/local/lib/python2.4/site-packages/lmc/RecordList.py", line 101, in add
self.listViewRecord.add(rec)
File "/usr/local/lib/python2.4/site-packages/lmc/ListViewRecord.py", line 191, in add
obj = ListViewSort(parent, *self.compileTitles(r) )
TypeError: argument 1 of ListViewSort() has an invalid type


A: As for the moment I believe this has something to do with your version of
   gcc you used to compile Moviefly. (2005-06-01)
   
   I have not been able to test gcc (> 3.3.6 or 4.0.0). If you have gcc 3.3.6 
   installed and still that problem, please submit a bug report.

   Else, there is a preliminary patch which will remove the self-compiled
   C++ library and replace it with a less compfortable Qt class:

   Change into the projects src directory lmc-X.Y.Z/src and apply the patch
   12833_gcc.patch.gz which can be downloaded from:

   http://www.master-ai.uni-karlsruhe.de/~merkosh/lmc/patches/

   $ cd lmc-X.Y.Z/src
   $ gzip -c -d 12833_gcc.patch.gz |patch -p0
   patching file ListViewRecord.py

   If you can confirm that gcc (> 3.3.6) is causing that behaviour, please
   report back.

################################################################################

Q: does Moviefly run with Python 2.4?


A: yes, but:

   If you python2.4 installed, the build system will only detect python2.4
   and all depending libraries will have to be available for python2.4.

   For Moviefly (<= 0.12.2), if python2.4 is detected at configure-time, you
   will have to make sure that 

   $ python -V
   <configured-version>

   is true. Else you will have to explicidly call Moviefly with the correct
   python interpreter.

   See from above:
   Q: Moviefly installed correctly (from sources), but when starting
      lmc.py (Moviefly <= 0.12.2) it prints: ...

   As of version 0.12.3 the executable changed from "lmc.py" to "moviefly"
   which will execute the correct (detected at configure-time) python
   interpreter.

################################################################################
