Bugs item #2124553, was opened at 2008-09-23 16:23 Message generated for change (Comment added) made by oleg_noga You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104866&aid=2124553&group_id=4866
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: WebKit Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Oleg Noga (oleg_noga) Assigned to: Nobody/Anonymous (nobody) Summary: windows service hangs Initial Comment: Webware-0.9.4 Webware-1.0rc1 Microsoft Windows server 2003 SP2 Webkit works fine as standalone application. But when webkit started as service, it hangs sometimes. When trying to stop the service have this exception in event viewer: The instance's SvcRun() method failed File "C:\Programs\Python25\lib\site-packages\win32\lib\win32serviceutil.py", line 785, in SvcRun self.SvcDoRun() File "C:\Programs\Webware-1.0rc1\WebKit\AppServerService.py", line 226, in SvcDoRun sys.stdout.flush() <type 'exceptions.IOError'>: [Errno 9] Bad file descriptor Thanks! ---------------------------------------------------------------------- >Comment By: Oleg Noga (oleg_noga) Date: 2008-09-29 18:38 Message: I have no windows vista nearby, But it's ok under windows 2000 sp4, windows XP sp2, sp3 I am using pywin32-210.win32-py2.5.exe I have made no changes to AppServerService.py webkit.log is writeable by SYSTEM webkit.log attached As i discovered, log allways finishes on first login.py servet execution from my 'wm' context. Reason is that reload(sys) code executed in static login.py initialization. This resets sys.std* to it's initial values. I have fixed this by saving sys.std* in local variable while reloading module. Now log is ok and I think that this issue must be gone. Thank You for support and sory for not enough investigating before submitting. File Added: webkit.log ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2008-09-29 18:17 Message: This bug a ---------------------------------------------------------------------- Comment By: Christoph Zwerschke (cito) Date: 2008-09-23 18:21 Message: Thanks for the bug report, but I cannot reproduce it here on Win XP. Do you have access to Win XP or Vista? Can you reproduce the problem there (I currently cannot access any Win2003 server machine)? Other questions: What pywin32 version are you using? Did you change anything in AppServerService.py? If not, a log should be created at C:\Programs\Webware-1.0rc1\WebKit\Logs}webkit.log. Is that location writable, and what is in your log file? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104866&aid=2124553&group_id=4866 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Webware-devel mailing list Webware-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-devel