← Back to team overview

dhis2-users team mailing list archive

Re: Import / export event Report

 

Yes I checked all the UIDs in the XML and they all exist (because I already imported everything before and it worked correctly).

 

If a UID was incorrect I would have an conflict or something…

 

To make sure, here are screenshots from my target DHIS instance (request made through the web API):

 

dataElements:



 

Program:



ProgramStage:



Org unit:



 

 

No error in the logs from Tomcat (Catalina.out):

 

* INFO  2015-02-13 14:34:40,790 User 'admin' started import at Fri Feb 13 14:34:40 CET 2015 (DefaultImportService.java [taskScheduler-1])

* INFO  2015-02-13 14:34:40,798 [Level: INFO, category: METADATA_IMPORT, time: Fri Feb 13 14:34:40 CET 2015, message: Importing meta-data] (InMemoryNotifier.java [taskScheduler-1])

* INFO  2015-02-13 14:34:40,799 Building object-bridge maps (preheatCache: true). (DefaultObjectBridge.java [taskScheduler-1])

* INFO  2015-02-13 14:34:41,641 Building object-bridge maps took 0.84 seconds. (DefaultObjectBridge.java [taskScheduler-1])

* INFO  2015-02-13 14:34:41,647 [Level: INFO, category: METADATA_IMPORT, time: Fri Feb 13 14:34:41 CET 2015, message: Importing 1 EventReports] (InMemoryNotifier.java [taskScheduler-1])

* INFO  2015-02-13 14:34:41,649 [Level: INFO, category: METADATA_IMPORT, time: Fri Feb 13 14:34:41 CET 2015, message: Import done. Completed in 0.85 seconds.] (InMemoryNotifier.java [taskScheduler-1])

 

I also checked in the database, all the tables eventreport* are empty in my target but they contain something (what I want to export) in my source…

 

I have no idea why nothing happens…

Novel-T Sàrl

Yoann MIRA - Solutions Engineer

W:  <http://www.novel-t.ch/> www.novel-t.ch | @:  <mailto:ym@xxxxxxxxxx> ym@xxxxxxxxxx

 

From: Alex Tumwesigye [mailto:atumwesigye@xxxxxxxxx] 
Sent: vendredi 13 février 2015 14:16
To: Yoann Mira
Subject: Re: [Dhis2-users] Import / export event Report

 

Yoann,

 

The xml looks complete.

 

can you verify that the organisationUnit exists for which you are importing the report to?

 

Alex

 

On Fri, Feb 13, 2015 at 3:26 PM, Yoann Mira <ym@xxxxxxxxxx <mailto:ym@xxxxxxxxxx> > wrote:

Hi,

 

Here are the full screenshots (Dry run was set to no):





 



 

 

You can also find attached the XML used for the import (I can’t attach the zip file, but when I try to import it, I use the zip file)

 

Thanks for your help.

Novel-T Sàrl

Yoann MIRA - Solutions Engineer

W:  <http://www.novel-t.ch/> www.novel-t.ch | @:  <mailto:ym@xxxxxxxxxx> ym@xxxxxxxxxx

 

From: Alex Tumwesigye [mailto:atumwesigye@xxxxxxxxx] 
Sent: jeudi 12 février 2015 17:30
To: Yoann Mira
Cc: dhis2-users@xxxxxxxxxxxxxxxxxxx <mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx> 
Subject: Re: [Dhis2-users] Import / export event Report

 

Dear Yoann,

 

Please provide a full screenshot, is dry Run set to yes or No?

 

Alex

 

On Thu, Feb 12, 2015 at 6:33 PM, Yoann Mira <ym@xxxxxxxxxx <mailto:ym@xxxxxxxxxx> > wrote:

Hi everyone,

 

I would like to export an event report from one DHIS instance to another one.

But when I do it, nothing happens.



As you can see on this screenshot, the system detects that there is a report to import, but then nothing is imported…



 

My source and targeted DHIS2 instances are exactly the same (except for the report) : so same UIDs, same OU, same Tracked entities,… This is because because one is the copy of the virtual machine hosting the other one.

 

Just for testing purpose, I tried to import other meta-data (org-units and Programs) and it worked correctly…

 

Do you have any idea why it doesn’t work?

 

Novel-T Sàrl

Yoann MIRA - Solutions Engineer 

 


_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx <mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx> 
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp





 

-- 

Alex Tumwesigye

 

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET

Kampala

Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems - DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161 <tel:%2B%20256%20759%20800161> 


"I don't want to be anything other than what I have been - one tree hill "


_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx <mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx> 
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp





 

-- 

Alex Tumwesigye

 

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET

Kampala

Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems - DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161


"I don't want to be anything other than what I have been - one tree hill "

JPEG image

JPEG image

JPEG image

JPEG image

JPEG image

JPEG image

JPEG image

JPEG image

JPEG image


References