lsalzman / iqm

Inter-Quake Model format development kit
MIT License
240 stars 73 forks source link

Doesn't work on Linux unless you run Blender using the terminal or a shell script. #1

Closed shakesoda closed 11 years ago

shakesoda commented 11 years ago

Tested on Ubuntu 12.04, bug is as it says on the tin. Used blender 2.65.

Calls to print() blow up without a terminal available. A simple solution (I think) would just be writing a wrapper function for print that handles the exception that gets raised.

lsalzman commented 11 years ago

Please give me the actual print-out of what the exception actually is so I can do something about it.

shakesoda commented 11 years ago

Sorry, I should have included that to begin with. It was throwing "OSError: input/output error" for me earlier today (I even went and asked on #blendercoders and #blenderpython what might compel print() to fail), but now I can't make this happen no matter what I do, and I can't think of anything since that changed.

I think it's safe to just close/ignore this, I'll bring it back up if I see it again and can figure out what actually happened.