scratchattach icon indicating copy to clipboard operation
scratchattach copied to clipboard

Issue with crashing while running on iPad

Open yllssnospinning opened this issue 1 year ago • 7 comments

I have to use scratchattach on a mobile device for school use and this issue impacts my use case severely. I hope the scratchattach team can help me find some solution on the issue, preferably free. Python iOS app used: Juno Device used: iPad Pro 9.7' (2016) How to reproduce: Open Juno on iPad and create a new .py file Input and run the following code segment

import scratchattach as sa
import time
cloud = sa.get_tw_cloud('my_project_id')
i = 0
while True:
    cloud.set_var('test', i)
    i += 1
    time.sleep(0.1)

The application should crash after some time (within a minute in my case)

yllssnospinning avatar Jan 14 '25 11:01 yllssnospinning

Try doing it with multiple lines, not one.

htmlcoder1562 avatar Jan 14 '25 13:01 htmlcoder1562

Do you have a traceback?

TheCommCraft avatar Jan 14 '25 15:01 TheCommCraft

Seems like a problem with your hardware, not scratchattach

DagriffpatchfanHosting avatar Jan 15 '25 00:01 DagriffpatchfanHosting

I have to use scratchattach on a mobile device for school use and this issue impacts my use case severely. I hope the scratchattach team can help me find some solution on the issue, preferably free. Python iOS app used: Juno Device used: iPad Pro 9.7' (2016) How to reproduce: Open Juno on iPad and create a new .py file Input and run the following code segment

import scratchattach as sa
import time
cloud = sa.get_tw_cloud('my_project_id')
i = 0
while True:
    cloud.set_var('test', i)
    i += 1
    time.sleep(0.1)

The application should crash after some time (within a minute in my case)

Does the program work otherwise?

TheCommCraft avatar Jan 15 '25 06:01 TheCommCraft

The program works otherwise, such as on my computer. However after trying it with both of my iPads the problem still presists. Also put in mind that the crash usually happens after some running time of the problem, and the program function normally up to the point of the crash.

yllssnospinning avatar Jan 23 '25 13:01 yllssnospinning

Try using a different app that tells you what the error was

yllssnospinning @.***> schrieb am Do., 23. Jan. 2025, 14:50:

The program works otherwise, such as on my computer. However after trying it with both of my iPads the problem still presists. Also put in mind that the crash usually happens after some running time of the problem, and the program function normally up to the point of the crash.

— Reply to this email directly, view it on GitHub https://github.com/TimMcCool/scratchattach/issues/330#issuecomment-2609859970, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATCKMZQP7LHCD4B2BZTYUCD2MDXSJAVCNFSM6AAAAABVEWATWGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMBZHA2TSOJXGA . You are receiving this because you commented.Message ID: @.***>

TheCommCraft avatar Jan 23 '25 16:01 TheCommCraft

did you make sure to install scratchattach on this virtual machine?

rwiehe avatar Apr 25 '25 21:04 rwiehe