SIO2 Export Plug-in Syntax Error

View previous topic View next topic Go down

SIO2 Export Plug-in Syntax Error

Post  tbraun on 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

View user profile

Back to top Go down

Re: SIO2 Export Plug-in Syntax Error

Post  tbraun on 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

View user profile

Back to top Go down

Re: SIO2 Export Plug-in Syntax Error

Post  sio2interactive on 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.
avatar
sio2interactive

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

View user profile http://sio2interactive.com

Back to top Go down

Re: SIO2 Export Plug-in Syntax Error

Post  tbraun on 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

View user profile

Back to top Go down

Re: SIO2 Export Plug-in Syntax Error

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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