Re: [Webware-discuss] webware on Linux VServer

2006-11-14 Thread Randall Smith
Randall Smith wrote: I'm trying to get webware going on VServer, but I'm getting the error below. Listening on ('127.0.0.1', 8086) Ready (0.36 seconds after launch) Listening on ('127.0.0.1', 8080) ('192.168.1.203', 8080) Traceback (most recent call last): File /usr/local/lib

Re: [Webware-discuss] webware on Linux VServer

2006-11-14 Thread Randall Smith
Randall Smith wrote: I'm trying to get webware going on VServer, but I'm getting the error below. Listening on ('127.0.0.1', 8086) Ready (0.36 seconds after launch) Listening on ('127.0.0.1', 8080) ('192.168.1.203', 8080) Traceback (most recent call last): File /usr/local/lib

[Webware-discuss] Starting as user webware with environment variables

2004-08-18 Thread Randall Smith
My webkit setup requires certain environment variables to be set up in order to use Oracle. I'm starting webkit (using the included script) as user webware, but environment variables are not set, so the webkit instance cannot access the Oracle libraries. I can put the environment variables

Re: [Webware-discuss] threading, objects, initialization, xmlrpcservlet, my ignorance

2004-06-21 Thread Randall Smith
Michael Palmer wrote: Randall Smith wrote: Michael Palmer wrote: Randall Smith wrote: It parses text files that contain lab results, manipulates the data, then uploads it to a database. Interesting. I have to keep track of lab data, too. It would be great if you could make this available when

[Webware-discuss] Using session storage without the cookies

2004-06-21 Thread Randall Smith
This came out of a previous thread I started. I'm using XMLRPC and I want to take advantage of Webware's session storage without using cookies. What I have in mind is to generate a unique id, store and retrieve variables using that unique id. Basically everything about sessions but the

Re: [Webware-discuss] threading, objects, initialization, xmlrpcservlet, my ignorance

2004-06-20 Thread Randall Smith
Michael Palmer wrote: Randall Smith wrote: I'm writing an app that uses the XMLRPCServlet class. I'm writing my app so that the 'business' logic is completely unaware of Webware or XMLRPC. A class called LabRat contains all of the business logic. does this name mean that the app is somehow

[Webware-discuss] threading, objects, initialization, xmlrpcservlet, my ignorance

2004-06-18 Thread Randall Smith
don't take it that way. I like Webware most because it is simple/powerful just like Python. I guess that's saying it is Pythonic. These are all things I think are important to understand to write solid apps. Randall Smith --- This SF.Net

[Webware-discuss] webware as general app server for web/xmlrpc/soap ?

2004-03-24 Thread Randall Smith
I am working on a project in which I have chosen to use xmlrpc. As I set out to look for an app server, I wanted one that would allow code changes without restarting the process(es) and one that is non-blocking. I considered building my own from the Python standard library, and I considered

[Webware-discuss] file fubared and I don't know what happened.

2003-12-27 Thread Randall Smith
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm running the current version of webkit on Debian. I noticed that a certain view on my website was unavailable and I investigated. This is what I found. The permissions on a file have changed to the following: cr-srwS-wt 29797 1919903063

Re: [Webware-discuss] Session Question

2003-08-14 Thread Randall Smith
On Mon, 2003-08-11 at 00:32, Randall Smith wrote: I've been having a session problem. It happens when a session times out. Here is the scenario: 1. User surfs happily with no problems then waits a while. 2. Session times out (I believe). 3. User request handled by displatch servlet (Index.py). 4

[Webware-discuss] Session Question

2003-08-11 Thread Randall Smith
I've been having a session problem. It happens when a session times out. Here is the scenario: 1. User surfs happily with no problems then waits a while. 2. Session times out (I believe). 3. User request handled by displatch servlet (Index.py). 4. Dispatch servlet (Index.py) sets value in

[Webware-discuss] Performance Concern

2003-07-26 Thread Randall Smith
I'm having some performance problems. It seems that when a servlet takes a long time to service a request, no other requests are completed until it finishes. The case in which I observed this behavior: I have a servlet that takes input and sends an email using smtplib. Today I had network

[Webware-discuss] Newbie Help

2003-07-19 Thread Randall Smith
Hi, I'm having trouble understanding a certain aspect of webware/python. Here is what I'm trying to do. Three files are involved: SitePage.py, View.py, View.psp (These aren't the real names.) SitePage.py -- View.py -- View.psp View.py inherits from SitePage and View.psp inherits from

[Webware-discuss] file placement

2003-06-15 Thread Randall Smith
Below is my directory structure for my webware application. + webware_dir |- 404Text.txt |- AppServer |- Launch.py |- WebKit.cgi |- address.txt |- appserverpid.txt |-+ Cache/ |-+ Configs/ |-+ ErrorMsgs/ |-+ Logs/ |-+ Sessions/ |-+ lib/ | |- SitePage.py | |- db.py | |- quickSearch.py |-+

[Webware-discuss] file placement

2003-06-15 Thread Randall Smith
Below is my directory structure for my webware application. + webware_dir |- 404Text.txt |- AppServer |- Launch.py |- WebKit.cgi |- address.txt |- appserverpid.txt |-+ Cache/ |-+ Configs/ |-+ ErrorMsgs/ |-+ Logs/ |-+ Sessions/ |-+ lib/ | |- SitePage.py | |- db.py | |- quickSearch.py |-+

[Webware-discuss] file placement

2003-06-15 Thread Randall Smith
Below is my directory structure for my webware application. + webware_dir |- 404Text.txt |- AppServer |- Launch.py |- WebKit.cgi |- address.txt |- appserverpid.txt |-+ Cache/ |-+ Configs/ |-+ ErrorMsgs/ |-+ Logs/ |-+ Sessions/ |-+ lib/ | |- SitePage.py | |- db.py | |- quickSearch.py |-+

[Webware-discuss] file placement

2003-06-15 Thread Randall Smith
Below is my directory structure for my webware application. + webware_dir |- 404Text.txt |- AppServer |- Launch.py |- WebKit.cgi |- address.txt |- appserverpid.txt |-+ Cache/ |-+ Configs/ |-+ ErrorMsgs/ |-+ Logs/ |-+ Sessions/ |-+ lib/ | |- SitePage.py | |- db.py | |- quickSearch.py |-+

[Webware-discuss] automatic html validation help

2003-06-05 Thread Randall Smith
I'm trying to configure webware to use the html validation. I've installed the wdg validation software and now I'm stuck on the SitePage configuration. I'm new to Python and Webware and probably just showing my ignorance, but here is an explanation of my problem. When I override the

[Webware-discuss] new confused user

2003-03-02 Thread Randall Smith
I've been looking for a better way to write web applications. I've used asp/vbscript and then moved to php on apache/linux. I used the webkit adapter and setup a seperate application directory and it works fine. I added a psp handler in the apache configuration and it works OK too. What I'm

[Webware-discuss] php convert - need guidance

2003-02-22 Thread Randall Smith
I've used php for 1 year and I think it's great, but I'm trying to improve my programming methods and find php is not sufficient for my needs. I've played around with python and I really like its syntax, ease of use, oo design, among other things. I've found myself doing oo in php, trying to