[issue25959] tkinter - PhotoImage.zoom() causes segfault

2016-03-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Terry. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue25959] tkinter - PhotoImage.zoom() causes segfault

2016-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1e7c388dc3c5 by Terry Jan Reedy in branch '2.7': Issue 25959: Explain in docstring that PhotoImage.zoom arguments are https://hg.python.org/cpython/rev/1e7c388dc3c5 New changeset 7474695874d9 by Terry Jan Reedy in branch '3.5': Issue 25959: Explain

[issue25959] tkinter - PhotoImage.zoom() causes segfault

2016-03-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ __

[issue25959] tkinter - PhotoImage.zoom() causes segfault

2016-03-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: docs@python -> terry.reedy stage: needs patch -> commit review ___ Python tracker ___ ___ Pyt

[issue25959] tkinter - PhotoImage.zoom() causes segfault

2016-03-11 Thread Varpu Rantala
Varpu Rantala added the comment: crashes also with Python 3.5.0 (Mac OS X 10.11.3) when x and y are the following or bigger, but works when they are smaller. Tried it with the mapbe.gif image (size 1000 x 681). 30, 27 31, 26 32, 25 33, 24 34, 24 35, 23 36, 22 37, 22 38, 22 39, 21 40

[issue25959] tkinter - PhotoImage.zoom() causes segfault

2016-01-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think it is enough just to update a docstring. Adding comprehensive RST documentation for Tkinter widgets is different issue. -- keywords: +patch Added file: http://bugs.python.org/file41473/tkinter_photo_zoom_doc.patch

[issue25959] tkinter - PhotoImage.zoom() causes segfault

2016-01-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tk ticket update: '''aspect added on 2015-12-28 00:30:33: I can reproduce this crash on 8.5.18 and 8.6.4, but it appears to be fixed in trunk: "not enough free memory for image buffer".''' We should see fix in 3.6. Doc addition is not exactly trivial, as the

[issue25959] tkinter - PhotoImage.zoom() causes segfault

2015-12-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Opened Tk ticket: http://core.tcl.tk/tk/info/607ffb053c783490 . -- ___ Python tracker ___ ___ Pyth

[issue25959] tkinter - PhotoImage.zoom() causes segfault

2015-12-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Arguments for PhotoImage.zoom() are zoom factors, not the dimension of the result. In you case you are trying to create an image with size 54000x29964 pixels. This is over 1.6 gigapixels. Here is pure Tcl equivalent of Python example. It should reproduce the

[issue25959] tkinter - PhotoImage.zoom() causes segfault

2015-12-27 Thread hcdb
hcdb added the comment: yes I can provide my image the original image was a .png but I converted it to .gif using GIMP alternative download here: image: http://tsfl.nl/mapbg.gif script: http://tsfl.nl/test.py -- Added file: http://bugs.python.org/file41431/mapbg.gif _

[issue25959] tkinter - PhotoImage.zoom() causes segfault

2015-12-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you. Can you provide your image? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue25959] tkinter - PhotoImage.zoom() causes segfault

2015-12-26 Thread hcdb
hcdb added the comment: system 1: os: Linux Mint 17.3 (64bit Mate) python version: 2.7.6 python-tk version: 2.7.5-1ubuntu1 (according to packagemanager) python3 version 3.4.3 python3-tk version: 3.4.3-1~14.04.2 (according to packagemanager) running python in gdb on this system gives me these o

[issue25959] tkinter - PhotoImage.zoom() causes segfault

2015-12-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Can't reproduce a crash. What is your OS? What versions of your Python and Tk? Can you provide your image? -- nosy: +serhiy.storchaka ___ Python tracker

[issue25959] tkinter - PhotoImage.zoom() causes segfault

2015-12-26 Thread hcdb
New submission from hcdb: My 6 lines of code crash and cause a segmentation fault when using .zoom() on a PhotoImage in tkinter (run test.py) tested and crashed in python 2.7.6, 2.7.9, 3.4.2 & 3.4.3 on linux mint 17.3 and debian jessie ps. just learning to code python, so maybe i'm doing it w