This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Birdtalon's profile picture

Error Reporting

Started by Birdtalon, 30 October 2014 - 10:41 PM
Birdtalon #1
Posted 30 October 2014 - 11:41 PM
Hi I have a slight problem. I am trying to debug a program on my mining turtle but it seems that the errors do not report fully so I am finding it hard to find what is actually wrong.

Example; the error just appears as a number instead of reporting it fully



This is how it appears on my computer I made at the start. Any new ones I make appear like the previous one with just a number representing the error.



This seems to have been happening since I downloaded a couple of programs using pastebin from here

http://www.computerc...sic-structures/
http://www.computerc...uarry%E2%84%A2/

Some help would be appreciated because I've been looking on this forum and google for like an hour now and can't find anything relating to this.
KingofGamesYami #2
Posted 31 October 2014 - 12:17 AM
Do you have a resource pack which could overwrite bios.lua? Do the computers have a startup program other than default? If not, I have no idea why this would happen.
DannySMc #3
Posted 31 October 2014 - 05:34 PM
Hi I have a slight problem. I am trying to debug a program on my mining turtle but it seems that the errors do not report fully so I am finding it hard to find what is actually wrong.

Example; the error just appears as a number instead of reporting it fully



This is how it appears on my computer I made at the start. Any new ones I make appear like the previous one with just a number representing the error.



This seems to have been happening since I downloaded a couple of programs using pastebin from here

http://www.computerc...sic-structures/
http://www.computerc...uarry%E2%84%A2/

Some help would be appreciated because I've been looking on this forum and google for like an hour now and can't find anything relating to this.

In that picture you're missing a closing bracket at the end? It tells you expected: ")" at line 1

Pretty simple just look for line number and what is missing… obviously some are harder to read than others!
KingofGamesYami #4
Posted 31 October 2014 - 07:40 PM
That is an example of what an error should be *normally*. He is wondering what has happened to his errors, because they no longer print that, simply a number. And not even the line number, in the first image it errors with "8", whereas an error from lua should always be on line 1…