AttributeError: 'NoneType' object has no attribute 'something' in search.log



  • Good Morning Forum,

    i got several error messages in search.log:

    2018-07-31 07:49:25,565 - search - ERROR - could not process change for entryid 00000000CE22D605C31949609014182E526145E80100000005000000D73C4122DD924FC2A08508208F46597100000000 ([SPropValue(0x6711000A, 2147746063L), SPropValue(0x6715000A, 2147746063L), SPropValue(0x0FFA0102, '\xce"\xd6\x05\xc3\x19I`\x90\x14\x18.RaE\xe8')]):
    2018-07-31 07:49:25,583 - search - ERROR - Traceback (most recent call last):
      File "/usr/lib/python2.7/site-packages/kopano/ics.py", line 112, in ImportMessageChange
        self.importer.update(item, flags)
      File "/usr/lib/python2.7/site-packages/kopano_search/__init__.py", line 310, in update
        self.queue((0, item.storeid, item.folder.entryid))
    AttributeError: 'NoneType' object has no attribute 'entryid'
    
    OR
    
    2018-07-30 10:16:12,897 - index2 - ERROR - Traceback (most recent call last):
      File "/usr/lib/python2.7/site-packages/kopano/log.py", line 90, in log_exc
        try: yield
      File "/usr/lib/python2.7/site-packages/kopano_search/__init__.py", line 213, in main
        path = folder.path
      File "/usr/lib/python2.7/site-packages/kopano/folder.py", line 239, in path
        parent = parent.parent
      File "/usr/lib/python2.7/site-packages/kopano/folder.py", line 173, in parent
        parent_eid = _benc(self._get_fast(PR_PARENT_ENTRYID))
      File "/usr/lib/python2.7/site-packages/kopano/compat.py", line 100, in benc
        return s.encode(_BIN_ENCODING).strip().upper()
    AttributeError: 'NoneType' object has no attribute 'encode'
    
    

    if i try to resolve the entryids via ‘resolve-entryid.py’ i get:

    # ./resolve-entryid.py --entryid=000000009E29964AE16A481183DABEF8CF22138A01000000050000003462432DEE324930A99B935C103FD4AB00000000
    Entryid : 000000009E29964AE16A481183DABEF8CF22138A01000000050000003462432DEE324930A99B935C103FD4AB00000000
    Guessed storeid : 9E29964AE16A481183DABEF8CF22138A
    Store : postmaster
    User : postmaster (Postmaster)
    Error no item with entryid '000000009E29964AE16A481183DABEF8CF22138A01000000050000003462432DEE324930A99B935C103FD4AB00000000'
    
    # ./resolve-entryid.py --entryid=00000000220B131F9D054CE0A563B3B379A0161D010000000500000062D44CD1087943BCA6E16579FA7F333800000000
    Entryid : 00000000220B131F9D054CE0A563B3B379A0161D010000000500000062D44CD1087943BCA6E16579FA7F333800000000
    Guessed storeid : 220B131F9D054CE0A563B3B379A0161D
    Store : dropzone
    User : dropzone (eMail Dropzone)
    Error no item with entryid '00000000220B131F9D054CE0A563B3B379A0161D010000000500000062D44CD1087943BCA6E16579FA7F333800000000'
    
    # ./resolve-entryid.py --entryid=00000000CE22D605C31949609014182E526145E80100000005000000D73C4122DD924FC2A08508208F46597100000000
    Entryid : 00000000CE22D605C31949609014182E526145E80100000005000000D73C4122DD924FC2A08508208F46597100000000
    Guessed storeid : CE22D605C31949609014182E526145E8
    Store : <user>
    User : <user>(<Users full name>) 
    Error no item with entryid '00000000CE22D605C31949609014182E526145E80100000005000000D73C4122DD924FC2A08508208F46597100000000'
    
     (user manual masked)
    

    i asked the user if he could see some impact on his mails, but it seems all right.
    cant find any myself in dropzone or postmaster…

    This logged error existed in my previous version aswell but i didnt check the log (my bad)
    previous version: 8.5.8.2-27.1
    current versions are in my signature

    any suggestions how i can get more infos or how to “solve” this?

    best regards
    coffee_is_life


  • Kopano

    Hi @Coffee_is_life ,

    since you have a subscription I would recommend getting in contact with our support on this.


Log in to reply