LagPixelLOL / ChatGPTCLIBot

ChatGPT Bot in CLI with long term memory support using Embeddings.
MIT License
341 stars 38 forks source link

Potential Hard Drive Corruption. #3

Closed jswid34 closed 1 year ago

jswid34 commented 1 year ago

Not sure what happened. Ran the bat file. It said creating folders. It was running on an external drive that had no issues. The disk is no longer recognized and states it must be formatted. Unclear what occurred but definitely regret running this program.

LagPixelLOL commented 1 year ago

huh... im using it all the time, really not sure what happened to you, this shouldn't happen tho, as im using the standard library to handle files, even if you force stop the program when its writing files, the os should handle the file locks automatically. i think its more of your external drive's issue. but if you can provide more info, i can try to debug my program to make sure there's no issue in the code. can you provide the following:

  1. on what stage your drive is corrupted, did it stop working when creating folders, or after you closed the program, did the program run normally the first time, did it run successfully at all?
  2. detailed description on what you did step by step.
  3. some info about your external hard drive.
  4. whats your windows version?
  5. can you try run this program on a USB? if you dont want to do this its ok, make sure to backup all your files tho.
LagPixelLOL commented 1 year ago

ill do some heavy testing on my usb and report back the result here.

jswid34 commented 1 year ago

First, thanks so much for asking and working with me!!

on what stage your drive is corrupted, did it stop working when creating folders, or after you closed the program, did the program run normally the first time, did it run successfully at all?

I downloaded with windows compiled zip and ran the bat file. it started creating folders. i never got past this step. at some point the hard drive volume was unmounted, and windows required me to format the drive to continue. disk repair tools did not recognize it as having any file structure. also for some reason my system drive, which had about 120 gb free prior to running the program, was now only showing 10 gb free. Restarting my computer fixed this issue but not the hard drive corruption of the usb disk (which luckily did not have anything of import on it).

detailed description on what you did step by step.

Hopefully my above description provides sufficient info. I am happy to provide any other info if requested.

some info about your external hard drive.

its a 4 tb usb c sandisk extreme pro 55AF

whats your windows version?

most up to date version of windows 11

can you try run this program on a USB? if you dont want to do this its ok, make sure to backup all your files tho.

i did run it on a usb disk, and id rather not run it again without a better understanding of what happened. again, i didn't lose any important files but i am concerned with what the program did, especially why it (temporarily) took more than 100 gigs of space on my system drive.

LagPixelLOL commented 1 year ago

i tested for around an hour and it runs normally on my usb, i even unplugged it when its running, and it works fine, no corruption. maybe you can try to run this program on your external hard drive again and see what happens?

i asked another guy about this, he said its impossible to corrupt a drive by simply creating folders with the standard library, so i guess its your system's issue or the external hard drive's issue. chatgpt also said the same tho.

also, did you run the program inside the .zip file without extracting it?

LagPixelLOL commented 1 year ago

Closed as cant reproduce, you can reopen this issue if you want to give me the result when you run this program on your external hard drive again.