Comments (6)
Unexpected ... I'm working on it, thank you for proposing this issue.
from moxmoe-epub-manga-repacker.
Fixed in the latest version.
from moxmoe-epub-manga-repacker.
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.
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.
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.
Very useful advice. I updated the requirement.txt file. Thanks.
from moxmoe-epub-manga-repacker.
Related Issues (7)
- 元文件中提取的文件名存在非法字符 HOT 1
- 作者你好, 好像提取失败了 HOT 3
- 作者你好, 最近在Mox下载的漫画提取问题? AttributeError: 'NoneType' object has no attribute 'group' HOT 5
- 采用多线程转换时可能造成输出内容混乱 HOT 1
- 文件名处理异常 HOT 1
- 新版本无法进行转换 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moxmoe-epub-manga-repacker.