Invalid text file type: filename ?

Monkey Forums/Monkey Bug Reports/Invalid text file type: filename ?

Fred(Posted 2014) [#1]
Hello,

Trying to compile my prog for PSM I got this error:
TRANS monkey compiler V1.64
Parsing...
Semanting...
Translating...
Building...
TRANS FAILED: Invalid text file type

Could this be more explicit ? filename ?
(no issue when running joytest on PSM emulator)
I have several external modules not from myself. I could try to make a test code for each of them, but anyway I will not know from which file the error is. I guess it's from Diddy not meant for PSM but I only use one that is not target dependant.


marksibly(Posted 2014) [#2]
The PSM target only recognizes .txt, .xml and .json as valid text file types - have you used a different #TEXT_FILES filter?

Actually, this limitation is quite possibly arbitrary and I may end up removing it altogether.

But for now, make sure all text files have one of the above extensions.


Fred(Posted 2014) [#3]
Ok, I have txt files that don't have txt extension using #TEXT_FILES.
Sorry if it's written somewhere, I didn't know (everything's fine with html5, glfw, android, ouya and ios with this prog)
I'll change that soon and give it another chance.
Thank you.