Also, the installation on my home desktop is spewing many such errors, in
case you are interested. I haven't done anything to cause these errors
that I can see.
Oh, and as regards reproducing the build dependency, a clean room approach
such as Debian developers customarily use should be effective - sbuild,
cowbuilder, or whatever automated build system du jour.
Regards, Faheem.
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/hgviewlib/qt4/hgrepomodel.py",
line 107, in data
result = meth(self, index, role)
File "/var/lib/python-support/python2.5/hgviewlib/qt4/hgrepomodel.py",
line 267, in data
msg += _columnmap[column](ctx, gnode)
TypeError: cannot concatenate 'str' and 'int' objects
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/hgviewlib/qt4/hgrepomodel.py",
line 107, in data
result = meth(self, index, role)
File "/var/lib/python-support/python2.5/hgviewlib/qt4/hgrepomodel.py",
line 267, in data
msg += _columnmap[column](ctx, gnode)
TypeError: cannot concatenate 'str' and 'int' objects
On Wed, 30 Sep 2009, Faheem Mitha wrote:
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