Cannot open file


#1

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


#2

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


#3

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


#4

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


#5

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


#6

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


#7

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


#8

Glad to help