The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.28 (Linux)
|
Importing in Blender - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3) +--- Forum: Help (https://www.vdrift.net/Forum/forumdisplay.php?fid=5) +--- Thread: Importing in Blender (/showthread.php?tid=1167) |
Importing in Blender - ocirne94 - 10-04-2009 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 - alex25 - 10-04-2009 try changing à in the author's name to a regular O and see if that works. - joevenzon - 10-04-2009 I added encoding declarations to the scripts in VDrift-art R121. See if that fixes it for you. - ocirne94 - 10-04-2009 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 - joevenzon - 10-05-2009 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. |