← Back to team overview

dhis2-users team mailing list archive

Re: CSV import

 

I have had problems importing in earlier versions of DHIS but I am
about at the point with my current project where I need this to "just
work".
I have exported CSV records from an instance and then been unable to
re-import the same records.
I do hope this gets sorted out.
I'll be working on setting up a new v2.8 instance and trying to import
again and I'll report my progress (or lack thereof).
My greatest frustration has been the lack of comprehensible error
messages and intelligent error handling.  When it fails, it would be
good to get a nice log of the problem (the record where it failed, the
cause of the failure) and it would be nice if it would attempt to
continue with the rest of the records.  Past error logs have been very
generic and difficult to sort out.

.Mark

-- 
Mark Spohr, MD
mhspohr@xxxxxxxxx
+1 530 554 2230

On Tue, May 8, 2012 at 7:58 PM, Hiatt, Mr Tom (WPRO)
<hiattt@xxxxxxxxxxxx> wrote:
> CSV import worked magically for me when importing 13 000 rows of population
> data.
>
>
>
> However, I’m completely perplexed about the behavior of the importer on my
> other data. Here’s an example of what I tried.
>
> -          Import 35 rows of values for one variable -> fail (‘no data
> values found’)
>
> -          Import 2 rows of values for one variable -> success
>
> -          Import those 2 rows again plus 10 more -> success
>
> -          Repeat process until all 35 original rows are in -> success
>
> -          Re-import original 35 rows -> success
>
>
>
> So it’s almost as if the importer can only import a small number at a time,
> but can update many? This certainly doesn’t explain my population dataset,
> but I can’t really figure out this erratic behavior. Also the report when it
> does work is odd giving sometimes fewer numbers next to “imported” than I
> actually did import (these are then added to the “updated” count so the
> total always seems to be accurate.)
>
>
>
> Is anyone having similar trouble?
>
>
>
> Tom
>
>
>
>
>
>
>
> ________________________________
>
> This message was scanned for viruses with Trend Micro ScanMail, GFI
> MailSecurity and GFI MailEssentials by the World Health Organization
> Regional Office for the Western Pacific. However, the recipient is advised
> to scan this e-mail and any attached files for viruses.
>
> Disclaimer:
>
> This e-mail, together with any attachments, is intended for the named
> recipients only and is confidential. It may also be privileged or otherwise
> protected by law.
>
> If you have received it in error, please notify the sender immediately by
> reply e-mail and delete it and any attachments from your system. You may not
> copy or disclose its contents to anyone.
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>


Follow ups

References