Did Blender 2.49 break the PyPRP scripts???

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

Did Blender 2.49 break the PyPRP scripts???

Postby Jamey » Thu Jul 02, 2009 1:22 pm

Hi all,

I just installed Blender 2.49 the other day and I tried to add a Logic region to my age and got this error in the command prompt:
Code: Select all
Compiled with Python version 2.6.2.
Checking for installed Python... got it!
WARNING: Python Crypto Toolkit not found!, support for Myst 5 files is disabled!
!
WARNING: Python Crypto Toolkit not found!, support for Myst 5 files is disabled!
!
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_AddBook
.py", line 51, in <module>
    from prp_ResManager import *
  File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_ResMana
ger.py", line 34, in <module>
    from prp_SpecialObjs import *
  File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_Special
Objs.py", line 30, in <module>
    from prp_AlcScript import *
  File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_AlcScri
pt.py", line 24, in <module>
    import yaml
ImportError: No module named yaml
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_AddBook
.py", line 51, in <module>
    from prp_ResManager import *
  File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_ResMana
ger.py", line 34, in <module>
    from prp_SpecialObjs import *
  File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_Special
Objs.py", line 30, in <module>
    from prp_AlcScript import *
  File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_AlcScri
pt.py", line 24, in <module>
    import yaml
ImportError: No module named yaml


I tried adding a footstep region, same thing. :?

Anyone know what may be wrong?
KI#46415
Jamey
 
Posts: 528
Joined: Sat Oct 20, 2007 8:32 pm
Location: Chicago, IL

Re: Did Blender 2.49 break the PyPRP scripts???

Postby Christian Walther » Thu Jul 02, 2009 1:47 pm

Apparently you haven't installed PyYAML into your Python 2.6.2 installation yet. Probably you used Python 2.5 with your previous Blender version and all the prerequisites for PyPRP are installed there.
Christian Walther
 
Posts: 443
Joined: Sun Jun 08, 2008 3:10 am
Location: Switzerland

Re: Did Blender 2.49 break the PyPRP scripts???

Postby Jamey » Thu Jul 02, 2009 1:58 pm

OK, I went and installed PyYAML here:

http://pyyaml.org/wiki/PyYAML

The good news is that error went away, the bad news is, I got another one :?
Code: Select all
Compiled with Python version 2.6.2.
Checking for installed Python... got it!
WARNING: Python Crypto Toolkit not found!, support for Myst 5 files is disabled!
!
WARNING: Python Crypto Toolkit not found!, support for Myst 5 files is disabled!
!
C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_Functions.py:31
: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import random, md5,math, binascii, struct
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_AddBook
.py", line 51, in <module>
    from prp_ResManager import *
  File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_ResMana
ger.py", line 35, in <module>
    from prp_File import *
  File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_File.py
", line 20, in <module>
    from prp_AnimClasses import *
  File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_AnimCla
sses.py", line 30, in <module>
    import md5, random, binascii, cStringIO, copy, Image, math, struct, StringIO
, os, os.path, pickle
ImportError: No module named Image


Did I do something wrong?
KI#46415
Jamey
 
Posts: 528
Joined: Sat Oct 20, 2007 8:32 pm
Location: Chicago, IL

Re: Did Blender 2.49 break the PyPRP scripts???

Postby tachzusamm » Thu Jul 02, 2009 4:37 pm

I think D'Lanor made a comment regarding this problem here:
viewtopic.php?p=33360#p33360

so there are some more tools (?) you have to take care about.
(PIL, Crypto - any I don't know what else)
User avatar
tachzusamm
 
Posts: 575
Joined: Thu May 29, 2008 2:03 am
Location: Germany

Re: Did Blender 2.49 break the PyPRP scripts???

Postby Jamey » Thu Jul 02, 2009 4:58 pm

Ok, I did get PIL installed successfully, but when I tried to install Crypto, it installed it for Python 2.5....when I have 2.6 :?


Is there a Crypto toolkit released for the latest version of Python 2.6?
KI#46415
Jamey
 
Posts: 528
Joined: Sat Oct 20, 2007 8:32 pm
Location: Chicago, IL

Re: Did Blender 2.49 break the PyPRP scripts???

Postby tachzusamm » Thu Jul 02, 2009 5:17 pm

You need Python 2.6.2 for Blender 2.49a, not for Blender 2.49.
EDIT: Whoops - your post changed while I was typing mine. :D
User avatar
tachzusamm
 
Posts: 575
Joined: Thu May 29, 2008 2:03 am
Location: Germany

Re: Did Blender 2.49 break the PyPRP scripts???

Postby Jamey » Thu Jul 02, 2009 5:21 pm

lol, I tend to work pretty fast :P

But yeah, I need a version of Crypto Toolkit for Python 2.6.2 and then it should work (I hope :roll: )

Does anyone know where (and if) I can get this?
KI#46415
Jamey
 
Posts: 528
Joined: Sat Oct 20, 2007 8:32 pm
Location: Chicago, IL

Re: Did Blender 2.49 break the PyPRP scripts???

Postby D'Lanor » Fri Jul 03, 2009 5:49 am

Houston, we have a problem. :( There does not seem to be a Crypto Toolkit for Python 2.6. Can you force it to install under Python 2.6.2 and see if that works?

If not then I am afraid we are stuck with Blender versions < 2.49a.


Edit: Jamey, from the topic header it is still not clear which Blender version you are using. As tachzusamm said: Blender 2.49 uses Python 2.5, Blender 2.49a uses Python 2.6. So if you have 2.49a you probably need to downgrade to 2.49.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Did Blender 2.49 break the PyPRP scripts???

Postby Christian Walther » Fri Jul 03, 2009 11:36 am

Are you sure you need Python Crypto Toolkit? The warnings in your output seem to indicate otherwise.
Christian Walther
 
Posts: 443
Joined: Sun Jun 08, 2008 3:10 am
Location: Switzerland

Re: Did Blender 2.49 break the PyPRP scripts???

Postby D'Lanor » Fri Jul 03, 2009 11:54 am

It is currently used by PyPRP to generate sum files.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Next

Return to Building

Who is online

Users browsing this forum: No registered users and 7 guests

cron