/home/fetchinson/pyzui/pyzui/tilestore.py:22: DeprecationWarning: the
sha module is deprecated; use the hashlib module instead
import sha
Yeah, I'd noticed that. It's fixed in the repository now.
On Dec 16, 10:55 pm, Daniel Fetchinson fetchin...@googlemail.com
wrote:
PyZUI 0.1 has been
Personally I see a merging of normal app windows and a zui: some kind of new
window manager.
Have you seen Eagle Mode[1]?
[1] http://eaglemode.sourceforge.net/
On Dec 17, 5:14 pm, Donn donn.in...@gmail.com wrote:
On Wednesday 16 December 2009 07:03:19 David Roberts wrote: It involves
and employs pyramidal tiling for efficiency
\me ... time to hit Wikipedia :)
It involves scaling an image to various resolutions, and partitioning
them into fixed-size tiles. It's roughly the same technique used by
Google Maps/Earth.
It is very cool, but I would inject a note of caution
PyZUI 0.1 has been released:
http://da.vidr.cc/projects/pyzui/
On Dec 15, 12:29 pm, David Roberts d...@vidr.cc wrote:
Hi,
Yes, the toolkit used is PyQt. The ZUI is implemented using a simple
QPainter, and employs pyramidal tiling for efficiency (I haven't used
any Qt/KDE voodoo
with the pdftoppm utility.
The project is opensource (GPLv2), but just hasn't been published
yet :) . I'll try to make a release over the next few days, and I'll
post a link here when I do.
--
David Roberts
http://da.vidr.cc/
On Dec 15, 10:33 am, Donn donn.in...@gmail.com wrote:
On Tuesday 15
David Roberts d...@vidr.cc added the comment:
I think I've narrowed it down to the ImageQt class provided by PIL -
commenting out the reference to this (in the constructor of the Tile
class referenced by TileProvider.run) stops the errors.
So how do I go about determining where the problem
David Roberts d...@vidr.cc added the comment:
Ok, so if it's a bug in (Py)Qt then I'm not going to worry about it.
I've managed to fix the issue in my case anyway, by (essentially) replacing:
image = Image.open(fname)
image.load()
tile = ImageQt(image)
with (the much more obvious
To the best of my knowledge the second way is more pythonic - the
first is a little too reminiscent of C. A couple of notes:
- you don't need the parentheses around i, e
- if you were going to use the first way it's better to use xrange
instead of range for iteration
--
David Roberts
http
David Roberts d...@vidr.cc added the comment:
thread.get_ident() returns 1192 and 1560 in the cases where there is no
error, and 1316 in the case where the error is thrown. Doesn't seem
particularly unusual, and shows get_ident() isn't throwing the error itself.
I also noticed
David Roberts d...@vidr.cc added the comment:
I haven't been able to isolate the issue. Could someone provide some
insight into what the error could possibly mean so that I have a better
idea of what I'm trying to isolate?
--
___
Python tracker rep
David Roberts d...@vidr.cc added the comment:
If I comment out all occurrences of with self.__lock: I then get the
same error in another part of the code:
C:\Python26\lib\threading.py:803: RuntimeWarning: tp_compare didn't
return -1 or -2 for exception
return _active[_get_ident()]
Exception
David Roberts d...@vidr.cc added the comment:
Yes, it is the PIL library. Removing calls to Image.open() still results
in the same error - the exception is thrown before it even reaches that
bit of the code anyway.
Another odd thing is that the exception is only thrown on some of the
calls
Changes by David Roberts d...@vidr.cc:
Added file: http://bugs.python.org/file14568/tilestore.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6562
Done: http://bugs.python.org/issue6562
--
David Roberts
http://da.vidr.cc/
On Fri, Jul 24, 2009 at 20:24, Gabriel Genellinagagsl-...@yahoo.com.ar wrote:
En Fri, 24 Jul 2009 01:27:10 -0300, David Roberts d...@vidr.cc escribió:
I'm trying to port a Python application to Windows, and I'm
New submission from David Roberts d...@vidr.cc:
I'm getting the following error on Windows in an application I've
written (the error does not occur on Linux):
Exception in thread Thread-4:
Traceback (most recent call last):
File C:\Python26\lib\threading.py, line 525, in __bootstrap_inner
15 matches
Mail list logo