Exporting produces some very odd behaviour on Windows executable

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By nosrick
:warning: Old Version Published before Godot 3 was released.

I’m trying to export my game to Windows, and it just isn’t working.
I get a repeating error about some core binding stuff.

I can’t copy + paste the error, as the console is scrolling continuously.
If it helps, I could upload the executable somewhere.

EDIT:
Here’s a screenshot.
enter image description here

You can upload a screenshot, or maybe you can execute the game from the Windows command prompt and redirect output to a file, like this:
yourgame.exe > log.txt

Zylann | 2016-06-22 20:55

It turns out that I was printing something that it didn’t like, but now I have another strange problem. Will edit the question to include.

EDIT:
That didn’t fix it.

nosrick | 2016-06-22 21:02

This is similar to this bug: Random infinite loop with errors · Issue #4927 · godotengine/godot · GitHub. It was fixed in master. But your error messages are not the same. What version of Godot you are using?

vnen | 2016-06-22 23:29

I’m using 2.0.3 stable. I tried to compile master, but got errors about missing .h files.

nosrick | 2016-06-23 07:48

:bust_in_silhouette: Reply From: nosrick

I updated my Godot to master, and found that there was another error: my .json files weren’t being exported, because I hadn’t put a filter in for them.