Question #274036 on Yade changed:
https://answers.launchpad.net/yade/+question/274036

Cong Xu posted a new comment:
When I press the Inspect button, the following message appears:

ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line string', (1, 0))

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
/usr/lib/x86_64-linux-gnu/yadedaily/py/yade/__init__.py in inspectSlot(self)
    103                                         self.displayCombo.addItem(c); 
afterSep+=1
    104         def inspectSlot(self):
--> 105                 self.inspector=SimulationInspector(parent=None)
    106                 self.inspector.show()
    107         def setTabActive(self,what):

/usr/lib/x86_64-linux-gnu/yadedaily/py/yade/__init__.py in __init__(self, 
parent)
    265                 self.tabWidget=QTabWidget(self)
    266 
--> 267                 self.engineInspector=EngineInspector(parent=None)
    268                 
self.bodyInspector=BodyInspector(parent=None,intrLinkCallback=self.changeIntrIds)
    269                 
self.intrInspector=InteractionInspector(parent=None,bodyLinkCallback=self.changeBodyId)

/usr/lib/x86_64-linux-gnu/yadedaily/py/yade/__init__.py in __init__(self, 
parent)
     11         def __init__(self,parent=None):
     12                 QWidget.__init__(self,parent)
---> 13                 grid=QGridLayout(self); grid.setSpacing(0); 
grid.setMargin(0)
     14                 
self.serEd=SeqSerializable(parent=None,getter=lambda:O.engines,setter=lambda 
x:setattr(O,'engines',x),serType=Engine,path='O.engines')
     15                 grid.addWidget(self.serEd)

AttributeError: 'QGridLayout' object has no attribute 'setMargin'

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to