Skip to content

Error running the example.py #3

@olivaresa

Description

@olivaresa

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions