Giter Site home page Giter Site logo

Comments (6)

Haoyi-Han avatar Haoyi-Han commented on September 24, 2024

Unexpected ... I'm working on it, thank you for proposing this issue.

from moxmoe-epub-manga-repacker.

Haoyi-Han avatar Haoyi-Han commented on September 24, 2024

Fixed in the latest version.

from moxmoe-epub-manga-repacker.

jlhg avatar jlhg commented on September 24, 2024

There's an error for the latest version.

============> 开始初始化程序
已完成文件列表抽取。
输入目录为: /mnt/hgfs/Share/moe/repacker
输出目录为: /mnt/hgfs/Share/moe/repacker/output
已完成目录结构复制。
============> 开始提取图片并打包文件
on 0: 开始解析  [Mox][藤本樹短篇集 22-26]人魚狂想曲.kepub
on 0: [藤本樹短篇集 22-26]人魚狂想曲 => 开始提取
Mox.moe |⚠                                       | (!) 0/4 [0%] in 0.5s (0.00/s)
Traceback (most recent call last):
  File "MoeKepub2Cbz.py", line 140, in <module>
    comic_src = loadZipImg(file_t, cachefolder=cachefolder)
  File "MoeKepub2Cbz.py", line 95, in loadZipImg
    html_list: list = htmlExtractToList(extract_dir)
  File "MoeKepub2Cbz.py", line 65, in htmlExtractToList
    soup_0 = BeautifulSoup(volopf.read(), features='xml')
  File "/home/jlhg/.pyenv/versions/3.8.5/lib/python3.8/site-packages/bs4/__init__.py", line 248, in __init__
    raise FeatureNotFound(
bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: xml. Do you need to install a parser library?

from moxmoe-epub-manga-repacker.

Haoyi-Han avatar Haoyi-Han commented on September 24, 2024

Unfortunately I was unable to reproduce this error using the same comic file. I update the program with an extra packaging, and you can retry if it's going well.

P.S. I notice that you're using Python 3.8. Although this may not be the cause, I recommend that you switch to Python 3.9 and retry. (This program also tests well on Python 3.8 on my side)

from moxmoe-epub-manga-repacker.

jlhg avatar jlhg commented on September 24, 2024

Installing lxml package can resolve that issue:

pip install lxml

Maybe you can add lxml==4.9.2 to the requirements.txt file.

from moxmoe-epub-manga-repacker.

Haoyi-Han avatar Haoyi-Han commented on September 24, 2024

Very useful advice. I updated the requirement.txt file. Thanks.

from moxmoe-epub-manga-repacker.

Related Issues (7)

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.