FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

SIO2 Export Plug-in Syntax Error

2 posters

Go down

SIO2 Export Plug-in Syntax Error Empty SIO2 Export Plug-in Syntax Error

Post  tbraun Tue Oct 28, 2008 9:40 am

First, I should say that I am using v1.2.1 of the SIO SDK on Windows to do my export. All my existing media files are located on a windows pc so I figured I start there and migrate to my mac.

When exporting my model using the sio export script, I received an error stating that expandpath takes one argument, not two. When I looked at the source on line 258 I noticed the paren was in the wrong spot. Don't know if anyone else has run into this issue, but here is the correct line 258 (preceded by 5 tabs):

Code:
shutil.copyfile( Blender.sys.expandpath( t.tex.image.filename ), tmp_name )

tbraun

Posts : 8
Join date : 2008-10-28

Back to top Go down

SIO2 Export Plug-in Syntax Error Empty Re: SIO2 Export Plug-in Syntax Error

Post  tbraun Tue Oct 28, 2008 9:42 am

I would send a patch, but I couldn't find any information on who or where to send the patch to. If you would like a patch, let me know and I will send it to the appropriate spot.

Tim

tbraun

Posts : 8
Join date : 2008-10-28

Back to top Go down

SIO2 Export Plug-in Syntax Error Empty Re: SIO2 Export Plug-in Syntax Error

Post  sio2interactive Tue Oct 28, 2008 4:28 pm

I already post a patch there:

http://sio2.googlecode.com/files/sio2_exporter_v1.2.1.py

Mention it there:

http://www.sio2interactive.com/HOME/Entries/2008/10/28_Bug_in_the_Exporter.html

However even if this little bug is fixed, you will not be able to export natively (no zip available from the command line), and unable to compile cuz you are on windows, the SIO2 SDK is build for MacOS X using the official iPhone SDK.
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 44
Location : Shanghai

http://sio2interactive.com

Back to top Go down

SIO2 Export Plug-in Syntax Error Empty Re: SIO2 Export Plug-in Syntax Error

Post  tbraun Tue Oct 28, 2008 11:33 pm

I am able to export on windows. I installed cygwin and added it to the path which gave me all the command line utilities you're using.

I still develop and compile on my macbook air, but my windows desktop is better for 3d work.

As a note, if you install cygwin you need to manually select the zip package since it is not installed by default.

Tim

tbraun

Posts : 8
Join date : 2008-10-28

Back to top Go down

SIO2 Export Plug-in Syntax Error Empty Re: SIO2 Export Plug-in Syntax Error

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum