Intellij, Kivy, Windows 7

Sorry if this isn't in the right forum but I couldn't ungray the PyCharm forum. I have Kivy running in IDEA 12.1.6 on a Windows 7 box. Runs fine, just one problem. IDEA redlines things as unresolved references but the app runs. For example,

from kivy.app import App
from kivy.uix.anchorlayout import AnchorLayout
from kivy.properties import ObjectProperty


class AccountDetailsForm(AnchorLayout):
    server_box = ObjectProperty()
    username_box = ObjectProperty()
    password_box = ObjectProperty()

    def login(self):
        print(self.server_box.text)
        print(self.username_box.text)
        print(self.password_box.text)


class Orkiv(App):
    pass


if __name__ == '__main__':
    Orkiv().run()

In this listing IDEA can't find kivy.properties and so ObjectProperty is relined. Oddly, so are the print statements. No relation there either. The print statements were redlined before I added the kivy.properties import. It would be nice to clear this up so IDEA only tells me about real errors.

Please sign in to leave a comment.