Skip to content

[Bug]: sa.CustomCloud(...) not working #625

@JloAu

Description

@JloAu

scratchattach version

2.1.19 (also tried on 3.0.0b3)

What happened?

When I try to create a CustomCloud object as described here in method 1, I get the following error:
AttributeError: module 'scratchattach' has no attribute 'CustomCloud'

My goal is to catch events on my self-hosted Turbowarp cloud server. Is that possible?

Your code.

cloud = sa.CustomCloud(project_id = project_id, cloud_host = f"ws://{server_ip}:{server_port}", username = "JloAu", length_limit = None, allow_non_numeric = True, _session = None, header = None, cookie = None, origin = None, print_connect_messages = False)

Traceback

Traceback (most recent call last):
  File "/mnt/82746CA0746C98A5/Users/JloAu/Documents/Python/Scratchattach.py", line 21, in <module>
    cloud = sa.CustomCloud(project_id = project_id, cloud_host = f"ws://{server_ip}:{server_port}", username = "JloAu", length_limit = None, allow_non_numeric = True, _session = None, header = None, cookie = None, origin = None, print_connect_messages = False)
            ^^^^^^^^^^^^^^
AttributeError: module 'scratchattach' has no attribute 'CustomCloud'

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions