OGRECave / blender2ogre

Blender exporter for the OGRE 3D engine
GNU Lesser General Public License v2.1
214 stars 69 forks source link

Using on 2.78 c get error #1

Closed LSDsl closed 7 years ago

LSDsl commented 7 years ago

Create new project (with cube) Clcik Export- Ogre 3d- Export and get error

  File "D:\blender-2.78c-windows64\2.78\scripts\addons\io_ogre\ui\export.py", line 78, in execute
    scene.dot_scene(target_path, target_file_name_no_ext)
  File "D:\blender-2.78c-windows64\2.78\scripts\addons\io_ogre\ogre\scene.py", line 150, in dot_scene
    xmlparent = doc._scene_nodes
  File "D:\blender-2.78c-windows64\2.78\scripts\addons\io_ogre\ogre\scene.py", line 456, in dot_scene_node_export
    mesh.dot_mesh(ob, path, overwrite=overwrite)
  File "D:\blender-2.78c-windows64\2.78\scripts\addons\io_ogre\ogre\mesh.py", line 620, in dot_mesh
    util.xml_convert(target_file, has_uvs=dotextures)
  File "D:\blender-2.78c-windows64\2.78\scripts\addons\io_ogre\util.py", line 38, in xml_convert
    version = xml_converter_version()
  File "D:\blender-2.78c-windows64\2.78\scripts\addons\io_ogre\util.py", line 32, in xml_converter_version
    return xml_converter_parameters()[1]
  File "D:\blender-2.78c-windows64\2.78\scripts\addons\io_ogre\util.py", line 18, in xml_converter_parameters
    proc = subprocess.Popen([exe,'-v'],stdout=subprocess.PIPE)
  File "D:\blender-2.78c-windows64\2.78\python\lib\subprocess.py", line 947, in __init__
    restore_signals, start_new_session)
  File "D:\blender-2.78c-windows64\2.78\python\lib\subprocess.py", line 1224, in _execute_child
    startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified

location: <unknown location>:-1
paroj commented 7 years ago

it could not find the OgreXmlConverter binary, see https://github.com/OGRECave/blender2ogre/blob/master/io_ogre/config.py#L60

the xml should have been written nevertheless and you can invoke OgreXmlConverter manually to get the mesh file.

LSDsl commented 7 years ago

no any xml. set path to OgreXmlConverter and still have same error

paroj commented 7 years ago

try https://github.com/OGRECave/blender2ogre#updating-to-new-versions

LSDsl commented 7 years ago

Cannot find this file on Windows P.S. It was fresh install

paroj commented 7 years ago

https://docs.blender.org/manual/ja/dev/getting_started/installing/configuration/directories.html

LSDsl commented 7 years ago

image

((

paroj commented 7 years ago

where does your OgreXmlConverter come from? do you get a _ogre_debug.txt? it works with Ogre 1.10.

LSDsl commented 7 years ago

Ogre Command-line Tools (1.7.2) http://www.ogre3d.org/download/tools

About _ogre_debug.txt - no

Where to get Ogre 1.10 ?

paroj commented 7 years ago

should be compiled when you compile ogre - or see here: http://www.ogre3d.org/download/sdk

LSDsl commented 7 years ago

I not complie from source. Try 1.9 - also crash. Could U send pre-built binaries of your version?

paroj commented 7 years ago

try https://goo.gl/qIcDgl

paroj commented 7 years ago

no response for over 1 month