Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
mat2
mat2
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 13
    • Issues 13
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • jvoisin
  • mat2mat2
  • Issues
  • #148

Closed
Open
Opened Jan 22, 2021 by crispyshare @crispyshare

Epub files not being cleaned

I don't know if this affects all epubs, but I get the following error when I try running mat2 on some of mine:

ERROR: In file book1.epub, element META-INF/encryption.xml's format (text/xml) isn't supported
ERROR: In file book1.epub, element OEBPS/Fonts/font00115.ttf's format (font/ttf) isn't supported
ERROR: In file book2.epub, element content.opf's format (application/oebps-package+xml) isn't supported

I'm guessing it sees a file that isn't supported and aborts creating the cleaned file. I tried some others and they similarly fail on some file, usually xml. Empty files (format 'None') also throw it off. I think that unsupported files within the epub should just be skipped and the cleaned file still made, though maybe the error should still display.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: jvoisin/mat2#148