Archaeopteryx Software, Inc.
Take Flight!Search

Home
Wing IDE
News
Support
About Us
Python
Open Source
Store

 Search:
 
 Advanced Search




[wingide-users] mod_python usage

Ken Kinder kkinder@rackspace.com
25 Apr 2002 10:32:34 -0500


That doesn't seem to help. I do know that something is going on, because
names that are specific to our application are showing up in the
logfile. I'm getting this too: 

wingdbg - 2002/04/24 18:22:00 - ******************** START DEBUG
************************
wingdbg - 2002/04/24 18:22:00 - ABOUT TO INIT
wingdbg - 2002/04/24 18:22:00 - SET UP C CORE
wingdbg - 2002/04/24 18:22:00 - Connected to client
wingdbg - 2002/04/24 18:22:00 - netserver executing 0x30001
([('/home/kkinder/core/python/app/ticket/create.py', 9, 0, None, 1,
0)],)
wingdbg - 2002/04/24 18:22:00 - SERVER SIDE SET BREAKS
[('/home/kkinder/core/python/app/ticket/create.py', 9, 0, None, 1, 0)]
wingdbg - 2002/04/24 18:22:00 - setting BP at 9 in
/home/kkinder/core/python/app/ticket/create.py
wingdbg - 2002/04/24 18:22:00 - netserver sending back 0x1003 ([1],)
wingdbg - 2002/04/24 18:22:00 - netserver executing 0x12004
({'stop-timeout': 3, 'safe-size-checks-only': 1, 'use-stdin-wrapper': 1,
'use-members-attrib': 0},)
wingdbg - 2002/04/24 18:22:00 - netserver executing 0x12001 (2,)
wingdbg - 2002/04/24 18:22:00 - netserver executing 0x12005
(('function', 'builtin_function_or_method', 'class', 'instance method',
'type', 'module', 'ufunc', 'wrapper_descriptor', 'method_descriptor',
'member_descriptor', 'generator'), ())
wingdbg - 2002/04/24 18:22:00 - netserver executing 0x12006 (55, 2000,
64000)
wingdbg - 2002/04/24 18:22:00 - netserver executing 0x11004 None
wingdbg - 2002/04/24 18:22:00 - netserver sending back 0x1016
('10.1.15.46', 39433, 23409, '(unavailable)', None)
wingdbg - 2002/04/24 18:22:00 - netserver executing 0x11002 None
wingdbg - 2002/04/24 18:22:01 - ******************** START DEBUG
************************
wingdbg - 2002/04/24 18:22:01 - ABOUT TO INIT
wingdbg - 2002/04/24 18:22:01 - SET UP C CORE
wingdbg - 2002/04/24 18:22:01 - ************************* WARNING
******************************
wingdbg - 2002/04/24 18:22:01 - This process is using a random listener
port but could not
wingdbg - 2002/04/24 18:22:01 - register this port with the IDE. 
Attaching to debug this process
wingdbg - 2002/04/24 18:22:01 - will be disabled for the duration of the
run.
wingdbg - 2002/04/24 18:22:01 - To avoid this problem, alter the
configured attach request port
wingdbg - 2002/04/24 18:22:01 - (kAttachPort in wingdbstub.py) so it is
unique on your host
wingdbg - 2002/04/24 18:22:01 - ************************* WARNING
*******************************
wingdbg - 2002/04/24 18:22:01 - Could not connect to debug client
wingdbg - 2002/04/24 18:22:01 - netserver CLOSECHANNEL
wingdbg - 2002/04/24 18:22:01 - Starting non-client run
wingdbg - 2002/04/24 18:22:01 - ************************* WARNING
******************************
wingdbg - 2002/04/24 18:22:01 - This process is using a random listener
port but could not
wingdbg - 2002/04/24 18:22:01 - register this port with the IDE. 
Attaching to debug this process
wingdbg - 2002/04/24 18:22:01 - will be disabled for the duration of the
run.
wingdbg - 2002/04/24 18:22:01 - To avoid this problem, alter the
configured attach request port
wingdbg - 2002/04/24 18:22:01 - (kAttachPort in wingdbstub.py) so it is
unique on your host
wingdbg - 2002/04/24 18:22:01 - ************************* WARNING
*******************************
wingdbg - 2002/04/24 18:22:01 - Could not connect to debug client
wingdbg - 2002/04/24 18:22:01 - netserver CLOSECHANNEL
wingdbg - 2002/04/24 18:22:01 - Starting non-client run
wingdbg - 2002/04/24 18:22:01 - ####### BASEDIR:
/home/kkinder/core/python/app/ticket
wingdbg - 2002/04/24 18:22:01 - ALREADY LOADED 161 MODULES
wingdbg - 2002/04/24 18:22:01 - M ESPy.os
wingdbg - 2002/04/24 18:22:01 - M ESPy.re
wingdbg - 2002/04/24 18:22:01 - M __future__
wingdbg - 2002/04/24 18:22:01 - M ESPy.time
wingdbg - 2002/04/24 18:22:01 - M mod_python.stat

ESPy is part of our program...

On Wed, 2002-04-24 at 16:18, Stephan R.A. Deibel wrote: 
> You might set kEmbedded=1 in wingdbstub.  I believe this is needed in
> mod_python, because otherwise the debug machinery incorrectly detects
> a program exit (which also isn't handled quite correctly in that case,
> so the connection isn't closed cleanly and the IDE complains).
> 
> If that doesn't help, try setting kSilent=0 in wingdbstub and capturing
> the output.  It's likely to include something that indicates why it fails.
> You could also set kLogFile to avoid having to capture output sent to
> stderr.
> 
> Those are the first steps towards diagnosing the problem.  If that
> doesn't help, let me know and we can try looking at some other things.
> 
> - Stephan
> 
> _________________________________________________
> Archaeopteryx Software, Inc.
> Wing IDE discussion list
> http://archaeopteryx.com/support/forum
> 






Run by Mailman v 2.0.8


Copyright (c) 2000-2002, Archaeopteryx Software, Inc.
Legal Statements