-
Notifications
You must be signed in to change notification settings - Fork 13
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
Downloaded docx plans throw an error #377
Comments
Seems to be related to the specific version of the NIH template that was used to create that plan. I just created one from the latest and it downloads without issue. Probably a weird (non-ascii character) causing an issue with the HTML -> DOCX conversion. |
I cannot determine why this particular docx fails to open in MS Word. OSX Preview and TextEdit, Slack are able to render it. Google docs is able to import it. MS Word for Max v 16.65 throws a: When attempting to 'recover' the docx as suggested, the 'repaired' file is binary and unreadable The corrupt docx opens if you export it without the question text. The original suspicion was that the issue lied with the bulleted (unordered) lists on the last few questions. This does not seem to be the case though after further research I have created a DMP based off of the current NIH template and it has no issues. I created and published a sample template (as a UCOP admin) that contains bulleted lists. The docx for a DMP created from that sample template opens without issue. There do not appear to be any readily available docx debugging tools available. I found a few possible options (e.g. this VB.Net one but they all require you to have a Windows environment) all comments on StackOverflow with regard to these solutions indicate that there's less than a 50% chance they'll tell us what's actually wrong. A docx file is actually just a zip archive. If you change A comparison of each file between the corrupted docx and the valid ones (both the latest NIH template and my sample template) show NO difference except for the content of the Not sure what else to do here. It seems to be an issue in my opinion with MS Word and perhaps just specific versions. 🤷🏻♂️ There are plans in the system based off of this template that generates corrupted docx files. Around 60-70% of those appear to simply be tests (based on the 'test' flag or the plan names). I also suspect that few users export to docx. Possible solutions would be to:
|
another option may be to export as an OpenOffice doc format |
related to DMPRoadmap#3221 |
A few users have reported that they get an error when trying to open DMPs that were downloaded as docx files.
For example, when downloading this plan: https://dmptool.org/plans/82519, the user gets the error below when trying to open the word file:
The text was updated successfully, but these errors were encountered: