The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.1.28 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: inc/functions.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions.php 5308 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
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.