[PyKDE] Qscintilla2 problem

Gudjon I. Gudjonsson gudjon at mc2.chalmers.se
Mon Jan 8 22:06:43 GMT 2007


Hi
   If I change the file Python/configure.py:
qt_data_dir = None
to
qt_data_dir = "/usr/lib/python2.4/site-packages/PyQt4"
then
QScintilla-1.71-gpl-2-snapshot-20070104
installs perfectly but without it I only get the following error messages:
Creating the Makefile for the Qsci module...
An internal error occured.  Please report all the output from the program,
including the following traceback, to support at riverbankcomputing.co.uk.

Traceback (most recent call last):
  File "configure.py", line 341, in ?
    main(sys.argv)
  File "configure.py", line 332, in main
    generate_code()
  File "configure.py", line 224, in generate_code
    installs.append(("QScintilla2.api", 
os.path.join(qt_data_dir, "qsci", "api", "python")))
  File "/usr/lib/python2.4/posixpath.py", line 62, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'

when doing python configure.py
But eric4 works perfectly now so I'm happy :)

Regards
Gudjon




More information about the PyQt mailing list