On 07/07/2007 11.20, Detlev Offenbach wrote:

python configure.py -c -j2

Traceback (most recent call last):
  File "configure.py", line 1731, in <module>
    main(sys.argv)
  File "configure.py", line 1685, in main
    pyqt.check_modules()
  File "configure.py", line 227, in check_modules
    check_module("QtGui", "qwidget.h", "new QWidget()")
  File "configure.py", line 922, in check_module
    if len(opts.enabled) > 0 and mname not in opts.enabled:
TypeError: object of type 'NoneType' has no len()

Sorry about that!

Just add default=[] to the definition of the "-e" option around line 130, like this:

g.add_option("-e", "--enable", action="append", metavar="MODULE", dest="enabled", default=[],
                 help="enable the specified MODULE "
                      "[default: all modules will be enabled]")

--
Giovanni Bajo

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to