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

后台运行十几个小时后报错,获取不到信息 #65

Closed
SummrWhit opened this issue Dec 13, 2024 · 1 comment
Closed

后台运行十几个小时后报错,获取不到信息 #65

SummrWhit opened this issue Dec 13, 2024 · 1 comment

Comments

@SummrWhit
Copy link

2024-12-13 07:03:58 [ERROR ] ---- Get year power usage for 3203085294537 failed, pass
2024-12-13 07:03:58 [ERROR ] ---- Get year power charge for 3203085294537 failed, pass
2024-12-13 07:05:08 [ERROR ] ---- Get month power usage for 3203085294537 failed, pass
Traceback (most recent call last):
File "/app/data_fetcher.py", line 244, in fetch
return self._fetch()
File "/app/data_fetcher.py", line 279, in _fetch
2024-12-13 07:06:19 [ERROR ] ---- Webdriver quit abnormly, reason: cannot unpack non-iterable NoneType object. 3 retry times left.
2024-12-13 07:06:19 [ERROR ] ---- state-refresh task failed, reason is cannot unpack non-iterable NoneType object
last_daily_date_list, last_daily_usage_list, yearly_charge_list, yearly_usage_list, month_list, month_usage_list, month_charge_list = self._get_other_data(driver, user_id_list)
File "/app/data_fetcher.py", line 423, in _get_other_data
last_daily_datetime, last_daily_usage = self._get_yesterday_usage(driver)
TypeError: cannot unpack non-iterable NoneType object
Traceback (most recent call last):
File "/app/main.py", line 61, in run_task
user_id_list, balance_list, last_daily_date_list, last_daily_usage_list, yearly_charge_list, yearly_usage_list, month_list, month_usage_list, month_charge_list = data_fetcher.fetch()
TypeError: cannot unpack non-iterable NoneType object

@ARC-MX
Copy link
Owner

ARC-MX commented Dec 13, 2024

这是定时运行的,错了等着下次运行更新就行,每天运行两次

@ARC-MX ARC-MX closed this as completed Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants