Comments (15)
@gylidian 看了下隔壁的解决方法也只是让你分页下载或者不要一次性下载太多而已,看起来没有什么治本的方法
挺奇怪的,我自己一直没出过这个问题,即使有时候同时在压缩七八本甚至里面还有几个一两百页的单行本
我只能试试加一个低内存消耗选项,同一时间只处理一个本子的下载和压缩,尽量减少内存消耗了
from nhentai-helper.
加了两个可能有帮助的选项,可以试试,还不行的话我也没办法了
Lines 44 to 48 in 296a43a
取消下载的优化也完成了
from nhentai-helper.
打包卡住的情况看看 console 有没有报错
下载中任务点击取消不会立即消失是正常的,需要等待已经开始下载的图片下载结束才能完全取消,实际上点一次就可以,不过这个确实可以改进一下,以前写的时候懒得手动放弃请求
from nhentai-helper.
如果可以的话最好还是能加一个所有阶段都能取消的功能,这样能避免出现100%卡住之后还要另开一个标签页重新下载的问题,因为如果出现报错的情况,刷新无法解决的情况下,也能通过取消报错的下载项
from nhentai-helper.
压缩一旦开始无法取消,且压缩卡100%是不正常的情况,一旦进入压缩流程,这个本子就不会再阻塞其他本子的下载进度,取消压缩并不能解决问题,最好能提供错误日志定位问题原因
在 nhentai 页面控制台执行 localStorage.setItem('NHENTAI_HELPER_DEBUG',1)
然后刷新,可以阻止 nhentai 不停清除控制台,如果下次复现的话可以提供下日志
from nhentai-helper.
from nhentai-helper.
看起来是内存太小导致的……
from nhentai-helper.
from nhentai-helper.
那不清楚原因了……
from nhentai-helper.
如果你一个个本子慢慢下会出现这种情况吗,是否是经常在同时很多个本子开始压缩的时候出现这个问题
from nhentai-helper.
一个一个下没出现过,加入下载列表才能碰到这种情况,而且并不是同时很多本子开始压缩的时候才会出现
from nhentai-helper.
这个问题只要出现了一次,下面的列表就跟传染了一样,很快就会出现第二个,但并不一定是连续出现
from nhentai-helper.
请尝试下新版本是否有改善
from nhentai-helper.
请尝试下新版本是否有改善
@Tsuk1ko 我也遇见了同样的情况,jszip 压缩大量图片导致数据缓冲区错误 Stuk/jszip#775
如果此时刷新,UI 界面上显示 100%,但后台实际上在重新下载这个漫画
隔壁脚本对这种情况貌似有解决方案 https://github.com/ccloli/E-Hentai-Downloader#memory-usage
我现在是直接把 sessionStorage 存的队列里 有问题的十几个漫画单独剔除掉了,于是脚本又能正常工作了不会偶然卡死在原地
from nhentai-helper.
@gylidian 看了下隔壁的解决方法也只是让你分页下载或者不要一次性下载太多而已,看起来没有什么治本的方法
挺奇怪的,我自己一直没出过这个问题,即使有时候同时在压缩七八本甚至里面还有几个一两百页的单行本
我只能试试加一个低内存消耗选项,同一时间只处理一个本子的下载和压缩,尽量减少内存消耗了
感谢!
我也有一个治标不治本的解决方案:
如果 图片大小/数目较多的本子 压缩失败,提供一个 UI 指示用户 进入本子详情页 单独点击 [download zip]
下载单个本子(这个过程大概可以共享一下已经下载好的图片)
from nhentai-helper.
Related Issues (20)
- [Feature Request] 手动标记漫画的“已下载”状态 HOT 12
- 新版下载列表丢失问题
- 可以设置并行下载压缩的数量吗? HOT 8
- 您好 能否提供下載torrent 的功能? HOT 1
- 能否将 记录已下载的本子的本地文件 转移到不同电脑上? HOT 4
- Imhentai support HOT 1
- 您好为什么没有效果? HOT 2
- Page download. HOT 10
- 关于镜像站的一些问题 HOT 1
- 能否增加 自动取消下载过的本子 的识别范围 HOT 3
- Option to add artist names to filename HOT 6
- i.nhentai.net:443下载缓慢 HOT 3
- 这是一个增加功能建议,我希望压缩时可以增加tag信息 HOT 2
- crash while metadata contains "&"
- how to setup HOT 2
- [Feature Request] 请问关于语言的Filter HOT 2
- Script suddenly stopped working HOT 12
- Language filter appearance is broken on mobile. HOT 1
- Add or Include Sleazy Fork link for Installation (no login required)
- 忽略按钮 hover 再显示
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 nhentai-helper.