ValueError when resetting the BusyCursor

Martin Schulze joey at infodrom.org
Sun Apr 11 19:36:14 CEST 2004


Martin Schulze wrote:
> Hi,
> 
> I noticed that when I utilise wxBeginBusyCursor() and
> wxEndBusyCursor() in order to help the user understand that Thuban is
> doing something when talking to a remote WMS resource,
> Thuban/UI/view.py emits an error
> 
>   File: ".../Thuban/UI/view.py", line 206, in _do_redraw
>     if self.render_iter.netxt():
> ValueError: generator already executing

For what it's worth, this also happens when I use Thuban{Begin,End}BusyCursor.

I read a comment in Thuban/UI/common.py:

    In addition to calling wxBeginBusyCursor this function also calls
    wxSafeYield to make sure that the cursor change takes effect. wxGTK
    2.4 at least doesn't do that automatically.

This doesn't seem to be the case anymore with wxWidgets 2.4.2.4
(libwxgtk2.4-python, Debian unstable)

Regards,

	Joey

-- 
Life is too short to run proprietary software.  -- Bdale Garbee




More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)