Code Monkey home page Code Monkey logo

furiganalyse's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @itsupera
  • ๐Ÿ‘€ Iโ€™m interested in language learning + software ๐Ÿค–
  • ๐ŸŒฑ Iโ€™m learning Japanese ๐Ÿ‡ฏ๐Ÿ‡ต
  • ๐Ÿ’ป Iโ€™m developing tools to help do so
  • ๐ŸŽฅ French ๐Ÿ‡ซ๐Ÿ‡ท speaker learning Japanese ๐Ÿ‡ฏ๐Ÿ‡ต ? Follow me on Youtube

furiganalyse's People

Contributors

itsupera avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

furiganalyse's Issues

After attaching furigana, ebook is unreadable

I downloaded That Time I Got Reincarnated as a Slime from syosetsu using WebNovelCrawler and tried uploading it to the webapp. At first I tried uploading the epub directly, but that results in Error during conversion, so then I tried uploading it as a zip and I was able to download a converted epub file. However, opening that file in Calibre results this error, indicating its not a properly formatted epub file:

calibre, version 5.27.0
ERROR: Loading book failed: Failed to open the book at C:\Users\timot\Documents\Calibre Library\Unknown\furiganalysed slime (85)\furiganalysed slime - Unknown.epub. Click "Show details" for more info.

Failed to convert book: C:\Users\timot\Documents\Calibre Library\Unknown\furiganalysed slime (85)\furiganalysed slime - Unknown.epub with error:
WARNING: Epub doesn't contain a valid mimetype declaration
InputFormatPlugin: EPUB Input running
on C:\Users\timot\Documents\Calibre Library\Unknown\furiganalysed slime (85)\furiganalysed slime - Unknown.epub
Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
Traceback (most recent call last):
  File "calibre\ebooks\metadata\epub.py", line 99, in __init__
  File "calibre\ebooks\metadata\epub.py", line 153, in open
  File "calibre\utils\zipfile.py", line 1006, in read
  File "calibre\utils\zipfile.py", line 1034, in open
  File "calibre\utils\zipfile.py", line 995, in getinfo
KeyError: "There is no item named 'META-INF/container.xml' in the archive"

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre\customize\ui.py", line 433, in get_file_type_metadata
  File "calibre\customize\builtins.py", line 169, in get_metadata
  File "calibre\ebooks\metadata\epub.py", line 238, in get_quick_metadata
  File "calibre\ebooks\metadata\epub.py", line 217, in get_metadata
  File "calibre\ebooks\metadata\epub.py", line 165, in get_zip_reader
  File "calibre\ebooks\metadata\epub.py", line 148, in __init__
  File "calibre\ebooks\metadata\epub.py", line 102, in __init__
calibre.ebooks.metadata.epub.EPubException: missing OCF container.xml file
Traceback (most recent call last):
  File "calibre\ebooks\conversion\plugins\epub_input.py", line 241, in find_opf
FileNotFoundError: [Errno 2] No such file or directory: 'META-INF/container.xml'
Traceback (most recent call last):
  File "runpy.py", line 194, in _run_module_as_main
  File "runpy.py", line 87, in _run_code
  File "site.py", line 82, in <module>
  File "site.py", line 77, in main
  File "site.py", line 49, in run_entry_point
  File "calibre\utils\ipc\worker.py", line 197, in main
  File "<string>", line 1, in <module>
  File "calibre\srv\render_book.py", line 824, in viewer_main
  File "calibre\srv\render_book.py", line 815, in render_for_viewer
  File "calibre\srv\render_book.py", line 792, in render
  File "calibre\ebooks\oeb\iterator\book.py", line 63, in extract_book
  File "calibre\customize\conversion.py", line 245, in __call__
  File "calibre\ebooks\conversion\plugins\epub_input.py", line 281, in convert
ValueError: C:\Users\timot\Documents\Calibre Library\Unknown\furiganalysed slime (85)\furiganalysed slime - Unknown.epub is not a valid EPUB file (could not find opf)

I also tried downloading the conversion as 1 text file, but it downloaded an empty text file. Any thoughts?

413 Request Entity Too Large

Live preview isn't working anymore, fix it when possible, the file isn't large only 1.5Mib Epub....

I found a hosted instance of your app and it worked there...

Epub conversion adds furigana as letters, not markups

I've tried both add and override functionalities combined with horizontal and vertical writting and i always get the furigana written after the kanji with same size letters instead of markups. See the image below:
image

I'm interested in this project, i will try to check the code if i get some free time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.