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

github actions运行启动项目一直返回'stage': 'email_exists_prod',也没办法领取游戏,变量设置是正确的。 #235

Closed
object9875 opened this issue Nov 15, 2023 · 2 comments

Comments

@object9875
Copy link

`Run if [ -d "user_data_dir" ];then cp -rfp user_data_dir epic/; fi
2023-11-15 15:35:49 | INFO - run - {'image': '20231105', 'version': '0.9.5.post1', 'role': 'EpicPlayer', 'headless': True, 'self_supervised': True}

Installing models/objects.yaml: 0%| | 0.00/3.66k [00:00<?, ?B/s]
Installing models/objects.yaml: 100%|██████████| 3.66k/3.66k [00:00<00:00, 7.30MB/s]

Installing models/visual_CLIP_RN50.openai.onnx: 0%| | 0.00/146M [00:00<?, ?B/s]
Installing models/visual_CLIP_RN50.openai.onnx: 10%|▉ | 14.4M/146M [00:00<00:00, 151MB/s]
Installing models/visual_CLIP_RN50.openai.onnx: 24%|██▍ | 35.0M/146M [00:00<00:00, 189MB/s]
Installing models/visual_CLIP_RN50.openai.onnx: 38%|███▊ | 55.2M/146M [00:00<00:00, 199MB/s]
Installing models/visual_CLIP_RN50.openai.onnx: 52%|█████▏ | 75.9M/146M [00:00<00:00, 206MB/s]
Installing models/visual_CLIP_RN50.openai.onnx: 66%|██████▌ | 96.6M/146M [00:00<00:00, 210MB/s]
Installing models/visual_CLIP_RN50.openai.onnx: 80%|████████ | 117M/146M [00:00<00:00, 211MB/s]
Installing models/visual_CLIP_RN50.openai.onnx: 95%|█████████▍| 138M/146M [00:00<00:00, 215MB/s]
Installing models/visual_CLIP_RN50.openai.onnx: 100%|██████████| 146M/146M [00:00<00:00, 207MB/s]

Installing models/textual_CLIP_RN50.openai.onnx: 0%| | 0.00/244M [00:00<?, ?B/s]
Installing models/textual_CLIP_RN50.openai.onnx: 7%|▋ | 16.5M/244M [00:00<00:01, 173MB/s]
Installing models/textual_CLIP_RN50.openai.onnx: 16%|█▌ | 39.1M/244M [00:00<00:01, 211MB/s]
Installing models/textual_CLIP_RN50.openai.onnx: 25%|██▌ | 61.9M/244M [00:00<00:00, 223MB/s]
Installing models/textual_CLIP_RN50.openai.onnx: 35%|███▍ | 84.7M/244M [00:00<00:00, 230MB/s]
Installing models/textual_CLIP_RN50.openai.onnx: 44%|████▍ | 108M/244M [00:00<00:00, 234MB/s]
Installing models/textual_CLIP_RN50.openai.onnx: 54%|█████▍ | 131M/244M [00:00<00:00, 237MB/s]
Installing models/textual_CLIP_RN50.openai.onnx: 63%|██████▎ | 154M/244M [00:00<00:00, 239MB/s]
Installing models/textual_CLIP_RN50.openai.onnx: 73%|███████▎ | 177M/244M [00:00<00:00, 240MB/s]
Installing models/textual_CLIP_RN50.openai.onnx: 82%|████████▏ | 200M/244M [00:00<00:00, 236MB/s]
Installing models/textual_CLIP_RN50.openai.onnx: 91%|█████████▏| 223M/244M [00:01<00:00, 231MB/s]
Installing models/textual_CLIP_RN50.openai.onnx: 100%|██████████| 244M/244M [00:01<00:00, 232MB/s]
2023-11-15 15:35:57 | INFO - Try to flush cookie - {'task': 'claim_epic_games'}
2023-11-15 15:35:59 | INFO - login-with-email - {'url': 'https://www.epicgames.com/id/login?lang=en-US&noHostRedirect=true&redirectUrl=https://store.epicgames.com/en-US/free-games'}
2023-11-15 15:36:04 | DEBUG - Attack challenge - {'stage': 'email_exists_prod'}
2023-11-15 15:36:05 | DEBUG - unsupervised - {'type': 'binary', 'candidate_labels': ['This is a picture that looks like images of one type that appear warmer in comparison to other.', "This is a picture that don't look like images of one type that appear warmer in comparison to other."], 'prompt': 'Please select all images of one type that appear warmer in comparison to other images', 'timit': '0.977s'}
2023-11-15 15:36:12 | DEBUG - Parse result - {'stage': 'email_exists_prod', 'result': 'retry'}

Installing models/nested_largest_lion2309.onnx: 0%| | 0.00/296k [00:00<?, ?B/s]
Installing models/nested_largest_lion2309.onnx: 100%|██████████| 296k/296k [00:00<00:00, 18.2MB/s]

Installing models/nested_largest_squirrel2310.onnx: 0%| | 0.00/296k [00:00<?, ?B/s]
Installing models/nested_largest_squirrel2310.onnx: 100%|██████████| 296k/296k [00:00<00:00, 17.7MB/s]
2023-11-15 15:36:15 | DEBUG - rank model - {'resnet': 'nested_largest_squirrel2310.onnx', 'prompt': 'Please click on each image containing the largest animal in real life'}
2023-11-15 15:36:24 | DEBUG - Parse result - {'stage': 'email_exists_prod', 'result': 'retry'}
2023-11-15 15:36:27 | DEBUG - rank model - {'resnet': 'nested_largest_lion2309.onnx', 'prompt': 'Please click on each image containing the largest animal in real life'}
2023-11-15 15:36:35 | DEBUG - Parse result - {'stage': 'email_exists_prod', 'result': 'success'}
2023-11-15 15:37:05 | WARNING - 执行超时 - {'task': 'authorize', 'retry': 0}
2023-11-15 15:37:08 | INFO - login-with-email - {'url': 'https://www.epicgames.com/id/login?lang=en-US&noHostRedirect=true&redirectUrl=https://store.epicgames.com/en-US/free-games'}
2023-11-15 15:37:12 | DEBUG - Attack challenge - {'stage': 'email_exists_prod'}
2023-11-15 15:37:12 | DEBUG - rank model - {'resnet': 'nested_largest_squirrel2310.onnx', 'prompt': 'Please click on each image containing the largest animal in real life'}
2023-11-15 15:37:23 | DEBUG - Parse result - {'stage': 'email_exists_prod', 'result': 'retry'}
2023-11-15 15:37:27 | DEBUG - unsupervised - {'type': 'binary', 'candidate_labels': ['This is a picture that looks like images of one type that appear warmer in comparison to other.', "This is a picture that don't look like images of one type that appear warmer in comparison to other."], 'prompt': 'Please select all images of one type that appear warmer in comparison to other images', 'timit': '0.763s'}
2023-11-15 15:37:34 | DEBUG - Parse result - {'stage': 'email_exists_prod', 'result': 'retry'}
2023-11-15 15:37:38 | DEBUG - rank model - {'resnet': 'nested_largest_squirrel2310.onnx', 'prompt': 'Please click on each image containing the largest animal in real life'}
2023-11-15 15:37:47 | DEBUG - Parse result - {'stage': 'email_exists_prod', 'result': 'retry'}
2023-11-15 15:37:54 | DEBUG - rank model - {'resnet': 'nested_largest_squirrel2310.onnx', 'prompt': 'Please click on each image containing the largest animal in real life'}
2023-11-15 15:38:09 | DEBUG - Parse result - {'stage': 'email_exists_prod', 'result': 'retry'}
2023-11-15 15:38:12 | DEBUG - rank model - {'resnet': 'nested_largest_lion2309.onnx', 'prompt': 'Please click on each image containing the largest animal in real life'}
2023-11-15 15:38:23 | DEBUG - Parse result - {'stage': 'email_exists_prod', 'result': 'success'}
2023-11-15 15:38:53 | WARNING - 执行超时 - {'task': 'authorize', 'retry': 1}
2023-11-15 15:38:55 | INFO - login-with-email - {'url': 'https://www.epicgames.com/id/login?lang=en-US&noHostRedirect=true&redirectUrl=https://store.epicgames.com/en-US/free-games'}
2023-11-15 15:39:00 | DEBUG - Attack challenge - {'stage': 'email_exists_prod'}
2023-11-15 15:39:00 | DEBUG - unsupervised - {'type': 'binary', 'candidate_labels': ['This is a picture that looks like images of one type that appear warmer in comparison to other.', "This is a picture that don't look like images of one type that appear warmer in comparison to other."], 'prompt': 'Please select all images of one type that appear warmer in comparison to other images', 'timit': '0.751s'}
2023-11-15 15:39:08 | DEBUG - Parse result - {'stage': 'email_exists_prod', 'result': 'retry'}
2023-11-15 15:39:11 | DEBUG - rank model - {'resnet': 'nested_largest_lion2309.onnx', 'prompt': 'Please click on each image containing the largest animal in real life'}
2023-11-15 15:39:19 | DEBUG - Parse result - {'stage': 'email_exists_prod', 'result': 'success'}
2023-11-15 15:39:49 | WARNING - 执行超时 - {'task': 'authorize', 'retry': 2}
2023-11-15 15:39:49 | ERROR - An error has been caught in function 'run', process 'MainProcess' (3638), thread 'MainThread' (139961852840832): - {}
Traceback (most recent call last):
File "/home/runner/work/epic-awesome-gamer/epic-awesome-gamer/epic/src/claim.py", line 171, in
asyncio.run(run())
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/asyncio/base_events.py", line 636, in run_until_complete
self.run_forever()
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/asyncio/base_events.py", line 603, in run_forever
self._run_once()
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/asyncio/base_events.py", line 1909, in _run_once
handle._run()
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)

File "/home/runner/work/epic-awesome-gamer/epic-awesome-gamer/epic/src/claim.py", line 167, in run
await agent.stash()
File "/home/runner/work/epic-awesome-gamer/epic-awesome-gamer/epic/src/claim.py", line 160, in stash
await self.claim_epic_games(context)
File "/home/runner/work/epic-awesome-gamer/epic-awesome-gamer/epic/src/claim.py", line 97, in claim_epic_games
if await epic.authorize(page):
File "/home/runner/work/epic-awesome-gamer/epic-awesome-gamer/epic/src/epic_games/agent.py", line 261, in authorize
raise RuntimeError(f"Failed to flush token - agent={self.class.name}")
RuntimeError: Failed to flush token - agent=EpicGames`

@object9875 object9875 reopened this Nov 15, 2023
@QIN2DIM QIN2DIM added bug Something isn't working and removed bug Something isn't working labels Nov 15, 2023
@QIN2DIM
Copy link
Owner

QIN2DIM commented Nov 15, 2023

其实这个也不算 bug,你重新运行

@lunhui11
Copy link

其实这个也不算 bug,你重新运行

但是他每次都紧跟着 WARNING - 执行超时 - {'task': 'authorize', 'retry': 0}

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

3 participants