[CIG-SHORT] pylith error
Charles Williams
willic3 at rpi.edu
Wed Sep 26 06:55:04 PDT 2007
Hi Chris,
I have a few questions for you:
1. Is your installation directory the same as your build directory?
2. What does your PYTHONPATH look like?
3. Do you have configure and build logs from when you installed
spatialdata?
4. If you go to tests/libtests/geocoords in your top-level
spatialdat directory, and type 'make check', what happens?
5. Try the same thing in tests/pytests/geocoords.
Let me know what happens with this.
Cheers,
Charles
On Sep 26, 2007, at 3:12 AM, Christopher DiCaprio wrote:
> I have built pylith from source and when I try to run it I get the
> following error:
>
> klaki:~> pylith --help
> Traceback (most recent call last):
> File "/home/dicaprio/local/pylith-build/bin/pylith", line 31, in ?
> from pylith.PyLithApp import PyLithApp
> File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/PyLithApp.py", line 20, in ?
> class PyLithApp(Application):
> File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/PyLithApp.py", line 27, in PyLithApp
> class Inventory(Application.Inventory):
> File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/PyLithApp.py", line 50, in Inventory
> from pylith.problems.TimeDependent import TimeDependent
> File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/problems/TimeDependent.py", line 20, in ?
> from Problem import Problem
> File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/problems/Problem.py", line 22, in ?
> class Problem(Component):
> File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/problems/Problem.py", line 31, in Problem
> class Inventory(Component.Inventory):
> File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/problems/Problem.py", line 51, in Inventory
> from pylith.materials.Homogeneous import Homogeneous
> File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/materials/Homogeneous.py", line 22, in ?
> class Homogeneous(ObjectBin):
> File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/materials/Homogeneous.py", line 31, in Homogeneous
> class Inventory(ObjectBin.Inventory):
> File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/materials/Homogeneous.py", line 47, in Inventory
> from ElasticIsotropic3D import ElasticIsotropic3D
> File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/materials/ElasticIsotropic3D.py", line 19, in ?
> from ElasticMaterial import ElasticMaterial
> File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/materials/ElasticMaterial.py", line 20, in ?
> from Material import Material
> File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/materials/Material.py", line 30, in ?
> class Material(Component):
> File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/materials/Material.py", line 43, in Material
> class Inventory(Component.Inventory):
> File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/materials/Material.py", line 67, in Inventory
> from spatialdata.spatialdb.SimpleDB import SimpleDB
> File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/spatialdata-0.3.0-py2.4.egg/spatialdata/spatialdb/
> SimpleDB.py", line 19, in ?
> from SpatialDB import SpatialDB
> File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/spatialdata-0.3.0-py2.4.egg/spatialdata/spatialdb/
> SpatialDB.py", line 21, in ?
> import spatialdb as bindings
> ImportError: No module named spatialdb
>
>
> At a glance the spataildata directory in my installation doesn't
> look different from the one in the prebuilt tarball.
>
> Thanks,
> Chris
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>
Charles A. Williams
Dept. of Earth & Environmental Sciences
Science Center, 2C01B
Rensselaer Polytechnic Institute
Troy, NY 12180
Phone: (518) 276-3369
FAX: (518) 276-2012
e-mail: willic3 at rpi.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://geodynamics.org/pipermail/cig-short/attachments/20070926/172ecf6d/attachment-0001.html
More information about the CIG-SHORT
mailing list