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 Crash i don't Know #592

Open
Edgarianer007mc opened this issue Sep 1, 2024 · 1 comment
Open

Bug Crash i don't Know #592

Edgarianer007mc opened this issue Sep 1, 2024 · 1 comment
Labels

Comments

@Edgarianer007mc
Copy link

Describe the bug

==> Deploying...
==> Using Node version 20.15.1 (default)
==> Docs on specifying a Node version: https://render.com/docs/node-version
==> No open ports detected, continuing to scan...
==> Docs on specifying a port: https://render.com/docs/web-services#port-binding
==> Using Bun version 1.1.0 (default)
==> Docs on specifying a bun version: https://render.com/docs/bun-version
==> Running 'python mainsetup.py'

  • Serving Flask app 'keep_alive'
  • Debug mode: off
    01/09/24 16:17:42 - INFO - [init]: Console logger time zone set to: Europe/Berlin
    01/09/24 16:17:42 - INFO - [init]: File logger time zone set to: Europe/Berlin
    01/09/24 16:17:42 - INFO - [init]: Twitch Channel Points Miner v2-1.9.5 (fork by rdavydov)
    01/09/24 16:17:42 - INFO - [init]: https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2
    01/09/24 16:17:42 - INFO - [init]: You are running version 1.9.5 of this script
    01/09/24 16:17:42 - INFO - [init]: The latest version on GitHub is 1.9.7
    01/09/24 16:17:42 - INFO - [run]: 💣 Start session: 'b7af21e5-78f4-4f80-9fa4-c6db0e3ef2dd'
    Traceback (most recent call last):
    File "/opt/render/project/src/mainsetup.py", line 109, in
    twitch_miner.mine(
    File "/opt/render/project/src/TwitchChannelPointsMiner/TwitchChannelPointsMiner.py", line 210, in mine
    self.run(streamers=streamers, blacklist=blacklist, followers=followers)
    File "/opt/render/project/src/TwitchChannelPointsMiner/TwitchChannelPointsMiner.py", line 231, in run
    self.twitch.claim_all_drops_from_inventory()
    File "/opt/render/project/src/TwitchChannelPointsMiner/classes/Twitch.py", line 786, in claim_all_drops_from_inventory
    drop = Drop(drop_dict)
    ^^^^^^^^^^^^^^^
    File "/opt/render/project/src/TwitchChannelPointsMiner/classes/entities/Drop.py", line 41, in init
    self.end_at = datetime.strptime(dict["endAt"], "%Y-%m-%dT%H:%M:%SZ")
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.11/_strptime.py", line 567, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.11/_strptime.py", line 349, in _strptime
    raise ValueError("time data %r does not match format %r" %
    ValueError: time data '2024-09-19T16:59:59.997Z' does not match format '%Y-%m-%dT%H:%M:%SZ'
    ==> Your service is live 🎉
    01/09/24 16:18:47 - INFO - [end]: CTRL+C Detected! Please wait just a moment!
    01/09/24 16:18:47 - INFO - [__print_report]: 🛑 Ending session: '8c23341a-8b90-460f-a3a5-5ee7dbd779e5'
    01/09/24 16:18:47 - INFO - [__print_report]: 📄 Logs file: /opt/render/project/src/logs/Edgarianer007mc.log
    01/09/24 16:18:47 - INFO - [__print_report]: ⌛ Duration 15:17:06.632879
    Exception ignored in: <module 'threading' from '/usr/local/lib/python3.11/threading.py'>
    Traceback (most recent call last):
    File "/usr/local/lib/python3.11/threading.py", line 1590, in _shutdown
    lock.acquire()
    File "/opt/render/project/src/TwitchChannelPointsMiner/TwitchChannelPointsMiner.py", line 443, in end
    sys.exit(0)
    SystemExit: 0
    ==> Detected service running on port 8080
    ==> Docs on specifying a port: https://render.com/docs/web-services#port-binding

Steps to reproduce

==> Deploying...
==> Using Node version 20.15.1 (default)
==> Docs on specifying a Node version: https://render.com/docs/node-version
==> No open ports detected, continuing to scan...
==> Docs on specifying a port: https://render.com/docs/web-services#port-binding
==> Using Bun version 1.1.0 (default)
==> Docs on specifying a bun version: https://render.com/docs/bun-version
==> Running 'python mainsetup.py'

  • Serving Flask app 'keep_alive'
  • Debug mode: off
    01/09/24 16:17:42 - INFO - [init]: Console logger time zone set to: Europe/Berlin
    01/09/24 16:17:42 - INFO - [init]: File logger time zone set to: Europe/Berlin
    01/09/24 16:17:42 - INFO - [init]: Twitch Channel Points Miner v2-1.9.5 (fork by rdavydov)
    01/09/24 16:17:42 - INFO - [init]: https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2
    01/09/24 16:17:42 - INFO - [init]: You are running version 1.9.5 of this script
    01/09/24 16:17:42 - INFO - [init]: The latest version on GitHub is 1.9.7
    01/09/24 16:17:42 - INFO - [run]: 💣 Start session: 'b7af21e5-78f4-4f80-9fa4-c6db0e3ef2dd'
    Traceback (most recent call last):
    File "/opt/render/project/src/mainsetup.py", line 109, in
    twitch_miner.mine(
    File "/opt/render/project/src/TwitchChannelPointsMiner/TwitchChannelPointsMiner.py", line 210, in mine
    self.run(streamers=streamers, blacklist=blacklist, followers=followers)
    File "/opt/render/project/src/TwitchChannelPointsMiner/TwitchChannelPointsMiner.py", line 231, in run
    self.twitch.claim_all_drops_from_inventory()
    File "/opt/render/project/src/TwitchChannelPointsMiner/classes/Twitch.py", line 786, in claim_all_drops_from_inventory
    drop = Drop(drop_dict)
    ^^^^^^^^^^^^^^^
    File "/opt/render/project/src/TwitchChannelPointsMiner/classes/entities/Drop.py", line 41, in init
    self.end_at = datetime.strptime(dict["endAt"], "%Y-%m-%dT%H:%M:%SZ")
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.11/_strptime.py", line 567, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.11/_strptime.py", line 349, in _strptime
    raise ValueError("time data %r does not match format %r" %
    ValueError: time data '2024-09-19T16:59:59.997Z' does not match format '%Y-%m-%dT%H:%M:%SZ'
    ==> Your service is live 🎉
    01/09/24 16:18:47 - INFO - [end]: CTRL+C Detected! Please wait just a moment!
    01/09/24 16:18:47 - INFO - [__print_report]: 🛑 Ending session: '8c23341a-8b90-460f-a3a5-5ee7dbd779e5'
    01/09/24 16:18:47 - INFO - [__print_report]: 📄 Logs file: /opt/render/project/src/logs/Edgarianer007mc.log
    01/09/24 16:18:47 - INFO - [__print_report]: ⌛ Duration 15:17:06.632879
    Exception ignored in: <module 'threading' from '/usr/local/lib/python3.11/threading.py'>
    Traceback (most recent call last):
    File "/usr/local/lib/python3.11/threading.py", line 1590, in _shutdown
    lock.acquire()
    File "/opt/render/project/src/TwitchChannelPointsMiner/TwitchChannelPointsMiner.py", line 443, in end
    sys.exit(0)
    SystemExit: 0
    ==> Detected service running on port 8080
    ==> Docs on specifying a port: https://render.com/docs/web-services#port-binding

Expected behavior

==> Deploying...
==> Using Node version 20.15.1 (default)
==> Docs on specifying a Node version: https://render.com/docs/node-version
==> No open ports detected, continuing to scan...
==> Docs on specifying a port: https://render.com/docs/web-services#port-binding
==> Using Bun version 1.1.0 (default)
==> Docs on specifying a bun version: https://render.com/docs/bun-version
==> Running 'python mainsetup.py'

  • Serving Flask app 'keep_alive'
  • Debug mode: off
    01/09/24 16:17:42 - INFO - [init]: Console logger time zone set to: Europe/Berlin
    01/09/24 16:17:42 - INFO - [init]: File logger time zone set to: Europe/Berlin
    01/09/24 16:17:42 - INFO - [init]: Twitch Channel Points Miner v2-1.9.5 (fork by rdavydov)
    01/09/24 16:17:42 - INFO - [init]: https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2
    01/09/24 16:17:42 - INFO - [init]: You are running version 1.9.5 of this script
    01/09/24 16:17:42 - INFO - [init]: The latest version on GitHub is 1.9.7
    01/09/24 16:17:42 - INFO - [run]: 💣 Start session: 'b7af21e5-78f4-4f80-9fa4-c6db0e3ef2dd'
    Traceback (most recent call last):
    File "/opt/render/project/src/mainsetup.py", line 109, in
    twitch_miner.mine(
    File "/opt/render/project/src/TwitchChannelPointsMiner/TwitchChannelPointsMiner.py", line 210, in mine
    self.run(streamers=streamers, blacklist=blacklist, followers=followers)
    File "/opt/render/project/src/TwitchChannelPointsMiner/TwitchChannelPointsMiner.py", line 231, in run
    self.twitch.claim_all_drops_from_inventory()
    File "/opt/render/project/src/TwitchChannelPointsMiner/classes/Twitch.py", line 786, in claim_all_drops_from_inventory
    drop = Drop(drop_dict)
    ^^^^^^^^^^^^^^^
    File "/opt/render/project/src/TwitchChannelPointsMiner/classes/entities/Drop.py", line 41, in init
    self.end_at = datetime.strptime(dict["endAt"], "%Y-%m-%dT%H:%M:%SZ")
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.11/_strptime.py", line 567, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.11/_strptime.py", line 349, in _strptime
    raise ValueError("time data %r does not match format %r" %
    ValueError: time data '2024-09-19T16:59:59.997Z' does not match format '%Y-%m-%dT%H:%M:%SZ'
    ==> Your service is live 🎉
    01/09/24 16:18:47 - INFO - [end]: CTRL+C Detected! Please wait just a moment!
    01/09/24 16:18:47 - INFO - [__print_report]: 🛑 Ending session: '8c23341a-8b90-460f-a3a5-5ee7dbd779e5'
    01/09/24 16:18:47 - INFO - [__print_report]: 📄 Logs file: /opt/render/project/src/logs/Edgarianer007mc.log
    01/09/24 16:18:47 - INFO - [__print_report]: ⌛ Duration 15:17:06.632879
    Exception ignored in: <module 'threading' from '/usr/local/lib/python3.11/threading.py'>
    Traceback (most recent call last):
    File "/usr/local/lib/python3.11/threading.py", line 1590, in _shutdown
    lock.acquire()
    File "/opt/render/project/src/TwitchChannelPointsMiner/TwitchChannelPointsMiner.py", line 443, in end
    sys.exit(0)
    SystemExit: 0
    ==> Detected service running on port 8080
    ==> Docs on specifying a port: https://render.com/docs/web-services#port-binding

Operating system

Render / cron-job

Python version

3.11

Miner version

1.9.5

Other relevant software versions

No response

Logs

==> Deploying...
==> Using Node version 20.15.1 (default)
==> Docs on specifying a Node version: https://render.com/docs/node-version
==> No open ports detected, continuing to scan...
==> Docs on specifying a port: https://render.com/docs/web-services#port-binding
==> Using Bun version 1.1.0 (default)
==> Docs on specifying a bun version: https://render.com/docs/bun-version
==> Running 'python mainsetup.py'

  • Serving Flask app 'keep_alive'
  • Debug mode: off
    01/09/24 16:17:42 - INFO - [init]: Console logger time zone set to: Europe/Berlin
    01/09/24 16:17:42 - INFO - [init]: File logger time zone set to: Europe/Berlin
    01/09/24 16:17:42 - INFO - [init]: Twitch Channel Points Miner v2-1.9.5 (fork by rdavydov)
    01/09/24 16:17:42 - INFO - [init]: https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2
    01/09/24 16:17:42 - INFO - [init]: You are running version 1.9.5 of this script
    01/09/24 16:17:42 - INFO - [init]: The latest version on GitHub is 1.9.7
    01/09/24 16:17:42 - INFO - [run]: 💣 Start session: 'b7af21e5-78f4-4f80-9fa4-c6db0e3ef2dd'
    Traceback (most recent call last):
    File "/opt/render/project/src/mainsetup.py", line 109, in
    twitch_miner.mine(
    File "/opt/render/project/src/TwitchChannelPointsMiner/TwitchChannelPointsMiner.py", line 210, in mine
    self.run(streamers=streamers, blacklist=blacklist, followers=followers)
    File "/opt/render/project/src/TwitchChannelPointsMiner/TwitchChannelPointsMiner.py", line 231, in run
    self.twitch.claim_all_drops_from_inventory()
    File "/opt/render/project/src/TwitchChannelPointsMiner/classes/Twitch.py", line 786, in claim_all_drops_from_inventory
    drop = Drop(drop_dict)
    ^^^^^^^^^^^^^^^
    File "/opt/render/project/src/TwitchChannelPointsMiner/classes/entities/Drop.py", line 41, in init
    self.end_at = datetime.strptime(dict["endAt"], "%Y-%m-%dT%H:%M:%SZ")
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.11/_strptime.py", line 567, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.11/_strptime.py", line 349, in _strptime
    raise ValueError("time data %r does not match format %r" %
    ValueError: time data '2024-09-19T16:59:59.997Z' does not match format '%Y-%m-%dT%H:%M:%SZ'
    ==> Your service is live 🎉
    01/09/24 16:18:47 - INFO - [end]: CTRL+C Detected! Please wait just a moment!
    01/09/24 16:18:47 - INFO - [__print_report]: 🛑 Ending session: '8c23341a-8b90-460f-a3a5-5ee7dbd779e5'
    01/09/24 16:18:47 - INFO - [__print_report]: 📄 Logs file: /opt/render/project/src/logs/Edgarianer007mc.log
    01/09/24 16:18:47 - INFO - [__print_report]: ⌛ Duration 15:17:06.632879
    Exception ignored in: <module 'threading' from '/usr/local/lib/python3.11/threading.py'>
    Traceback (most recent call last):
    File "/usr/local/lib/python3.11/threading.py", line 1590, in _shutdown
    lock.acquire()
    File "/opt/render/project/src/TwitchChannelPointsMiner/TwitchChannelPointsMiner.py", line 443, in end
    sys.exit(0)
    SystemExit: 0
    ==> Detected service running on port 8080
    ==> Docs on specifying a port: https://render.com/docs/web-services#port-binding

Additional context

.

@hoak2
Copy link

hoak2 commented Sep 3, 2024

would fix this first
01/09/24 16:17:42 - INFO - [init]: You are running version 1.9.5 of this script
01/09/24 16:17:42 - INFO - [init]: The latest version on GitHub is 1.9.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants