Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Importing in Blender
10-04-2009, 06:26 AM,
#1
Importing in Blender
Hello all, I'm here again; this time is for Blender import scripts: with import-joe.py and import-vdrift-list.py I get the following error messages:

File "<string>", line 1, in <module>
File "/home/.../.blender/scripts/import-joe.py", line 11
SyntaxError: Non-ASCII character '\xd6' in file /home/.../.blender/scripts/import-joe.py on line 11, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details


and


File "<string>", line 1, in <module>
File "/home/.../.blender/scripts/import-vdrift-list.py", line 11
SyntaxError: Non-ASCII character '\xd6' in file /home/.../.blender/scripts/import-vdrift-list.py on line 11, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details


Where the problem could be?
Thanks,
Ocirne
Reply
10-04-2009, 12:07 PM,
#2
 
try changing Ö in the author's name to a regular O and see if that works.
Reply
10-04-2009, 12:19 PM,
#3
 
I added encoding declarations to the scripts in VDrift-art R121. See if that fixes it for you.
Reply
10-04-2009, 02:03 PM,
#4
 
Now I get this error, with the two versions (with regular O, and with R121):

Register(draw_gui, event, bevent)
NameError: name 'draw_gui' is not defined


What does it mean?
Bye,
Ocirne
Reply
10-05-2009, 10:25 AM,
#5
 
It looks like the draw_gui function is missing from both the import-vdrift-list and import-joe scripts. I'm not sure that they ever would have worked without those functions. Here's the thread where these scripts originally came from:

http://vdrift.net/Forum/viewtopic.php?t=1002

Unfortunately I don't think osteron has been on the forums in a while so it's probably up to one of us to fix 'em.

If you just want to import a single .joe file back into blender, you can also (if you have the latest development version) use the VDrift/tools/modelconvert program to convert .joe to .obj (wavefront obj) and then use the obj file importer in blender.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)