Are you trying to connect directly to the AppServer (i.e.,
http://localhost:8086)? You can't do this, you must set up an adapter
first, as described in the documentation.
On Wed, 2002-07-17 at 04:29, ivan strika wrote:
>
> Hi ,
> I need some help
>
> The Situation:
>
> Loading plug-in: TaskKit at C:\Python22\Lib\site-packages\Webware\TaskKit
> Loading plug-in: UserKit at C:\Python22\Lib\site-packages\Webware\UserKit
> Loading plug-in: WebUtils at C:\Python22\Lib\site-packages\Webware\WebUtils
>
> Listening on ('127.0.0.1', 8086)
> Creating 10 threads..........
> Ready
>
> Ready
>
> 1 2002-07-16 18:59:23 Traceback (most recent call last):
> File ".\WebKit\ThreadedAppServer.py", line 287, in threadloop
> rh.handleRequest()
> File ".\WebKit\ThreadedAppServer.py", line 495, in handleRequest
> dict_length = loads(chunk)
> ValueError: bad marshal data
>
>
> anddddddddddddddddddd
>
> ttp://localhost/cgi-bin/WebKit/WebKit.cgi
>
> ERROR
>
>
> Traceback (most recent call last):
> File "c:\PROGRA~1\APACHE~1\apache\cgi-bin\webkit\webkit.cgi", line 26, in
> ?
> import WebKit.CGIAdapter
> ImportError: No module named WebKit.CGIAdapter
>
>
> Im on Windows 2000.
> Regarding following instructions
>
> mod_webkit
> n n Custom Apache module for Webware written in C
> n n Much faster than WebKit.cgi:
> n n Does not have to start the Python interpreter on every request
> n n Located in Webware/WebKit/Native/mod_webkit
> n n On Unix:
> n n use make and make install
> n n On Windows:
> n n Download precompiled mod_webkit.dll from
> http://webware.sourceforge.net/MiscDownloads/
> n n Place mod_webkit.dll into the Apache/modules directory
>
> mod_webkit continued
> n n Edit your Apache httpd.conf file:
>
> # Load the mod_webkit module
> # On windows you'd use mod_webkit.dll instead of mod_webkit.so
> LoadModule webkit_module modules/mod_webkit.so
> AddModule mod_webkit.c
>
> # Include this if you want to send all .psp files to WebKit,
> # even those that aren't found in a configured WebKit context.
> AddType text/psp .psp
> AddHandler psp-handler .psp
>
> # This sends requests for /webkit/... to the appserver on port 8086.
> <Location /webkit>
> WKServer localhost 8086
> SetHandler webkit-handler
> </Location>
>
> What should I do to make it WORK ??????
>
> Sincerely,Ivan
>
>
>
> PS:
> The process of gathering data and transforming it into a standard format
> before it is transmitted over a network so that the data can transcend
> network boundaries. In order for an object to be moved around a network, it
> must be converted into a data stream that corresponds with the packet
> structure of the network transfer protocol. This conversion is known as data
> marshalling. Data pieces are collected in a message buffer before they are
> marshaled. When the data is transmitted, the receiving computer converts the
> marshaled data back into an object.
>
> Data marshalling is required when passing the output parameters of a program
> written in one language as input to a program written in another language.
>
>
>
>
>
>
>
>
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Webware-discuss mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webware-discuss
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss