From: Tommy H. <th...@ch...> - 2004-06-04 16:32:31
|
Hi Rand, Do you have Visual Studio? If so, you may want to load up the master project file. There are 5 master project files, one for each version of Visual Studio: /mod_pubsub/cxx_pubsub/LibKN/VC6/VC6.dsw (Visual Studio 6) /mod_pubsub/cxx_pubsub/LibKN/VC7/VC7.sln (Visual Studio.NET 2002) /mod_pubsub/cxx_pubsub/LibKN/VC71/VC71.sln (Visual Studio.NET 2003) /mod_pubsub/cxx_pubsub/LibKN/EVC3.2k/EVC3.vcw (Embedded Visual Studio Pocket PC 2000) /mod_pubsub/cxx_pubsub/LibKN/EVC3/EVC3.vcw (Embedded Visual Studio Pocket PC 2002) Whichever you load, build LibKNCPP and LibKNCom. The most important breakpoint I would set is in the file /mod_pubsub/cxx_pubsub/LibKN/cpp/Connector.cpp. Look on line 218, which is the Connector::Subscribe call. Follow this to find out where the problem is coming from. Tommy -----Original Message----- From: ra...@ex... [mailto:ra...@ex...]=20 Sent: Thursday, June 03, 2004 4:31 PM To: Tommy Hui Cc: mod pubsub Subject: RE: [Mod-pubsub-developer] Win32 Subscribe Problem Hi Tommy, > Are you sure that the python server is running on port 8000? What I > see > is that the server is not properly returning a request ID or an empty > request ID. This is causing the failure.=20 I'm sure it's running on port 8000. Here's an active subscribe.py session from another console: C:\Dev\mod_pubsub\python_pubsub\apps>subscribe.py http://localhost:8000/kn /what /foo 10 [Sat May 29 21:34:12 2004] XXXXXXXXXX [Sat May 29 21:41:00 2004] Hello [Sat May 29 21:41:16 2004] Hello [Sat May 29 21:41:30 2004] XXXXXXXXXX [Sat May 29 21:42:00 2004] Hello [Sat May 29 21:42:24 2004] XXXXXXXXXX [Sat May 29 21:48:51 2004] XXXXXXXXXX [Sat May 29 21:49:05 2004] Hello [Sat May 29 21:49:21 2004] XXXXXXXXXX [Sun May 30 13:17:55 2004] XXXXXXXXXX [Sun May 30 13:18:11 2004] XXXXXXXXXX [Sun May 30 13:24:23 2004] XXXXXXXXXX [Sun May 30 13:25:29 2004] XXXXXXXXXX [Wed Jun 02 20:18:08 2004] XXXXXXXXXX The 'XXXXXXXXXX' messages are from publications from publish.py; the 'Hello' messages are from publications from the LibKN\Samples\vb\PubSub app. > What are the parameters you're passing to the pubsub.py server? The pubsub.py startup command that I used is this: python pubsub.py 8000 .. > Also what platform are you using? Windows XP? Windows 2000? Windows XP Thanks, Rand |