From: Tommy H. <th...@ch...> - 2004-06-04 21:52:54
|
Hi Rand, Silly questions, but... The VB pubsub test program uses http://localhost:8000/kn as its server. You will need to change the path to /what/chat. It is currently set to /what/knchat/messages, which is wrong. Also, in the test program, you will need to click on subscribe first before you will see the messages. Make sure you do that. Tommy -----Original Message----- From: mod...@li... [mailto:mod...@li...] On Behalf Of Tommy Hui Sent: Friday, June 04, 2004 9:32 AM To: ra...@ex... Cc: mod pubsub Subject: RE: [Mod-pubsub-developer] Win32 Subscribe Problem 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 ------------------------------------------------------- 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 _______________________________________________ Mod-pubsub-developer mailing list Mod...@li... https://lists.sourceforge.net/lists/listinfo/mod-pubsub-developer |