Skip to content
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

DataExplore crashes when called from python #54

Closed
MikeKilo opened this issue Feb 5, 2017 · 7 comments
Closed

DataExplore crashes when called from python #54

MikeKilo opened this issue Feb 5, 2017 · 7 comments

Comments

@MikeKilo
Copy link

MikeKilo commented Feb 5, 2017

Using python 3.6 and trying to create an instance of DataExplore, the application opens and a sheet with the dataframe appears, however the application does not respond and has to be killed.

@dmnfarrell
Copy link
Owner

Is there any error message? Are you calling this from a script or the python interpreter? You would have to show the specific code used.

@MikeKilo
Copy link
Author

MikeKilo commented Feb 11, 2017

No error messages - I run this code:

from pandastable.app import DataExplore
app = DataExplore()
app.load_dataframe(mhdf,'new')

The application starts and a tabe named "new" is created, but the application stops responding, and when closing it, the python kernel dies with it.
the dataframe size does not matter as well - the current one was 500x6.

running python 3.6 over spyder 3.1.2.

@dmnfarrell
Copy link
Owner

I think this is simply because I didn't document how to do it properly. If you used the normal python interpreter it will not let you interact with the app until you call app.mainloop(). However this blocks further commands in the terminal. You can only get this to work without it blocking using ipython. You launch ipython and then type %gui tk. Then run app = DataExplore() and you should still be able to access the interpreter and interact with the app. I tried this in spyder ipython console too and it appears to work except the app is not visible! Maybe you can try it.

@dmnfarrell
Copy link
Owner

@badiay This doesn't seem to work on windows using conda. It works on linux.

@xnmp
Copy link

xnmp commented Jun 25, 2017

I'm doing this from IPython console and it results in the same thing. I can't even kill it, but when I kill the kernel it dies as well.

@dmnfarrell
Copy link
Owner

What OS and are you using conda?

@Robuko
Copy link

Robuko commented Mar 27, 2018

running python 2.7.14 on spyder 3.2.4 on windows with tk backend for IPython, the app is not visible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants