-
Notifications
You must be signed in to change notification settings - Fork 91
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
Invalid File Format #316
Comments
The issue also happens in v0.10.5. The error happens when RiaH tries to get the first sheet from the scan report (line 150). It fails to get the overview sheet either by name or by position. It seems like the xlsx reader cannot retrieve any sheets from the workbook. WhiteRabbit/rabbit-core/src/main/java/org/ohdsi/rabbitInAHat/dataModel/Database.java Lines 147 to 151 in be4dbd2
|
Hello, Can you please let me know if this is resolved. Need to use this. |
As a workaround, you can open the ScanReport.xlsx in Excel, and save it. After this operation, rabbitInaHat can process the file correctly. |
Wow, It worked. Thank you @PYDuquesnoy . |
Thanks @PYDuquesnoy for providing this workaround. We are looking into the issue at the moment. |
Initial inspection shows that somehow the scanreport produced with release v0.10.4 and v0.10.5, cannot be read in correctly by the excel reader. The xml files are somehow not found. Scanreports created with older releases of WR can still be read in by the new release. There seems to be an issue with the writing of Excel files with the new apache poi dependencies. |
When trying to
open scan report
of a newly generated scan report RiaH gives errorInvalid File Format
. However works when opening older scan reports.Steps followed:
Working with WhiteRabbit_v0.10.4 on MacOS 11.5.2
Both old and new scan report have extension
.xlsx
and don't appear to have any visual differences.The text was updated successfully, but these errors were encountered: