MAC Standalone Blendplayer Shuts Down #38320

Closed
opened 2014-01-22 15:47:50 +01:00 by Brando68x · 21 comments
Brando68x commented 2014-01-22 15:47:50 +01:00 (Migrated from localhost:3001)

System Information
OSX 10.68 -- 64 bit

Blender Version
Broken: (2.68 and 2.69)
Worked: (2.49)
Short description of error
Standalone Blendplayer Shuts Down

Exact steps for others to reproduce the error
It shuts down completely when trying to start one .blend from another in the MAC standalone players.
Tried it with the "Start game actuator" and also tried with a python script. Same result.
I've tried using the most simplified file setup.

**System Information** ****OSX 10.68 -- 64 bit**** **Blender Version** Broken: (2.68 and 2.69) Worked: (2.49) **Short description of error** Standalone Blendplayer Shuts Down **Exact steps for others to reproduce the error** It shuts down completely when trying to start one .blend from another in the MAC standalone players. Tried it with the "Start game actuator" and also tried with a python script. Same result. I've tried using the most simplified file setup.
Brando68x commented 2014-01-22 15:47:50 +01:00 (Migrated from localhost:3001)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Brando68x commented 2014-01-22 15:47:50 +01:00 (Migrated from localhost:3001)
Author

Added subscriber: @Brando68x

Added subscriber: @Brando68x
Brando68x commented 2014-01-22 16:08:14 +01:00 (Migrated from localhost:3001)
Author

Relative or direct path makes no difference.

Relative or direct path makes no difference.

Added subscriber: @mont29

Added subscriber: @mont29
Brando68x commented 2014-01-23 17:40:23 +01:00 (Migrated from localhost:3001)
Author

It must be in the "Create game engine runtime plugin". Shuts down completely.
Works fine when you launch the "standalone player" from within Blender.

I've been trying on Mac OS 10.68 and 10.91 (Blender 2.68 and 2.69)
(Did all the security allowances in Maverick just to be sure also.)

Here is some test files.
The "intro" file calls the "load" file with the "z" key.
shuts down.Test_Loading.zip

Can't upload the app file. Too large.

It must be in the "Create game engine runtime plugin". Shuts down completely. Works fine when you launch the "standalone player" from within Blender. I've been trying on Mac OS 10.68 and 10.91 (Blender 2.68 and 2.69) (Did all the security allowances in Maverick just to be sure also.) **Here is some test files.** The "intro" file calls the "load" file with the "z" key. shuts down.[Test_Loading.zip](https://archive.blender.org/developer/F74179/Test_Loading.zip) Can't upload the app file. Too large.
Member

Added subscribers: @Moguri, @brita

Added subscribers: @Moguri, @brita
Member

Tested this in linux and it is also failing.
The problem has nothing to do with the start game actuator. Loading the startup file, and saving as game engine also crashes.
I'd say the priority for this is high if one can't save executables.
@Moguri maybe this is for you?

The console output is this:
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'

Also,
Running from the console with './Intro':

guessing './Test' == '/home/stitch/Downloads/Test Loading/Test'  --looks good

Running from the console with 'Intro' (should work in slackware linux, current path is always searched too)

guessing 'Test' == 'Test/Test/Test/Test/Test/Test/Test/Test/Test/Test' --This crashes right after trying to load_game_data in GPG_ghost main, before the python error.
Tested this in linux and it is also failing. The problem has nothing to do with the start game actuator. Loading the startup file, and saving as game engine also crashes. I'd say the priority for this is high if one can't save executables. @Moguri maybe this is for you? The console output is this: Fatal Python error: Py_Initialize: Unable to get the locale encoding ImportError: No module named 'encodings' Also, Running from the console with './Intro': ``` guessing './Test' == '/home/stitch/Downloads/Test Loading/Test' --looks good ``` Running from the console with 'Intro' (should work in slackware linux, current path is always searched too) ``` guessing 'Test' == 'Test/Test/Test/Test/Test/Test/Test/Test/Test/Test' --This crashes right after trying to load_game_data in GPG_ghost main, before the python error.
Brando68x commented 2014-04-28 18:07:17 +02:00 (Migrated from localhost:3001)
Author

In Mavericks (10.9) I have tried some load linking tests with files.
The "absolute" file paths work fine but the issue is in the "relative" file paths.
It will not load the linked relative files.
Hopefully that will help focus this down a bit.
I'm not sure where to go from here.
Something in Mavericks seemed to have changed so the standalone ge needs to allow for whatever is different.

In Mavericks (10.9) I have tried some load linking tests with files. The "absolute" file paths work fine but the issue is in the "relative" file paths. It will not load the linked relative files. Hopefully that will help focus this down a bit. I'm not sure where to go from here. Something in Mavericks seemed to have changed so the standalone ge needs to allow for whatever is different.

I just tested this in Linux (Arch Linux 64bit), and it seems to work fine. The error Brita mentions is usually due to not finding the correct Python lib folder (the one usually bundled in the 2.xx folder). Make sure you enable the Copy Python option to avoid this issue (it should be enabled by default).

The relative LibLoad issue is described in #25819.

I just tested this in Linux (Arch Linux 64bit), and it seems to work fine. The error Brita mentions is usually due to not finding the correct Python lib folder (the one usually bundled in the 2.xx folder). Make sure you enable the Copy Python option to avoid this issue (it should be enabled by default). The relative LibLoad issue is described in #25819.
Member

Retested in Linux (Slackware Linux 64bits) and with the 2.70 release. Everything works (except running in the terminal without the './', but that is a different problem). I was copying python before, so I am not sure what the problem was, but it is gone now.

Tested in OS X 10.9.2, 64bits, also with the latest release. The embedded player is crashing when pressing Z.
I don't have any input in the terminal (not even the normal stuff I use to see in linux). I also don't have a development environment in the Mac yet.

Retested in Linux (Slackware Linux 64bits) and with the 2.70 release. Everything works (except running in the terminal without the './', but that is a different problem). I was copying python before, so I am not sure what the problem was, but it is gone now. Tested in OS X 10.9.2, 64bits, also with the latest release. The embedded player *is* crashing when pressing Z. I don't have any input in the terminal (not even the normal stuff I use to see in linux). I also don't have a development environment in the Mac yet.
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Inês Almeida self-assigned this 2014-07-15 19:03:50 +02:00
Member

Retsted in OS X 10.9.2, 64bits, with 490da48 the embedded player is no longer crashing.
I tested everything again and it does not crash, so closing.

Retsted in OS X 10.9.2, 64bits, with 490da48 the embedded player is no longer crashing. I tested everything again and it does not crash, so closing.
Brando68x commented 2014-07-23 17:04:25 +02:00 (Migrated from localhost:3001)
Author

Changed status from 'Resolved' to: 'Open'

Changed status from 'Resolved' to: 'Open'
Brando68x commented 2014-07-23 17:04:25 +02:00 (Migrated from localhost:3001)
Author

I did some new testing with 2.71 on Mac using the standalone ge.
Tried linking relative files with a scene. (Still doesn't work on OSX 10.9.3)
Tried start game from file actuator (Still doesn't work on OSX 10.9.3)
The issue is in the Standalone calling files.
Please help.

I did some new testing with 2.71 on Mac using the standalone ge. Tried linking relative files with a scene. (Still doesn't work on OSX 10.9.3) Tried start game from file actuator (Still doesn't work on OSX 10.9.3) The issue is in the Standalone calling files. Please help.
Member

Can you try with a daily build? https://builder.blender.org/download/

Can you try with a daily build? https://builder.blender.org/download/

Added subscriber: @fsiddi

Added subscriber: @fsiddi

I've tried to run the file in a blender player standalone launched via command line on OSX Mavericks and the file loading worked fine (using daily build).

I've tried to run the file in a blender player standalone launched via command line on OSX Mavericks and the file loading worked fine (using daily build).
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Member

Closing again according to fsiddi's comment and my own tests.
Thanks for the report.

Closing again according to fsiddi's comment and my own tests. Thanks for the report.
Brando68x commented 2014-09-17 19:43:57 +02:00 (Migrated from localhost:3001)
Author

Well I tried the latest daily build and I'm still getting a shut down right as it tries to load the second.blend file.

Well I tried the latest daily build and I'm still getting a shut down right as it tries to load the second.blend file.
Brando68x commented 2014-10-08 15:34:20 +02:00 (Migrated from localhost:3001)
Author

I'm not a pro user with running terminal commands.

I'm not a pro user with running terminal commands.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#38320
No description provided.