problem exporting in linux for linux 32bits

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

log:
BOOT SPLASH:
BOOT SPLASH IS :
ERROR: load_source_code: Condition ’ err ’ is true. returned: err
At: modules/gdscript/gd_script.cpp:2062.
ERROR: load: Condition ’ err!=OK ’ is true. returned: RES()
At: modules/gdscript/gd_script.cpp:2739.
ERROR: load: Method/Function Failed, returning: RES()
At: core/io/resource_loader.cpp:218.
ERROR: start: Condition ’ res.is_null() ’ is true. Continuing…:
At: main/main.cpp:1330.
ERROR: set_code_buffer: Condition ’ version>5 ’ is true. returned: ERR_INVALID_DATA
At: modules/gdscript/gd_tokenizer.cpp:1061.
ERROR: operator: Condition ’ p_index<0 || p_index>=size() ’ is true. returned: aux
At: core/vector.h:128.
segmentation fault

You need to post a lot more info for these kinds of bugs. What version of godot? Did you import the templates for that specific version? What OS do you use? When did it crash (on export or when opening the exported binary)? Etc.

I just tried exporting to 32 bit Linux from 64 bit Linux Mint 17.3 using the Godot 2.0.1-stable binary and everything worked fine.

batmanasb | 2016-03-23 19:30

i compile godot, and export the project, now the log is:

ERROR: try_open_pack: Pack created with a newer version of the engine: 2.1.0
At: core/io/file_access_pack.cpp:173.
BOOT SPLASH:
BOOT SPLASH IS :

And i get a grey window with nothing on it…

Using linux mint 17.1 32 bits, exporting to same plataform

tiernich | 2016-03-23 19:34

one minute, will gather more info

tiernich | 2016-03-23 19:37

Did you also compile the export templates? Are you saying that it didn’t work when you tried the version in the downloads?

batmanasb | 2016-03-23 19:37

first try: try with version 2.0.1 in the download site, try exporting for windows, linux, html5, 32 and 64. all fail. the first log i post was the log when executed the program in terminal, nothing appear. the game work fine in the editor.

second try: compile from source, from tutorial in the site, also export the templates: used these commands:

user@host:~/godot$ scons platform=x11 tools=no target=release bits=32
user@host:~/godot$ scons platform=x11 tools=no target=release_debug bits=32

then try export again, version 2.1.0 and the output whas the last one i posted

using linux mint 17.1 32 bits

sorry if i not giving right information, i am new to all this…

tiernich | 2016-03-23 19:43

Wait, so when you downloaded 2.0.1 from the download site, did you also download the export templates and install them? When you run the engine, open any project, press Settings on the top right, click Install Export Templates, then select the file you just downloaded.

batmanasb | 2016-03-23 19:47

ok…working now after this. sorry for the trouble, felling really dumb right now, lol. thanks for your patience man!

tiernich | 2016-03-23 19:56

haha, no problem. But I’m a little surprised that you figured out how to compile the engine before figuring out how to install the templates :stuck_out_tongue: And if you do want to compile the engine and templates yourself, then you need to link them manually in the export window. The ones you just installed go into the .godot/templates folder in your HOME directory, and every time you change to a different version of Godot, you have to reinstall them.

batmanasb | 2016-03-23 20:03

“But I’m a little surprised that you figured out how to compile the engine before figuring out how to install the templates”

i’m asking me this right now :DD

tiernich | 2016-03-23 20:09

:bust_in_silhouette: Reply From: batmanasb

I’ll add the answer here for the sake of the Q&A.

You have to download and install the export templates before you can export anything.

When you run the engine, open any project, press Settings on the top right, click Install Export Templates, then select the Export Templates file you just downloaded.