-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kivy app import effects Rpc #4539
Comments
Personally, I don't think this could really be called a bug yet. Kivy is self contained and cannot provide support for external tools that do their own thing. Not that we don't want to get it working, just that we cannot provide support for every library. The code above in no way demonstrates kivy is doing anything wrong. I would suggest posting on the forums and seeing if anyone can give you insight there, although without an error log, there is not much to go on... @timeyyy |
All i'm saying is something weird is going on... I will keep digging into this, i will also be working with the neovim devs. Can i leave this open as a place to post further updates and get feedback? I can also close this and post in the forum if that is more common practice here. |
Sure. You can still post here on your findings and then re-open it if you find it is a flaw in kivy... Thanks for taking the time. I hope it works out 👍 |
Oh, can I suggest trying the call on a Clock.schedule_once? Or running it on a separate thread? |
That snippet i posted above is the whole file. Literally that one line import stops me being able to connect over rpc to neovim. I posted a traceback on the neovim issue above, i think it could be that attching in child mode is using stdio which kivy is using somehow? I will try one of the other transport types |
The behavior only happens when i am using the child method to connect
i'm guessing it is because kivy is doing stuff with stdin/stdout |
No, |
i used also |
Great. Thanks both for the follow ups... |
for closure:
|
Background
neovim is a hackers vim with a nice community. They have seperated the ui and gui and expose the communication via rpc. I want to make a kivy interface for vim so i can have a vim text editor widget for kivy.
The Bug
The following code runs fine if we comment the line with kivy in it
With the import kivy line, the last line blocks. It's trying to do an rpc call.
The text was updated successfully, but these errors were encountered: