| Message |
 |
- Date: 2011-03-09 15:40
- Sender: Thomas Dinges
- Hey can you re-test with a new build with python 3.2? There have been some path issues fixed recently.
DingTo
|
|
|
- Date: 2011-03-15 12:15
- Sender: yain vieyra
- Mine isn't working. With just the default cube in the game, I enable the Save As Runtime Add-on, but when I export I don't get any file. I saves the blend to export again, but there is no a file exported.
My machine: Ubunu 10.10 Quadcore 3.2Ghz 4GB RAM Nvidia GeForce 240GT 1024MB RAM Blender 2.5x up to date from repository (r25558M)
|
- Date: 2011-03-18 23:24
- Sender: Brecht Van Lommel
- Yain, are there any errors in the console? Did you use a build with the blenderplayer enabled (it's disabled by default)?
|
- Date: 2011-03-19 09:07
- Sender: yain vieyra
- oh yeah. I've checked the linux2config.py file and found that the blenderplayer was in False. I don't know what kind of relation it has with the runtime export, and if this is necessary to export, why it is disbled by default. Now it's working setting blenderplayer to True. Thanks, but I would like an explanation about these issues.
|
- Date: 2011-03-19 15:35
- Sender: Nathan Letwory
- The blenderplayer needs to be enabled indeed, which the said setting controls. Without it you won't be able to save runtimes, as it is an integral part of them. You can set the blenderplayer setting in your user-config.py to True; better than changing the default settings file.
Since this was a build issue, and 'fixed' now, I close the report.
|
- Date: 2011-03-19 15:36
- Sender: Nathan Letwory
- Actually, let's not do that, since original report was about Windows. Sorry, reopening.
|
- Date: 2011-03-21 18:58
- Sender: Jim Tucker
- Nathan, sorry for the delay (away on vacation).
I have now tried the build 35448, but it still gives the same error, from the same file: line number as my original message. Any other suggestions?
|
- Date: 2011-03-21 19:25
- Sender: Benjy Cook
- I could not recreate this problem on my system with the 2.56 beta release.
Exported default cube just fine:
found bundled python: C:\BLENDE~1.56A\2.56\python bpy.utils.addon_enable game_engine_save_as_runtime Saving runtime to C:\Users\Benjy\Documents\untitled.exe Writing runtime... done Copying Python files... done Copying DLLs... done Finished in 4.3892s
My machine: CPU: Intel Core 2 Duo 2.66 GHz RAM: 4GB GFX: nvidia gt130m OS: Windows 7 Ultimate (64bit) Blender: 2.56.0 64 bit r34076
|
- Date: 2011-03-23 10:09
- Sender: Nathan Letwory
- With current trunk I'm unable to reproduce. Can you give the output from console when you run blender with the -d switch? I get:
=====
bpy.ops.wm.save_as_mainfile(filepath="D__bugtesting_default_scene_exe", check_existing=True, filter_blender=True, filter_image=False, filter_movie=False, filter_python=False, filter_font=False, filter_sound=False, filter_text=False, filter_btx=False, filter_collada=False, filter_folder=True, filemode=8, compress=False, relative_remap=True, copy=True) Writing runtime... done Copying Python files... done Copying DLLs... done Finished in 0.2574s bpy.ops.wm.save_as_runtime(player_path="D:\BLENDE~1\install\GRAPHI~1\blenderplayer.exe", filepath="D:\bugtesting\default_scene.exe", copy_python=True, overwrite_lib=False, copy_dlls=True) pass on evt 260 val 0
======
What is interesting though is that in the first dialog call slashes are replaced with underscores.
|
- Date: 2011-03-23 22:26
- Sender: Jim Tucker
- The requested error output from blender.exe -d is:
Error Traceback (most recent call last)
File "C\PROGRA-1\Blender\2.56a\2.56\scrips\addons\game_engine_save_as_runtime.py", line 192, in execute self.copy_dlls) File C:\PROGRA-1\Blender\2.56a\2.56\scripts\addons\game_engine_save_as_runtime.py", line 97, in WriteRuntime blend_file=open(blend_path.'rb') IOError:[Errno 2] No such file or directory: C_Users_jim_BlenderFiles_untitled_blend_exe.blend' location:<unknown location>:-1
PS Ive tried with other pathnames but always get the same result. I hope this is a real bug and not just something I'm doing wrong! (Don't want to waste your time!!).
|
|
- Date: 2011-03-29 23:11
- Sender: Jim Tucker
- All works!. I have tested "Save as Runtime" in the 2.57 release you sent and the error has disappeared. Can't be sure, but I suspect that the problem was, as you suggest, that I was running the old release instead of the new one.
Nathan, many thanks for your help!
|
- Date: 2011-03-30 00:30
- Sender: Nathan Letwory
- Jim, thanks for verifying the updated build. I'll close this report as fixed.
|