Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

最新版本导致E-Hentai Downloader不工作 #1221

Closed
ouka312 opened this issue Oct 31, 2023 · 7 comments
Closed

最新版本导致E-Hentai Downloader不工作 #1221

ouka312 opened this issue Oct 31, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@ouka312
Copy link

ouka312 commented Oct 31, 2023

描述问题
具体报错如下,将EhSyringe关闭后,E-Hentai Downloader工作正常。

Uncaught TypeError: Cannot read properties of undefined (reading 'split')
    at getFileSizeAndLength (userscript.html?name=E-Hentai-Downloader.user.js&id=361867a3-f463-4bda-b79e-1e1110647627:14603:47)
    at initEHDownload (userscript.html?name=E-Hentai-Downloader.user.js&id=361867a3-f463-4bda-b79e-1e1110647627:13899:32)
    at HTMLDivElement.<anonymous> (userscript.html?name=E-Hentai-Downloader.user.js&id=361867a3-f463-4bda-b79e-1e1110647627:14810:2)

相关网址

截图

环境

  • 系统: [例如: Windows Android]
    MacOS 13.3
  • 浏览器 [例如: Chrome Firefox]
    Chrome
  • 插件版本 [例如: 1.0.0]
    2.12.0
@ouka312 ouka312 added the bug Something isn't working label Oct 31, 2023
@OpportunityLiu
Copy link
Collaborator

OpportunityLiu commented Oct 31, 2023

我还是复现不了?E-Hentai Downloader什么版本?哪个页面?

有完整日志吗?

@OpportunityLiu
Copy link
Collaborator

image

@wyjtm
Copy link

wyjtm commented Nov 1, 2023

我还是复现不了?E-Hentai Downloader什么版本?哪个页面?

有完整日志吗?

你好,我遇到这个情况了,我在那边发帖了
ccloli/E-Hentai-Downloader#260

@OpportunityLiu
Copy link
Collaborator

OpportunityLiu commented Nov 1, 2023

@wyjtm 可以提供一下日志吗? 按 F12 然后按 Esc 打开控制台

image

@wyjtm
Copy link

wyjtm commented Nov 1, 2023

userscript.html?name=E-Hentai-Downloader.user.js&id=1c44a87d-d56d-4941-a4b2-936867373b9f:14650 Uncaught TypeError: Cannot read properties of undefined (reading 'split')
    at getFileSizeAndLength (userscript.html?name=E-Hentai-Downloader.user.js&id=1c44a87d-d56d-4941-a4b2-936867373b9f:14650:47)
    at initEHDownload (userscript.html?name=E-Hentai-Downloader.user.js&id=1c44a87d-d56d-4941-a4b2-936867373b9f:13934:32)
    at HTMLDivElement.<anonymous> (userscript.html?name=E-Hentai-Downloader.user.js&id=1c44a87d-d56d-4941-a4b2-936867373b9f:14871:2)

getFileSizeAndLength @ userscript.html?name=E-Hentai-Downloader.user.js&id=1c44a87d-d56d-4941-a4b2-936867373b9f:14650
initEHDownload @ userscript.html?name=E-Hentai-Downloader.user.js&id=1c44a87d-d56d-4941-a4b2-936867373b9f:13934
(匿名) @ userscript.html?name=E-Hentai-Downloader.user.js&id=1c44a87d-d56d-4941-a4b2-936867373b9f:14871
userscript.html?name=E-Hentai-Downloader.user.js&id=1c44a87d-d56d-4941-a4b2-936867373b9f:14849 [EHD] Is Peak Hours > false  | Is Recent Gallery > false  | Is Ancient Gallery > true  | Is Donator > true

userscript.html?name=E-Hentai-Downloader.user.js&id=1c44a87d-d56d-4941-a4b2-936867373b9f:14650 Uncaught TypeError: Cannot read properties of undefined (reading 'split')
    at getFileSizeAndLength (userscript.html?name=E-Hentai-Downloader.user.js&id=1c44a87d-d56d-4941-a4b2-936867373b9f:14650:47)
    at initEHDownload (userscript.html?name=E-Hentai-Downloader.user.js&id=1c44a87d-d56d-4941-a4b2-936867373b9f:13934:32)
    at HTMLDivElement.<anonymous> (userscript.html?name=E-Hentai-Downloader.user.js&id=1c44a87d-d56d-4941-a4b2-936867373b9f:14871:2)

这个日志吗?

我从E-Hentai Downloader作者那得到建议让EhSyringe排到最后执行然后关闭翻译界面就解决问题了,但是这还是属于脚本有bug?

1.点击下载.exhentai.org-1698814906416.log
2.出现错误.exhentai.org-1698814924879.log

你只安装这两个脚本,让EhSyringe排在前面,然后重置两个脚本出厂状态,再去用下载脚本点下载就能复现到问题了

@OpportunityLiu
Copy link
Collaborator

应该是好了,更新 2.12.1 试下?

@wyjtm
Copy link

wyjtm commented Nov 1, 2023

更新试了下好像正常了,我再去下几个看看

辛苦了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants