-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
OverflowError: Python int too large to convert to C long during ploting simple numbers on debian testing #7680
Comments
Hello @efiring thanks for fast response but as I see fix is for 2.x version instead of 1.5.3. What I can do know? Probably I will have to write to debian mailing list because this bug considers currently testing version of debian which is in freezing state now. Please merge to 1.5.3 stable branch. |
I was afraid of something like that... We are not going to make any more releases in the 1.5.x series. I don't know how the debian system works, but I imagine the options are:
Any more thoughts on this, @tacaswell? |
Please do tribute to debian :-) in X-mas time :-) |
@sandrotosi is our normal debian contact. To my understanding the 2.0 release candidates were already in the debian pipeline. There will be no more 1.5.x releases. I suspect I am going to greatly annoy the debian folks this cycle as I also need to sneak an h5py release under the wire 😈 . |
2.0.0rc2 reached testing yesterday, so this bug is fixed there as well (the debian freeze is a rather intricate process, i'm dealing with the various stages). the plan is to have an early Jan final release of mpl and at that point i'll promptly upload it to unstable which should give us plenty of time to migrate it to testing there will likely be some bugs/regressions (as in projects not compatible and stuff), uploading early should catch those issues earlier (hopefully) but expect some issues submitted! ;) |
Hi! I've checked and updated my debian testing packages hour ago and I confirm that python-matplotlib is upgraded to 2.0.0~rc2-1 and my program correctly running without overflow exception. Thanks and happy New Year. :) |
Hello,
The simple python program:
import matplotlib.pyplot as plt
numbers = [1,2,3,4,5]
plt.plot(numbers)
plt.show()
returns the following exception instead of drawing a picture. I'm using debian-testing and python 2.7.11-2 with:
dpkg -l python-matplotlib
ii python-matplotlib 1.5.3-1 i386 Python based plotting system in a style similar to Matlab
$ python test_overflowerror.py
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1545, in call
return self.func(*args)
File "/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_tkagg.py", line 283, in resize
self.show()
File "/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_tkagg.py", line 355, in draw
tkagg.blit(self._tkphoto, self.renderer._renderer, colormode=2)
File "/usr/lib/python2.7/dist-packages/matplotlib/backends/tkagg.py", line 26, in blit
_tkagg.tkinit(tk.interpaddr(), 1)
OverflowError: Python int too large to convert to C long
Regards, Karol
The text was updated successfully, but these errors were encountered: