Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 267
zeroFighter Avatar asked Jun 04 '26 13:06

zeroFighter


2 Answers

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

super().__init__(**kwargs)
like image 133
Ralph Avatar answered Jun 07 '26 02:06

Ralph


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!

like image 34
zeroFighter Avatar answered Jun 07 '26 03:06

zeroFighter



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!