ics.py AttributeError: 'NoneType' object has no attribute 'Value'



  • Hi,

    I’m using the debian buster packages (after an upgrade von zarafa) and get the following error in kopano-search / kopano-spamd logs. As far as I can say, something with a message seems to be wrong.

    Is there a way to find out what and which message causes the problem? Perhaps I can delete the message.

    kopano-fsck showed no error.

    Thank you for your help!

    kopano-search:

    2019-09-09 10:04:48,954 - search - ERROR - Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/kopano/ics.py", line 118, in ImportMessageChange
        store_entryid = PpropFindProp(props, PR_STORE_ENTRYID).Value
    AttributeError: 'NoneType' object has no attribute 'Value'
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/kopano/log.py", line 103, in log_exc
        try: yield
      File "/usr/lib/python3/dist-packages/kopano_search/__init__.py", line 393, in incremental_sync
        new_state = self.server.sync(importer, self.state, log=self.log)
      File "/usr/lib/python3/dist-packages/kopano/server.py", line 806, in sync
        return _ics.sync(self, self.mapistore, importer, state, max_changes, window=window, begin=begin, end=end, stats=stats)
      File "/usr/lib/python3/dist-packages/kopano/ics.py", line 272, in sync
        (steps, step) = exporter.Synchronize(step)
      File "/usr/lib/python3/dist-packages/MAPICore.py", line 1906, in Synchronize
        return _MAPICore.IExchangeExportChanges_Synchronize(self, INOUT)
      File "/usr/lib/python3/dist-packages/kopano/ics.py", line 134, in ImportMessageChange
        self.log.error('could not process change for entryid %s (%r):', _benc(entryid.Value), props)
    AttributeError: 'NoneType' object has no attribute 'Value'
    

    kopano-spamd

    2019-09-09 10:02:13,939 - spamd - ERROR - could not process change for entryid None ([SPropValue(0x65E00102, b'\x9e\x82\x04r\x9bIA\xe9\x8f\x0fm\x10C5\xef\xbc\x00\xa3\x02\x00\x00\x00'), SPropValue(0x65E10102, b'\x9e\x82\x04r\x9bIA\xe9\x8f\x0fm\x10C5\xef\xbc\xdc\x1c\x00\x00\x00\x00')]):
    2019-09-09 10:02:13,939 - spamd - ERROR - Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/kopano/ics.py", line 121, in ImportMessageChange
        item = _item.Item()
    AttributeError: 'NoneType' object has no attribute 'Value'
    

    Debian packages:

    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name                        Version       Architecture Description
    +++-===========================-=============-============-=======================================================
    ii  kopano-backup               8.7.0-3       all          Complete and feature rich groupware solution - backup
    un  kopano-client               <none>        <none>       (no description available)
    ii  kopano-common               8.7.0-3       all          Complete and feature rich groupware solution - common f
    ii  kopano-contacts:amd64       8.7.0-3       amd64        Complete and feature rich groupware solution - contact 
    ii  kopano-core                 8.7.0-3       all          Metapackage to install the Kopano Core stack
    ii  kopano-dagent               8.7.0-3       amd64        Complete and feature rich groupware solution - delivery
    ii  kopano-gateway              8.7.0-3       amd64        Complete and feature rich groupware solution - POP3 and
    ii  kopano-ical                 8.7.0-3       amd64        Complete and feature rich groupware solution - CalDAV a
    ii  kopano-libs:amd64           8.7.0-3       amd64        Complete and feature rich groupware solution - Free/Bus
    ii  kopano-monitor              8.7.0-3       amd64        Complete and feature rich groupware solution - quota mo
    ii  kopano-search               8.7.0-3       all          Complete and feature rich groupware solution - indexer
    ii  kopano-server               8.7.0-3       amd64        Complete and feature rich groupware solution - server c
    ii  kopano-spamd                8.7.0-3       all          Complete and feature rich groupware solution - Spam dae
    ii  kopano-spooler              8.7.0-3       amd64        Complete and feature rich groupware solution - email sp
    ii  kopano-utils                8.7.0-3       amd64        Complete and feature rich groupware solution - admin to
    un  kopano-webapp               <none>        <none>       (no description available)
    ii  kopano-webapp-apache2       3.5.2+dfsg1-1 all          WebApp for the Kopano Collaboration Platform - Apache2
    ii  kopano-webapp-common        3.5.2+dfsg1-1 all          WebApp for the Kopano Collaboration Platform - common f
    ii  kopano-webapp-folderwidgets 3.5.2+dfsg1-1 all          Kopano WebApp folder widgets plugin
    un  kopano-webapp-lighttpd      <none>        <none>       (no description available)
    un  kopano-webapp-nginx         <none>        <none>       (no description available)
    

Log in to reply