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

[错误报告]: 站点 M-Team 获取流量数据失败 #807

Open
3 tasks done
maxin-cn opened this issue Jan 1, 2025 · 0 comments
Open
3 tasks done

[错误报告]: 站点 M-Team 获取流量数据失败 #807

maxin-cn opened this issue Jan 1, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@maxin-cn
Copy link

maxin-cn commented Jan 1, 2025

确认

  • 我的版本是最新版本,我的版本号与 version 相同。
  • 我已经 issue 中搜索过,确认我的问题没有被提出过。
  • 我已经修改标题,将标题中的 描述 替换为我遇到的问题。

当前程序版本

v3.4.1 3f13575

问题类型

主程序运行问题

问题描述

站点 M-Team 获取流量数据失败:invalid literal for int() with base 10: '0.0' - Traceback (most recent call last): File "/nas-tools/app/sites/site_userinfo.py", line 206, in __refresh_site_data site_user_info.parse() File "/nas-tools/app/sites/siteuserinfo/_base.py", line 123, in parse self._parse_user_base_info(self._index_html) File "/nas-tools/app/sites/siteuserinfo/mteam_torrent.py", line 145, in _parse_user_base_info self._mt_get_sys_roles() File "/nas-tools/app/sites/siteuserinfo/mteam_torrent.py", line 87, in _mt_get_sys_roles sysrole._shareRate =

发生问题时系统日志和配置文件

Debug log:

2025-01-01 12:15:31,129 ERROR: 【Sites】站点 M-Team 获取流量数据失败:invalid literal for int() with base 10: '0.0' - Traceback (most recent call last):

  File "/nas-tools/app/sites/site_userinfo.py", line 206, in __refresh_site_data

    site_user_info.parse()

  File "/nas-tools/app/sites/siteuserinfo/_base.py", line 123, in parse

    self._parse_user_base_info(self._index_html)

  File "/nas-tools/app/sites/siteuserinfo/mteam_torrent.py", line 145, in _parse_user_base_info

    self._mt_get_sys_roles()

  File "/nas-tools/app/sites/siteuserinfo/mteam_torrent.py", line 87, in _mt_get_sys_roles

    sysrole._shareRate = int(result.get("shareRate"))

ValueError: invalid literal for int() with base 10: '0.0'
@maxin-cn maxin-cn added the bug Something isn't working label Jan 1, 2025
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

1 participant