Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

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

    Kopano Groupware Core
    error core 8.3.0 python pyko
    1
    2
    1002
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • umgfoin
      umgfoin last edited by umgfoin

      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.

      umgfoin 1 Reply Last reply Reply Quote 0
      • umgfoin
        umgfoin @umgfoin last edited by umgfoin

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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post