[Bug 371565] Re: parley scripts fail to load

David Erosa soulnet at gmail.com
Thu Jun 4 10:56:07 UTC 2009


This is the result of running the script under Jaunty:

derosa at bowman:/tmp$ kross script.py 
Kross: "Loading the interpreter library for python" 
Kross: "Successfully loaded Interpreter instance from library." 
Kross: "PythonScript::Constructor." 
Kross: "PythonScript::execute" 
Kross: "PythonInterpreter::extractException:
  File "script.py", line 2, in <module>
    import ssl

  File "<string>", line 18, in _import

  File "/usr/lib/python2.6/ssl.py", line 81, in <module>
    class SSLSocket (socket):
" 
Kross: "Error error=Error when calling the metaclass bases
    module.__init__() takes at most 2 arguments (3 given) lineno=81 trace=
  File "script.py", line 2, in <module>
    import ssl

  File "<string>", line 18, in _import

  File "/usr/lib/python2.6/ssl.py", line 81, in <module>
    class SSLSocket (socket):
" 
TypeError: Error when calling the metaclass bases
    module.__init__() takes at most 2 arguments (3 given)
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/apport_python_hook.py", line 38, in apport_excepthook
    from apport.packaging_impl import impl as packaging
  File "<string>", line 18, in _import
  File "/usr/lib/python2.6/dist-packages/apport/__init__.py", line 1, in <module>
    from apport.report import Report
  File "<string>", line 18, in _import
  File "/usr/lib/python2.6/dist-packages/apport/report.py", line 21, in <module>
    import fileutils
  File "<string>", line 18, in _import
  File "/usr/lib/python2.6/dist-packages/apport/fileutils.py", line 16, in <module>
    from packaging_impl import impl as packaging
  File "<string>", line 18, in _import
  File "/usr/lib/python2.6/dist-packages/apport/packaging_impl.py", line 18, in <module>
    import apt
  File "<string>", line 18, in _import
  File "/usr/lib/python2.6/dist-packages/apt/__init__.py", line 7, in <module>
    from apt.package import Package
  File "<string>", line 18, in _import
  File "/usr/lib/python2.6/dist-packages/apt/package.py", line 23, in <module>
    import httplib
  File "<string>", line 18, in _import
  File "/usr/lib/python2.6/httplib.py", line 1054, in <module>
    import ssl
  File "<string>", line 18, in _import
  File "/usr/lib/python2.6/ssl.py", line 81, in <module>
    class SSLSocket (socket):
TypeError: Error when calling the metaclass bases
    module.__init__() takes at most 2 arguments (3 given)

Original exception was:
TypeError: Error when calling the metaclass bases
    module.__init__() takes at most 2 arguments (3 given)
Kross: "PythonScript::Destructor." 
Error when calling the metaclass bases
    module.__init__() takes at most 2 arguments (3 given)
  File "script.py", line 2, in <module>
    import ssl

  File "<string>", line 18, in _import

  File "/usr/lib/python2.6/ssl.py", line 81, in <module>
    class SSLSocket (socket):

derosa at bowman:/tmp$

-- 
parley scripts fail to load
https://bugs.launchpad.net/bugs/371565
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdeedu in ubuntu.




More information about the kubuntu-bugs mailing list