Hi CIG-Short,<br><br>I followed the advice Brad gave me, and I was able to "make" and "make install" PyLith. However, when I run pylith, I get the error shown below. This happens independent of the problem I try to run, and occurs when I use "pylith --help" or "pylith --version" or even just "pylith." The error message is:<br>
<br>/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.10-py2.5.egg/pyre/inventory/odb/Curator.py:200: UserWarning: Module spatialdata was already imported from /home/jeffremt/tools/cig/gcc-4.1.1_64/lib64/python2.5/site-packages/spatialdata/__init__.pyc, but /home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages is being added to sys.path<br>
from pkg_resources import resource_listdir, resource_isdir, resource_exists, resource_filename, Requirement<br>/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.10-py2.5.egg/pyre/inventory/odb/Curator.py:200: UserWarning: Module pylith was already imported from /home/jeffremt/tools/cig/gcc-4.1.1_64/lib64/python2.5/site-packages/pylith/__init__.pyc, but /home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages is being added to sys.path<br>
from pkg_resources import resource_listdir, resource_isdir, resource_exists, resource_filename, Requirement<br>/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.10-py2.5.egg/pyre/inventory/odb/Curator.py:200: UserWarning: Module pkg_resources was already imported from /home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/setuptools-0.6c9-py2.5.egg/pkg_resources.py, but /home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/merlin-1.7.egg is being added to sys.path<br>
from pkg_resources import resource_listdir, resource_isdir, resource_exists, resource_filename, Requirement<br>/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.10-py2.5.egg/pyre/inventory/odb/Curator.py:200: UserWarning: Module site was already imported from /usr/lib64/python2.5/site.pyc, but /home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/merlin-1.7.egg is being added to sys.path<br>
from pkg_resources import resource_listdir, resource_isdir, resource_exists, resource_filename, Requirement<br>ERROR: An unexpected error occurred while tokenizing input<br>The following traceback may be corrupted or invalid<br>
The error message is: ('EOF in multi-line statement', (12, 0))<br><br>ERROR: An unexpected error occurred while tokenizing input<br>The following traceback may be corrupted or invalid<br>The error message is: ('EOF in multi-line statement', (12, 0))<br>
<br>ERROR: An unexpected error occurred while tokenizing input<br>The following traceback may be corrupted or invalid<br>The error message is: ('EOF in multi-line statement', (12, 0))<br><br>ERROR: An unexpected error occurred while tokenizing input<br>
The following traceback may be corrupted or invalid<br>The error message is: ('EOF in multi-line statement', (12, 0))<br><br>ERROR: An unexpected error occurred while tokenizing input<br>The following traceback may be corrupted or invalid<br>
The error message is: ('EOF in multi-line statement', (13, 0))<br><br>Error in sys.excepthook:<br>Traceback (most recent call last):<br> File "/usr/lib/python2.5/site-packages/IPython/ultraTB.py", line 885, in __call__<br>
self.handler((etype, evalue, etb))<br> File "/usr/lib/python2.5/site-packages/IPython/ultraTB.py", line 875, in handler<br> print >> Term.cerr, self.text(etype, evalue, etb)<br> File "/usr/lib/python2.5/site-packages/IPython/ultraTB.py", line 931, in text<br>
return VerboseTB.text(self,etype, value, tb,context=5)<br> File "/usr/lib/python2.5/site-packages/IPython/ultraTB.py", line 818, in text<br> __IPYTHON__.hooks.synchronize_with_editor(filepath, lnum, 0)<br>
NameError: global name '__IPYTHON__' is not defined<br><br>Original exception was:<br>Traceback (most recent call last):<br> File "/home/jeffremt/tools/cig/gcc-4.1.1_64/bin/pylith", line 39, in <module><br>
start(applicationClass=PyLithApp)<br> File "/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.10-py2.5.egg/pyre/applications/__init__.py", line 41, in start<br> shell.run(**kwds)<br>
File "/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.10-py2.5.egg/pyre/applications/Shell.py", line 125, in run<br> app.applyConfiguration(context)<br> File "/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.10-py2.5.egg/pyre/inventory/Configurable.py", line 74, in applyConfiguration<br>
context.configureComponent(self)<br> File "/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.10-py2.5.egg/pyre/inventory/ConfigContext.py", line 68, in configureComponent<br> component.configureComponents(self)<br>
File "/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.10-py2.5.egg/pyre/inventory/Configurable.py", line 119, in configureComponents<br> self.inventory.configureComponents(context)<br>
File "/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.10-py2.5.egg/pyre/inventory/Inventory.py", line 99, in configureComponents<br> component.applyConfiguration(context)<br> File "/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.10-py2.5.egg/pyre/inventory/Configurable.py", line 74, in applyConfiguration<br>
context.configureComponent(self)<br> File "/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.10-py2.5.egg/pyre/inventory/ConfigContext.py", line 68, in configureComponent<br> component.configureComponents(self)<br>
File "/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.10-py2.5.egg/pyre/inventory/Configurable.py", line 119, in configureComponents<br> self.inventory.configureComponents(context)<br>
File "/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.10-py2.5.egg/pyre/inventory/Inventory.py", line 99, in configureComponents<br> component.applyConfiguration(context)<br> File "/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.10-py2.5.egg/pyre/inventory/Configurable.py", line 74, in applyConfiguration<br>
context.configureComponent(self)<br> File "/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.10-py2.5.egg/pyre/inventory/ConfigContext.py", line 68, in configureComponent<br> component.configureComponents(self)<br>
File "/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.10-py2.5.egg/pyre/inventory/Configurable.py", line 119, in configureComponents<br> self.inventory.configureComponents(context)<br>
File "/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.10-py2.5.egg/pyre/inventory/Inventory.py", line 99, in configureComponents<br> component.applyConfiguration(context)<br> File "/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.10-py2.5.egg/pyre/inventory/Configurable.py", line 74, in applyConfiguration<br>
context.configureComponent(self)<br> File "/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.10-py2.5.egg/pyre/inventory/ConfigContext.py", line 68, in configureComponent<br> component.configureComponents(self)<br>
File "/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.10-py2.5.egg/pyre/inventory/Configurable.py", line 119, in configureComponents<br> self.inventory.configureComponents(context)<br>
File "/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.10-py2.5.egg/pyre/inventory/Inventory.py", line 99, in configureComponents<br> component.applyConfiguration(context)<br> File "/home/jeffremt/tools/cig/gcc-4.1.1_64/lib/python2.5/site-packages/pythia-0.8.1.10-py2.5.egg/pyre/inventory/Configurable.py", line 77, in applyConfiguration<br>
self._configure()<br> File "/home/jeffremt/tools/cig/gcc-4.1.1_64/lib64/python2.5/site-packages/pylith/meshio/OutputMatElastic.py", line 83, in _configure<br> OutputManagerMesh._configure(self)<br> File "/home/jeffremt/tools/cig/gcc-4.1.1_64/lib64/python2.5/site-packages/pylith/meshio/OutputManagerMesh.py", line 73, in _configure<br>
ModuleOutputManager.coordsys(self, self.inventory.coordsys)<br> File "/home/jeffremt/tools/cig/gcc-4.1.1_64/lib64/python2.5/site-packages/pylith/meshio/meshio.py", line 589, in coordsys<br> def coordsys(self, *args): return _meshio.MeshOutputManager_coordsys(self, *args)<br>
TypeError: in method 'MeshOutputManager_coordsys', argument 2 of type 'spatialdata::geocoords::CoordSys const *'<br><br>I've attached the config.log file from my configuration of PyLith just in case that's helpful.<br>
<br>Thank you,<br>Jeff Thompson<br>California Institute of Technology<br><br><br>