Getting Attribution error in kivy project

Solution 1:

The problem is this line:

self.popup.dismiss()

change for:

self.dismiss()

popup attribute doesn't exist. In your code popup refers to an "ResetPopup object".