PYKO: Asserting with "Error in sys.exitfunc " in exit of any pyko-script



  • Since core-8.3.0~989, running a python-script with kopano-module imported, asserts with message “Error in sys.exitfunc:”. Regardless, the script executes sucessfully.

    Example:

    [tadao@ando python-kopano]# ./list-users.py
    sepp
    xav
    hias
    maxe
    gustl
    bede
    fax
    Error in sys.exitfunc:
    Traceback (most recent call last):
      File "/usr/lib64/python2.6/atexit.py", line 28, in _run_exitfuncs
        import traceback
      File "/usr/lib64/python2.6/traceback.py", line 3, in <module>
        import linecache
      File "/usr/lib64/python2.6/linecache.py", line 9, in <module>
        import os
      File "/usr/lib64/python2.6/os.py", line 119, in <module>
        sys.modules['os.path'] = path
    AttributeError: 'module' object has no attribute 'modules'
    
    

    ++umgfoin.



  • Fixed with Commit 74a6353f7e3 (issue KC-558 ) core-8.4.0~22_11.1.


Log in to reply
 

Looks like your connection to Kopano Community Forum was lost, please wait while we try to reconnect.