bug in version 1.1.7

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

bug in version 1.1.7

Kevin Paulus


Hello All and Merry Christmas,

I've found a bug and verified it with several of my
Slackware fanatics: it seems that Pil 1.1.7 (python 2.6.4 )

when you do a Image.open('image').show()

ImageShow seems to call every available viewer from _viewers on your
system which on mine and a lot of other systems means it builds a
separate tempfile and calls xv and display with them.

It's been reported the same stuff happens on freebsd where imagemagick's
display and xv is available, which i guess are all the available
_viewers (did some pdb on it, but my knowledge of pdb is rudimentary at
best)

I'm not sure if this is a bug but the docs mentions it should start the
default viewer (usually xv) and not viewer*s*

it's annoying to say the least.


Greetings,


goarilla


PS: Happy New year's and i hope i didn't offend anyone or didn't follow
the net etiquette, since the only mailing list I've ever used is the one
which is used at work.
_______________________________________________
Image-SIG maillist  -  [hidden email]
http://mail.python.org/mailman/listinfo/image-sig
Reply | Threaded
Open this post in threaded view
|

Re: bug in version 1.1.7

Fredrik Lundh
Yep, it's a known bug in 1.1.7.  Trivial patch here:

http://hg.effbot.org/pil-2009-raclette/changeset/355

</F>

2010/12/26 Kevin Paulus <[hidden email]>:

>
>
> Hello All and Merry Christmas,
>
> I've found a bug and verified it with several of my
> Slackware fanatics: it seems that Pil 1.1.7 (python 2.6.4 )
>
> when you do a Image.open('image').show()
>
> ImageShow seems to call every available viewer from _viewers on your system
> which on mine and a lot of other systems means it builds a separate tempfile
> and calls xv and display with them.
>
> It's been reported the same stuff happens on freebsd where imagemagick's
> display and xv is available, which i guess are all the available _viewers
> (did some pdb on it, but my knowledge of pdb is rudimentary at best)
>
> I'm not sure if this is a bug but the docs mentions it should start the
> default viewer (usually xv) and not viewer*s*
>
> it's annoying to say the least.
>
>
> Greetings,
>
>
> goarilla
>
>
> PS: Happy New year's and i hope i didn't offend anyone or didn't follow the
> net etiquette, since the only mailing list I've ever used is the one which
> is used at work.
> _______________________________________________
> Image-SIG maillist  -  [hidden email]
> http://mail.python.org/mailman/listinfo/image-sig
>
_______________________________________________
Image-SIG maillist  -  [hidden email]
http://mail.python.org/mailman/listinfo/image-sig