Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
magnus_pm_olsso
Contributor II
Contributor II

NPrinting ERROR: Not a legal OleAut date

I am experiencing a very strange error when trying to build an NPrinting Excel report. I am getting the attached error message (Not a legal OleAut date).

The absolutely strangest thing is that the error seems to be dependent on the contents of the table in the Qlik Sense app. Using the exact same report design (same expression) I can get the report to run. All is the same, just changing the underlying App script to get other content.

In this case it is an inventory report, if I just change the app script to display another warehouse everything runs.

I am completely lost and cannot fins a workaround. I have even tried to build a whole new app but as soon as I try to display this certain warehouse info I get the error.

Any help is appreciated...

Thanks

Magnus

23 Replies
jorgecelis
Contributor II
Contributor II

Hello,

The same problem, a simple solution that I found is in the graphical layer of Qlik Sense, go  to the graph that is failing, next go to each measure, and go to the "Number Formating" option, and select "Money" (all the measures that have the graph), then go to Nprinting and update the cache of the application that is failing, if the report is make from Pixelperfect should generate without any problem, if the report is in Excel then we go to edit the report, next select object table and deactivate the flag "keep source Formats", then apply the format to each measure as required, after this should be generated without any problem.

p_verkooijen
Partner - Specialist
Partner - Specialist

Hi Carlo,

Any new insights on a release date?

We have the same issue on a setup running the NPrinting Sept 2018 (18.29.7.0)

czm
Employee
Employee

Hi Paul,

as said unfortunately I don't have a release date. The build has been completed and comes with a couple of fixes (the second one delayed the release a little bit). There will be a futher system test phase probably within this week and then the public release. Probably it should be available within the end of next week.

Unfortunately I don't have (and probably won't have) any further information to share.

Best,
Carlo

P.S.: the issue is precisely on NPrinting September 2018. NPrinting June 2018 is not affected.

p_verkooijen
Partner - Specialist
Partner - Specialist

Hi Carlo, thnx for the response.

As mentioned we use the September release

Is there a downgrade path from September to June?

czm
Employee
Employee

Hi Paul,

no, there is no possibility to downgrade. As mentioned before the error is triggered by a double precision number within a table that due to the localization settings and the number formatting is erroneusly considered as a date.

There are two possible workarounds (I understand that could be unfeasible in some situations):
1) try a different number formatting and/or number separator (after changing the column property a reload of the NPrinting connection is needed)
2) replace the single column in NPrinting with the whole table object (eventually creating a Sense table with just the needed column), since the issue affects just column export. Also in this case the reload of the connection is needed (as well as changing the template pointing to the new object).

Given a screenshot of the table (even without headers and with all text cells blanked out) I could probably provide better suggestions.

Unfortunately the release process is outside of the control of development team, so even if we tried to speed up things I think SR2 won't be released earlier that the end of next week.

Carlo

p_verkooijen
Partner - Specialist
Partner - Specialist

Hi Carlo,


Thnx for the info.

marcos_herrera
Partner - Creator III
Partner - Creator III

Hi Carlo

Thans for the answer i have the same error with a customer afe upgrade to Qlik NPrinting Sep 2018 SR1, do you have any idea about the SR2 version release date?

Thanks 

Ruggero_Piccoli
Support
Support

Hi,

We don't have any idea about the SR2 release date. It will be soon I think.

Best Regards,

Ruggero

---------------------------------------------

When applicable please mark the appropriate replies as CORRECT https://community.qlik.com/docs/DOC-14806. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
marcos_herrera
Partner - Creator III
Partner - Creator III

Hi Friends


I have the problem with a Table (No Pivot) chart added on Qlik NP like a Table, the chart has One Dimension (Month) and six measures (Three with money format and three with number format), i'm triying assign Automatic format on each measure on the chart and then  will reload the meta data and  i will test the report generation


I Will comment the result

czm
Employee
Employee

Hi Marcos,

I think changing them to automatic won't change the situation but I'd be happy to be proven wrong. For sure exporting the whole table object (dragging the whole table object on the template instead of the single columns) is a possible workaround (if applicable for your situation).
Anyway the SR2 is in testing phase, when this step will be completed the release will be ready to go and this should happen soon, hopefully at the beginning of next week.

Thanks
Carlo