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

    remove-duplicates.py

    Kopano Groupware Core
    1
    1
    123
    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.
    • yythoss
      yythoss last edited by

      I wanted to delete duplicate contacts with this script. This error message comes up:

        File "./remove-duplicates.py", line 102, in <module>
          main()
        File "./remove-duplicates.py", line 79, in main
          md5 = contacts(item)
        File "./remove-duplicates.py", line 35, in contacts
          md5.update(item.prop(PR_HOME_TELEPHONE_NUMBER).value)
        File "/usr/lib/python2.6/site-packages/kopano/properties.py", line 42, in prop
          proptype=proptype)
        File "/usr/lib/python2.6/site-packages/kopano/property_.py", line 206, in prop
          raise NotFoundError('no such property: %s' % REV_TAG.get(proptag, hex(proptag)))
      kopano.errors.NotFoundError: no such property: PR_HOME_TELEPHONE_NUMBER
      
      

      Can someone help me

      kopano-admin 8.7.5.0
      CentOS6 php56
      Python 2.6.6

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