Jump to content




Program disappeared


  • This topic is locked This topic is locked
7 replies to this topic

#1 jv110

  • Members
  • 108 posts
  • LocationIn front of my PC

Posted 09 February 2016 - 02:59 PM

So, yesterday I was programming something, and today I was going to continue, but...

Spoiler

It just... disappeared. Now it's just a bunch of "NUL"s. In Minecraft, it takes a while to load then shows it as a blank file.

Maybe it's because I shut my computer down without closing Minecraft first?

#2 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 09 February 2016 - 06:34 PM

go into the command prompt and run the "chkdsk" command, if it detects anything is wrong it will prompt you to restart and it on startup it will run chkdsk again but not in read-only mode

#3 jv110

  • Members
  • 108 posts
  • LocationIn front of my PC

Posted 09 February 2016 - 08:49 PM

View PostPixelToast, on 09 February 2016 - 06:34 PM, said:

go into the command prompt and run the "chkdsk" command, if it detects anything is wrong it will prompt you to restart and it on startup it will run chkdsk again but not in read-only mode

It's not a problem with my disk, it's just a single file

#4 Lupus590

  • Members
  • 2,028 posts
  • LocationUK

Posted 09 February 2016 - 10:29 PM

View Postjv110, on 09 February 2016 - 08:49 PM, said:

View PostPixelToast, on 09 February 2016 - 06:34 PM, said:

go into the command prompt and run the "chkdsk" command, if it detects anything is wrong it will prompt you to restart and it on startup it will run chkdsk again but not in read-only mode

It's not a problem with my disk, it's just a single file

I have a single file on my computer which has problems in it, check disk fixes it. It's kind of annoying because it has a problem with me deleting the file, so checkdisk puts it back.

What I mean is, if you have a disk error then it has to be somewhere, why not on just one file? Disk errors may not effect the entire disk.

Another option if to check if windows gave you backup copies of this file, I believe that you can access these via the files properties, rightclick on the file.

#5 jv110

  • Members
  • 108 posts
  • LocationIn front of my PC

Posted 09 February 2016 - 10:45 PM

View PostLupus590, on 09 February 2016 - 10:29 PM, said:

View Postjv110, on 09 February 2016 - 08:49 PM, said:

View PostPixelToast, on 09 February 2016 - 06:34 PM, said:

go into the command prompt and run the "chkdsk" command, if it detects anything is wrong it will prompt you to restart and it on startup it will run chkdsk again but not in read-only mode

It's not a problem with my disk, it's just a single file

I have a single file on my computer which has problems in it, check disk fixes it. It's kind of annoying because it has a problem with me deleting the file, so checkdisk puts it back.

What I mean is, if you have a disk error then it has to be somewhere, why not on just one file? Disk errors may not effect the entire disk.

Another option if to check if windows gave you backup copies of this file, I believe that you can access these via the files properties, rightclick on the file.

I just ran it, and it did nothing. It just said there was nothing wrong and no action was needed.

#6 HPWebcamAble

  • Members
  • 933 posts
  • LocationWeb Development

Posted 09 February 2016 - 11:24 PM

Certainly looks like a (real life) disk error. It's not a good idea to shut down your computer without closing minecraft, but I don't think that's the problem here.

Maybe post your forge logs from the day you closed it and the day you opened it.


That file is 9300 characters, was the original about that length (roughly 250 lines)?


View PostLupus590, on 09 February 2016 - 10:29 PM, said:

Another option if to check if windows gave you backup copies of this file, I believe that you can access these via the files properties, rightclick on the file.
That is part of file history. I'm fairly certain windows won't have a backup of your files unless you've got file history turned on, backing up your files periodically.
FH didn't even work for me (said some directory wasn't able to be backed up, so it never ran). I use CrashPlan now (Free unless you want to backup stuff to their servers)

#7 jv110

  • Members
  • 108 posts
  • LocationIn front of my PC

Posted 10 February 2016 - 04:32 PM

View PostHPWebcamAble, on 09 February 2016 - 11:24 PM, said:

Certainly looks like a (real life) disk error. It's not a good idea to shut down your computer without closing minecraft, but I don't think that's the problem here.

Maybe post your forge logs from the day you closed it and the day you opened it.


That file is 9300 characters, was the original about that length (roughly 250 lines)?

The log has nothing special, it's just your everyday Forge log
Spoiler

About the original file, it has about 300 lines, I'm just not very worried since I had I backup in a disk from the same day (copied to a floppy then threw it away since it was totally useless), but this is still a bug.

And I'm pretty sure the problem is shutting off while Minecraft is open, since I had that file opened and it was the only one affected

Edited by jv110, 10 February 2016 - 04:33 PM.


#8 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 10 February 2016 - 05:36 PM

You can't expect things not to break when you forcibly terminate a program, which happens when you shut down the computer without closing programs first. This is not a bug in ComputerCraft.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users