[CIG-SHORT] Updated PyLith/Python - Error

Brad Aagaard baagaard at usgs.gov
Thu Oct 29 16:21:53 PDT 2015


Bobak,

Are you using the binary or building from source? Are you using v2.1.0?
Can you run the examples? If you built from source, did you run the test 
suite via "make check"?

Thanks,
Brad


On 10/29/2015 03:38 PM, Karimi, Bobak wrote:
> 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
>
>
>
>
>
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>



More information about the CIG-SHORT mailing list