Sketchware-Pro / Sketchware-Pro

Sketchware Pro's sources in Java. Now anyone can contribute to Sketchware Pro.
https://sketchware.pro
Other
863 stars 254 forks source link

Too large compile error message causes a TransactionTooLargeException #1043

Open mikothedev opened 5 months ago

mikothedev commented 5 months ago

Describe the bug when compiling the project it will shows an error "TransactionTooLargeException"

Expected behavior that's it it show error and sometimes kicking me out of my screen and the sketchware will reload itself.

Screenshots no screenshot because it is kicking me out when viewing the error i only know the error because of dialogue error.

Device and Sketchware Pro-related info:

Additional context I can't compile the application

JavkhlanK commented 5 months ago

Please specify the used Sketchware Pro version the next time, don't leave the example from the template.

This only happens when the error message is pretty large. The last compile error is also written to /Internal storage/.sketchware/data/<project ID>/compile_log, so open that file with a file manager and fix your project's problems in the meantime.

mikothedev commented 5 months ago

I apologize for my behavior.

what do you mean by "message is pretty large" can you further explain it to me? also thank you for responding i appreciate your service.

sincerely, whemiko

On Sun, Dec 17, 2023, 17:13 Javkhlan K. @.***> wrote:

Please specify the used Sketchware Pro version the next time, don't leave the example from the template.

This only happens when the error message is pretty large. The last compile error is also written to /Internal storage/.sketchware/data/<project ID>/compile_log, so open that file with a file manager and fix your project's problems in the meantime.

— Reply to this email directly, view it on GitHub https://github.com/Sketchware-Pro/Sketchware-Pro/issues/1043#issuecomment-1859081736, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEWYDRHHERMRLY64S4V7Q63YJ2ZS7AVCNFSM6AAAAABAXMFTZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJZGA4DCNZTGY . You are receiving this because you authored the thread.Message ID: @.***>

JavkhlanK commented 5 months ago

Literally that it's large. Too large. Try to open the file I mentioned, then you'll see what I meant.

mikothedev commented 5 months ago

i already did, and there's nothing wrong with the source code it's working but suddenly it doesn't I don't know why

On Mon, Dec 18, 2023, 00:31 Javkhlan K. @.***> wrote:

Literally that it's large. Too large. Try to open the file I mentioned, then you'll see what I meant.

— Reply to this email directly, view it on GitHub https://github.com/Sketchware-Pro/Sketchware-Pro/issues/1043#issuecomment-1859217339, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEWYDRDSZOSX57DSXOSWPIDYJ4M5PAVCNFSM6AAAAABAXMFTZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJZGIYTOMZTHE . You are receiving this because you authored the thread.Message ID: @.***>

JavkhlanK commented 5 months ago

The compiler doesn't lie. Fix your code.

mikothedev commented 5 months ago

well it does lmao i analyze every single line of code you wanna know what i found? the sketchware applications bug it doesn't accept a huge line amount of code in add code source directly and i tried my code in other IDE and it works flawlessly lol turns out it's not my code

On Mon, Dec 18, 2023, 14:41 Javkhlan K. @.***> wrote:

The compiler doesn't lie. Fix your code.

— Reply to this email directly, view it on GitHub https://github.com/Sketchware-Pro/Sketchware-Pro/issues/1043#issuecomment-1859642378, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEWYDRHIXUYGCYRXLB6CWR3YJ7QQ3AVCNFSM6AAAAABAXMFTZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJZGY2DEMZXHA . You are receiving this because you authored the thread.Message ID: @.***>

JavkhlanK commented 5 months ago

That's still not the compiler's fault. Anyway, please stop getting off-topic.

mikothedev commented 5 months ago

I'm not getting off the topic it's literally the same topic "compiler" and if it's not compilers fault then it's the application fault.

On Wed, Dec 20, 2023, 22:54 Javkhlan K. @.***> wrote:

That's still not the compiler's fault. Anyway, please stop getting off-topic.

— Reply to this email directly, view it on GitHub https://github.com/Sketchware-Pro/Sketchware-Pro/issues/1043#issuecomment-1864611061, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEWYDRG7TTI33ZODHWVTBNDYKL3YXAVCNFSM6AAAAABAXMFTZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRUGYYTCMBWGE . You are receiving this because you authored the thread.Message ID: @.***>

JavkhlanK commented 4 months ago

This' topic is the TooLargeTransaction exception, nothing else. Whatever issue you're having is the cause of it.

While not being able to paste, I don't know, 10k characters of code into a Block might be a bug, that's not how you're supposed to use the app. It's mostly focused on not too many Blocks in an Event with every single one not having too much code.

Anyway since your tone's too annoying to work with, I'll leave it at this.

mikothedev commented 4 months ago

you're too annoying too you started it I'm just asking for guidance but nah you started an argument, I'm asking nicely

On Sat, Dec 23, 2023, 3:56 AM Javkhlan K. @.***> wrote:

This' topic is the TooLargeTransaction exception, nothing else. Whatever issue you're having is the cause of it.

While not being able to paste, I don't know, 10k characters of code into a Block might be a bug, that's not how you're supposed to use the app. It's mostly focused on not too many Blocks in an Event with every single one not having too much code.

Anyway since your tone's too annoying to work with, I'll leave it at this.

— Reply to this email directly, view it on GitHub https://github.com/Sketchware-Pro/Sketchware-Pro/issues/1043#issuecomment-1868028672, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEWYDRGZWEEPKQPZ6TIRWSLYKXQWTAVCNFSM6AAAAABAXMFTZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGAZDQNRXGI . You are receiving this because you authored the thread.Message ID: @.***>