[CIG-SHORT] Updated PyLith/Python - Error

Karimi, Bobak bok10 at pitt.edu
Thu Oct 29 15:38:45 PDT 2015


Hello all,


I recently updated PyLith to the most recent version, and python to 2.7.1, and am getting the error:


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



I think, If I'm understanding right, that the error has something to do with PyLith reaching out to the Python libraries, but I'm unsure of how to fix this (if that is the source of the problem).


Any help would be much appreciated!


Thanks,
Bobby


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20151029/03deb3ec/attachment.html>


More information about the CIG-SHORT mailing list