Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUI Excel output with version v3.2.2 #303

Closed
veroniqueelter opened this issue May 29, 2024 · 7 comments · Fixed by #330
Closed

GUI Excel output with version v3.2.2 #303

veroniqueelter opened this issue May 29, 2024 · 7 comments · Fixed by #330
Assignees
Labels
bug Something isn't working
Milestone

Comments

@veroniqueelter
Copy link

Dear all,

I still have problems to create an Excel output with the GUI of the newest version of JDemetra+ (v3.2.2).
I always get the following error message:

Can't generate output (Excel)
java.io.IOException: Cannot find spreadsheet writer for file 'C:\Test_JDemetra_plus\Test_JDemetra_3.2.2\CLV_1_AfterFirstBreak\CUP_1_BeforeFirstBreak'

Our IT team thinks that the issue comes from JDemetra+. What could be the reason behind this and what can I do to solve the problem?
Thank you very much in advance for your help,
Best greetings,
Véronique

@TanguyBarthelemy
Copy link

TanguyBarthelemy commented May 29, 2024

We discussed yesterday about your issue with @charphi .
The error is saying that your filename doesn't end with a file extension (for example .xls, .xlsx or .ods).

Please try to change your file extension (by hand or with Excel for example) to update your filename.

@veroniqueelter
Copy link
Author

I just tried it out and it works perfectly well now. The problem was that the file extension never needed to be mentioned in the older versions. I will take note of it. With this issue fixed, the new version is ready for production for us. Thank you very much.

@TanguyBarthelemy
Copy link

Good to know!

@veroniqueelter
Copy link
Author

Just another question: is it planned to switch the Date format in the Excel output back to "General" or will it be kept in the new "Date" Format? just to know if I need to adapt my subsequent macros or not, as it used to be in the "General" format. Thank you very much in advance. Véronique

@charphi charphi added the bug Something isn't working label May 30, 2024
@charphi
Copy link
Contributor

charphi commented May 30, 2024

For the Excel output, you have to specify the file extension so that the program knows which file format you want to use. This is indeed a behavior change from the v2. I'm thinking about two solution for that problem:

  • automatically add default file extension (implicit solution)
  • add a combobox with file format (explicit solution)

@charphi charphi added this to the 3.2.3 milestone May 30, 2024
@charphi
Copy link
Contributor

charphi commented May 30, 2024

Just another question: is it planned to switch the Date format in the Excel output back to "General" or will it be kept in the new "Date" Format? just to know if I need to adapt my subsequent macros or not, as it used to be in the "General" format. Thank you very much in advance. Véronique

The new "Date" format is just the Excel date cell type without formatting.
I don't know how your macros work but as a cell type, it should be fine. As a string value, that will be indeed anoying.
I'm not planning to change the behavior for the time being.

@charphi charphi self-assigned this Jun 14, 2024
@charphi charphi linked a pull request Jun 14, 2024 that will close this issue
@charphi
Copy link
Contributor

charphi commented Jun 14, 2024

I've chosen the implicit solution: automatically add default file extension

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants