[wxPython-users] EVT_QUERY_END_SESSION not firing?
Robin Dunn
robin at alldunn.com
Wed Jan 2 16:58:45 PST 2008
James Vecore wrote:
> The EVT_QUERY_END_SESSION event doesn't seem to be working for me. I'm
> using python 2.4.3 on windows xp sp2 / windows xp 64-bit with wxPython
> version '2.8.4.2 (msw-ansi)'. My script is below. I'm testing this
> script by logging into another machine, opening a command prompt and
> running this command line:
>
> python h:\QueryEndSession.py > h:\stdout.txt 2> h:\stderr.txt
>
> Then I log out. My Python scripts exits right after clicking the log off
> button despite all the time.sleep calls, which tells me none of my event
> handlers are being called. Also checking the content of stdout.txt after
> the logout is complete also yields unexpected results, as none of the
> print statements in my event handlers are executing.
>
> I'm not sure what I'm doing wrong.
This is a known bug that I haven't yet been able to track down the cause
of. Something somewhere is derailing the end session events.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list