Skip to content Skip to sidebar Skip to footer

AttributeError: 'MainRouter' Object Has No Attribute '_disabled_count'

I am creating a kivy app where I have used router showing this error- AttributeError: 'MainRouter' object has no attribute '_disabled_count' Any solution?

Solution 1:

I got this too but fixed it using super. Call the default init from within your new init using

super().__init__(**kwargs)

Solution 2:

This error is caused by Kivy version. The latest version of Kivy-1.10.1 has some bug which is causing the problem. The older version seems fine!


Post a Comment for "AttributeError: 'MainRouter' Object Has No Attribute '_disabled_count'"