on a fresh DHIS2 installation 2.33, i downloaded the covid-19 surveillance pakcage json file and imported it… it generates the following error.
> Cannot deserialize value of type org.hisp.dhis.chart.ChartType from String "SINGLE_VALUE": value not one of declared Enum instance names: [BAR, LINE, RADAR, GAUGE, STACKED_BAR, PIE, AREA, STACKED_COLUMN, COLUMN] at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: org.hisp.dhis.chart.Chart["type"])
thanks @Gintare here its the about info:
About DHIS 2
Browse it here
fatal: Not a git repository (or any of the parent directories): .git
Jasper reports version:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
Last analytics table generation:
Time since last analytics table generation:
Last analytics table runtime:
Last monitoring request:
External configuration directory:
File store provider:
Read replica count:
Mem Total in JVM: 239 Free in JVM: 66 Max Limit: 239
That’s interesting! I’m failing to reproduce this locally or on play though. SINGLE_VALUE type was introduced in 2.33 and should be accepted by the system. This error, however, is returned when trying to import the file into 2.32. Would you be able to try this on play? How did you build a war file/where did you download it from?
i deployed the app in a docker container. when i import some other metadata files belonging to the same covid-19 package it keeps loading and I see some items are imported in the Loggers screen, but it hangs and never ends.
when i check for the data items , nothing is imported. I thought this may be because of my limited digitalocean droplet memory, I’ll scale it up to 4 gigs and try again.
but again regarding the import issue , i tried to import the package on play and the import went fine , where all the items already exist and nothing was add, the report showed no errors.
where should I point now? all my thanks for the help