Feral Heart

Help & Guidance => Game Help => Topic started by: alphaomegawolf on July 15, 2016, 09:57:58 pm

Title: Blender Error?
Post by: alphaomegawolf on July 15, 2016, 09:57:58 pm
well, I hit yet another problem.
I have been trying to export my mesh to "Ogre meshes" But it gives me this error, no matter what.
(http://i.imgur.com/KG9wQKM.png)

Ideas?
Title: Re: Blender Error?
Post by: Warriorstrike on July 15, 2016, 11:06:39 pm
I will move this over to the Game Help board for you so that people will know you are seeking assistance.
Title: Re: Blender Error?
Post by: Bloo. on July 15, 2016, 11:10:59 pm
Well, the Syntax error sports a small carrot (the upwards pointing arrow ^ ) that lets you know where it has detected an error. In your piece of code it's pointing at "open" which indicates that that's where your problem lies.

Although apparently there's nothing wrong with the way it looks and sources say you may actually have the wrong version of python. I'm not a python/blender expert so I'll give you the best help I personally can.

Your code says that your python version is 2.5.2 which is actually quite old. The most recent version of python is either 2.7 or 3.5, whichever one you get is up to you. The major difference between the two is language (terms) and interface.
Title: Re: Blender Error?
Post by: Ruby1234 on July 16, 2016, 12:29:47 am
FeralHeart uses Python26 (2.6)!
Title: Re: Blender Error?
Post by: alphaomegawolf on July 16, 2016, 01:07:57 am
FeralHeart uses Python26 (2.6)!

Thing about that is, I did get 2.6!
Title: Re: Blender Error?
Post by: Ruby1234 on July 16, 2016, 01:52:05 am
It gives the same error?
Title: Re: Blender Error?
Post by: alphaomegawolf on July 16, 2016, 01:53:57 am
It gives the same error?
Yep
Title: Re: Blender Error?
Post by: Ruby1234 on July 16, 2016, 02:11:40 am
Did you uninstall older versions?
Title: Re: Blender Error?
Post by: alphaomegawolf on July 16, 2016, 02:16:11 am
Did you uninstall older versions?
Honestly I can't remember at this point, so I'll try it again
Title: Re: Blender Error?
Post by: alphaomegawolf on July 16, 2016, 02:34:08 am
Did you uninstall older versions?
Okay, I just unistalled the old Pythons, got the right one, and it still has the same error.
Title: Re: Blender Error?
Post by: Ruby1234 on July 16, 2016, 03:05:56 am
What export script are you using?
Title: Re: Blender Error?
Post by: alphaomegawolf on July 16, 2016, 03:18:47 am
What export script are you using?
'Ogre meshes' I believe
The two things I downloaded were
"Blender exporter" (Ogre)
'Ogre command line tools'
Title: Re: Blender Error?
Post by: Ruby1234 on July 16, 2016, 04:23:44 pm
Is Blender version 2.49b?
Title: Re: Blender Error?
Post by: alphaomegawolf on July 17, 2016, 02:26:13 am
What export script are you using?

What do you mean? Python?
Title: Re: Blender Error?
Post by: Ruby1234 on July 17, 2016, 06:20:37 am
Non, you answered that part already.
My new question was
Is Blender version 2.49b?

You need Blender 2.49b and Python 2.6.x for these scripts to all function properly. If that's your case and it's still not working, you may have to define Python26 as an environment variable.

Quote from: Phloxenfree
This tutorial assumes you have Blender and the corresponding Python, with Python installed DIRECTLY to your C: DRIVE. If you don't, then get out before you confuse yourself. c:
This may be a tad different for Windows XP/8 but I have faith in you.
-
Close Blender & Python.
Press Windows Key, and then Pause Break on your keyboard
OR
Click the Start button, and click Computer. While in Computer, right click in the white area and then click Properties.
OR
Go to Control Panel, then System.

Click Advanced System Properties

Make sure you are in the Advanced Tab, then click Environment Variables... at the bottom of the window.

Under the second window, the the one for System Variables, click New... and call it "PYTHONPATH"
Then set the variable value to:
"C:\Python26\;C:\Python26\DLLs\;C:\Python26\Lib\;C:\Python26\Lib\lib-tk;" (yes, the ; is part of it.)

Click OK and then make sure you click OK on everything else, saving your changes and stuff.

Launch Blender, and see if the little black window finds Python. It should. If not, then either:

You may need to reboot your computer.
Python is not installed to your C: drive.
Your administrative settings are too restricting.
The above was not completed correctly.
Title: Re: Blender Error?
Post by: alphaomegawolf on July 17, 2016, 06:56:34 pm
Non, you answered that part already.
My new question was
Is Blender version 2.49b?


You need Blender 2.49b and Python 2.6.x for these scripts to all function properly. If that's your case and it's still not working, you may have to define Python26 as an environment variable.

Quote from: Phloxenfree
This tutorial assumes you have Blender and the corresponding Python, with Python installed DIRECTLY to your C: DRIVE. If you don't, then get out before you confuse yourself. c:
This may be a tad different for Windows XP/8 but I have faith in you.
-
Close Blender & Python.
Press Windows Key, and then Pause Break on your keyboard
OR
Click the Start button, and click Computer. While in Computer, right click in the white area and then click Properties.
OR
Go to Control Panel, then System.

Click Advanced System Properties

Make sure you are in the Advanced Tab, then click Environment Variables... at the bottom of the window.

Under the second window, the the one for System Variables, click New... and call it "PYTHONPATH"
Then set the variable value to:
"C:\Python26\;C:\Python26\DLLs\;C:\Python26\Lib\;C:\Python26\Lib\lib-tk;" (yes, the ; is part of it.)

Click OK and then make sure you click OK on everything else, saving your changes and stuff.

Launch Blender, and see if the little black window finds Python. It should. If not, then either:

You may need to reboot your computer.
Python is not installed to your C: drive.
Your administrative settings are too restricting.
The above was not completed correctly.

Oi, I have windows 8... This is going to be tricky.   Are you able to 'translate' this to windows 8 somehow? I have control panel but it has 'system & security' and not just 'system'
(Nevermind. I found what I was supposed to! I'll try this and get back to you)