[CIG-SHORT] Pylith 1.6.3 , Tutorial section 7.14.3 broken?

Lucas Abraham Willemsen lawillem at MIT.EDU
Thu May 31 14:35:25 PDT 2012


Hi,

I am currently working through the Pylith tutorials in the most recent Pylith pdf I found on the website (pylith_manual-1.6.1.pdf). My Pylith version is 1.6.3 . Section 7.14.3 dealing with a dynamic fault does not seem to work. I will present what I did so you can maybe reproduce the error:

First I go to the folder "examples/bar_shearwave/quad4". If I type "pylith kinematic.cfg" (section 7.14.2) this specific problems completes with no problem. But if I type "pylith dynamic.cfg" (section 7.14.3) I get the following error:

---------------------------------------------------------------------------------------------------------------------------------
/scratch1/local/pylith/lib/python2.6/site-packages/merlin-1.7.egg/merlin/__init__.py:175: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/scratch1/local/pylith/lib/python2.6/site-packages/spatialdata/spatialdb/SimpleIO.py:89: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  "(%s):\n%s" % (aliases, err.message))
/scratch1/local/pylith/lib/python2.6/site-packages/pythia-0.8.1.13-py2.6.egg/pyre/inventory/Configurable.py:84: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  raise ValueError("%s\nBacktrace - Component %s" % (err.message, aliases))
Traceback (most recent call last):
  File "/scratch1/local/pylith/bin/pylith", line 39, in <module>
    start(applicationClass=PyLithApp)
  File "/scratch1/local/pylith/lib/python2.6/site-packages/pythia-0.8.1.13-py2.6.egg/pyre/applications/__init__.py", line 41, in start
    shell.run(**kwds)
  File "/scratch1/local/pylith/lib/python2.6/site-packages/pythia-0.8.1.13-py2.6.egg/pyre/applications/Shell.py", line 125, in run
    app.applyConfiguration(context)
  File "/scratch1/local/pylith/lib/python2.6/site-packages/pythia-0.8.1.13-py2.6.egg/pyre/inventory/Configurable.py", line 84, in applyConfiguration
    raise ValueError("%s\nBacktrace - Component %s" % (err.message, aliases))
ValueError: Error while configuring spatial database reader (simpleioascii, iohandler):
Filename for spatial database not specified.
Backtrace - Component simpleioascii, iohandler
Backtrace - Component simpledb, db_properties
Backtrace - Component staticfriction, friction
Backtrace - Component faultcohesivedyn, fault
Backtrace - Component interfaces
Backtrace - Component timedependent, problem
Backtrace - Component pylithapp
---------------------------------------------------------------------------------------------------------------------------------

I get exactly the same error if I just type "pylith". In this case Pylith just tries to run the pylithapp.cfg. Looking at the backtrace it seems like a spatial database is expected (even when doing "pylith dynamic.cfg")? Could someone perhaps follow my steps and see if you get the same results? In that case this specific tutorial probably got broken at some point.

Cheers,
Lucas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://geodynamics.org/pipermail/cig-short/attachments/20120531/6932f794/attachment.htm 


More information about the CIG-SHORT mailing list