Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Intellij, Kivy, Windows 7

$
0
0

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.


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>