Godot error message whle exporting

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Anastasia

I have the export template donloaded. I did set a main scene. Windows tells me that This app wont run on my pc… Please help!!
EDIT: I did try to run it as an administrator
EDIT2: The problem seems to be in the engine. instead of exporting scenes i get the error message:

drivers/windows/file_access_windows.cpp:305 - Condition ’ fwrite(p_src, 1, p_length, f) != p_length ’ is true.
What does that mean and how can I fix it?

Also there is a SPAM of the error… please please help

Anastasia | 2020-01-11 18:35

Can you post a screenshot of your problem, or describe it more thoroughly? There might be a flag that needs to be flipped in the export window or something, but we’ll never know at this point.

selamba | 2020-01-11 19:36

I will show a screenshot but i cannot right now. I exported just Like i saw others do in theyre tutorials but The exe File wont be red and has 0gb imformation on it. At one point, i received a spam of The error message from above in The debug Then The message “Failed to export for Windows” or smh simmilar. I also get a similar error every Time i run a scene
Please help!

Anastasia | 2020-01-12 07:30





I cannot seem to get that error anymore…
Also the error

 ERROR: reload: Method/Function Failed, returning: ERR_PARSE_ERROR
   At: modules/gdscript/gdscript.cpp:580

appears in the edditor when i open the project

Also for all buttons i use I get the error

W 0:00:03:0664 The function ‘change_scene()’ returns a value, but this value is never used.

altrough the buttons work just fine!
I posted all of this because it might be all of these or none who make the project not work

I fixed the Intended block expected error from the first screenshot but i cannot find the source of the other problem

EDIT: after more research, the error means that my template and Godot dont have the same version! What do I do? Im using godot 3.1.1

Anastasia | 2020-01-12 15:22

:bust_in_silhouette: Reply From: Anastasia

It aprers that ERR_PARSE_ERROR means that my export templates had the wrong version! I chaanged them and fixed it!