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

RecursionError with d = dtale.show(df) #202

Closed
bastianpeter opened this issue May 31, 2020 · 7 comments
Closed

RecursionError with d = dtale.show(df) #202

bastianpeter opened this issue May 31, 2020 · 7 comments

Comments

@bastianpeter
Copy link

Hi,

Your library looks great, but when I follow the example given here https://pypi.org/project/dtale/:

import dtale
import pandas as pd
df = pd.DataFrame([dict(a=1,b=2,c=3)])

Assigning a reference to a running D-Tale process

d = dtale.show(df)

the last command generates a zillion warnings and errors (which are in the attached file). The last error statement is:
RecursionError: maximum recursion depth exceeded while calling a Python object

I use Python 3.7.3 on mac10.15.4, IDE = Pyzo

Many thanks in advance for your feedback.

Bastian
errors and warnings.txt

@aschonfeld
Copy link
Collaborator

@bastianpeter apologies for the error. Is there any chance you could send me the output of running “pip freeze” on your environment? Just want to try simulating your environment. Thanks

@bastianpeter
Copy link
Author

@aschonfeld
No worries - thanks for your fast reply.

Please find the output of pip freeze in the attached file.
pip_freeze.txt

@aschonfeld
Copy link
Collaborator

aschonfeld commented May 31, 2020

Thanks I'll work on this later today

@aschonfeld
Copy link
Collaborator

@bastianpeter I was able to create a python 3.7.3 virtual environment with everything from your pip freeze (with the exception of your local code, -e git://github.com/ibeltagy/allennlp@718cc43e23eda54df37ba20c3a5cb7c65fae3788#egg=allennlp and color==0.1) but I couldn't reproduce your error. I'll keep digging...

@aschonfeld
Copy link
Collaborator

Oh, I just noticed you said you were using the IDE pyzo. That has to be causing it. I'll try installing that.

@aschonfeld
Copy link
Collaborator

@bastianpeter this should be all set now. Pyzo had an issue with how our logging was setup. I've pushed a new version, [1.8.15] (https://pypi.org/project/dtale/), which should solve your problem. Apologies for the issue. 🙏

@bastianpeter
Copy link
Author

bastianpeter commented Jun 1, 2020

@aschonfeld
It works - Thank you very much for solving this issue so quickly.

Have a good day

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

2 participants