Export issue

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!

Export issue

Postby ardent red » Fri Jan 23, 2009 2:58 am

Code: Select all
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520] Traceback (most recent call last):
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520]   File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_Export.py", line 169, in open_file
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520]     export_age(agename,basepath,selection,merge)
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520]   File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_Export.py", line 106, in export_age
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520]     age.mfs.update()
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520]   File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_MFSGen.py", line 102, in update
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520]     f.sha1=SHA.new(read.read()).hexdigest()
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520] AttributeError: 'module' object has no attribute 'new'
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520] Traceback (most recent call last):
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520]   File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_Export.py", line 169, in open_file
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520]     export_age(agename,basepath,selection,merge)
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520]   File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_Export.py", line 106, in export_age
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520]     age.mfs.update()
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520]   File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_MFSGen.py", line 102, in update
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520]     f.sha1=SHA.new(read.read()).hexdigest()
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520] AttributeError: 'module' object has no attribute 'new'
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520] Traceback (most recent call last):
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520]   File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_Export.py", line 169, in open_file
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520]     export_age(agename,basepath,selection,merge)
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520]   File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_Export.py", line 106, in export_age
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520]     age.mfs.update()
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520]   File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_MFSGen.py", line 102, in update
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520]     f.sha1=SHA.new(read.read()).hexdigest()
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520] AttributeError: 'module' object has no attribute 'new'
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520] Traceback (most recent call last):
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520]   File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_Export.py", line 169, in open_file
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520]     export_age(agename,basepath,selection,merge)
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520]   File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_Export.py", line 106, in export_age
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520]     age.mfs.update()
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520]   File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_MFSGen.py", line 102, in update
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520]     f.sha1=SHA.new(read.read()).hexdigest()
23/Jan/09 10:49:49 PM [0x0-0x60060].com.codeweavers.CrossOverHelper.winxp.blender[1520] AttributeError: 'module' object has no attribute 'new'


The nasty mess you see above was the error thrown up on export. it looks like all of the files have been generated apart from .sum file. I'm trying to export an age using crossover and the windows versions of blender and the python things on a mac- could this be causing any problems?
ardent red
 
Posts: 150
Joined: Fri Apr 18, 2008 3:41 pm
Location: The big little New Zealand

Re: Export issue

Postby kaelisebonrai » Fri Jan 23, 2009 3:25 am

I'd recommend downloading the Mac versions of blender, and python.. They are available, and should definitely work with the exporter... well, unless someone did something crazy. =/
User avatar
kaelisebonrai
 
Posts: 849
Joined: Sun Feb 03, 2008 3:27 am
Location: Perth, Western Australia

Re: Export issue

Postby ardent red » Fri Jan 23, 2009 3:27 am

yes, I've tried getting the mac exporter to work, but Mac PyYAML has... problems. (yeah, AR- blame it on the computer ;))
ardent red
 
Posts: 150
Joined: Fri Apr 18, 2008 3:41 pm
Location: The big little New Zealand

Re: Export issue

Postby ardent red » Fri Jan 23, 2009 10:12 pm

woohoo, problem solved! I generated the checksums with PlasmaShop. Then, I struggled to get the age into Relto. It took me a while to realize that I was using the wrong Uru installation XD.
ardent red
 
Posts: 150
Joined: Fri Apr 18, 2008 3:41 pm
Location: The big little New Zealand

Re: Export issue

Postby Christian Walther » Sat Jan 24, 2009 4:05 am

Looks like you have an incompatible version of PyCrypto. To check, open a Scripts window in Blender, choose System > Interactive Python Console from the Scripts menu, and type
Code: Select all
import Crypto
help(Crypto)

For me, it says
Code: Select all
Help on package Crypto:

NAME
    Crypto - Python Cryptography Toolkit

FILE
    /Library/Python/2.5/site-packages/pycrypto-2.0.1-py2.5-macosx-10.5-i386.egg/Crypto/__init__.py

DESCRIPTION
    A collection …

and works fine.

Running Blender in CrossOver seems like a very awkward way of running things to me. For me, Blender and PyPRP work just fine on Mac OS. For what it's worth, I have
Code: Select all
buia:~ cwalther$ python
Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import yaml
>>> yaml.__file__
'/Library/Python/2.5/site-packages/PyYAML-3.05-py2.5.egg/yaml/__init__.pyc'
Christian Walther
 
Posts: 443
Joined: Sun Jun 08, 2008 3:10 am
Location: Switzerland

Re: Export issue

Postby ardent red » Sat Jan 24, 2009 3:24 pm

Christian, when I do that it says:
Code: Select all
<type 'exceptions.ImportError'>: No module named Crypto


If I try to import YAML, it throws up a similar error- so it looks like I haven't installed either of them correctly :?. I'll try to install them again, though the command line confuses me endlessly.

EDIT: right. they show up as installed through command line python, but when I look for them using the blender command line, it claims that they're not there. should I just try exporting an age?

EDIT 2: oh- they installed onto python 2.4, and blender uses 2.5. How do I install them onto 2.5 rather than 2.4?
ardent red
 
Posts: 150
Joined: Fri Apr 18, 2008 3:41 pm
Location: The big little New Zealand

Re: Export issue

Postby Christian Walther » Sun Jan 25, 2009 2:42 am

ardent red wrote:Christian, when I do that it says:
Code: Select all
<type 'exceptions.ImportError'>: No module named Crypto

Hmm, then I can't really explain your initial error message to myself. It isn't supposed to even try to calculate SHA1 sums (which are not needed for CC ages) when PyCrypto isn't installed. Perhaps there's a bug in there.

If I try to import YAML, it throws up a similar error- so it looks like I haven't installed either of them correctly :?. I'll try to install them again, though the command line confuses me endlessly.

Did you literally try import YAML (wrong) instead of import yaml (right)? I don't think PyPRP would even start without YAML.

oh- they installed onto python 2.4, and blender uses 2.5. How do I install them onto 2.5 rather than 2.4?

Hard to tell. How did you install them in the first place, from source (using a setup.py or something), or using a pre-built installer?

Finally, are you sure you want to invest more work into the CrossOver solution, rather than trying to get it to work on Mac OS? I could be of more help with the latter than with the former (not to mention that I consider it the proper way).
Christian Walther
 
Posts: 443
Joined: Sun Jun 08, 2008 3:10 am
Location: Switzerland

Re: Export issue

Postby Aloys » Sun Jan 25, 2009 5:52 am

Christian Walther wrote:Did you literally try import YAML (wrong) instead of import yaml (right)? I don't think PyPRP would even start without YAML.

Correct, if you try to export/import an Age with PyPRP without a proper install of YAML it returns an error "ImportError: No module named yaml".
So there's definitely something wrong here.
User avatar
Aloys
 
Posts: 1968
Joined: Sun Oct 21, 2007 7:57 pm
Location: France (GMT +1)

Re: Export issue

Postby ardent red » Sun Jan 25, 2009 3:21 pm

I did 'import yaml' in lowercase, and installed both of them from source using setup.py. I've been doing all of this work onto Mac OS Blender rather than the Crossover one, because I decided that the crossover way was too painful. Thanks for the help so far :)
ardent red
 
Posts: 150
Joined: Fri Apr 18, 2008 3:41 pm
Location: The big little New Zealand

Re: Export issue

Postby Christian Walther » Mon Jan 26, 2009 4:55 am

ardent red wrote:I've been doing all of this work onto Mac OS Blender rather than the Crossover one, because I decided that the crossover way was too painful.

Ah, OK.

I did 'import yaml' in lowercase, and installed both of them from source using setup.py.

OK, then it's just a matter of running python2.5 setup.py instead of python setup.py (assuming that your default python points to python2.4). (How come you have a Python 2.4 at all? Mac OS X 10.5 comes with 2.5, and 10.4 with 2.3.)
Christian Walther
 
Posts: 443
Joined: Sun Jun 08, 2008 3:10 am
Location: Switzerland

Next

Return to Building

Who is online

Users browsing this forum: No registered users and 0 guests