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

Error while converting with DAISY Pipeline 2 #46

Open
EfaJapan opened this issue Apr 15, 2024 · 2 comments
Open

Error while converting with DAISY Pipeline 2 #46

EfaJapan opened this issue Apr 15, 2024 · 2 comments

Comments

@EfaJapan
Copy link

An exception was reported by the saveAsDaisy addin.

  • Addin Version: 2.8.5.0
  • Running Architecture: x64
  • OS: Microsoft Windows 10.0.22631
  • User or system wide install: user
  • Addin settings:
<Settings><PageNumbers  value="Custom" /><CharacterStyles value="False" /><ImageSizes value="resize" samplingvalue="96" /><Footnotes level="0" position="inline" numbering="none" startValue="1" numberPrefix="" numberSuffix="" /><TTSConfig file="" /></Settings>

Error while converting with DAISY Pipeline 2

  • システム コールに渡されるデータ領域が小さすぎます。 (HRESULT からの例外:0x8007007A)

Stacktrace:

   場所 Daisy.SaveAsDAISY.Conversion.Converter.Convert(DocumentParameters document, Boolean applyPostProcessing)
   場所 Daisy.SaveAsDAISY.Addins.Word2007.Connect.ApplyScript(Script pipelineScript, IConversionEventsHandler eventsHandler, ConversionParameters conversionIntegrationTestSettings)
   場所 System.StubHelpers.MngdNativeArrayMarshaler.ConvertContentsToNative(IntPtr pMarshalState, Object& pManagedHome, IntPtr pNativeHome)
   場所 org.daisy.jnet.JNIEnv.NewObject(IntPtr clazz, IntPtr methodID, JValue[] args)
   場所 org.daisy.jnet.JavaNativeInterface.NewObject(IntPtr javaClass, String signature, Object[] args)
   場所 Daisy.SaveAsDAISY.Conversion.Pipeline2.makePrintStream(String filepath)
   場所 Daisy.SaveAsDAISY.Conversion.Pipeline2..ctor()
   場所 Daisy.SaveAsDAISY.Conversion.Pipeline2.get_Instance()
   場所 Daisy.SaveAsDAISY.Conversion.Pipeline2Script.ExecuteScript(String inputPath, Boolean isQuite)
   場所 Daisy.SaveAsDAISY.Conversion.Pipeline.Pipeline2.Scripts.DtbookCleaner.ExecuteScript(String inputPath, Boolean isQuite)
   場所 Daisy.SaveAsDAISY.Conversion.Converter.Convert(DocumentParameters document, Boolean applyPostProcessing)
@EfaJapan
Copy link
Author

Last weekend, I sent you another e-mail with the points regarding the most recent failure.

This time, I was trying in Khmer (Cambodian) document. Plain text and "CoverTitle (DAISY)" only was exported to DTBook without any error, and Pipeline was also able to convert to DAISY3.

However, in addition to the above,
(1) If specifying "PageNumber(DAISY)",
or
(2) If "Span (DAISY)" is specified,
*Since the unique punctuation marks of Khmer language are not recognized, this was done to force a break with Span.
or
(3) If add a "heading 1" specification,

An error occurs during the export stage from Save as Daisy. I get the same error message again.

@EfaJapan
Copy link
Author

Sorry, I thought that adding (1) or (2) or (3) would cause an error, but that doesn't seem to be the case.
When I tried to re-export the first document with only "CovertTitle(DAISY)" specified, but the same error message appeared!
If an error occurs once, will some damage remain in the Word?

If I completely shut down Word using Task Manager etc., then restart it, it seems that I can export it, but I'm not sure, I don't know what's going wrong....

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

1 participant