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

Conversion of single docx to dtbook XML: task crashed #36

Open
prashantverma2014 opened this issue Dec 21, 2023 · 5 comments
Open

Conversion of single docx to dtbook XML: task crashed #36

prashantverma2014 opened this issue Dec 21, 2023 · 5 comments
Assignees

Comments

@prashantverma2014
Copy link

Uploading 11.Arm.History.docx…
An exception was reported by the saveAsDaisy addin.

  • Addin Version: 2.8.1.0
  • Running Architecture: x64
  • OS: Microsoft Windows 10.0.22631
  • User or system wide install: user

Conversion of single docx to dtbook XML: task crashed

  • The 'strong' start tag on line 2 position 9463 does not match the end tag of 'p'. Line 2, position 9482.

Stacktrace:

   at Daisy.SaveAsDAISY.Conversion.Converter.Convert(DocumentParameters document, Boolean applyPostProcessing)
   at Daisy.SaveAsDAISY.Addins.Word2007.Connect.ApplyScript(Script pipelineScript, IConversionEventsHandler eventsHandler, ConversionParameters conversionIntegrationTestSettings)
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag)
   at System.Xml.XmlTextReaderImpl.ParseEndElement()
   at System.Xml.XmlTextReaderImpl.ParseElementContent()
   at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.Load(String filename)
   at Daisy.SaveAsDAISY.Conversion.WordToDTBookXMLTransform.MergeDocumentInTarget(DocumentParameters documentToMerge, XmlDocument mergeTarget)
   at Daisy.SaveAsDAISY.Conversion.WordToDTBookXMLTransform.ConvertDocument(DocumentParameters document, ConversionParameters conversion, XmlDocument mergeTarget)
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
@NPavie
Copy link
Contributor

NPavie commented Dec 21, 2023

Hi @prashantverma2014

It seems the file was not uploaded with the issue.
Can you send me back the file directly through email ?

Best regards

@NPavie NPavie self-assigned this Dec 21, 2023
@prashantverma2014
Copy link
Author

prashantverma2014 commented Dec 21, 2023 via email

@prashantverma2014
Copy link
Author

prashantverma2014 commented Dec 21, 2023 via email

@NPavie
Copy link
Contributor

NPavie commented Dec 21, 2023

@prashantverma2014 replying to the issue by mail with the attachment also seems to delete the attachment.
(Its possible that github prevent docx file for security reasons)

Can you send it to directly by email at [email protected] ?

@NPavie
Copy link
Contributor

NPavie commented Jan 30, 2024

After analysis, the issue seemed to be related to #35
(the error occurs near a pagenum insertions)

To be confirmed with the latest test installer, but it should be fixed by ed8173c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants