Hi,
I'm having trouble with my blender2crystal exporter. I am using ubuntu jaunty with blender 2.49. I have cel-1.9 and celstart-1.9 installed from packages. I'm just trying to get the exporter to work for the first time. I used .deb packages from the repositories at;
deb
http://externos.grupoikusnet.com/deb/crystalspace/ intrepid main
to install;
celstart1.9
libcrystalspace1.4-dev
libcel1.9-dev
swig
which allowed me to install a .deb package I found for blender2crystal from Angel Abad's repository for ubuntu jaunty.
When I installed the first packages, all dependencies were finally satisfied and I was able to install the blender2crystal .deb package. I also used the site;
http://blenderartists.org/forum/showthread.php?t=124781with the command;
sudo cp -vR /usr/lib/blender/* /usr/share/blender/
to copy files from the package default file folder to /usr/share/blender/ which worked and helped me avoid the no package with b2cs console error. I also use the command;
export CRYSTAL="/usr/share/crystalspace"
to export the variable so that blender2crystal can find the install directory. I checked the directory and it has files in it. However when I tried to use the exporter after doing all this, I still get an error at the console. The error message is;
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/run.py:5: 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/crystalspace_export.py", line 46, in <module>
import b2cs
File "/home/weaponx69/.blender/scripts/bpymodules/b2cs/__init__.py", line 49, in <module>
import defaults
File "/home/weaponx69/.blender/scripts/bpymodules/b2cs/defaults.py", line 5, in <module>
import b2cs.metadata
File "/home/weaponx69/.blender/scripts/bpymodules/b2cs/metadata.py", line 475, in <module>
b2cs.prop.wid_keys = UiProperties()
File "/home/weaponx69/.blender/scripts/bpymodules/b2cs/metadata.py", line 444, in __init__
self.Refresh()
File "/home/weaponx69/.blender/scripts/bpymodules/b2cs/metadata.py", line 447, in Refresh
self.loadFromMetadata()
File "/home/weaponx69/.blender/scripts/bpymodules/b2cs/metadata.py", line 450, in loadFromMetadata
for wid in world_metadata.getNodes():
File "/home/weaponx69/.blender/scripts/bpymodules/b2cs/metadata.py", line 234, in getNodes
sect = self.getSection()
File "/home/weaponx69/.blender/scripts/bpymodules/b2cs/metadata.py", line 228, in getSection
root = self.getRoot()
File "/home/weaponx69/.blender/scripts/bpymodules/b2cs/metadata.py", line 206, in getRoot
propval = xpath(self.internalroot,"//prop[@name='metadata_file']/@value")
File "/home/weaponx69/.blender/scripts/bpymodules/b2cs/xmlutils.py", line 47, in xml_xpath
nodes = node.xpath(xpath)
AttributeError: Element instance has no attribute 'xpath'
I checked the forums and it seems like there is another user that uses windows XP that has this same error so it doesn't seem to be just a linux related issue. I'm guessing that I have to make some other changes to make it work somehow. Does anyone know what the problem is? It doesn't seem platform specific since a windows user is having the same problem.