qt-dataflow icon indicating copy to clipboard operation
qt-dataflow copied to clipboard

Error running the example.py

Open olivaresa opened this issue 11 years ago • 1 comments

python example.py Traceback (most recent call last): File "example.py", line 97, in cw.tb.add_node(FilterNode) File "/usr/local/lib/python2.7/dist-packages/qtdataflow/gui.py", line 31, in add_node rep = node().get_toolbar_view() File "/usr/local/lib/python2.7/dist-packages/qtdataflow/model.py", line 33, in get_toolbar_view return self.get_view() File "example.py", line 54, in get_view return PixmapNodeView(self) File "/usr/local/lib/python2.7/dist-packages/qtdataflow/view.py", line 129, in init NodeView.init(self, node, *args) File "/usr/local/lib/python2.7/dist-packages/qtdataflow/view.py", line 37, in init self.add_terminals() File "/usr/local/lib/python2.7/dist-packages/qtdataflow/view.py", line 44, in add_terminals term = TerminalItem(self) TypeError: init() takes exactly 1 argument (2 given)

olivaresa avatar May 17 '13 14:05 olivaresa

Yeah sorry, i left the code in middle of a refactoring and pushed wrongly to the master branch. Next week i am on conference, maybe i ll get look at while on the flight, if not i'll take look afterwards.

Tillsten avatar May 17 '13 23:05 Tillsten