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

[Bug] 双击库存报错 #143

Open
spr-equinox opened this issue May 1, 2024 · 5 comments
Open

[Bug] 双击库存报错 #143

spr-equinox opened this issue May 1, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@spr-equinox
Copy link
Contributor

问题描述

使用最新 develop 分支代码
双击本地库存时出现以下报错
TypeError: MangaUI.updateComicInfoEvent() takes from 2 to 3 positional arguments but 4 were given

预期行为

.

实际行为

.

截图或录屏

No response

哔哩哔哩漫画下载器版本号

develop

系统环境

Windows10

日志

TypeError: MangaUI.updateComicInfoEvent() takes from 2 to 3 positional arguments but 4 were given
TypeError: MangaUI.updateComicInfoEvent() takes from 2 to 3 positional arguments but 4 were given
TypeError: MangaUI.updateComicInfoEvent() takes from 2 to 3 positional arguments but 4 were given
TypeError: MangaUI.updateComicInfoEvent() takes from 2 to 3 positional arguments but 4 were given
TypeError: MangaUI.updateComicInfoEvent() takes from 2 to 3 positional arguments but 4 were given
TypeError: MangaUI.updateComicInfoEvent() takes from 2 to 3 positional arguments but 4 were given
@spr-equinox spr-equinox added the bug Something isn't working label May 1, 2024
@Zeal-L
Copy link
Owner

Zeal-L commented May 1, 2024

1245cd4
嗯,可能是在最近的这次提交里改成默认解析漫画信息的是biliplus,我还没善后呢,你可以 checkout 到之前的 commit

@Zeal-L Zeal-L closed this as completed May 1, 2024
@Zeal-L Zeal-L self-assigned this May 1, 2024
@Zeal-L Zeal-L reopened this May 1, 2024
@Zeal-L
Copy link
Owner

Zeal-L commented May 1, 2024

@shadlc 来看看?

@shadlc
Copy link
Collaborator

shadlc commented May 1, 2024

bd40e31
已在此处修复,是历史遗留问题

@shadlc shadlc closed this as completed May 1, 2024
@spr-equinox
Copy link
Contributor Author

spr-equinox commented May 1, 2024

貌似还有其他问题


07:44:06 | INFO | MainGUI: __init__ - 76 | save_method: Cbz压缩包
07:44:21 | INFO | Comic: getComicCover - 133 | 获取《食戟之灵》的封面图片中...
07:44:42 | ERROR | BiliPlus: retrieveAvailableEpisode - 280 | 漫画id:25467 处理BiliPlus解锁章节数据时意外失败!
07:44:42 | ERROR | BiliPlus: retrieveAvailableEpisode - 281 | BiliPlusComic.retrieveAvailableEpisode.<locals>._() takes 0 positional arguments but 1 was given
Traceback (most recent call last):
  File "L:\CppProject\downloader\src\BiliPlus.py", line 244, in retrieveAvailableEpisode
    page_html = _(f"{biliplus_detail_url}&page={pages}")
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\user\AppData\Local\pypoetry\Cache\virtualenvs\bilibili-manga-downloader-W3WLXKGx-py3.12\Lib\site-packages\retrying.py", line 56, in wrapped_f
    return Retrying(*dargs, **dkw).call(f, *args, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\user\AppData\Local\pypoetry\Cache\virtualenvs\bilibili-manga-downloader-W3WLXKGx-py3.12\Lib\site-packages\retrying.py", line 266, in call
    raise attempt.get()
          ^^^^^^^^^^^^^
  File "C:\Users\user\AppData\Local\pypoetry\Cache\virtualenvs\bilibili-manga-downloader-W3WLXKGx-py3.12\Lib\site-packages\retrying.py", line 301, in get
    six.reraise(self.value[0], self.value[1], self.value[2])
  File "C:\Users\user\AppData\Local\pypoetry\Cache\virtualenvs\bilibili-manga-downloader-W3WLXKGx-py3.12\Lib\site-packages\six.py", line 719, in reraise
    raise value
  File "C:\Users\user\AppData\Local\pypoetry\Cache\virtualenvs\bilibili-manga-downloader-W3WLXKGx-py3.12\Lib\site-packages\retrying.py", line 251, in call
    attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
                      ^^^^^^^^^^^^^^^^^^^
TypeError: BiliPlusComic.retrieveAvailableEpisode.<locals>._() takes 0 positional arguments but 1 was given

除此之外,如果默认解析漫画信息的是biliplus,扫描库存时会出现大量弹窗,一个个关掉很麻烦,希望优化一下
还有biliplus大量快速访问会出现 07:49:11 | WARNING | BiliPlus: _ - 206 | 漫画id:xxxxx 在BiliPlus爬取漫画信息失败! 状态码:503, 理由: Service Temporarily Unavailable 重试中...,多次错误会影响到扫描库存

@Zeal-L Zeal-L reopened this May 2, 2024
@Zeal-L
Copy link
Owner

Zeal-L commented May 2, 2024

确实,biliplus 很不稳定,肯定不会做成默认选项的,之后我弄个开关,你先回退吧

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
Status: 🏗 In progress
Development

No branches or pull requests

3 participants