Crystal Space
Welcome, Guest. Please login or register.
October 19, 2017, 03:51:32 pm

Login with username, password and session length
Search:     Advanced search
9063 Posts in 2051 Topics by 77290 Members
Latest Member: Madera
* Home Help Search Login Register
  Show Posts
Pages: [1]
1  Crystal Space Development / Support / Re: Blender plugin linux on: January 21, 2011, 11:46:16 pm
   I posted the link above.  Here is the output I get from the moment I call blender from the command line until I try to use the crystal export.

weaponx69@weaponx69-desktop:/usr/share/crystalspace-1.4$ blender
Compiled with Python version 2.6.2.
Checking for installed Python... got it!
/home/weaponx69/.blender/scripts/bpymodules/b2cs/util/ DeprecationWarning: The popen2 module is deprecated.  Use the subprocess module.
  import popen2
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/weaponx69/.blender/scripts/blender/", line 46, in <module>
    import b2cs
  File "/home/weaponx69/.blender/scripts/bpymodules/b2cs/", line 49, in <module>
    import defaults
  File "/home/weaponx69/.blender/scripts/bpymodules/b2cs/", line 5, in <module>
    import b2cs.metadata
  File "/home/weaponx69/.blender/scripts/bpymodules/b2cs/", line 475, in <module>
    b2cs.prop.wid_keys = UiProperties()
  File "/home/weaponx69/.blender/scripts/bpymodules/b2cs/", line 444, in __init__
  File "/home/weaponx69/.blender/scripts/bpymodules/b2cs/", line 447, in Refresh
  File "/home/weaponx69/.blender/scripts/bpymodules/b2cs/", line 450, in loadFromMetadata
    for wid in world_metadata.getNodes():
  File "/home/weaponx69/.blender/scripts/bpymodules/b2cs/", line 234, in getNodes
    sect = self.getSection()
  File "/home/weaponx69/.blender/scripts/bpymodules/b2cs/", line 228, in getSection
    root = self.getRoot()
  File "/home/weaponx69/.blender/scripts/bpymodules/b2cs/", line 206, in getRoot
    propval = xpath(self.internalroot,"//prop[@name='metadata_file']/@value")
  File "/home/weaponx69/.blender/scripts/bpymodules/b2cs/", line 47, in xml_xpath
    nodes = node.xpath(xpath)
AttributeError: Element instance has no attribute 'xpath'

This exact error was happening to me as well under Fedora 13. It was finally fixed when setting up the PYTHONPATH environment variable with the command:

export PYTHONPATH=/usr/share/blender/scripts/bpymodules;

- Booner
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 3.149 seconds with 17 queries.