Closed wvzack closed 4 hours ago
Is a bug
wvzack @.***> schrieb am So., 17. Nov. 2024, 18:54:
I am trying to test a project I am making but I cant as it seems that I have to share the project to be able to use the requests thing on it. My code works fine on shared projects but on unshared it gives: (even if i am logged into the account) (.venv)
@.**:~/Python_Projects/ByteBank $ python3 cloud_requests.py If you use CloudRequests in your Scratch project, please credit TimMcCool! Request handler is running Warning: Caught error in request 'get_all_info' - Full error below Traceback (most recent call last): File "/home/pi/.venv/lib/python3.11/site-packages/scratchattach/cloud_requests.py", line 116, in call_request output = req_obj["on_call"](arguments) # Calls the request function and saves the function's returned data in the output variable ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pi/Python_Projects/ByteBank/cloud_requests.py", line 56, in get_all_info username = str(client.get_requester()).lower() ^^^^^^^^^^^^^^^^^^^^^^ File "/home/pi/.venv/lib/python3.11/site-packages/scratchattach/cloud_requests.py", line 207, in get_requester activity = list( ^^^^^ File "/home/pi/.venv/lib/python3.11/site-packages/scratchattach/cloud_requests.py", line 208, in
filter(lambda x: "." + self.last_request_id in x["value"], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: argument of type 'int' is not iterable Thanks! :)
— Reply to this email directly, view it on GitHub https://github.com/TimMcCool/scratchattach/issues/289, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATCKMZSRGAXITEOT5WFEST32BDJ67AVCNFSM6AAAAABR6FIQ42VHI2DSMVQWIX3LMV43ASLTON2WKOZSGY3DMMRTG4YTSMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
the cloud variable values need to be converted to string
Is this a time where I should upgrade scratch attach or is it my fault?
You should pretty much always upgrade the packages to the newest version but tim needs to fix this first
wvzack @.***> schrieb am So., 17. Nov. 2024, 19:01:
Is this a time where I should upgrade scratch attach or is it my fault?
— Reply to this email directly, view it on GitHub https://github.com/TimMcCool/scratchattach/issues/289#issuecomment-2481409051, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATCKMZS6DWCQAOWRQ5Y7EOL2BDKXFAVCNFSM6AAAAABR6FIQ42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBRGQYDSMBVGE . You are receiving this because you commented.Message ID: @.***>
Okay I wasn't upgrading it as I was having problems and I wanted to wait for a stable release.
Thanks!
I am trying to test a project I am making but I cant as it seems that I have to share the project to be able to use the requests thing on it. My code works fine on shared projects but on unshared it gives: (even if i am logged into the account) (.venv)
Thanks! :)