[PyKDE] Errors with autotest.py

Jonathan Gardner jgardner at jonathangardner.net
Tue Aug 12 02:10:01 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I got this as a result from autotest.py (in hte PyKDE-examples RPM I just 
built.)

Just thought you might want to see what went wrong. I am looking into this 
now.

- -- 
Jonathan Gardner
jgardner at jonathangardner.net
Live Free, Use Linux!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/ODANWgwF3QvpWNwRAgy3AJ9Snspm/+4OhvT0yISaBX/auD+nyACggMZ8
KBtCX6WCLft8u5D6JN46tB0=
=3q6Z
-----END PGP SIGNATURE-----
-------------- next part --------------
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

ASSERT: "!_name.isEmpty()" in kinstance.cpp (73)


testing ...

runTest (__main__.ULongLongTestCase) ... ok
runTest (__main__.DCOPClientTestCase) ... ok
runTest (__main__.KApplicationTestCase) ... FAIL
runTest (__main__.KCharsetsTestCase) ... ok
runTest (__main__.KColorTestCase) ... ok
runTest (__main__.KCommandHistoryTestCase) ... ok
runTest (__main__.KDateValidatorTestCase) ... ok
runTest (__main__.KMimeTypeValidatorTestCase) ... ok
runTest (__main__.KStringListValidatorTestCase) ... ok
runTest (__main__.KIntValidatorTestCase) ... ok
runTest (__main__.KFloatValidatorTestCase) ... ok
runTest (__main__.KEditTestCase) ... ok
runTest (__main__.KEditListBoxTestCase) ... ok
runTest (__main__.KLocaleTestCase) ... ok
runTest (__main__.KFileTestCase) ... ERROR
runTest (__main__.KMimeTypeTestCase) ... ok
runTest (__main__.KProcIOTestCase) ... ok
runTest (__main__.KURLListTestCase) ... ERROR
runTest (__main__.KIOSlaveTestCase) ... ok
runTest (__main__.KIONetRCAutoLoginTestCase) ... ok
runTest (__main__.KIOglobalTestCase) ... ok
runTest (__main__.KActionCollectionTestCase) ... ok
runTest (__main__.KActionListTestCase) ... ok
runTest (__main__.KEntryMapTestCase) ... ok

======================================================================
ERROR: runTest (__main__.KFileTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "autotest.py", line 415, in runTest
    self.assert_ (KFile.isSortByName (QDir.Name))
AttributeError: isSortByName

======================================================================
ERROR: runTest (__main__.KURLListTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "autotest.py", line 481, in runTest
    self.assert_ (str (k [i].url ()) == urls [i], "__getItem__ failed")
AttributeError: List instance has no attribute '__getitem__'

======================================================================
FAIL: runTest (__main__.KApplicationTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "autotest.py", line 244, in runTest
    self.assert_ (result == 0, "startServiceByDesktopPath returned an error code")
  File "/usr/lib/python2.2/unittest.py", line 262, in failUnless
    if not expr: raise self.failureException, msg
AssertionError: startServiceByDesktopPath returned an error code

----------------------------------------------------------------------
Ran 24 tests in 2.900s

FAILED (failures=1, errors=2)




More information about the PyQt mailing list