[CIG-SHORT] Pylithapp error

Rishabh Dutta rishabh.dutta at kaust.edu.sa
Sun Nov 9 08:26:01 PST 2014


Dear Brad et. al.,

I am trying to run a 2D toy problem where a give a displacement field on
the boundary of the domain and try to estimate the response of a fault with
static friction. It is a compliant fault zone problem. I am using
pylith2.0.3.

 I am getting an error with the mesh reader I guess. The error comes before
the mesh is read:

---------------------
 Traceback (most recent call last):
  File
"/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/bin/pylith", line
27, in <module>
    start(applicationClass=PyLithApp)
  File
"/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/site-packages/pythia-0.8.1.16-py2.7.egg/pyre/applications/__init__.py",
line 41, in start
    shell.run(**kwds)
  File
"/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/site-packages/pythia-0.8.1.16-py2.7.egg/pyre/applications/Shell.py",
line 73, in run
    self.initializeConfiguration(context)
  File
"/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/site-packages/pythia-0.8.1.16-py2.7.egg/pyre/inventory/Configurable.py",
line 55, in initializeConfiguration
    return self.inventory.initializeConfiguration(context)
  File
"/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/site-packages/pythia-0.8.1.16-py2.7.egg/pyre/inventory/Inventory.py",
line 26, in initializeConfiguration
    extraDepositories=self._priv_depositories)
  File
"/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/site-packages/pythia-0.8.1.16-py2.7.egg/pyre/inventory/odb/Curator.py",
line 37, in getTraits
    errorHandler=self._recordTraitLookup):
  File
"/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/site-packages/pythia-0.8.1.16-py2.7.egg/pyre/odb/fs/Curator.py",
line 70, in loadSymbol
    shelf = codec.open(spec, 'r')
  File
"/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/site-packages/pythia-0.8.1.16-py2.7.egg/pyre/odb/fs/CodecODB.py",
line 33, in open
    self._decode(shelf)
  File
"/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/site-packages/pythia-0.8.1.16-py2.7.egg/pyre/inventory/cfg/CodecConfig.py",
line 37, in _decode
    parser.read(shelf.name)
  File
"/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/ConfigParser.py",
line 305, in read
    self._read(fp, filename)
  File
"/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/site-packages/pythia-0.8.1.16-py2.7.egg/pyre/inventory/cfg/Parser.py",
line 98, in _read
    SafeConfigParser._read(self, self._sections.fp, fpname)
  File
"/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/ConfigParser.py",
line 493, in _read
    cursect[optname].append(value)
AttributeError: 'str' object has no attribute 'append'
----------------------------------------------------------

I am attaching the .exo file (created in Trelis 15) and the pylithapp.cfg
file.

Thanks,
Rishabh Dutta

-- 
Rishabh Dutta,

Ph. D. Student, Department of Earth Sciences
King Abdullah University of Science and Technology (KAUST)
Al-Khawarizmi Applied Mathematics Building (Bldg. #1) | Office Cubicle #
3139-WS55
Mail Box 1720 | Thuwal 23955-6900 | Makkah Province | Kingdom of Saudi
Arabia

Office Phone: +966 2 808-0351
Personal Mobile No, : +966 544 700 852
Email: rishabh.dutta at kaust.edu.sa
Website: http://cdi.kaust.edu.sa/Pages/Dutta.aspx

-- 

------------------------------
This message and its contents, including attachments are intended solely 
for the original recipient. If you are not the intended recipient or have 
received this message in error, please notify me immediately and delete 
this message from your computer system. Any unauthorized use or 
distribution is prohibited. Please consider the environment before printing 
this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20141109/8451374c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pylithapp.cfg
Type: application/octet-stream
Size: 3362 bytes
Desc: not available
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20141109/8451374c/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CFZ.exo
Type: application/octet-stream
Size: 15724 bytes
Desc: not available
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20141109/8451374c/attachment-0003.obj>


More information about the CIG-SHORT mailing list