← Back to team overview

dhis2-devs team mailing list archive

Re: Data Set Report is not Downloading to Excel

 

Dear Jason,
The only error found during the data set report process:

https://sl.dhis2.org/hmis/api/dataStatistics [HTTP/1.1 201 Created 184ms]
XML Parsing Error: no root element found
Location: https://sl.dhis2.org/hmis/api/dataStatistics?eventType=DATA_SET_REPORT_VIEW&favorite=UQGPrAQtDIV



On 3/24/17, Jason Pickering <jason.p.pickering@xxxxxxxxx> wrote:
> Ok. Please post it.
>
> This error likely results from invalid HTML in your data set report form.
>
> On Fri, Mar 24, 2017, 18:10 gerald thomas <gerald17006@xxxxxxxxx> wrote:
>
>> Dear Jason,
>> I am receiving a parse error when I execute the report
>>
>> On Mar 24, 2017 22:05, "Jason Pickering" <jason.p.pickering@xxxxxxxxx>
>> wrote:
>>
>> Are there any errors in the browser console or the server when  you
>> execute the report?
>>
>> On Fri, Mar 24, 2017, 18:02 gerald thomas <gerald17006@xxxxxxxxx> wrote:
>>
>> Dear Jason,
>> It is a custom form but there is no JavaScript on it.
>>
>>
>> On Mar 24, 2017 20:17, "Jason Pickering" <jason.p.pickering@xxxxxxxxx>
>> wrote:
>>
>> Custom forms MAY work in dataset reports, but it depends. Are you getting
>> any JavaScript errors in the dataset reports? Any server errors?
>> Are you using any custom JavaScript in your forms?
>>
>> On Fri, Mar 24, 2017 at 9:56 AM, Dapo Adejumo <dapo@xxxxxxxxxxxxxx>
>> wrote:
>>
>> Hi Gerald,
>> Unfortunately custom forms are not properly handled in dataset reports. A
>> work around will be to  “print" the dataset report output to pdf using
>> Chrome.
>> ……………………….
>>
>>
>>
>> *Dapo Adejumo*
>>
>> On 24 Mar 2017, at 14:46, Mohamed Bangura <mbangs87@xxxxxxxxx> wrote:
>>
>> Dear Gerald,
>> Use mozilla firefox to extract the data.
>> Do Ctrl A,Ctrl C
>> Open your blank excel and do ctrl V.
>> Hope this helps.
>> On 3/24/17, gerald thomas <gerald17006@xxxxxxxxx> wrote:
>>
>> Dear all,
>> Please i need your your help it is urgent.
>>
>> On 3/23/17, gerald thomas <gerald17006@xxxxxxxxx> wrote:
>>
>> Dear All,
>> I am having problems downloading Data Set report to excel or pdf. I am
>> using version 2.25. It is working on demo but not on my instance.
>> Please can someone help me with a fix.
>>
>> --
>> Regards,
>>
>> Gerald
>>
>>
>>
>> --
>> Regards,
>>
>> Gerald
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>>
>> --
>> Jason P. Pickering
>> email: jason.p.pickering@xxxxxxxxx
>> tel:+46764147049 <+46%2076%20414%2070%2049>
>>
>>
>


-- 
Regards,

Gerald
POST 
XHR 
https://sl.dhis2.org/hmis/api/i18n [HTTP/1.1 200 OK 238ms]
GET 
XHR 
https://sl.dhis2.org/hmis/api/dimensions/dataSet/UQGPrAQtDIV.json [HTTP/1.1 409 Conflict 435ms]
POST 
XHR 
https://sl.dhis2.org/hmis/dhis-web-commons/oust/setorgunit.action [HTTP/1.1 200 OK 275ms]
GET 
XHR 
https://sl.dhis2.org/hmis/dhis-web-reporting/generateDataSetReport.action [HTTP/1.1 200 OK 1308ms]
POST 
XHR 
https://sl.dhis2.org/hmis/api/dataStatistics [HTTP/1.1 201 Created 184ms]
XML Parsing Error: no root element found
Location: https://sl.dhis2.org/hmis/api/dataStatistics?eventType=DATA_SET_REPORT_VIEW&favorite=UQGPrAQtDIV
Line Number 1, Column 1:  dataStatistics:1:1
GET 
XHR 
https://sl.dhis2.org/hmis/api/systemSettings [HTTP/1.1 200 OK 293ms]
GET 
XHR 
https://sl.dhis2.org/hmis/api/userSettings/keyStyle [HTTP/1.1 200 OK 348ms]
GET 
https://sl.dhis2.org/hmis/dhis-web-commons/css/themes/light_blue/light_blue.css [HTTP/1.1 200 OK 0ms]
GET 
https://sl.dhis2.org/hmis/dhis-web-reporting/generateDataSetReport.action [HTTP/1.1 200 OK 3177ms]

Follow ups

References