scratchattach icon indicating copy to clipboard operation
scratchattach copied to clipboard

Can't create remix

Open SpyC0der77 opened this issue 8 months ago • 1 comments

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.")

SpyC0der77 avatar Mar 22 '25 11:03 SpyC0der77

install scratchattach==2.1.10a1

TheCommCraft avatar Mar 22 '25 12:03 TheCommCraft