When importing my facilies and their cordonates in my DHIS2, i encounter this error :
OrganisationUnit Infirmerie Militaire de Almamiya 1 Validation Violations: [ValidationViolation{property=‘uuid’, message=‘Allowed range for length [36, 36], length is 12’, value=-14.03008255}]
I need your ideas.
I have OS :Ubuntu DHIS2 version : 2.22
Best regards.
Diao
···
**DIALLO MAMADOU DIAO CONSEILLER IT, SPECIALISTE DE DHIS 2 **( District Health Information Software ) MEASURE Evaluation | JSI
When importing my facilies and their cordonates in my DHIS2, i encounter this error :
OrganisationUnit Infirmerie Militaire de Almamiya 1 Validation Violations: [ValidationViolation{property=‘uuid’, message=‘Allowed range for length [36, 36], length is 12’, value=-14.03008255}]
I need your ideas.
I have OS :Ubuntu DHIS2 version : 2.22
Best regards.
Diao
–
**DIALLO MAMADOU DIAO CONSEILLER IT, SPECIALISTE DE DHIS 2 **( District Health Information Software ) MEASURE Evaluation | JSI
When importing my facilies and their cordonates in my DHIS2, i encounter this error :
OrganisationUnit Infirmerie Militaire de Almamiya 1 Validation Violations: [ValidationViolation{property=‘uuid’, message=‘Allowed range for length [36, 36], length is 12’, value=-14.03008255}]
I need your ideas.
I have OS :Ubuntu DHIS2 version : 2.22
Best regards.
Diao
–
**DIALLO MAMADOU DIAO CONSEILLER IT, SPECIALISTE DE DHIS 2 **( District Health Information Software ) MEASURE Evaluation | JSI
when importing csv, you have to specify all columns from the interface up to the
coordinates with empty fields(,):
name,uid,code,parentuid,shortname,description,uuid,openingdate,closeddate,comment,feature
type,coordinates
Your csv is being interpreted as longitude being the description and latitude
being the uuid (which has a shorter format). Please note that the names in the
first line are merely for decoration and is not read by the importer.
Hope that helps - Greetings to Guineé
Uwe
···
Diao Diallo <diao_diallo@gn.jsi.com> hat am 6. Juni 2016 um 17:35 geschrieben:
Please find attached a simple file.
Regards.
Diao
On Mon, Jun 6, 2016 at 2:10 PM, Knut Staring <knutst@gmail.com> wrote:
> Hi Diao,
>
> Can you post this line in the CSV file also? Or perhaps the whole file if
> it is not too big.
>
> Perhaps you have some trailing spaces or funny characters for this OU?
>
> Knut
>
> On Mon, Jun 6, 2016 at 4:06 PM, Diao Diallo <diao_diallo@gn.jsi.com> > > wrote:
>
>> Dear all,
>>
>> When importing my facilies and their cordonates in my DHIS2, i encounter
>> this error :
>>
>> *OrganisationUnit* *Infirmerie Militaire de Almamiya 1*
>> *Validation Violations: [ValidationViolation{property='uuid',
>> message='Allowed range for length [36, 36], length is 12',
>> value=-14.03008255}]*
>>
>> I need your ideas.
>>
>> I have *OS :* *Ubuntu DHIS2 version :* 2.22
>>
>> Best regards.
>>
>> Diao
>> --
>> *DIALLO MAMADOU DIAO CONSEILLER IT, SPECIALISTE DE DHIS 2 **( District
>> Health Information Software )*
>> *MEASURE Evaluation | JSI*
>> *PHONE : 623909413 | 662256106*
>> *SKYPE : diawwdiallo*
>> www.jsi.com
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://dhis2.org
>
The column order is what is important, not the header. That would explain the error. Please reformat your file according to the specification, and try again. You must provide blank fields if you do not have the values.
When importing my facilies and their cordonates in my DHIS2, i encounter this error :
OrganisationUnit Infirmerie Militaire de Almamiya 1 Validation Violations: [ValidationViolation{property=‘uuid’, message=‘Allowed range for length [36, 36], length is 12’, value=-14.03008255}]
I need your ideas.
I have OS :Ubuntu DHIS2 version : 2.22
Best regards.
Diao
–
**DIALLO MAMADOU DIAO CONSEILLER IT, SPECIALISTE DE DHIS 2 **( District Health Information Software ) MEASURE Evaluation | JSI
One more thing: latitude and longitude are a string in one single field and have
to be accompanied by the feature type. Please compare the import definition from
the manual:
Uwe Wahser <uwe@wahser.de> hat am 6. Juni 2016 um 18:02 geschrieben:
Hi Diao,
when importing csv, you have to specify all columns from the interface up to
the
coordinates with empty fields(,):
name,uid,code,parentuid,shortname,description,uuid,openingdate,closeddate,comment,feature
type,coordinates
Your csv is being interpreted as longitude being the description and latitude
being the uuid (which has a shorter format). Please note that the names in the
first line are merely for decoration and is not read by the importer.
Hope that helps - Greetings to Guineé
Uwe
> Diao Diallo <diao_diallo@gn.jsi.com> hat am 6. Juni 2016 um 17:35
> geschrieben:
>
>
> Please find attached a simple file.
>
> Regards.
>
> Diao
>
> On Mon, Jun 6, 2016 at 2:10 PM, Knut Staring <knutst@gmail.com> wrote:
>
> > Hi Diao,
> >
> > Can you post this line in the CSV file also? Or perhaps the whole file if
> > it is not too big.
> >
> > Perhaps you have some trailing spaces or funny characters for this OU?
> >
> > Knut
> >
> > On Mon, Jun 6, 2016 at 4:06 PM, Diao Diallo <diao_diallo@gn.jsi.com> > > > wrote:
> >
> >> Dear all,
> >>
> >> When importing my facilies and their cordonates in my DHIS2, i encounter
> >> this error :
> >>
> >> *OrganisationUnit* *Infirmerie Militaire de Almamiya 1*
> >> *Validation Violations: [ValidationViolation{property='uuid',
> >> message='Allowed range for length [36, 36], length is 12',
> >> value=-14.03008255}]*
> >>
> >> I need your ideas.
> >>
> >> I have *OS :* *Ubuntu DHIS2 version :* 2.22
> >>
> >> Best regards.
> >>
> >> Diao
> >> --
> >> *DIALLO MAMADOU DIAO CONSEILLER IT, SPECIALISTE DE DHIS 2 **( District
> >> Health Information Software )*
> >> *MEASURE Evaluation | JSI*
> >> *PHONE : 623909413 | 662256106*
> >> *SKYPE : diawwdiallo*
> >> www.jsi.com
> >>
> >> _______________________________________________
> >> Mailing list: https://launchpad.net/~dhis2-users
> >> Post to : dhis2-users@lists.launchpad.net
> >> Unsubscribe : https://launchpad.net/~dhis2-users
> >> More help : https://help.launchpad.net/ListHelp
> >>
> >>
> >
> >
> > --
> > Knut Staring
> > Dept. of Informatics, University of Oslo
> > Norway: +4791880522
> > Skype: knutstar
> > http://dhis2.org
> >
>
>
>
> --
> *DIALLO MAMADOU DIAO CONSEILLER IT, SPECIALISTE DE DHIS 2 **( District
> Health Information Software )*
> *MEASURE Evaluation | JSI*
> *PHONE : 623909413 | 662256106*
> *SKYPE : diawwdiallo*
> www.jsi.com
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help : https://help.launchpad.net/ListHelp