Skip to content

Can't create remix #370

@SpyC0der77

Description

@SpyC0der77

Traceback (most recent call last):
File "/Users/anon/iCloud Drive (Archive)/Desktop/Code/Python/Scratch/main.py", line 82, in
project.create_remix() #Creates a remix of the project. Never spam this method.
~~~~~~~~~~~~~~~~~~~~^^
File "/Users/anon/iCloud Drive (Archive)/Desktop/Code/Python/Scratch/.venv/lib/python3.13/site-packages/scratchattach/site/project.py", line 147, in create_remix
project_json = self.get_raw_json()
^^^^^^^^^^^^^^^^^
AttributeError: 'Project' object has no attribute 'get_raw_json'

        project = session.connect_project(new_project_id)
        project.create_remix() #Creates a remix of the project. Never spam this method.
        project.post_comment("First!") #Returns the posted comment as sa.Comment object
        project.love()
        project.favorite()
        print(project.creator_agent())
        print("Project remixed.")

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions