Cannot open file

Sp whenever I do a randomtest, it always ends the same way now (quicktest does this too). It says “Cannot open puremom.txt file”

I get this issue in CHoiceScript IDE & through the regular random/quicktesting

Is the file in the scenesfolder? Is its name written the same way? Capitals etc?

The file’s in the right place, nothings missing.

This is exactly what I get
RANDOMTEST FAILED
ERROR: couldn’t open file://E:/Choice Script/A Dog’s Life Revised/web/mygame/scenes/puremom’.txt
RANDOMTEST FAILED: Error: Couldn’t open file://E:/Choice Script/A Dog’s Life Revised/web/mygame/scenes/puremom’.txt

Is the quotation mark part of the name? You wrote puremon.txt at the beginning without it. Could be that?

No, its just titled puremom in IDE & in the folder

Could you search through your code if you accidentally wrote it with a ’ somewhere?

3 Likes

Wow, I am really surprised at that. No wonder I missed it, it only showed up once in a random spot. Thanks guys!

2 Likes

Glad to help