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

Bot crashes on startup #6

Closed
AgitationSkeleton opened this issue Aug 15, 2023 · 2 comments
Closed

Bot crashes on startup #6

AgitationSkeleton opened this issue Aug 15, 2023 · 2 comments

Comments

@AgitationSkeleton
Copy link

Traceback (most recent call last):
File "C:\Users\Administrator\Documents\ssdb-master\ssdb.py", line 15, in
import valve.source.master_server
File "C:\Python311\Lib\site-packages\valve\source\master_server.py", line 13, in
from . import messages
File "C:\Python311\Lib\site-packages\valve\source\messages.py", line 379, in
class Message(collections.Mapping):
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'collections' has no attribute 'Mapping'
Press any key to continue . . .

@TotallyMehis
Copy link
Owner

TotallyMehis commented Aug 15, 2023

Error is caused by python-valve and that module is no longer maintained. It needs to be replaced. (#5)

As a workaround, you can apply this manually: serverstf/python-valve#87

OR

Downgrade your Python.

@TotallyMehis
Copy link
Owner

Should work now.

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