Crystal Space
Welcome, Guest. Please login or register.
September 03, 2014, 10:06:17 am

Login with username, password and session length
Search:     Advanced search
9009 Posts in 2043 Topics by 8381 Members
Latest Member: Juanafrench
* Home Help Search Login Register
  Show Posts
Pages: [1]
1  Crystal Space Development / Support / Re: Blender plugin linux on: August 31, 2009, 04:43:31 pm
Hi,
   Thanks for the fast reply.  I posted a new post because I didn't see a response.  My other post is more detailed and maybe you will be able to find the problem so I can avoid reinstalling something else.  If you don't see anything, I would really like to see that script to install everything automatically.  That would be the best!   

Thanks.
2  Crystal Space Development / Support / crystal2blender install issue on: August 31, 2009, 04:33:03 pm
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=124781

with 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.
3  Crystal Space Development / Support / Re: Blender plugin linux on: August 31, 2009, 04:10:55 pm
Hi,
   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/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'

4  Crystal Space Development / Support / Re: Blender plugin linux on: August 31, 2009, 01:58:14 pm
I'm having trouble with my blender2crystal exporter tool also.  I am using ubuntu jaunty with blender 2.49.  I'm just trying to get the exporter to work for the first time.  I keep getting a console error that I saw on another post from a windows user.  I installed it from packages.  I copied all the files to home/myaccount/.blender/scripts/ but that doesnt work.  I also exported the CRYSTAL variable and that doesn't work either.  It was unusually hard to even find the packages.  I tried to install the files into scripts directly also and it doesn't work.  Sorry, I don't have a console right now to show you.  I will post it later.  I just wanted to make sure someone was out there.
5  Associate Projects / CrystalBlend Discussion / Re: blender2crystal problems with export/run on new install. Console is angry. on: August 31, 2009, 03:38:42 am
I have Ubuntu 9.04 with blender 2.49.  I am having almost the same trouble as the windows user above.  I am using blender2crystal and cel1.9.  I have crystalspace-1.4.  I also have celstart1.9 also.
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 6.206 seconds with 18 queries.