-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Apparent Canopy IPython bugs with PySide bindings. #5116
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
Comments
To start with, @azbones can you clarify something: does the behavior you cite only occur when using the BigQuery module or does it happen with pandas generally? What happens if you remove the print statements from the PR? |
Snippet of @azbones report here:
|
@jtratner I've only seen it with the BigQuery module so far and not Pandas in general. Specifically, it seems to only be within the Enthought Canopy distribution when using the iPython editor when launched from the Canopy UI. I've seen it across Windows 7 and Mac OSX. I updated my ticket with Enthought and was waiting to see if they had any other thoughts. Initially, they thought it was the QT_API binding as they used pyside, but I think I have eliminated that as the sole potential cause. Here is the last message I left on the Enthought ticket I opened: I finally got to try this again. I tried it on a cleaner Win 7 system that had 64-bit Canopy Version: 1.1.0.1371 installed as the default Python environment. What I found was: Setting the QT binding:
Launching iPython three different ways:
In all three configurations, our code worked. changing the QT binding to:
All three configurations of iPython also worked correctly with our code. I know per your earlier link (https://support.enthought.com/entries/22305234-IPython-updating-this-package-affects-IPython-in-terminal-but-not-in-Canopy-application) , that the command line iPython and the iPython within the Canopy GUI may be different. version yields 1.7.1 in both the Canopy App version and the pylab command line iPython. So, pyside in the command line doesn't seem to be the issue. The other thing I tried was changing the Canopy Pylab backend preferences to 'wx'. This, like disabling Pylab in the preference, also allows our code to work without the error. I've never used wx, so not sure if this is a viable option to QT or not. The issue seems to be isolated to just iPython within the Canopy UI. I have several work arounds: -disable Pylab |
It's incredible to me that the code could do that. Can you tell if it's the |
I'm going to see if I can reproduce it locally. Btw - have you tried |
@jtratner here is the stack trace. I'm guessing it has something to do with the iPython within Canopy app using different components than the command line. It took a while to isolate it because we were all using different flavors of iPython. I'll try it with notebook as I haven't yet.
|
okay, this error is pretty clearly the fault of google's biquery module's call to pkgutil ( |
Opening up a separate issue about some Canopy IPython bugs that pandas (or new BigQuery IO module) may be producing. @azbones, @jacobschaer, @sean-schaefer and others, let's work here to figure it out.
Related comments in #4140.
The text was updated successfully, but these errors were encountered: