importing receipients

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

cunha.b
Posts: 5
Joined: Wed Oct 03, 2007 11:03 am

importing receipients

Post 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.
maschoff
Site Admin
Posts: 2609
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post 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.
OpenEMM Maintainer
cunha.b
Posts: 5
Joined: Wed Oct 03, 2007 11:03 am

Post by cunha.b »

I´m now trying with a 3 line file. Still the same.
maschoff
Site Admin
Posts: 2609
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post 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!
OpenEMM Maintainer
cunha.b
Posts: 5
Joined: Wed Oct 03, 2007 11:03 am

Post 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
cunha.b
Posts: 5
Joined: Wed Oct 03, 2007 11:03 am

Post 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
David Frank
Posts: 1
Joined: Fri Oct 05, 2007 9:28 am

Post 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
maschoff
Site Admin
Posts: 2609
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post 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!
OpenEMM Maintainer
cunha.b
Posts: 5
Joined: Wed Oct 03, 2007 11:03 am

Post by cunha.b »

The tip about the tmp folder worked just fine.

Thenk you very much
maschoff
Site Admin
Posts: 2609
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

bug + fix

Post by maschoff »

Excellent! We will post the bug in our SourceForge bugtracker including the resolution suggested by David. Thank you!
OpenEMM Maintainer
alex78
Posts: 11
Joined: Mon Jul 02, 2007 12:32 pm
Location: Munich

Link to Bugtracker

Post 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
Post Reply