ComputerCraft Turtle Bug: "You are not attached to this Computer"

  • Tech Support section is for getting help with FTB related problems. If there's a repeatable issue that can be labeled as a bug, then please use the issue tracker for the pack or the app at GitHub issue trackers - If there's no repository for a pack that means that the pack is old and/or will not be updated. Bugs for older packs will not be fixed, unless they are critical.
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Benie76

New Member
Jul 29, 2019
141
0
0
Title:
ComputerCraft Turtle Bug: "You are not attached to this Computer"
Launcher Version:
1.4.11
Modpack:
FTB Presents Direwolf20
Modpack Version:
1.10.0
Log Link:
No errors show in the log. The issue shows up in CraftOS of ComputerCraft
Details of the issue:
I'm having an issue of a standard Turtle in my base, malfunctioning. It's designed to work with EnderIO(but I believe will also work with anything that uses Redstone) by sitting infront of a Capacitor Bank and monitor its power. If the power drops to 10%, it will switch on the Dynamos via a Redstone signal, then switch them off at 90% power where it enters a Sleep Mode.

Occasionally, this automated process gets messed up by the Turtle throwing a 'Java Exception Thrown: java.lang.RuntimeException: You are not attached to this Computer' crash. I assume this is a permission bug? I tried breaking the Turtle and replacing it, and that works for a bit... only for it to crash again.
Doing a reboot will do the same thing. Sometimes it crashes before it does anything. Other times (if power is low), it will still make the dynamos work (yet still crash), and keep the dynamos from turning off.
I will be upgrading my power system with a Big Reactor(one day) with a hopefully better code, but I need this issue fixed first before I can slowly migrate over to the new system.

The code (download here if you can help) is from a friend of mine. Worked flawless several months ago(I have very slightly modified it to change what it prints out when it switches on and off, but that was also several months ago). But now I'm having issues. I don't know if this is an issue with the code or ComputerCraft itself. I'm no coder(and I barely know how the mod works), so I don't know how to debug the issue.
I looked on Google for an answer, yet to no avail. I did see the issue had been fixed in a later version, but I'm unsure if the fix is in the version I'm using.

Please help me fix this bug, so I'll have one less thing to worry about. Thank you in advance.​
 

Benie76

New Member
Jul 29, 2019
141
0
0
Ok, I'm glad to hear there's nothing wrong with the code. So why is it crashing? Is it permission-related? Is it a bug with ComputerCraft?
 
Last edited:

Henry Link

Forum Addict
Dec 23, 2012
2,601
553
153
USA - East Coast
Not sure.... I haven't tested my code recently. It was last used before Infinity was updated to Evolved. I know computercraft and Ender IO have both been updated since then. I should setup a big reactor and test the code.
 

Moasseman

New Member
Jul 29, 2019
1,679
-2
1
This is not a tech support issue. I suggest you go ask from around the ComputerCraft forums for specific help about ComputerCraft