Problem using slip_invert.py in examples/3d/subduction


#1

When I run the script slip_invert.py which is one of the script proposed in the tutorial of pylith concerning the 3d/subduction I have the following problem at the end of the script
File “./slip_invert.py”, line 449, in
app.run()
File “/usr/local/pylith/lib/python2.7/site-packages/pythia-0.8.1.18-py2.7.egg/pyre/applications/Application.py”, line 43, in run
shell.run(*args, **kwds)
File “/usr/local/pylith/lib/python2.7/site-packages/pythia-0.8.1.18-py2.7.egg/pyre/applications/Shell.py”, line 143, in run
method(*args, **kwds)
File “/usr/local/pylith/lib/python2.7/site-packages/pythia-0.8.1.18-py2.7.egg/pyre/applications/Stager.py”, line 19, in execute
return self.main(*args, **kwds)
File “./slip_invert.py”, line 139, in main
self.runInversions()
File “./slip_invert.py”, line 275, in runInversions
xdmfWriter.write(self.slipOutputFile)
File “/usr/local/pylith/lib/python2.7/site-packages/pylith/meshio/meshio.py”, line 413, in write
def write(self, *args): return _meshio.Xdmf_write(self, *args)
TypeError: Xdmf_write() takes exactly 3 arguments (2 given)
Has someone been confronted with this problem?
Thank you for your help


#2

You appear to be using PyLith v2.2.1rc1. This was a pre-release version of PyLith. Please use v2.2.1, which is the current release and does not have this issue with the slip_invert.py script in examples/3d/subduction.