Postby roshajai » Fri Sep 09, 2005 4:00 am
I have tried to use the import_contact.py python script but it shows error while import contacts from either CSV to LDIF formats i am getting the following error message
Opening /tmp/sx.contacts.8239.save
File type is CSV from
Mod_python error: "PythonHandler import_contacts"
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
result = object(req)
File "/var/www/html/import/import_contacts.py", line 805, in handler
process_imports()
File "/var/www/html/import/import_contacts.py", line 770, in process_imports
temp_file = importfile.file
AttributeError: 'file' object has no attribute 'file'
Not sure where it going wrong.