dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #12336
Unable to import CSV metadata through import-export app
Hi,
I am attempting to import a CSV metadata file (attached) in 2.25 build
2bac6dc through the import-export app. During the import, I receive the
following error message in the log:
SEVERE: Unable to determine string representation of value of type
[org.hisp.dhis.user.User]
org.hibernate.LazyInitializationException: failed to lazily initialize a
collection of role: org.hisp.dhis.user.User.groups, could not initialize
proxy - no Session
I have tried importing the CSV file with no changes in 2.24 and it goes
through with no problems.
For 2.25, I ended up getting around this by using an XML file instead but
am wondering what this error is?
Thanks,
Nick
name,uid,code,shortname,description,formname,domaintype,valuetype,aggregationoperator,categorycombo,url
Generalist (non-specialist) medical doctors,gdt1JG8fnBa,,Generalist (non-specialist) medical doctors,,,TRACKER,NUMBER,,,
Specialist medical doctors,hQpy0N3o1tS,,Specialist medical doctors,,,TRACKER,NUMBER,,,
Non-physician clinicians/ paramedical professionals,aYx5fIOULcs,,Non-physician clinician/paramedical professional,,,TRACKER,NUMBER,,,
Nursing professionals,EW84Xmc5ZM1,,Nursing professionals,,,TRACKER,NUMBER,,,
Midwifery professionals,kmRELUocB7A,,Midwifery professionals,,,TRACKER,NUMBER,,,
Pharmacists,Ym4xxYoniQV,,Pharmacists,,,TRACKER,NUMBER,,,
Laboratory technicians,ADVjtJk41id,,Laboratory technicians,,,TRACKER,NUMBER,,,
Community health workers,tMTvLFgSKcT,,Community health workers,,,TRACKER,NUMBER,,,
Administrative Staff,Tl6xFPf714T,,Administrative Staff,,,TRACKER,NUMBER,,,
General Staff,XZpsSTzi7Yv,,General Staff,,,TRACKER,NUMBER,,,
"Overnight/ inpatient beds, for adults and children",AWYQLsZfPAP,,Overnight/inpatient beds adults and children,,,TRACKER,NUMBER,,,
Dedicated maternity beds,UETWB0MLCwb,,Dedicated maternity beds,,,TRACKER,NUMBER,,,
Functional ambulance,m6YcaZEBsan,,Functional ambulance,,,TRACKER,BOOLEAN,,,
Access to email or internet,esVEHl5yiMj,,Access to email or internet,,,TRACKER,BOOLEAN,,,
Functioning computer,CGnwNpK8yGf,,Functioning computer,,,TRACKER,BOOLEAN,,,
Functioning cellular telephone or a private cellular phone,kVikM5ejzRy,,Functioning cellphone or a private cellphone,,,TRACKER,BOOLEAN,,,
Access to an ambulance or other vehicle for emergency transport stationed at another facility,RFVMXwNyAkI,,Acces ambulance other vehicle for emergency,,,TRACKER,BOOLEAN,,,
"Electricity from any source (e.g. electricity grid, generator, solar, or other)",AfXwLEypQQT,,Electricity from any source,,,TRACKER,BOOLEAN,,,
Grid electricity,QxEnaQvjQND,,Grid electricity,,,TRACKER,BOOLEAN,,,
Solar power functional,Wsm0xXls7Jz,,Solar power functional,,,TRACKER,BOOLEAN,,,
Functioning Generator,ieTkrACL0bj,,Functioning Generator,,,TRACKER,BOOLEAN,,,
Piped water,hySmDEGYJr2,,Piped water,,,TRACKER,BOOLEAN,,,
Well or borehole,PCKEes4W7tf,,Well or borehole,,,TRACKER,BOOLEAN,,,
Unprotected spring,kr9J1nHZnnp,,Unprotected spring,,,TRACKER,BOOLEAN,,,
Tanker truck,AsTA8wCLozs,,Tanker truck,,,TRACKER,BOOLEAN,,,
Water under 500m from facility,ECTHsMXu0ct,,Water under 500m from facility,,,TRACKER,BOOLEAN,,,