[Webware-discuss] easiest scheduled task?

2002-05-20 Thread Rolf Hanson
Hi, I need to schedule a task that selects a bunch of email addresses from a database and then sends a specific email to them once a day, at 4 am. I looked at TaskKit, and i'm not smart enough to figure out how it works, and it looks like it might be overkill anyway, since I only am scheduling

[Webware-discuss] streaming .psp output?

2002-05-19 Thread Rolf Hanson
Is it possible to stream the output of a psp page? I have a page which sends email to a variable number of users. like: <% for user_id in user_ids : {%> <%=wmail.sendMessage(user_id,message)%> <%}%> sendMessage() returns a string that describes if the mail was a success or error. Right now, t

Re: [Webware-discuss] OT: PostgreSQL interfaces

2002-05-17 Thread Rolf Hanson
I'm not sure if pyPgSQL is actively developed. I couldn't get it to work on OSX. (my development machine is my powerbook) psycopg seems to work very well with webware. I'm using it for an e-commerce application. Rolf On Friday, May 17, 2002, at 12:10 AM, Edmund Lian wrote: > > The leading Pos

Re: [Webware-discuss] starting webware at boot

2002-05-16 Thread Rolf Hanson
I'll probably use Bill's suggestion until I can figure out a script for restarting webware via daemontools. (already using daemontools to control qmail) On a related note, is there a way to set up daemontools to send a notification when a daemon dies and restarts? I suppose this is a topic fo

[Webware-discuss] starting webware at boot

2002-05-16 Thread Rolf Hanson
Does anyone have a good script for starting webware at system boot, on RedHat? If not, I can put something together and post to the list. (or post somewhere else) Rolf ___ Have big pipes? SourceForge.net is looking for download mirr

[Webware-discuss] sendRedirect as POST

2002-05-09 Thread Rolf Hanson
Hi, I've been doing various types of web programming for a while, and one thing I've always been too lazy to look up or try to do, is have a redirect function, that does a POST instead of passing variables in the URL string. I haven't seen this out of the box on any system I've used (aolserver

Re: [Webware-discuss] use of .PSP without Webware

2002-05-03 Thread Rolf Hanson
On Friday, May 3, 2002, at 10:17 PM, Ian Bicking wrote: > On Fri, 2002-05-03 at 16:08, Rolf Hanson wrote: >> Hi, > > MiddleKit, TaskKit, and all the other *Kits are optional components, > which aren't tied in very closely to the rest of the system. The core > of WebKit

[Webware-discuss] use of .PSP without Webware

2002-05-03 Thread Rolf Hanson
Hi, I have built a relatively simple e-commerce application using Webware. I'm about to release it, and am code reviewing what I have done so far. It appears that I'm not really using anything from Webware itself, other than .PSP. I.e. I'm pretty much just using .PSP files to call a custom py

Re: [Webware-discuss] DB Connection Pulling

2002-05-02 Thread Rolf Hanson
At the risk of sounding stupid, how are you folks doing this type of testing? I.e. how are you telling for certain that the connections are being allocated in a round-robin fashion? Thanks, Rolf On Thursday, May 2, 2002, at 10:10 PM, [EMAIL PROTECTED] wrote: > > David Hancock wrote: > >>> My

[Webware-discuss] Tarball of webware-discuss archive?

2002-02-04 Thread Rolf Hanson
Is there anywhere I can download the entire webware-discuss archive? Rolf ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss

[Webware-discuss] Automatic documentation

2002-02-04 Thread Rolf Hanson
What do people suggest for automatic documentation (ala JavaDoc)? I'm looking at pythondoc right now, and it seems broken, or at the very least, lacking documentation. What are other people using? Rolf ___ Webware-discuss mailing list [EMAIL PROTECTED

[Webware-discuss] .PSP session weirdness

2002-02-03 Thread Rolf Hanson
Hi, I'm experiencing some problems with sessions and .psp pages. I'm running apache+mod_webkit+webware 0.6.1b1 on freeBSD. My server is running on an internal subnet, using IP based virtual hosting. The useful bits of my httpd.conf are here: WKServer localhost 8086 SetHandler webkit-handler

[Webware-discuss] Returning multiple vars to PSP page

2002-01-27 Thread Rolf Hanson
Hi, I'm trying to write a function which will automagically return multiple variables to a .PSP page. I'm a relative newbie to python so I'm not sure if there is an easy way to do this. Here's what I'm trying to do: I made a function called db1Row() that given a query returns a dictionary. Thus

[Webware-discuss] Virtual domains, different contexts

2002-01-25 Thread Rolf Hanson
Hi, I'm using Webware + mod_webware + apache. I used MakeAppWorkDir to generate a workdir outside of the webware directory. My webware is here: /web/webware My webware workdir is here: /web/workdir I want to do this: http://cp.foobar.com -> /web/workdir/ControlPanel http://admin.foobar.com ->

Re: [Webware-discuss] Avoiding jarring changes to variable names

2002-01-24 Thread Rolf Hanson
On 1/24/02 8:12 AM, "Geoffrey Talvola" <[EMAIL PROTECTED]> wrote: > > SQL may not be case-sensitive, but all SQL databases I've used (Access, MS > SQL Server, MySQL) are in fact case-preserving. So you can name your tables > and columns FooBar and use them in your code as FooBar, and they will

[Webware-discuss] Easiest way to grab HTTP_HOST from page

2002-01-17 Thread Rolf Hanson
In my SitePage class, what is the easiest way to grab the HTTP_HOST field from my http request? Rolf ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss

[Webware-discuss] IRC channel?

2002-01-17 Thread Rolf Hanson
Is anyone interested in setting up a Webware IRC channel on the open projects network? IRC is a useful method of getting quick answers to configuration problems. I'll sit around on #webware to see if anyone else shows up. Take a look at http://www.openprojects.net/irc_servers.html for a list of s

Re: [Webware-discuss] Python 2.2 + Webware

2002-01-16 Thread Rolf Hanson
I'm successfully running WebWare + Python 2.2 in a development environment. On 1/16/02 11:51 AM, "Ng Pheng Siong" <[EMAIL PROTECTED]> wrote: > On Tue, Jan 15, 2002 at 04:23:01PM -0500, Geoffrey Talvola wrote: >> From eyeballing your message, it looks like there might be Python 2.2 >> compatibil