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

An invalid XML is not released #635

Open
PaulRambags opened this issue Apr 1, 2022 · 1 comment
Open

An invalid XML is not released #635

PaulRambags opened this issue Apr 1, 2022 · 1 comment

Comments

@PaulRambags
Copy link

PaulRambags commented Apr 1, 2022

Expected Behavior

I deliberately supplied an invalid XML file via the CLI. I would expect an error. Moreover, I would expect that I would be able to move or remove the XML file after the error has occured.

Actual Behavior

The file couldn't be moved nor removed. Windows said "file is in use by another process" which turned out to be the Pipeline service. After restarting the Pipeline service the file could be moved and removed.

Steps to Reproduce

Provide a list of steps taken to reproduce the problem.

  1. Take an arbitrary valid DTBook
  2. Change <book> to <bookk>, which makes it invalid because start tag <bookk> is closed by end tag </book>
  3. Use the command line interface (CLI) to process the DTBook file

Details

I suspect a memory problem as well. Since the erronuous file is not released, it is probably kept in memory.

Environment

  • Operating system: Windows 10 64-bit
  • DAISY Pipeline 2 version: modules-parent version 1.14.1
  • Interface: Command Line

Logs

@bertfrees
Copy link
Member

Thanks, will look into it.

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