[CIG-SHORT] debugger

Birendra jha bjha7333 at yahoo.com
Mon Apr 16 22:56:24 PDT 2012


Hi Brad,

I am trying to launch pylith in debugger mode. Usually uncommenting following in pylithapp.cfg
start_in_debugger = true
works. But this time I don't get the gdb window, instead I get the following error:

user at ubuntu:~/build/pylith/pylith-1.6.3/examples/3d/hex8$ pylith step01.cfg
Traceback (most recent call last):
  File "/home/user/pylith/bin/pylith", line 39, in <module>
    start(applicationClass=PyLithApp)
  File "/home/user/pylith/lib/python2.7/site-packages/pythia-0.8.1.14-py2.7.egg/pyre/applications/__init__.py", line 41, in start
    shell.run(**kwds)
  File "/home/user/pylith/lib/python2.7/site-packages/pythia-0.8.1.14-py2.7.egg/pyre/applications/Shell.py", line 125, in run
    app.applyConfiguration(context)
  File "/home/user/pylith/lib/python2.7/site-packages/pythia-0.8.1.14-py2.7.egg/pyre/inventory/Configurable.py", line 76, in applyConfiguration
    context.configureComponent(self)
  File "/home/user/pylith/lib/python2.7/site-packages/pythia-0.8.1.14-py2.7.egg/pyre/inventory/ConfigContext.py", line 68, in configureComponent
    component.configureComponents(self)
  File "/home/user/pylith/lib/python2.7/site-packages/pythia-0.8.1.14-py2.7.egg/pyre/inventory/Configurable.py", line 129, in configureComponents
    self.inventory.configureComponents(context)
  File "/home/user/pylith/lib/python2.7/site-packages/pythia-0.8.1.14-py2.7.egg/pyre/inventory/Inventory.py", line 99, in configureComponents
    component.applyConfiguration(context)
  File "/home/user/pylith/lib/python2.7/site-packages/pythia-0.8.1.14-py2.7.egg/pyre/inventory/Configurable.py", line 76, in applyConfiguration
    context.configureComponent(self)
  File "/home/user/pylith/lib/python2.7/site-packages/pythia-0.8.1.14-py2.7.egg/pyre/inventory/ConfigContext.py", line 68, in configureComponent
    component.configureComponents(self)
  File "/home/user/pylith/lib/python2.7/site-packages/pythia-0.8.1.14-py2.7.egg/pyre/inventory/Configurable.py", line 129, in configureComponents
    self.inventory.configureComponents(context)
  File "/home/user/pylith/lib/python2.7/site-packages/pythia-0.8.1.14-py2.7.egg/pyre/inventory/Inventory.py", line 99, in configureComponents
    component.applyConfiguration(context)
  File "/home/user/pylith/lib/python2.7/site-packages/pythia-0.8.1.14-py2.7.egg/pyre/inventory/Configurable.py", line 76, in applyConfiguration
    context.configureComponent(self)
  File "/home/user/pylith/lib/python2.7/site-packages/pythia-0.8.1.14-py2.7.egg/pyre/inventory/ConfigContext.py", line 68, in configureComponent
    component.configureComponents(self)
  File "/home/user/pylith/lib/python2.7/site-packages/pythia-0.8.1.14-py2.7.egg/pyre/inventory/Configurable.py", line 129, in configureComponents
    self.inventory.configureComponents(context)
  File "/home/user/pylith/lib/python2.7/site-packages/pythia-0.8.1.14-py2.7.egg/pyre/inventory/Inventory.py", line 99, in configureComponents
    component.applyConfiguration(context)
  File "/home/user/pylith/lib/python2.7/site-packages/pythia-0.8.1.14-py2.7.egg/pyre/inventory/Configurable.py", line 79, in applyConfiguration
    self._configure()
  File "/home/user/pylith/lib/python2.7/site-packages/pylith/bc/DirichletBC.py", line 119, in _configure
    TimeDependentPoints._configure(self)
  File "/home/user/pylith/lib/python2.7/site-packages/pylith/bc/TimeDependentPoints.py", line 79, in _configure
    TimeDependent._configure(self)
  File "/home/user/pylith/lib/python2.7/site-packages/pylith/bc/TimeDependent.py", line 111, in _configure
    ModuleTimeDependent.dbInitial(self, self.inventory.dbInitial)
  File "/home/user/pylith/lib/python2.7/site-packages/pylith/bc/bc.py", line 206, in dbInitial
    def dbInitial(self, *args): return _bc.TimeDependent_dbInitial(self, *args)
TypeError: in method 'TimeDependent_dbInitial', argument 2 of type 'spatialdata::spatialdb::SpatialDB *const'


What does this error mean? It seems it is from bc_wrap.cxx but I didn't modify anything in the bc folders of pylith code. make and make install was successful.

Thanks
Birendra


More information about the CIG-SHORT mailing list