On Sun, 27 Sep 2009, Alexandre Fayolle wrote:
On Saturday 26 September 2009 21:34:01 Faheem Mitha wrote:
Hi,
I downloaded the source from
http://hg.logilab.org/hgview
and compiled a Debian package. When trying to bring up hgview, I got an
error about pyrcc4. apt-file informed me that this was in pyqt4-dev-tools.
On installation the error went away and hgview worked, and after removing
pyqt4-dev-tools it still worked, so I'm guessing it did some one-time
thing.
Thanks for your feedback. This is probably a missing build dependency. The
exact error message is something which could help in fixing your problem,
though.
I can reliably reproduce this error on another machine with the same
Debian build from your source package. Suggestions on fixing this?
Regards, Faheem.
$ dpkg -l hgview
||/ Name Version Description
+++-===============================-===============================-=====================================
ii hgview 1.1.1-1 mercurial
interactive history viewer
$ hgview
pyrcc4: File does not exist
'/usr/lib/pymodules/python2.5/hgviewlib/qt4/hgqv.qrc'
ERROR: Cannot convert the resource file '%s' into a python module.
Please check the PyQt 'pyrcc4' tool is installed, or do it by hand
running:
pyrcc4 /usr/lib/pymodules/python2.5/hgviewlib/qt4/hgqv.qrc -o
/usr/lib/pymodules/python2.5/hgviewlib/qt4/hgqv_rc.py
Traceback (most recent call last):
File "/usr/bin/hgview", line 24, in <module>
from hgviewlib.qt4.hgrepoviewer import main
File "/usr/lib/pymodules/python2.5/hgviewlib/qt4/__init__.py", line 43,
in <module>
import hgqv_rc
ImportError: No module named hgqv_rc
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects