Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Python2.3.3, Blender 2.33 Unicode error

This topic is 5306 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've run into a bit of a minor problem I can't really figure out. I have Python 2.3.3 installed on a Linux machine, and several Blender scripts written originally with Blender 2.32 and using the array module to pack data to a binary file. Earlier today, I upgraded to Blender 2.33, and now when I execute or import any Python file that imports array, I get the error
ImportError: /usr/lib/python2.3/lib-dynload/array.so: undefined symbol: PyUnicodeUSC2_FromUnicode
I only get this when importing .py files or modules within Blender; array works just fine from the run-time or from external scripts. I can temporarily fix it (hack hack) by copying array.so over from a Python 2.2 installation on another box; it gives me a run-time warning about version mismatch, but the scripts work perfectly. I dug about in the Python 2.3 README and on the websites (Blender, Elysiun and Python), but couldn't really find any information or configure options to fix this. Anyone have any ideas? edit: Nevermind. I dug around and found a configure option --enable-unicode that I set to ucs4 and that did the trick. Sorry for wasting space and bandwidth.
World of Golem [edited by - VertexNormal on May 7, 2004 4:45:15 AM]

Share this post

Link to post
Share on other sites
Original post by VertexNormal
Sorry for wasting space and bandwidth.
Actually, you just created a solution record that others can look to if they have a similar problem - provided it can be found.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!