TRANS FAILED: Invalid source file

Monkey Forums/Monkey Programming/TRANS FAILED: Invalid source file

Fedor(Posted 2013) [#1]
Suddenly when compiling my program I get the following message:


"/home/fedor/Applicaties/MonkeyPro/bin/transcc_linux" -target=Html5_Game -config=Debug -run "/media/huisserver_data/Fedor/programmeren/testgame/testgame.monkey"
TRANS monkey compiler V1.50
TRANS FAILED: Invalid source file
Done.

I first added an extra pad to the MODPATH variable in the config file, but I restored the previous version and it still is a problem.

I 've tried to open an bananas-example, it ran without problems.

I've copied the code into a new source file, same problem.

I 've removed all code - same error. I removed parts - same error.

I 've checked permissions on the files - I have full controll

My system is Unbuntu 13.04 64bits and the code is on a cifs-share. It was working well on this config a few hours ago.


Raul(Posted 2013) [#2]
not sure if has any logic, but create a new project and copy paste the code in the new one..


Fedor(Posted 2013) [#3]
@Raul: tried that, same problem still occured


Fedor(Posted 2013) [#4]
...okay: copied my code to a local folder and now it compiles fine.

I still do not understand why the CIFS-share was working fine, and now all the sudden it doesn't. Any ideas?


Duke87(Posted 2014) [#5]
I had the same problem just right now, but on Windows.

I found out, it was the name of the Folder. I had a "ΓΌ", and it couldn't compile, i switched the Name and it worked perfectly.
But as far as i can see, u didn't use vowel mutation. Maybe it's the "_" part of your Foldername?


DruggedBunny(Posted 2014) [#6]
It might just be that the network share was lost for some reason -- looking through trans, that message only appears in the event that the source filename given isn't an actual file (eg. there's no file or the filename given is a directory).