Re: [Dhis2-devs] [Dhis2-users] DHIS2 2.30 IMPORT/EXPORT ISSUE

2018-11-06 Thread Muhammad Adeel
Hi Peter / Kris,

We fixed the bug related to importing CSV (file extension) in caps.
Can you guys send us the files to test so we can resolve the bugs.
Additionally you can file bugs in jira.dhis2.org and assign me to resolve
them.

Regards,
Adeel

On Tue, Nov 6, 2018 at 6:38 AM Viet Nguyen  wrote:

> Hi Peter,
>
> Please help to report the issues you got on jira.dhis2.org so we could
> check and fix the import/export app.
>
> Thanks,
>
> On Tue, Nov 6, 2018 at 10:24 AM Peter D Lubambi 
> wrote:
>
>> I think the import function in dhis2 2.30 is not working completely, can
>> someone confirm otherwise? I, as well tried importing in 2.30 several times
>> it never worked, had to downgrade to 2.29 then I was able to import.
>>
>> Peter
>>
>> On Mon, Nov 5, 2018, 3:09 PM Kristiyan Panayotov <
>> kristi...@logicaloutcomes.net wrote:
>>
>>> Hi all – thank for your support and suggestions.
>>>
>>>
>>>
>>> We managed to find a solution to our problem. We downgraded to version
>>> 2.29 and found a good balance between using the new Android app together
>>> with import functionalities.
>>> For importing Org Units through a .csv file in version 2.30 – I will say
>>> that it was not possible after all. We tried many different combinations
>>> for creating the .csv files and none was successful. Together with the fact
>>> that some of the Org Unit csv files have been successfully imported in
>>> versions 2.25 – 2.29
>>>
>>>
>>>
>>> Regards and thank you all
>>>
>>> Kris
>>>
>>>
>>>
>>> *From:* Viet Nguyen [mailto:v...@dhis2.org]
>>> *Sent:* Friday, November 2, 2018 10:24 AM
>>> *To:* dco...@baosystems.com
>>> *Cc:* Georgi Chakarov ; dhis2-users <
>>> dhis2-us...@lists.launchpad.net>; Kristiyan Panayotov <
>>> kristi...@logicaloutcomes.net>; dhis2-devs <
>>> dhis2-devs@lists.launchpad.net>
>>> *Subject:* Re: [Dhis2-devs] DHIS2 2.30 IMPORT/EXPORT ISSUE
>>>
>>>
>>>
>>> Hi Georgi and Kristiyan,
>>>
>>>
>>>
>>> Could you try to change the file extension from ".CSV" to lowercase and
>>> import again ? I think this is a bug, already reported to the app developer
>>> and he's fixing it.
>>>
>>>
>>>
>>> We also have added the import summary which will show all the import
>>> errors. It's on master and being backported to 2.30.
>>>
>>>
>>>
>>> Regards,
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Fri, Nov 2, 2018 at 5:04 AM Dan Cocos  wrote:
>>>
>>> Is it encoded as UTF-8? I noticed as few “special” charters and that
>>> might cause problems.
>>>
>>>
>>>
>>> Dan Cocos
>>>
>>> *BAO Systems*
>>>
>>> On Nov 1, 2018, at 5:33 PM, Georgi Chakarov 
>>> wrote:
>>>
>>> Hi Blake,
>>>
>>>
>>>
>>> Thanks for your response!
>>>
>>>
>>>
>>> I am a colleague of Kristiyan. We use csv format as we have always used
>>> for DHIS2 versions 2.28 and below.
>>>
>>> So it seems that DHIS2 changed standards for csv for some reason. The
>>> exact same csv that Kris sent you was used to import org units in 2.28
>>> instance and now is not recognized. We compared the template layout in 2.30
>>> and it matches a 100% our file. I have also tried a csv export software
>>> with different options of csv files with no luck.
>>>
>>>
>>>
>>> Maybe you could advice on how you generate csv files?
>>>
>>>
>>>
>>> Regards,
>>>
>>> Georgi
>>>
>>>
>>>
>>> *From:* Blake Hansen 
>>> *Sent:* Thursday, November 1, 2018 7:17 PM
>>> *To:* Kristiyan Panayotov 
>>> *Cc:* calle.hedb...@gmail.com; DHIS 2 Users list <
>>> dhis2-us...@lists.launchpad.net>; Georgi Chakarov <
>>> geo...@logicaloutcomes.net>; dhis2-devs 
>>> *Subject:* Re: [Dhis2-devs] DHIS2 2.30 IMPORT/EXPORT ISSUE
>>>
>>>
>>>
>>> Hi Kris,
>>>
>>>
>>>
>>> I haven’t looked at your .csv file, but from your screenshot it is clear
>>> DHIS2 is not recognising it as a .csv file type. If it were, you would see
>>> an extra menu appear and be able to select the object type you are
>>> attempting to create (see my screenshot). This is not visible in your
>>> screenshot.
>>>
>>>
>>>
>>> 
>>>
>>>
>>>
>>> Some things to check:
>>>
>>> Has your template *strictly *followed the csv template layout in the
>>> documentation?
>>> https://docs.dhis2.org/2.30/en/developer/html/webapi_csv_metadata_import.html#webapi_csv_org_units
>>>
>>> Is your .csv format the correct .csv format for DHIS2? (Some .csv in
>>> francophone countries struggle as they use semi-colon)
>>>
>>>
>>>
>>> Hopefully something there is helpful. If not, it may be a bug but let’s
>>> test those things first.
>>>
>>> It is also worth checking whether your import strategies are doing what
>>> you expect. The default on the new system is different to the old.
>>> Strategies are also found in the documentation - section 1.11
>>>
>>>
>>>
>>> All best,
>>>
>>> Blake
>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>>
>>>
>>>
>>> 
>>>
>>> *Blake Hansen*
>>> Projects Implementation Manager, BAO Systems
>>>
>>> +1 202-536-1541 | bhan...@baosystems.com | http://www.baosystems.com |
>>>
>>> Skype: blake.a.hansen | 2900 K Street, Suite 507, Washington D.C. 20007
>>>
>>>
>>>
>>> Register 

Re: [Dhis2-devs] Data export issues

2018-10-16 Thread Muhammad Adeel
Hi Norberto,

I think someone from the *Backend Team* should help you with this. Because,
I am not familiar with how to correct data corruption with Organization
Units inside the Database.

Kind Regards,
Adeel

On Tue, Oct 16, 2018 at 11:52 AM Norberto Banze 
wrote:

> Hi Muhammad,
>
> I am still on this problem (not being able to export data from certain org
> units), as I was saying it doesn't show me the *Search *field  like the
> way it shows when creating/updating a user org unit access. This is
> happening on data export and Event export. Above Org unit it was supposed
> to have the search field. I tried to search using F3 to bring me the search
> bar but the org units that I need are not there on the displayed list.
>
> Best,
> NB
> ------
> *From:* Muhammad Adeel 
> *Sent:* Tuesday, October 9, 2018 11:28 AM
> *To:* Norberto Banze
> *Cc:* djib...@hisp.org; Dhis2-devs; DHIS 2 Developers list
> *Subject:* Re: [Dhis2-devs] Data export issues
>
> Hi Norberto,
>
> Which field is missing in the data export.
>
> On Tue, Oct 9, 2018 at 10:42 AM Norberto Banze 
> wrote:
>
> Hi Djibril,
>
> This happened after upgrading to version 2.30 has nothing to do with the
> comma delimited format.
>
>
> Hi @'Muhammad Adeel' ,
>
> That is possible when assigning a user to a org unit but on data export
> you don't have the field.
>
>
> Thanks all,
>
> *Norberto Victorino Banze*
>
> *MEL Program Officer/ Digital Health*
>
> nba...@pathfinder.org | skype: norbertob.pi
> Tel: +258 21 416607, Ext. 000 | Mobile: +258 847305995
>
> Personal fax: 21016375
>
>
>
> *PATHFINDER INTERNATIONAL*
>
> Rua Éça de Queiroz, 135 - Maputo City, Mozambique - CP 1590
>
> www.pathfinder.org | Facebook
> <http://www.facebook.com/PathfinderInternational> | Twitter
> <http://twitter.com/PathfinderInt>
>
> *Pathfinder International removes barriers to critical sexual and
> reproductive health services in developing countries, ensuring millions of
> women, men, and young people are able to choose their own paths forward.
> Change lives with us.*
> --
> *From:* Djibril Dione 
> *Sent:* Tuesday, October 9, 2018 10:06 AM
> *To:* 'Muhammad Adeel'; 'Norberto Banze'
> *Cc:* 'Dhis2-devs'; 'DHIS 2 developers'
> *Subject:* RE: [Dhis2-devs] Data export issues
>
>
> Hi Norberto,
>
> It looks like you have imported the Ogunit on a semi comma(;) delimited
> format.
>
>
>
> Djibril
>
>
>
> *From:* Dhis2-devs  hisp@lists.launchpad.net> *On Behalf Of *Muhammad Adeel
> *Sent:* Monday, 08 October 2018 5:23 PM
> *To:* Norberto Banze 
> *Cc:* Dhis2-devs  qebo.co...@lists.launchpad.net>; DHIS 2 developers <
> dhis2-devs@lists.launchpad.net>
> *Subject:* Re: [Dhis2-devs] Data export issues
>
>
>
> Hi Norberto,
>
>
>
> It looks like data corruption. The only way to select .Org Units in this
> is to use search/find in the browser and select the appropriate org unit
> entry.
>
>
>
> Regards,
>
> Adeel
>
>
>
> On Mon, 8 Oct 2018 at 16:21, Norberto Banze 
> wrote:
>
> Version 2.30
> --
>
> *From:* Norberto Banze
> *Sent:* Monday, October 8, 2018 4:19 PM
> *To:* DHIS 2 developers; Dhis2-devs
> *Subject:* Data export issues
>
>
>
> Hi Devs,
>
>
>
> I am having serious problems with my organization units, its has been very
> hard, almost impossible in some cases to select a specif organization unit
> from my tree. See image below. The same happens when assigning a user to
> org unit.
>
>
>
> Can someone help
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
> *This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer
> <http://www.hisp.org/policies.html#comms_disclaimer>.  Please read the
> disclaimer before opening any attachment or taking any other action in
> terms of this electronic transmission.  If you cannot access the
> disclaimer, kindly send an email to disclai...@hisp.org
>  and a copy will be provided to you. By replying to
> this e-mail or opening any attachment you agree to be bound by the
> provisions of the disclaimer.*
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Metadata import not working v2.30

2018-10-05 Thread Muhammad Adeel
Hi Norberto,

One of our backend engineers is looking into this issue, to see why log
entries are not retrieved from the backend

*Example *
https://play.dhis2.org/2.30/api/29/system/tasks/METADATA_IMPORT?lastId=lZIjHzBgdLc

*lastId* in the above URL is *lZIjHzBgdLc. *API request to the endpoint
should return entries after record *lZIjHzBgdLc*

We will keep you updated as we debug this issue.

Kind Regards,
Adeel



On Fri, Oct 5, 2018 at 6:51 PM Norberto Banze 
wrote:

> Hi Muhammad,
>
> Sorry for my late reply, I was very busy this afternoon.
>
> Please find attached the XML file.
>
>
> Best,
> NB
> ------
> *From:* Muhammad Adeel 
> *Sent:* Friday, October 5, 2018 1:43 PM
> *To:* norbertoba...@live.com
> *Cc:* DHIS 2 Developers list; dhis2-devs-bounces+samuel.johnson=
> qebo.co...@lists.launchpad.net
> *Subject:* Re: [Dhis2-devs] Metadata import not working v2.30
>
> Hi Norberto,
>
> Sorry about the last email subject had *DHIS v2.30*.
> I am consulting with Backend devs to look at this issue.
> If you can forward us the XML file we can validate the import as well.
>
> Regards,
> Adeel
>
> On Fri, Oct 5, 2018 at 11:37 AM Norberto Banze 
> wrote:
>
> Hi Devs,
>
> I am having issues importing data using xml file. The report I get from
> the LOGGER is that all metadata have been ignored but it doesn't' give me
> any report with errors.
>
> Can someone help with this.
>
> I have downloaded category options in XML format and edited public access
> from rw to rwrw because I want all users to be able to edit and view
> metadata and capture and view data. The quicker way I found to edit the
> sharing access on all categories was through this process. But when i try
> to upload the file no success and no error.
>
> Best,
> NB
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Metadata import not working v2.30

2018-10-05 Thread Muhammad Adeel
Hi Norberto,

Sorry about the last email subject had *DHIS v2.30*.
I am consulting with Backend devs to look at this issue.
If you can forward us the XML file we can validate the import as well.

Regards,
Adeel

On Fri, Oct 5, 2018 at 11:37 AM Norberto Banze 
wrote:

> Hi Devs,
>
> I am having issues importing data using xml file. The report I get from
> the LOGGER is that all metadata have been ignored but it doesn't' give me
> any report with errors.
>
> Can someone help with this.
>
> I have downloaded category options in XML format and edited public access
> from rw to rwrw because I want all users to be able to edit and view
> metadata and capture and view data. The quicker way I found to edit the
> sharing access on all categories was through this process. But when i try
> to upload the file no success and no error.
>
> Best,
> NB
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Metadata import not working v2.30

2018-10-05 Thread Muhammad Adeel
Hi Norberto,


   - Which version of DHIS2 are you using
   - Can you please forward the XML file you are importing


Regards,
Adeel

On Fri, Oct 5, 2018 at 11:37 AM Norberto Banze 
wrote:

> Hi Devs,
>
> I am having issues importing data using xml file. The report I get from
> the LOGGER is that all metadata have been ignored but it doesn't' give me
> any report with errors.
>
> Can someone help with this.
>
> I have downloaded category options in XML format and edited public access
> from rw to rwrw because I want all users to be able to edit and view
> metadata and capture and view data. The quicker way I found to edit the
> sharing access on all categories was through this process. But when i try
> to upload the file no success and no error.
>
> Best,
> NB
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Setup DHIS2 in Linux (Debian)

2018-08-27 Thread Muhammad Adeel
Hi Nayeem,


   1. I have a Ansible configuration for Ubuntu here
   https://github.com/adeelshahid/dhis2-core-ansible/ it can be tuned for
   Debian or you can get an idea what needs to be in place to put up things.
   2. *Scaling the setup*. Too much PostgresSQL data, how does one shard or
   scale DHIS2 system. Which is important to plan before running into problems
   in the future. I would recommend some backend person responds on that.

Regards,
Adeel

On Mon, Aug 27, 2018 at 9:45 AM Nayeem Al Mifthah 
wrote:

> Anyone having documentation on setup DHIS2 in Debian?
>
>
> *Nayeem Al Mifthah*
> *Health Information Systems Specialist*
> Support to the National HMIS
> MIS, Directorate General of Health Services, Ministry of Health and Family
> Welfare, Bangladesh
> Telephone: +880-2-58816459|Fax: +880-2-58813875|Mobile:
>  +88-01914 030 574
> Email: n.mift...@gmail.com|Skype: nayeem.a.m|   LinkedIn:
> linkedin.com/in/nayeemam
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] No option to select format in 2.30 metadata import

2018-08-07 Thread Muhammad Adeel
When you select to import *CSV*, you'll see an *Object Type* option. This
was missing earlier, we added it today.






On Tue, Aug 7, 2018 at 8:48 PM, Abumere Ejakhegbe <
abumere.ejakhe...@gmail.com> wrote:

> I had to roll back to v2.29 today. Data import is more straight forward in
> v2.30 compared to metadata import. I hope this strategy is revisited for
> simplicity.
>
> On Mon, 6 Aug 2018, 22:44 Shurajit Dutta,  wrote:
>
>> Hi
>>
>> There is currently no option to select the file format of the metadata
>> you are importing in 2.30.
>>
>> Is this by design?
>>
>> [image: image.png]
>>
>> I cant seem to get any metadata to import successfully at the moment.
>>
>> Thanks,
>> Nick
>>
>> --
>> Shurajit Dutta (MPH, MHI)
>> Health Information Systems Adviser
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] No option to select format in 2.30 metadata import

2018-08-07 Thread Muhammad Adeel
based on file extension we automatically detect file type

On Tue, 7 Aug 2018 at 04:06, Morten Olav Hansen  wrote:

> Hi Nick
>
> This is being worked on, hopefully it should be OK soon.
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> Team Integration Lead
> University of Oslo
> http://www.dhis2.org
>
> On Tue, Aug 7, 2018 at 4:43 AM, Shurajit Dutta 
> wrote:
>
>> Hi
>>
>> There is currently no option to select the file format of the metadata
>> you are importing in 2.30.
>>
>> Is this by design?
>>
>> [image: image.png]
>>
>> I cant seem to get any metadata to import successfully at the moment.
>>
>> Thanks,
>> Nick
>>
>> --
>> Shurajit Dutta (MPH, MHI)
>> Health Information Systems Adviser
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Fwd: Loggerview messages received on using import/export forms

2018-08-03 Thread Muhammad Adeel
Hi Abumere,

It’s at the bottom if you expand the logger bar. When you start importing
it will show up automatically.

Regards,
Adeel

On Fri, 3 Aug 2018 at 12:22, Abumere Ejakhegbe 
wrote:

>
> Hello All,
>
> Any help about getting "Loggerview messages received on using
> import/export forms" when i try to import data? Where is this log located
> to check.
>
> I am using version 2.30.
>
> Thanks.
> Abumere
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp