[CIG-SHORT] When I run pylith sends me the following error

Charles Williams willic3 at gmail.com
Tue Nov 15 14:01:02 PST 2011


Dear Leonardo,

What problem are you running?  This looks like the type of error you would get when there is no .cfg file (and therefore no mesh has been specified).

Try going to src/examples/3d/hex8 and then type the following:

pylith step01.cfg

Let us know what happens when you do this.

Cheers,
Charles


On 16/11/2011, at 9:41 AM, Leonardo Gatica wrote:

> Hello my name is Leonardo Gatica and speak Spanish. I have installed opensuse 11.4 64bit and when I run pylith throws me the following error:
> 
> sismos at shabnam:~/Descargas/pylith-1.6.2-linux-x86_64> pylith
> /home/sismos/Descargas/pylith-1.6.2-linux-x86_64/lib/python2.6/site-packages/merlin-1.7.egg/merlin/__init__.py:175: DeprecationWarning: the sets module is deprecated
>   from sets import ImmutableSet
> Traceback (most recent call last):
>   File "/home/sismos/Descargas/pylith-1.6.2-linux-x86_64/bin/pylith", line 39, in <module>
>     start(applicationClass=PyLithApp)
>   File "/home/sismos/Descargas/pylith-1.6.2-linux-x86_64/lib/python2.6/site-packages/pythia-0.8.1.11-py2.6.egg/pyre/applications/__init__.py", line 41, in start
>     shell.run(**kwds)
>   File "/home/sismos/Descargas/pylith-1.6.2-linux-x86_64/lib/python2.6/site-packages/pythia-0.8.1.11-py2.6.egg/pyre/applications/Shell.py", line 125, in run
>     app.applyConfiguration(context)
>   File "/home/sismos/Descargas/pylith-1.6.2-linux-x86_64/lib/python2.6/site-packages/pythia-0.8.1.11-py2.6.egg/pyre/inventory/Configurable.py", line 74, in applyConfiguration
>     context.configureComponent(self)
>   File "/home/sismos/Descargas/pylith-1.6.2-linux-x86_64/lib/python2.6/site-packages/pythia-0.8.1.11-py2.6.egg/pyre/inventory/ConfigContext.py", line 68, in configureComponent
>     component.configureComponents(self)
>   File "/home/sismos/Descargas/pylith-1.6.2-linux-x86_64/lib/python2.6/site-packages/pythia-0.8.1.11-py2.6.egg/pyre/inventory/Configurable.py", line 119, in configureComponents
>     self.inventory.configureComponents(context)
>   File "/home/sismos/Descargas/pylith-1.6.2-linux-x86_64/lib/python2.6/site-packages/pythia-0.8.1.11-py2.6.egg/pyre/inventory/Inventory.py", line 99, in configureComponents
>     component.applyConfiguration(context)
>   File "/home/sismos/Descargas/pylith-1.6.2-linux-x86_64/lib/python2.6/site-packages/pythia-0.8.1.11-py2.6.egg/pyre/inventory/Configurable.py", line 74, in applyConfiguration
>     context.configureComponent(self)
>   File "/home/sismos/Descargas/pylith-1.6.2-linux-x86_64/lib/python2.6/site-packages/pythia-0.8.1.11-py2.6.egg/pyre/inventory/ConfigContext.py", line 68, in configureComponent
>     component.configureComponents(self)
>   File "/home/sismos/Descargas/pylith-1.6.2-linux-x86_64/lib/python2.6/site-packages/pythia-0.8.1.11-py2.6.egg/pyre/inventory/Configurable.py", line 119, in configureComponents
>     self.inventory.configureComponents(context)
>   File "/home/sismos/Descargas/pylith-1.6.2-linux-x86_64/lib/python2.6/site-packages/pythia-0.8.1.11-py2.6.egg/pyre/inventory/Inventory.py", line 99, in configureComponents
>     component.applyConfiguration(context)
>   File "/home/sismos/Descargas/pylith-1.6.2-linux-x86_64/lib/python2.6/site-packages/pythia-0.8.1.11-py2.6.egg/pyre/inventory/Configurable.py", line 77, in applyConfiguration
>     self._configure()
>   File "/home/sismos/Descargas/pylith-1.6.2-linux-x86_64/lib/python2.6/site-packages/pylith/meshio/MeshIOAscii.py", line 94, in _configure
>     self.filename(self.inventory.filename)
>   File "/home/sismos/Descargas/pylith-1.6.2-linux-x86_64/lib/python2.6/site-packages/pythia-0.8.1.11-py2.6.egg/pyre/inventory/Trait.py", line 54, in __get__
>     return self._initialize(instance)
>   File "/home/sismos/Descargas/pylith-1.6.2-linux-x86_64/lib/python2.6/site-packages/pythia-0.8.1.11-py2.6.egg/pyre/inventory/Trait.py", line 81, in _initialize
>     value, locator = self._getDefaultValue(instance)
>   File "/home/sismos/Descargas/pylith-1.6.2-linux-x86_64/lib/python2.6/site-packages/pythia-0.8.1.11-py2.6.egg/pyre/inventory/Property.py", line 53, in _getDefaultValue
>     value = self.validator(value)
>   File "/home/sismos/Descargas/pylith-1.6.2-linux-x86_64/lib/python2.6/site-packages/pylith/meshio/MeshIOAscii.py", line 35, in validateFilename
>     raise ValueError("Filename for ASCII input mesh not specified.")
> ValueError: Filename for ASCII input mesh not specified.
> sismos at shabnam:~/Descargas/pylith-1.6.2-linux-x86_64>
> 
> They know how to solve this problem, thank you very much beforehand.
> 
> -- 
> Leonardo Antonio Gatica Quezada
> ubuntuparatodos.wordpress.com
> 
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-short

Charles A. Williams
Scientist
GNS Science
1 Fairway Drive, Avalon
PO Box 30368
Lower Hutt  5040
New Zealand
ph (office): 0064-4570-4566
fax (office): 0064-4570-4600
C.Williams at gns.cri.nz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://geodynamics.org/pipermail/cig-short/attachments/20111116/173e6a1f/attachment-0001.htm 


More information about the CIG-SHORT mailing list