Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File serverinfo.pyw returns TypeError: object.__init__() takes no parameters #3

Open
lskrinjar opened this issue Dec 30, 2014 · 0 comments

Comments

@lskrinjar
Copy link

I am trying to understand PyQt QAbstractItemModel and when I run file serverinfo.pyw I get the following error: Does anyone else have this problem or how can I fix this?
Traceback (most recent call last):
File "C:\sandbox\pyqt\chap16\serverinfo_V1.py", line 143, in
nesting, "*")
File "C:
\sandbox\pyqt\chap16\serverinfo_V1.py", line 110, in init
separator)
File "C:\sandbox\pyqt\chap16\serverinfo_V1.py", line 66, in init
model = ServerModel(self)
File "C:
\sandbox\pyqt\chap16\serverinfo_V1.py", line 34, in init
super(ServerModel, self).init(parent)
File "C:\sandbox\pyqt\chap16\treeoftable.py", line 116, in init
self.root = BranchNode("")
File "C:
\sandbox\pyqt\chap16\treeoftable.py", line 23, in init
super(BranchNode, self).init(parent)
TypeError: object.init() takes no parameters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant