Discuss Scratch
- Discussion Forums
 - » Bugs and Glitches
 - » Scratch Translation Variable causing Scratch 3.0 to crash
        
         
- ItsMarlowTime
 - 
                            
						
						
                            Scratcher
                        
						
						 
16 posts
Scratch Translation Variable causing Scratch 3.0 to crash
putting in more than 3400 characters with the translation block will crash scratch, not entirely sure why. 
- Does not use any cloud variables, but the limit is 256 chars
- Limit for Variables is 10240
- Limit for max characters with Google Translate is 5000
- Limit for the “ask _ and wait” block is unknown, but I’d assume it follows the same logic as regular variables.
The project that it is crashing on
If I could know why its crashing, or if the crashes are because of a bug, that would be very nice :]
Device that the crash occurs on:
iPad iOS 16.4, ChromeiOS 112.0.5615.46, No Flash version detected
Thank you!
-Tobii
                        
                        
                    - Does not use any cloud variables, but the limit is 256 chars
- Limit for Variables is 10240
- Limit for max characters with Google Translate is 5000
- Limit for the “ask _ and wait” block is unknown, but I’d assume it follows the same logic as regular variables.
The project that it is crashing on
If I could know why its crashing, or if the crashes are because of a bug, that would be very nice :]
Device that the crash occurs on:
iPad iOS 16.4, ChromeiOS 112.0.5615.46, No Flash version detected
Thank you!
-Tobii
- medians
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Scratch Translation Variable causing Scratch 3.0 to crash
What do you mean translation variable (can’t see it on mobile LOLL)
And can you send the code here?
                        
                            And can you send the code here?
Last edited by medians (April 12, 2023 16:35:05)
- 09878901234321
 - 
                            
						
						
                            Scratcher
                        
						
						 
500+ posts
Scratch Translation Variable causing Scratch 3.0 to crash
What do you mean translation variable (can’t see it on mobile LOLL)They mean the translation extension I believe.
And can you send the code here?
- ItsMarlowTime
 - 
                            
						
						
                            Scratcher
                        
						
						 
16 posts
Scratch Translation Variable causing Scratch 3.0 to crash
What do you mean translation variable (can’t see it on mobile LOLL)
And can you send the code here?
An image of the code that crashes it:
https://imgur.com/a/Sv0Ln6Z
- Knightbot63
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Scratch Translation Variable causing Scratch 3.0 to crash
My browser / operating system: ChromeOS 14541.0.0, Chrome 111.0.0.0, No Flash version detected
I clicked on it many times and I got 5760 text from copying and pasting hello.
I didn't experience any crash. Unless it's specifically for that project.
                        
                        
                    I clicked on it many times and I got 5760 text from copying and pasting hello.
I didn't experience any crash. Unless it's specifically for that project.
- ItsMarlowTime
 - 
                            
						
						
                            Scratcher
                        
						
						 
16 posts
Scratch Translation Variable causing Scratch 3.0 to crash
My browser / operating system: ChromeOS 14541.0.0, Chrome 111.0.0.0, No Flash version detected
I clicked on it many times and I got 5760 text from copying and pasting hello.
I didn't experience any crash. Unless it's specifically for that project.
Can you maybe try for my project?
- medians
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Scratch Translation Variable causing Scratch 3.0 to crash
Yeahhh that didn’t exist in 2.0 LOLLWhat do you mean translation variable (can’t see it on mobile LOLL)They mean the translation extension I believe.
And can you send the code here?
- ItsMarlowTime
 - 
                            
						
						
                            Scratcher
                        
						
						 
16 posts
Scratch Translation Variable causing Scratch 3.0 to crash
Maybe because the language was invalid?
Now i can replicate:
Odd. Hope that someone on the scratch team can look into this and see why its causing a crash, this is pretty upsetting that it crashes, as its supposed to be for long strings of text, but apparently even with the limits on variable lengths, it still crashes when it really shouldn’t.
Also, I don’t think that the language is invalid. All the supported languages for scratch are what it uses.
- Knightbot63
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Scratch Translation Variable causing Scratch 3.0 to crash
(#9)Does the ask block ask for a specific language to translate or what words to translate?
Also, I don’t think that the language is invalid. All the supported languages for scratch are what it uses.
- medians
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Scratch Translation Variable causing Scratch 3.0 to crash
Can replicate here with something that is 1582 characters long but not 632.

                        
                        
                    
- KittyCatKayden
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Scratch Translation Variable causing Scratch 3.0 to crash
Can replicate here with something that is 1582 characters long but not 632.2.0 and 3.0 mixed together?!

- CST1229
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Scratch Translation Variable causing Scratch 3.0 to crash
(#12)They're using browser extensions.
2.0 and 3.0 mixed together?!
Translating long strings returns undefined, that is likely a bug.
Putting undefined in a shown list “crashes” the project player, but can be escaped by hiding the list and seeing outside then back inside; this is also a bug. Additionally, the project still runs during this “crash”, but cannot be saved (until you delete or change all the undefined list items and variables).

My browser / operating system: Windows NT 10.0, Firefox 113.0, No Flash versions detected
Last edited by CST1229 (April 14, 2023 19:56:18)
- medians
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Scratch Translation Variable causing Scratch 3.0 to crash
2.0 and 3.0 mixed together?!I don't want to get muted again or have to type it again, so:
https://scratch.mit.edu/discuss/post/7147286/
Last edited by medians (April 14, 2023 21:47:42)
- KittyCatKayden
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Scratch Translation Variable causing Scratch 3.0 to crash
I know they are using browser extensions, in fact I have them myself! But I don't have the 2.0 ones enabled since I'm used to the 3.0 design.(#12)They're using browser extensions.
2.0 and 3.0 mixed together?!
Translating long strings returns undefined, that is likely a bug.
Putting undefined in a shown list “crashes” the project player, but can be escaped by hiding the list and seeing outside then back inside; this is also a bug. Additionally, the project still runs during this “crash”, but cannot be saved (until you delete or change all the undefined list items and variables).
My browser / operating system: Windows NT 10.0, Firefox 113.0, No Flash versions detected
- Discussion Forums
 - » Bugs and Glitches
 - 
            » Scratch Translation Variable causing Scratch 3.0 to crash 
         
            





