RE: Win32 Subscribe Problem
"Tommy Hui" <[email protected]> Fri, 4 Jun 2004 09:32:14 -0700
| Newsgroups | gmane.comp.web.mod-pubsub.devel |
|---|---|
| Message-ID | <E7DA6EF8691B59409C6CB48E524E291404E6C2@w2k3-exchange.home.chhuoii.com> |
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: [email protected] [mailto:[email protected]] 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. 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 ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504