<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hi Chris,<div><br class="webkit-block-placeholder"></div><div>I have a few questions for you:</div><div><br class="webkit-block-placeholder"></div><div>1.  Is your installation directory the same as your build directory?</div><div>2.  What does your PYTHONPATH look like?</div><div>3.  Do you have configure and build logs from when you installed spatialdata?</div><div>4.  If you go to tests/libtests/geocoords in your top-level spatialdat directory, and type 'make check', what happens?</div><div>5.  Try the same thing in tests/pytests/geocoords.</div><div><br class="webkit-block-placeholder"></div><div>Let me know what happens with this.</div><div><br class="webkit-block-placeholder"></div><div>Cheers,</div><div>Charles</div><div><br class="webkit-block-placeholder"></div><div><br><div><div>On Sep 26, 2007, at 3:12 AM, Christopher DiCaprio wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I have built pylith from source and when I try to run it I get the following error:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">klaki:~&gt; pylith --help</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Traceback (most recent call last):</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">  </span>File "/home/dicaprio/local/pylith-build/bin/pylith", line 31, in ?</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">    </span>from pylith.PyLithApp import PyLithApp</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">  </span>File "/home/dicaprio/local/pylith-build/lib/python2.4/site-packages/pylith/PyLithApp.py", line 20, in ?</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">    </span>class PyLithApp(Application):</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">  </span>File "/home/dicaprio/local/pylith-build/lib/python2.4/site-packages/pylith/PyLithApp.py", line 27, in PyLithApp</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">    </span>class Inventory(Application.Inventory):</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">  </span>File "/home/dicaprio/local/pylith-build/lib/python2.4/site-packages/pylith/PyLithApp.py", line 50, in Inventory</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">    </span>from pylith.problems.TimeDependent import TimeDependent</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">  </span>File "/home/dicaprio/local/pylith-build/lib/python2.4/site-packages/pylith/problems/TimeDependent.py", line 20, in ?</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">    </span>from Problem import Problem</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">  </span>File "/home/dicaprio/local/pylith-build/lib/python2.4/site-packages/pylith/problems/Problem.py", line 22, in ?</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">    </span>class Problem(Component):</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">  </span>File "/home/dicaprio/local/pylith-build/lib/python2.4/site-packages/pylith/problems/Problem.py", line 31, in Problem</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">    </span>class Inventory(Component.Inventory):</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">  </span>File "/home/dicaprio/local/pylith-build/lib/python2.4/site-packages/pylith/problems/Problem.py", line 51, in Inventory</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">    </span>from pylith.materials.Homogeneous import Homogeneous</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">  </span>File "/home/dicaprio/local/pylith-build/lib/python2.4/site-packages/pylith/materials/Homogeneous.py", line 22, in ?</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">    </span>class Homogeneous(ObjectBin):</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">  </span>File "/home/dicaprio/local/pylith-build/lib/python2.4/site-packages/pylith/materials/Homogeneous.py", line 31, in Homogeneous</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">    </span>class Inventory(ObjectBin.Inventory):</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">  </span>File "/home/dicaprio/local/pylith-build/lib/python2.4/site-packages/pylith/materials/Homogeneous.py", line 47, in Inventory</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">    </span>from ElasticIsotropic3D import ElasticIsotropic3D</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">  </span>File "/home/dicaprio/local/pylith-build/lib/python2.4/site-packages/pylith/materials/ElasticIsotropic3D.py", line 19, in ?</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">    </span>from ElasticMaterial import ElasticMaterial</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">  </span>File "/home/dicaprio/local/pylith-build/lib/python2.4/site-packages/pylith/materials/ElasticMaterial.py", line 20, in ?</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">    </span>from Material import Material</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">  </span>File "/home/dicaprio/local/pylith-build/lib/python2.4/site-packages/pylith/materials/Material.py", line 30, in ?</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">    </span>class Material(Component):</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">  </span>File "/home/dicaprio/local/pylith-build/lib/python2.4/site-packages/pylith/materials/Material.py", line 43, in Material</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">    </span>class Inventory(Component.Inventory):</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">  </span>File "/home/dicaprio/local/pylith-build/lib/python2.4/site-packages/pylith/materials/Material.py", line 67, in Inventory</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">    </span>from spatialdata.spatialdb.SimpleDB import SimpleDB</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">  </span>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 ?</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">    </span>from SpatialDB import SpatialDB</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">  </span>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 ?</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">    </span>import spatialdb as bindings</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">ImportError: No module named spatialdb</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">At a glance the spataildata directory in my installation doesn't look different from the one in the prebuilt tarball.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Thanks,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Chris</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">CIG-SHORT mailing list</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="mailto:CIG-SHORT@geodynamics.org">CIG-SHORT@geodynamics.org</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="http://geodynamics.org/cgi-bin/mailman/listinfo/cig-short">http://geodynamics.org/cgi-bin/mailman/listinfo/cig-short</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> </blockquote></div><br><div> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Charles A. Williams</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Dept. of Earth &amp; Environmental Sciences</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Science Center, 2C01B</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Rensselaer Polytechnic Institute</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Troy, NY<span class="Apple-converted-space">  </span>12180</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Phone:<span class="Apple-converted-space"><span class="Apple-converted-tab">    </span></span>(518) 276-3369</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">FAX:<span class="Apple-converted-space"><span class="Apple-converted-tab">        </span></span>(518) 276-2012</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">e-mail:<span class="Apple-converted-space"><span class="Apple-converted-tab">    </span></span><a href="mailto:willic3@rpi.edu">willic3@rpi.edu</a></font></p> <br class="Apple-interchange-newline"> </div><br></div></body></html>