Forums
Can't make export-all-joe-0.3.py work - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4)
+--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9)
+--- Thread: Can't make export-all-joe-0.3.py work (/showthread.php?tid=1029)



Can't make export-all-joe-0.3.py work - lucifesta - 12-11-2008

Hello everyone. First, let me thank you for the incredible work you've done.
I'm trying to make a track ( trying to model some Japanese highways
that are incredible for drifting)

I've made a simple model in blender and run the export-all-joe-0.3.py .
It dies spawning the following in the terminal.

Traceback (most recent call last):
File "export-all-joe-0.3.py", line 732, in bevent
save_joe(g_filename.val,mesh_obj[0])
File "export-all-joe-0.3.py", line 259, in save_joe
mesh.getFromObject(mesh_obj)
TypeError: expected string and optional integer arguments

Also tried with the CarolinaMP.blend which here
http://svn.vdrift.net/repos/vdrift-art/trunk/models/tracks/CarolinaMP/
Same results.
Anything special I should do when exporting to joe?
Any help would be great.

Blender: 2.42a (also tried with 2.45 on Xp)
Platform: Debian 2.6.25
Python version 2.4


- joevenzon - 12-12-2008

I tried out the export script just now with blender 2.46 and it does at least work on the indianhill/indianhill27.blend file. It barfed for me on CarolinaMP with a different error than what it gave you; I wonder if you have an older version. Anyway, I fixed the script so it successfully exports CarolinaMP (although it exports zero objects because CarolinaMP doesn't have any objects with textures assigned) and you can get it here:

http://svn.vdrift.net/viewvc.cgi/trunk/tools/export-all-joe-0.3.py?root=VDrift+Art&view=co

Python 2.5.2 on Ubuntu 8.10