Error testing game

Creis

  • Posts: 102
When I try to test a game it says "Encountered errors while building your game.  Check your logs and post them to the forums"
The log says:

Level:     ERROR
When:      2015-03-19 00:18:42:309
From:      stencyl.sw.io.write.resource.HXWriter

Building for Flash failed. (Return code: 126)

I'm using ubuntu, I just downloaded Stencyl 3.3, in 3.2 this didn't happen.

Justin

  • *
  • Posts: 4346
Run > Clean Project before testing.

If that doesn't work, provide full logs (Debug > Logs > Generate Logs).

For Live Support: Join our discord server and ping me @justin.
I'm most often available between 8am and midnight Japan time. (GMT+9)

Creis

  • Posts: 102
Run > Clean Project before testing.

If that doesn't work, provide full logs (Debug > Logs > Generate Logs).

Here you go


Justin

  • *
  • Posts: 4346
Huh. Try creating /home/ubuntu/.haxelib. It can be an empty file. See if you can test then.

For Live Support: Join our discord server and ping me @justin.
I'm most often available between 8am and midnight Japan time. (GMT+9)

Creis

  • Posts: 102
Huh. Try creating /home/ubuntu/.haxelib. It can be an empty file. See if you can test then.

The ".haxelib." as a folder or a file? With period at the end included?

Justin

  • *
  • Posts: 4346
Just a period at the beginning, as a file.

For Live Support: Join our discord server and ping me @justin.
I'm most often available between 8am and midnight Japan time. (GMT+9)

Creis

  • Posts: 102
Tried it both ways, trying to make that files with the period at the end makes it say "The name “.haxelib.” is already used in this location. Please use a different name.". Without the period it doesn't say anything, but the problem persists.

Creis

  • Posts: 102
Also, when running something directly from the forge with the "Play now" button it works fine, but if I download it, open it, and try to test it, then the problem happens.

Justin

  • *
  • Posts: 4346
Could you provide your logs again now that you've tried that?

For Live Support: Join our discord server and ping me @justin.
I'm most often available between 8am and midnight Japan time. (GMT+9)

Creis

  • Posts: 102
Here. By the way, thanks for taking the time to check this.

Justin

  • *
  • Posts: 4346
Try changing the permissions on the haxelib executable.

Code: [Select]
chmod 777 /home/ubuntu/stencyl/plaf/haxe/haxelib
And I'm out the door. I'll check back in later tonight if it's still an issue.

For Live Support: Join our discord server and ping me @justin.
I'm most often available between 8am and midnight Japan time. (GMT+9)

Creis

  • Posts: 102
Do i put that on the console? Do I open the file and replace a line?

Justin

  • *
  • Posts: 4346
Oh yeah, sorry, put that in the terminal.

For Live Support: Join our discord server and ping me @justin.
I'm most often available between 8am and midnight Japan time. (GMT+9)

Creis

  • Posts: 102
Well, something changed. When I try to test, it start to do the compilationg, then the "working" window closes and nothing else happens, a new error appears in the log viewer.

Justin

  • *
  • Posts: 4346
Try the same with this one.

Code: [Select]
chmod 777 /home/ubuntu/stencyl/ext-tools/players/flash-10-linux

For Live Support: Join our discord server and ping me @justin.
I'm most often available between 8am and midnight Japan time. (GMT+9)