Skip to content

error codes and commenting Nothing #10

@RealRobertBrownieJr

Description

@RealRobertBrownieJr

when I run the script i get the following errors:

An unexpected error occurred: module 'g4f.Provider' has no attribute 'Vercel'
D:\Users\J***\Desktop\Reddit-Karma-Bot-main\app.py:106: DeprecationWarning: Accessing attribute 'error_type' through APIException is deprecated. This behavior will be removed in PRAW 8.0. Check out https://praw.readthedocs.io/en/latest/package_info/praw7_migration.html to learn how to migrate your code.
if e.error_type == "RATELIMIT":
D:\Users\J***\Desktop\Reddit-Karma-Bot-main\app.py:110: DeprecationWarning: Accessing attribute 'error_type' through APIException is deprecated. This behavior will be removed in PRAW 8.0. Check out https://praw.readthedocs.io/en/latest/package_info/praw7_migration.html to learn how to migrate your code.
elif e.error_type == "THREAD_LOCKED":
D:\Users\J***\Desktop\Reddit-Karma-Bot-main\app.py:115: DeprecationWarning: Accessing attribute 'error_type' through APIException is deprecated. This behavior will be removed in PRAW 8.0. Check out https://praw.readthedocs.io/en/latest/package_info/praw7_migration.html to learn how to migrate your code.
print(e.error_type)
NO_TEXT
D:\Users\J***\Desktop\Reddit-Karma-Bot-main\app.py:116: DeprecationWarning: Accessing attribute 'error_type' through APIException is deprecated. This behavior will be removed in PRAW 8.0. Check out https://praw.readthedocs.io/en/latest/package_info/praw7_migration.html to learn how to migrate your code.
write_log(e.error_type)
[Replied to] - Frank Lucas, the drug lord who ruled Harlem in the 1970s, wearing his infamous $100K chinchilla coat with None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions