Failed to read jrxml file into a template
Submitted by PeterG on Wed, 12/05/2010 - 20:40
Hi everyone,
Is there a bug I don't know about where you can't upload jrxml files into templates? I can't upload this file into a new template regardless of what I try.
I have attempted to upload this jrxml file and others into a new template on multiple instances of browsers on different machines. I get a red box "Error" saying "Failed to read [filename].jrxml"
I've attached to see if anyone else has any suggestions.
Cheers,
Matt C
Failed to read jrxml file
I can upload it without issue in 1.4
I assume you are using fiefox, is there more info in the error console in firefox?
Matt Y.
Fail to upload template
Hi Matt,
Thanks for the info and for trying it out. Its a report for someone else so hopefully they can still use it.
Sadly no errors in Firefox console and IE gets same issue.
Error message definitely looks like it has come from echo.
Hope not a local issue for me :(
Cheers,
Matt
Fail to upload template
Hi Matt,
FYI .. I have just tried to upload the file and I get the same error message in Firefox so I suspect it is not local?
Cheers Des
PS I was attempting to upload into version 1.3 when I got the error.
Fail to upload template
Hi Matt,
I have been doing some digging and it looks like the problem might be with the file. In the Apache Stdout log the following error
message appears i.e.
[ERROR,Digester,http-8080-Processor25] Parse Error at line 65 column 79: Element type "topPen" must be declared.
[ERROR,ErrorHelper,http-8080-Processor25] Failed to read estimationreport 10 05 06.jrxml
I played around with the file in iReport and noticed that the top horizontal line in the detail area is named Line-3 while the lines in the page
footer are named Line - 2 and Line -4 so I renamed Line -3 to Line-1 and it loaded?? Not sure I understand what I did or what caused
error but I can email you the file which worked if you want.
Cheers
Des
Re: Fail to upload template
The 1.x version uses leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
OpenVPMS can only handle version 1.x ireport documents. I saved the original document with compatability set to version 1.3 and it uploaded no problems. Have tested document and works fine.
Many thanks Des. Just fixing the SQL now :)
Matt C
On Thu, 13 May 2010 07:45:17 +0000 (UTC), des.thornton@westnet.com.au
wrote: > Hi Matt, > I have been doing some digging and it looks like the problem might be with > the file. In the Apache Stdout log the following error > message appears i.e. > [ERROR,Digester,http-8080-Processor25] Parse Error at line 65 column 79: > Element type "topPen" must be declared. > [ERROR,ErrorHelper,http-8080-Processor25] Failed to read estimationreport > 10 05 06.jrxml > > I played around with the file in iReport and noticed that the top > horizontal line in the detail area is named Line-3 while the lines in the > page > footer are named Line - 2 and Line -4 so I renamed Line -3 to Line-1 and it > loaded?? Not sure I understand what I did or what caused > error but I can email you the file which worked if you want. > Cheers > Des > > _______________________________________________ > OpenVPMS User Mailing List > users@lists.openvpms.org > To unsubscribe or change your subscription visit: > http://lists.openvpms.org/listinfo/users > Posts from this mailing list can be viewed online and replied to in the > OpenVPMS User's forum- http://tinyurl.com/openvfu >_______________________________________________ OpenVPMS User Mailing List users@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/users Posts from this mailing list can be viewed online and replied to in the OpenVPMS User's forum- http://tinyurl.com/openvfu
Re: Fail to upload template
Re: Fail to upload template
Righto. Cheers Tim.
On Thu, 13 May 2010 21:00:56 +1000, wrote:
Re: Fail to upload template
On Thu, 13 May 2010 07:03:43 +0000 (UTC), des.thornton@westnet.com.au
wrote: > Hi Matt, > > FYI .. I have just tried to upload the file and I get the same error > message in Firefox so I suspect it is not local? > > Cheers Des > PS I was attempting to upload into version 1.3 when I got the error. > _______________________________________________ > OpenVPMS User Mailing List > users@lists.openvpms.org > To unsubscribe or change your subscription visit: > http://lists.openvpms.org/listinfo/users > Posts from this mailing list can be viewed online and replied to in the > OpenVPMS User's forum- http://tinyurl.com/openvfu >_______________________________________________ OpenVPMS User Mailing List users@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/users Posts from this mailing list can be viewed online and replied to in the OpenVPMS User's forum- http://tinyurl.com/openvfu