Can't find a way to edit .PIE, on my computer.

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Mr Duke
New user
Posts: 5
Joined: 27 May 2011, 22:46

Can't find a way to edit .PIE, on my computer.

Post by Mr Duke »

Hello,

I introduce myself: i'm french and don't speak/write english (infortunately) very well,so I'll do my best for explaining the problem.

It's the first time I use a forum.

I am trying to use, PIE slicer 0.82 (than can't load wz pie model...).
Pie Slicer 1.12 has run time error 13 type mismatch (I put VB6, required OCX, have DireCtX)

Then I try to use Blender
1- with V2.57 and Python 3.2 --> can't appear in the addons
2-After spent a lot of hours of reading the forum, i try with Blender 2.49 and pyt 2.6.4 --> as I see on someone esle on the forum, in console: "line 49, in ImportError: No module named pie_common Any".

I have read all what I could on the forum, different explanations about several subjects on these problems....but can't find a solution.

I use windos 2002 XP pro pack 3 . IF someone has an idea...Thanks you
stiv
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 876
Joined: 18 Jul 2008, 04:41
Location: 45N 86W

Re: Can't find a way to edit .PIE, on my computer.

Post by stiv »

I see on someone esle on the forum, in console: "line 49, in ImportError: No module named pie_common Any".
(I am assuming the 'Any' is not part of the actual error message)

You need to either:

* install all the plugin files in a place blender can find them. The default is .blender/scripts directory in your home directory (with all the other importers and exporters), but this can be changed in the preferences. You can find the current setting either in the User Preferences or by running Help->System->System Info, and looking at the system-info.txt window it creates.

or

* set an environment variable, PYTHONPATH, to the directory where you put the plugin files.
Mr Duke
New user
Posts: 5
Joined: 27 May 2011, 22:46

Re: Can't find a way to edit .PIE, on my computer.

Post by Mr Duke »

Thank you for you help, I'll try and and I tell you what happend!
Mr Duke
New user
Posts: 5
Joined: 27 May 2011, 22:46

Re: Can't find a way to edit .PIE, on my computer.

Post by Mr Duke »

To your mind, what version is better tu use of Blender?

Because with blender 2.57, i don't know exactly where to put them --> C:\Program Files\Blender Foundation\Blender\2.57\python\lib --> after i have put them here but ...
I also put them in C:\Documents and Settings\Administrateur\Application Data\Blender Foundation\Blender\2.57\scripts\addons
(which application is hidden)

Sorry but i have not a lot of knowledge and it's a little bit difficult to understand well technicals words
What do you mean with "set an environment variable, PYTHONPATH, to the directory where you put the plugin files"?

Thank you STIV
Mr Duke
New user
Posts: 5
Joined: 27 May 2011, 22:46

Re: Can't find a way to edit .PIE, on my computer.

Post by Mr Duke »

With blender 2.49b and python 2.6.4 --> file"C:\program files\....\blender2.49\.blender\scripts\pie_import.py", line 50, in <module>
import os, pie
ImportError: no module named pie

An other try...
stiv
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 876
Joined: 18 Jul 2008, 04:41
Location: 45N 86W

Re: Can't find a way to edit .PIE, on my computer.

Post by stiv »

Use Blender 2.49. The scripts have not been ported to the new 2.57 yet.

Do you have all these files? They are necessary for the importer to run.

pie_common.py pie_export.py pie_import.py pie_levels_to_layers.py pie.py
Mr Duke
New user
Posts: 5
Joined: 27 May 2011, 22:46

Re: Can't find a way to edit .PIE, on my computer.

Post by Mr Duke »

thanks STIV
one file missed me but now I have:

file "C:.....\scripts\pie.py", line 180, in data mutator
ilen = len(i)
TypeError: object of type 'generator' has no len ()