Page 1 of 1

importing receipients

Posted: Wed Oct 03, 2007 11:05 am
by cunha.b
I'm a new user.
Everything works fine but I can't import recipients.

My csv-file:

GENDER;FIRSTNAME;LASTNAME;MAILTYPE;EMAIL
0;nome1;nome2;1;vandan@expresso.pt
1;2nome2;2nome2;1;unimagem@unimagem.pt

All steps of the import-assistant 1 to 6 work, but when i get to step 7, my browser shows the information: "IMPORTING DATA" and it just keeps refreshing and nothing hapens.

Posted: Wed Oct 03, 2007 12:40 pm
by maschoff
How big is your import file? Larger files may take a while and cause a timeout. In this case just split your file in chunks of 20,000 or 30,000 recipients per file.

Posted: Wed Oct 03, 2007 12:41 pm
by cunha.b
I´m now trying with a 3 line file. Still the same.

Posted: Wed Oct 03, 2007 12:46 pm
by maschoff
If your file is just 3 lines could you anonymize its content and post it here? Or go to our demo account at address

http://demo.openemm.org:8081/logon.do?action=0

(user: user, password: testme)

and try out if it works there. Thank you!

Posted: Wed Oct 03, 2007 12:52 pm
by cunha.b
yes. I works there.

I even tried to import a file exported from your demo and the problem is always the same.

Thanks

Posted: Thu Oct 04, 2007 12:56 pm
by cunha.b
I forgot to mention that I'm running openEMM on a windows XP machine.

Today I tried a couple of things:

- 2 different machines - also windows XP
- openEMM 5.1
- firefox instead of ie

The problem is always the same: on step 7 I get the importing data information and nothing happens.

Thanks in advance

Posted: Fri Oct 05, 2007 9:44 am
by David Frank
It seems the tmp-folder settings for Windows is wrong. Thats why import and export of recipients (and probably attachment uploading) fails.

In C:\OpenEMM\webapps\openemm\htdocs\WEB-INF\classes\emm.properties

you find two properties

Code: Select all

system.upload_archive=/tmp
system.attachment_archive=/tmp
which make sense on linux but not on Windows. Change them to

Code: Select all

system.upload_archive=tmp
system.attachment_archive=tmp
and OpenEmm will use C:\OpenEMM\tmp as temporary folder.

hth,
dave

Posted: Fri Oct 05, 2007 10:39 am
by maschoff
I just tried an import with OpenEMM 5.3 / Windows 2000 and it worked fine. However, we will look deeper into this issue next week. Stay tuned!

Posted: Mon Oct 08, 2007 11:57 am
by cunha.b
The tip about the tmp folder worked just fine.

Thenk you very much

bug + fix

Posted: Mon Oct 08, 2007 12:11 pm
by maschoff
Excellent! We will post the bug in our SourceForge bugtracker including the resolution suggested by David. Thank you!

Link to Bugtracker

Posted: Mon Oct 08, 2007 1:38 pm
by alex78
Hello,

here you can find the bug and the resolution suggested by David:
http://sourceforge.net/tracker/index.ph ... tid=848488

_________________
The OpenEMM Team