Re: [Webware-discuss] WebKit at WWW

2001-05-29 Thread Chuck Esterbrook
At 07:08 AM 5/29/2001 -0700, Mike Orr wrote: On Tue, May 29, 2001 at 07:26:10AM -0400, Chuck Esterbrook wrote: It's been on my list to give it a better name and possibly put it somewhere else. Maybe WebKit/Aux/webkit_init aux is a device name in Windows (at least 95/98), so any tarball

[Webware-discuss] cvs update: MK SQLLog option

2001-05-29 Thread Chuck Esterbrook
MK previously spewed all it's SQL statement to stdout. The new default behavior is not to log anything. You can affect this by creating a Settings.config in your Foo.mkmodel directory. The User's Guide has full docs on Settings.config, but here some quick examples, so you get the idea: {

RE: [Webware-discuss] Problems with import in package generated by MiddleKit

2001-05-31 Thread Chuck Esterbrook
At 02:29 PM 5/31/2001 +, Sasa Zivkov wrote: Thanks Chuck! The tip to put directory that contains the middle directory into the sys.path solved the problem! This should be put into MK documentation I think. Also putting '../../' into GenXXX.py seems to be out of use I played a little with

RE: [Webware-discuss] Problems with import in package generated by MiddleKit

2001-05-31 Thread Chuck Esterbrook
At 03:04 PM 5/31/2001 +, Sasa Zivkov wrote: Well you said your app works, right? What does os.getcwd() give you in your app? os.getcwd() gives: /usr/local/lib/python2.1/Webware/WebKit which is directory where I started AppServer from. Well then '../../' would be:

RE: [Webware-discuss] Problems with import in package generated by MiddleKit

2001-05-31 Thread Chuck Esterbrook
At 03:23 PM 5/31/2001 +, Sasa Zivkov wrote: from middle.video import video in GenVideo is now working not because of ../../ but because (based on your tip) I put the middle's parent directory into sys.path I can comment out the line that inserts ../../ into sys.path in GenVideo.py and from

Re: [Webware-discuss] database connection timeout

2001-06-02 Thread Chuck Esterbrook
At 02:19 PM 6/2/2001 +0800, sskau wrote: Dear All: i have a long-running WebKit servlet that constantly acess the MySQL database (with class and instance caching enabled). I store the datbabase connection obj in the servlet instance (like self.db = MySQLdb.connect()). After one day,

Re: [Webware-discuss] Apache-1.3.19 and mod_webkit?

2001-06-08 Thread Chuck Esterbrook
At 04:44 AM 6/9/2001 +0200, Tom Schwaller wrote: I updated one of my systems to Mandrake 8.0 where I have apache-1.3.19 running now. Unfortunately mod_webkit does not work anymore. I get connection time outs. Any ideas? Has anybody apache-1.3.19 and mod_webkit working together? The output you

Re: [Webware-discuss] NamedValueAccess.valueForName does not raise exception

2001-06-08 Thread Chuck Esterbrook
At 11:47 AM 6/5/2001 +, Sasa Zivkov wrote: As I understand general principle is that if you do not specify a default value then exception is raised. valueForKey works according to this principle but valueForName does not: Good catch. You are right. valueForName() should throw an exception

Re: [Webware-discuss] Problem in SecurePage

2001-06-18 Thread Chuck Esterbrook
At 12:34 PM 6/18/2001 +0200, Albert Brandl wrote: This problem has occured when someone loaded data from a form, processed them and tried to upload them again after the session had expired. The Application presented him with a session expired message, but processed part of the data, which leaved

Re: [Webware-discuss] ModPythonAppServer

2001-06-18 Thread Chuck Esterbrook
At 11:36 AM 6/18/2001 -0700, Robin Dunn wrote: Is anybody using ModPythonAppServer to run WebKit? I havn't been able to get it to work, when I connect to the configured URL I get an exception from mod_python: Can't say that I have. My guess is that few have and that it has fallen into

Re: [Webware-discuss] problem getting to CVS

2001-06-27 Thread Chuck Esterbrook
At 10:45 AM 6/27/2001 -0400, Dave Seidel wrote: I'm trying to log in to the CVS server using CVSROOT=:pserver:[EMAIL PROTECTED]:/cvsroot/webware (based on the info on SourceForge) but when I do cvs login and press Enter for the password prompt I get the message Unknown host

Re: [Webware-discuss] Index Weirdness

2001-06-28 Thread Chuck Esterbrook
At 11:58 AM 6/28/2001 +0100, David O'Callaghan wrote: I can't seem to track down where slashes are being added... Any thoughts on this? Someone else reported this after Robin Dunn's MakeAppWorkDir mods, also claiming that the problem did not exist prior to that. Robin, do you have any

[Webware-discuss] Re: Template processing

2001-07-02 Thread Chuck Esterbrook
At 09:10 PM 7/2/2001 -0400, David Goodger wrote: (Webware also contains Python Server Pages. Same code? Just same name? I don't know.) Not the same code. And the Webware version has substantially more features the last time I checked. My personal favorite templating system is Cheetah. It was

Re: [Webware-discuss] Calling a function in another servlet

2001-07-02 Thread Chuck Esterbrook
At 09:22 AM 6/27/2001 -0400, Clark C . Evans wrote: I'd like to encapsulate all of the code for dealing with one database table in a single servlet. Thus, from other servlet's, I'd like to be able to call a method in another servlet. Is there an easy way to do this? (sorry if this is

Re: [Webware-discuss] RTFM (Was: [Slightly off-topic] Cookies driving me mad (Was: MiddleKit: Something wrong with list of Object?)

2001-07-02 Thread Chuck Esterbrook
At 05:31 PM 6/28/2001 +0200, F. GEIGER wrote: is the reason, because of *The first servlet will not be able to send any new response data once the call to forwardRequest returns* Sorry for bothering you all. So much for the response I just sent out. :-) Although I still think it

Re: [Webware-discuss] MiddleKit Questions

2001-07-02 Thread Chuck Esterbrook
At 01:38 PM 7/1/2001 -0700, haaserd wrote: I looked over Generate.py and DataTable.py a bit. Seems like whatever data DataTable.py is trying to provide should be captured earlier by Generate.py and placed in a module in the GeneratedPy/ directory. This would eliminate the problem of trying to

Re: [Webware-discuss] uri() and action

2001-07-04 Thread Chuck Esterbrook
At 10:41 PM 7/3/2001 -0500, Ian Bicking wrote: Of course, there's a much easier hack that works currently. In Webware/WebKit/Configs/Application.config set ExtraPathInfo to 1. Then you can use request().extraURLPath() to get that extra part. Your servlet will have to interpret it however you

RE: [Webware-discuss] HELP

2001-07-09 Thread Chuck Esterbrook
Please do a [Reply All] in the future so that responses also go to webware-discuss. I'm not the only person who answers questions. Read more below: At 05:47 PM 7/9/2001 -0700, Russell Blank wrote: Operating system = Windows 2000 Professional Python = ActivePython 2.1, build 211 (ActiveState)

Re: [Webware-discuss] ModPython problems

2001-07-10 Thread Chuck Esterbrook
At 02:51 PM 7/10/2001 -0700, larry a price wrote: Hi, i'm trying to get WebWare 0.5 working with mod_python i keep on getting this ImportError: module _apache not found when trying to launch the ModPythonAppServer, mod_python seems to work fine on it's own, the only thing i can see is that there

RE: [Webware-discuss] HELP

2001-07-10 Thread Chuck Esterbrook
At 11:05 AM 7/10/2001 -0700, Russell Blank wrote: Thank you for your help on my problem... The very first problem you get is the slew of warnings from Freeze that no standard modules can be located. Is it possible that you have a Freeze.py that doesn't work properly with Python 2.1? Does

Re: [Webware-discuss] Problems running on OpenBSD ...

2001-07-10 Thread Chuck Esterbrook
At 10:54 AM 7/6/2001 -0700, Aleksandar Kacanski wrote: Loading context: MKBrowser at /opt/Webware/Webware/MiddleKit/WebBrowser Loading plug-in: MiscUtils at /opt/Webware/Webware/MiscUtils Loading plug-in: PSP at /opt/Webware/Webware/PSP snipsnip--snip---

Re: [Webware-discuss] Session cookies vs. Mozilla 0.9.1

2001-07-10 Thread Chuck Esterbrook
At 09:37 PM 7/5/2001 -0700, John Reese wrote: Sure nuff, CountVisits and SecureCountVisits work fine on IE, as on NN 4.6. The rundown is thus: CountVisits and SecureCountVisits, WebWare 0.5 == works with IE 6.0 works with NN 4.6 does not work with Mozilla 0.9.1 for PowerPC; cookies appear

Re: [Webware-discuss] Cookie Webkit

2001-07-11 Thread Chuck Esterbrook
At 07:19 AM 7/11/2001 -0700, Mike Orr wrote: On Wed, Jul 11, 2001 at 03:36:30PM +0200, Gilles Poidevin wrote: except: Are you sure the exception is what you think it is (cookie not set)? A bare except: will catch any exception. It's better to explicitly state which exception you're

Re: [Webware-discuss] best way to autostart the app server

2001-07-11 Thread Chuck Esterbrook
At 06:58 PM 7/11/2001 -0400, David Casti wrote: Chuck, Thanks for your email. I have Webware auto starting, and it runs fine, but I still can't seem to get any useful logging info out of it unless I run it from the command line. There must be something simple I'm missing, like a flag to

[Webware-discuss] cvs update: MK type and value checking

2001-07-11 Thread Chuck Esterbrook
In a phrase: type and value checking In a sentence: Accessor methods such as setFoo() now do type checking and value checking on their arguments. Details: ... So you can't pass in a string for a boolean: obj.setSomeBool('s') # raises TypeError Some numeric compatibility is allowed:

Re: [Webware-discuss] cvs update: MK type and value checking

2001-07-12 Thread Chuck Esterbrook
At 12:37 AM 7/12/2001 -0500, Ian Bicking wrote: Chuck Esterbrook [EMAIL PROTECTED] wrote: Also: MiddleKit assumes that if you have DateTime, it is in the mx package, as in: from mx import DateTime On my Debian system it installs mxDateTime directly in the path, as in import

Re: [Webware-discuss] cvs update: MK type and value checking

2001-07-12 Thread Chuck Esterbrook
At 02:05 PM 7/12/2001 -0500, Ian Bicking wrote: Seems to be 1.3.0. Debian has a mxdatetime package, not a general mx package. All it should take is a try: from mx import DateTime except ImportError: import DateTime I think the DateTime name is only used by mx. Alright. I'll look at

Re: [Webware-discuss] cookie webkit (again)

2001-07-13 Thread Chuck Esterbrook
At 09:16 AM 7/13/2001 +0200, Lutz Steinborn wrote: Good morning, this what a have figured out last night too. I Had this problem months ago with a different enviremont. And the only solution I've found was the same like you have done. So is where anybody here who has succesfully used

Fwd: Re: [Webware-discuss] Cookies

2001-07-13 Thread Chuck Esterbrook
X-Sender: [EMAIL PROTECTED] X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 To: [EMAIL PROTECTED], [EMAIL PROTECTED] From: Chuck Esterbrook [EMAIL PROTECTED] Subject: Re: [Webware-discuss] Cookies Sender: [EMAIL PROTECTED] X-BeenThere: [EMAIL PROTECTED] X-Mailman-Version: 2.0.3 List-Help: mailto

Re: [Webware-discuss] Content-Type and Page.py of WebKit

2001-07-13 Thread Chuck Esterbrook
At 06:52 PM 7/13/2001 +0200, Gilles Poidevin wrote: I'd like to override Page.py of WebKit to write XML. But the default content-type is always Content-Type: text/html. How do you do to have a Content-Type: text/xml? self.response().setHeader('Content-Type:', 'text/xml') should do the trick.

[Webware-discuss] Re: Testing, Why does this not work

2001-07-18 Thread Chuck Esterbrook
At 12:25 PM 7/18/2001 +0800, Bruce Pearson /or Gwyn Ingham wrote: I am just testing WebWare. With this simple test page I get an assertion error. What am I doing wrong? (Test.py) from Page import Page from WebKit.Page import Page -Chuck ___

Re: [Webware-discuss] streaming from Servlets

2001-07-19 Thread Chuck Esterbrook
At 12:49 AM 7/19/2001 -0700, John Reese wrote: I'm using Webware 0.5, Apache, and ModPythonAdapter on Linux. Debian. 2.2. Linux 2.2.16. But none of that matters, except the ModPythonAdapter part. And see, the other parts *did* matter, like the version of Webware you are using. :-)

Re: [Webware-discuss] streaming from Servlets

2001-07-19 Thread Chuck Esterbrook
I think Jay added streaming *after* 0.5. Try CVS. I use that and I get streaming just fine. https://sourceforge.net/cvs/?group_id=4866 At 12:49 AM 7/19/2001 -0700, John Reese wrote: Hi. I'm using Webware 0.5, Apache, and ModPythonAdapter on Linux. Debian. 2.2. Linux 2.2.16. But none of

Re: [Webware-discuss] success story wanted

2001-07-19 Thread Chuck Esterbrook
At 03:08 PM 7/19/2001 +0200, Raimund Jakobsmeyer wrote: currently i am evaluating webware. looks really cool !! my boss wants to know about success stories before we can start a new project with webware. here comes some important questions: 1. does the webkit vers 1.0 really comes in july

Re: [Webware-discuss] buglet with ExtensionsToIgnore vs Emacs numbered backups

2001-07-19 Thread Chuck Esterbrook
I see emacs is causing more problems. ;-) The prior problem had to do with syntax highlighting and multiline Python strings that use ''' single quotes '''. I think the ultimate solution to this problem would be an ExtensionsToServe setting, which would be a lot more safe than

Re: [Webware-discuss] buglet with ExtensionsToIgnore vs Emacs numbered backups

2001-07-19 Thread Chuck Esterbrook
At 09:37 AM 7/19/2001 -0500, Ian Bicking wrote: Chuck Esterbrook [EMAIL PROTECTED] wrote: I see emacs is causing more problems. ;-) The prior problem had to do with syntax highlighting and multiline Python strings that use ''' single quotes '''. Which, by the way, is still used

[Webware-discuss] cvs update: UserKit

2001-07-25 Thread Chuck Esterbrook
UserKit does better checking that the manager of a user is a bona fide UserManager, and that you don't create two users with the same name. Thanks to Titus for pointing these out. -Chuck ___ Webware-discuss mailing list [EMAIL PROTECTED]

Re: [Webware-discuss] Webware/Webkit and development environments

2001-07-25 Thread Chuck Esterbrook
At 10:44 AM 7/23/2001 -0400, Geoff Talvola wrote: My advise would be to just set up totally separate copies of the app server for each developer to avoid these problems. Contexts are not isolated enough from one another to allow what you're trying to do. You can look into the

Re: [Webware-discuss] index.psp

2001-07-25 Thread Chuck Esterbrook
At 09:31 PM 7/25/2001 -0400, Chuck Esterbrook wrote: At 04:33 PM 7/24/2001 -0700, John Reese wrote: If this has already been fixed in an rc or in CVS, so much the better. I don't know if it has as I don't use or develop ModPythonAdapter. Hopefully one of the developers more familiar

Re: [Webware-discuss] question about forms processing

2001-07-25 Thread Chuck Esterbrook
At 09:44 AM 7/20/2001 -0700, Craig Kattner wrote: When processing a form using actions (as registered through actions()) it looks to me like the appropriate action handler is called in the place of writeBody() by writeHTML(). Is this the case? How do action handlers work? The docs suggest

RE: [Webware-discuss] Webware/Webkit and development environments

2001-07-26 Thread Chuck Esterbrook
At 09:02 AM 7/26/2001 +0200, Mark Gebhardt wrote: Thanks Chuck It seems to be working fine with the few developers that we have. Obviously though, on larger projects (say 10/15 developers +) this will become prohibitive due to the disk space and time consumed in setting up all the separate

Re: AW: [Webware-discuss] COM Kit and OneShot

2001-10-01 Thread Chuck Esterbrook
At 07:06 PM 10/1/2001 +0200, F. GEIGER wrote: Had to download a snapshot from CVS. Thanks you and best regards Franz P.S.: webware.sourceforge.net looks already a bit outdated as it still offers 0.5.1 rc3 for download. When will there be official releases again? Not that I am not happy with the

Re: [Webware-discuss] Middlekit and MySQL set() fields

2001-10-02 Thread Chuck Esterbrook
At 12:38 PM 10/2/2001 +0200, Thomas Kumlehn wrote: I want to transform an SQL-only application to a MiddleKit python based one. Some of the already existing tables heavily use the set(..) feature of MySQL for all kinds of flags. Note: It's internally stored as a bitfield of up to 32 named boolean

[Webware-discuss] Binaries and sample configs for Windows users

2001-10-03 Thread Chuck Esterbrook
MS Windows users can pick up binary versions of mod_webkit and wkcgi here: http://webware.sourceforge.net/MiscDownloads/ForCVS/Windows/ These should work with Webware out of CVS. There is also a sample httpd.conf and webkit.conf. If you have any problems or questions, direct them to this

Re: [Webware-discuss] unhandled error in webware

2001-10-04 Thread Chuck Esterbrook
At 11:58 AM 10/2/2001 -0400, Geoff Talvola wrote: I also get errors (but they are different errors) when I run AsyncThreadedHTTPServer.py on my machine. So you're not the only one having problems. I thought we agreed earlier that AsyncThreadedHTTPServer.py was experimental and no longer

Re: [Webware-discuss] Question about self.response().sendRedirect()

2001-10-04 Thread Chuck Esterbrook
At 02:44 PM 10/4/2001 -0500, Ian Bicking wrote: A while ago I wrote up something along those lines: http://www.colorstudy.net/software/webware/Anatomy.html This URL times out for me. So does www.colorstudy.net ___ Webware-discuss mailing list

Re: [Webware-discuss] shared sessions /or/ storing values in application()

2001-10-05 Thread Chuck Esterbrook
At 02:52 PM 10/5/2001 -0400, Matt Feifarek wrote: Is there some way to do this in webkit? I see that the Page.application() doesn't have any value-oriented methods. We certainly intended to make it easy to subclass Application, but haven't quite achieved that yet. One easy option would be to

Re: [Webware-discuss] Webware component (subwindow in page)

2001-10-22 Thread Chuck Esterbrook
At 04:30 PM 10/22/2001 +0200, [EMAIL PROTECTED] wrote: Questions: a) has Webware community such Class ? Not directly in Webware. I cooked up something like this for a project, but there are so many choices involved, I wasn't sure about putting it directly in WebKit. I'm sure there is general

Re: [Webware-discuss] Webware death...

2001-10-23 Thread Chuck Esterbrook
At 06:00 PM 10/23/2001 -0400, Clark C . Evans wrote: Chuck, Thanks. I'm setting up an OpenBSD box and will try to get everything running on it. Best, Ack! I've had reports of serious threading problems from a Webware user on OpenBSD. It was reported by Aleksandar Kacanski on 7/11/01 who

[Webware-discuss] cvs update: Async*.py gone

2001-10-24 Thread Chuck Esterbrook
I have removed AsyncThreadedAppServer.py and AsyncThreadedHTTPServer.py due to the fact that they were problematic and we were unable to get them to be consistently stable. This shouldn't be any surprise as [a] we talked about this before and [b] I removed references to them from the

Re: [Webware-discuss] tiny fix for MiddleKit/Design/SQLGenerator.py

2001-10-25 Thread Chuck Esterbrook
At 02:04 PM 10/25/2001 +0200, Thomas Kumlehn wrote: out.write('show tables\n\n') should read out.write('show tables;\n\n') so the commands can also be used in an interactive copy/paste mysql session. Then a new problem arises: mysql GeneratedSQL\Create.sql ... ERROR 1065 at line 772: Query

Re: [Webware-discuss] Cans

2001-10-25 Thread Chuck Esterbrook
At 09:31 PM 10/25/2001 +0100, Andreas Poisel wrote: I am using cans. I'm developing members administration tool for the Austrian Youth Hostel Association using Webware, HTMLgen and PostgreSQL. I use cans for a database connection pool and some caching stuff and it works great. Will the Cans

Re: [Webware-discuss] The 0.6 Release, Distributions and Applications

2001-10-25 Thread Chuck Esterbrook
At 04:28 PM 10/25/2001 +, [EMAIL PROTECTED] wrote: Chuck Esterbrook [EMAIL PROTECTED] wrote: I assume that 0.6 will: -- * fix the console hanging and socket binding problems that Jeff's been working on Those are either op sys or Python problems

Re: [Webware-discuss] struggling with apache/mod_webkit/WebKit.cgi

2001-10-25 Thread Chuck Esterbrook
At 06:48 PM 10/25/2001 +0200, Thomas Kumlehn wrote: Hi Pros, Until recently I still launched AsyncThreadedHTTPServer But now I encounter more and more strange problems and want to switch to the recommended WebKit.cgi/OneShot.cgi approach. How to I setup my httpd.conf for the .cgi's or even

Re: [Webware-discuss] plans for Webware after 0.6?

2001-10-25 Thread Chuck Esterbrook
At 10:10 AM 10/25/2001 -0700, Tavis Rudd wrote: Python uses SIGS with communication via email lists and PEPs. Zope uses 'projects' with communication via wikis. Both approaches have worked wonderfully in some cases and failed miserably in others. I feel some time invested now in setting up

Re: [Webware-discuss] plans for Webware after 0.6?

2001-10-25 Thread Chuck Esterbrook
At 03:04 PM 10/25/2001 -0700, Tavis Rudd wrote: On Thursday 25 October 2001 14:53, Chuck Esterbrook wrote: At 12:15 PM 10/25/2001 -0700, Tavis Rudd wrote: * what to do with one-shot Say what? I was paraphrasing you: - We often use OneShot.cgi for development and while it works

Re: [Webware-discuss] Design Question

2001-10-26 Thread Chuck Esterbrook
At 03:50 PM 10/26/2001 +0200, F. GEIGER wrote: How would you do? Would you clone (reinvent) the Invoice class as - let's say NonMkInvoice - for data acquisition and copy the data from it to Invoice when it comes to save the Invoice to the db? Or is there a better alternative? Couldn't you save

Re: [Webware-discuss] Design Question

2001-10-26 Thread Chuck Esterbrook
At 07:24 AM 10/26/2001 -0700, Chuck Esterbrook wrote: dict = invoice.__dict__ for key in dict.keys(): if key.startswith('_mk_'): del dict[key] print dict Woops. How about: dict = invoice.__dict__.copy() So you don't

[Webware-discuss] Webware Wiki

2001-10-27 Thread Chuck Esterbrook
The Webware Wiki is in full effect. There is a link to it in the sidebar of the home page. There is also a new news item about it on the home page. I hope that some of the major Webware personalities like Jay, Geoff, Tom and others will be able to add a page here and there. That includes users

[Webware-discuss] Webware 0.6b1 released

2001-10-28 Thread Chuck Esterbrook
The home page has been updated with a link and a news item: http://webware.sourceforge.net/ You can download directly from here: http://prdownloads.sourceforge.net/webware/Webware-0.6b1.tar.gz I have tested with Python 2.1.1. I'm especially interested in hearing about tests with

Re: [Webware-discuss] Webware 0.6b1 released

2001-10-28 Thread Chuck Esterbrook
At 08:49 AM 10/29/2001 +0200, Ivar Zarans wrote: Here it stops, no Installation is finished message. My configuration: OS: Linux Debian 2.2 Kernel: 2.2.19 Python: 1.5.2 And therein lies the problem. The install program mysteriously quits for Python 1.5.2 with no error message.

Re: [Webware-discuss] Webware 0.6b1 released

2001-10-28 Thread Chuck Esterbrook
At 09:31 AM 10/29/2001 +0200, Ivar Zarans wrote: On Sun, Oct 28, 2001 at 11:11:43PM -0800, Chuck Esterbrook wrote: My configuration: OS: Linux Debian 2.2 Kernel: 2.2.19 Python: 1.5.2 And therein lies the problem. The install program mysteriously quits for Python

[Webware-discuss] 0.6 To Do

2001-10-30 Thread Chuck Esterbrook
Here is my list of things left to do for the final 0.6 release. I'll try to capture all of these in a 0.6b3 release which will also be announced to the Python news group. 0.6 TO DO o paul boddie import problem - I e-mailed a suggestion o app.serverSidePath() seems broken

[Webware-discuss] Signing your Wiki and disappearing Wiki links

2001-10-30 Thread Chuck Esterbrook
Someone wrote this: http://webware.colorstudy.net/twiki/bin/view/Webware/ApacheIntegration But there is no signature, which would have been good Wiki style. Since we don't have user accounts, I don't think we can ever know. Everyone is the WikiGuest. Also, why was the search feature removed

Re: [Webware-discuss] Auto detection of extensions bug?

2001-10-30 Thread Chuck Esterbrook
At 11:17 PM 10/30/2001 -0600, Ian Bicking wrote: Maybe because there's an ambiguity of what file you are calling -- test.tmpl or test.py. When you give the extension it is unambiguous. I thought Webware would ignore the unregistered extension, though. Actually, it's the other way around. You

Re: [Webware-discuss] Auto detection of extensions bug?

2001-10-30 Thread Chuck Esterbrook
At 01:47 AM 10/31/2001 -0500, [EMAIL PROTECTED] wrote: Hmmm... seems like it might be useful to collect these little gotchas together. Is the Wiki the right place for this? If so, I can begin the compilation process... Would this be useful to everyone? ...Edmund. The Wiki is definitely a great

Re: [Webware-discuss] Viewing sourcecode with PyDoc

2001-10-31 Thread Chuck Esterbrook
Just a note that Webware uses py2html and PyFontify which we grabbed from other sources. Although we have made the slightest of mods to these which might be useful in general. We also have an original PySummary.py so you can see the interface of a class at a glance, sans docs and code. You

Re: [Webware-discuss] New properties in 2.2

2001-11-01 Thread Chuck Esterbrook
At 12:55 PM 11/1/2001 -0800, Mike Orr wrote: On Thu, Nov 01, 2001 at 12:40:27PM -0600, Ian Bicking wrote: I don't know who all noticed it, but Python 2.2 seems to add a feature to make individual attribute accesses fully dynamic -- i.e., with a getter, setter, and deleter. This potentially

Re: [Webware-discuss] an informal WEP: refactoring webware's package layout and component system

2001-11-01 Thread Chuck Esterbrook
At 02:06 PM 11/1/2001 -0800, Tavis Rudd wrote: THE PROBLEM --- Webware's package layout / component system needs refactoring for the following reasons: * it relies too heavily on a particular

Re: [Webware-discuss] Out-of-order page rendering

2001-11-01 Thread Chuck Esterbrook
At 02:43 PM 11/1/2001 -0800, Tavis Rudd wrote: On Thursday 01 November 2001 14:16, Chuck Esterbrook wrote: At 03:57 PM 11/1/2001 -0600, Ian Bicking wrote: In Cheetah, this actually wouldn't be a big deal, since it captures output fairly easily (with DummyTransaction). Using a template

Re: [Webware-discuss] an informal WEP: refactoring webware's package layout and component system

2001-11-01 Thread Chuck Esterbrook
At 05:33 PM 11/1/2001 -0600, Ian Bicking wrote: Chuck Esterbrook [EMAIL PROTECTED] wrote: * no namespace pollution: only 1 name is exposed in PYTHONPATH rather than 8! I don't think names like MiddleKit and UserKit are pollution. Again, this enables us to take out or put

Re: [Webware-discuss] New properties in 2.2

2001-11-01 Thread Chuck Esterbrook
At 05:40 PM 11/1/2001 -0600, Ian Bicking wrote: I think dictionaries make for pretty decent sets. Just like lists make for decent stacks and queues (well, once we got the thread-safe .pop()). In MiddleKit if you were to specify the type of an attribute as a dictionary, you would immediately

Re: [Webware-discuss] an informal WEP: refactoring webware's package layout and component system

2001-11-01 Thread Chuck Esterbrook
At 03:54 PM 11/1/2001 -0800, Tavis Rudd wrote: - a Webware component is simply a Python package with some additional conventions sure, but we shouldn't stipulate that the docs must be written in the same form as Webware's (HTML). I'm thinking from the perspective of Cheetah's docs here.

Re: [Webware-discuss] Using Webware with Python2.2

2001-11-02 Thread Chuck Esterbrook
At 02:06 PM 11/2/2001 -0500, Su Zhang wrote: File WebKit\Transaction.py, line 126, in die delattr(self, attrName) AttributeError: Transaction instance has no attribute '__doc__' BTW, I didn't get such message with Python 2.1. Someone reported that delattr() was broken in Python

Re: [Webware-discuss] Using Webware with Python2.2

2001-11-02 Thread Chuck Esterbrook
At 02:06 PM 11/2/2001 -0500, Su Zhang wrote: Traceback (most recent call last): File WebKit\ThreadedAppServer.py, line 252, in threadloop rh.handleRequest() File WebKit\ThreadedAppServer.py, line 505, in handleRequest transaction.die() File WebKit\Transaction.py, line 126, in

Re: [Webware-discuss] an informal WEP: refactoring webware's package layout and component system

2001-11-02 Thread Chuck Esterbrook
At 06:17 PM 11/1/2001 -0800, Tavis Rudd wrote: My argument isn't to do with what's provided, but rather who is responsible for providing it. It would make more sense to me for the component to install some docs to a central Webware location when its setup.py is run. That way no assumptions are

Re: [Webware-discuss] Installer: Docs Directory Scanning

2001-11-09 Thread Chuck Esterbrook
On Thursday 08 November 2001 07:41 am, [EMAIL PROTECTED] wrote: I noticed one thing about Webware 0.6b2 which seems unfortunate, although it may have been around before without me ever noticing it: if a package sits in the plug-ins directory (ie. the Webware root directory by default) and it

Re: [Webware-discuss] Release Information

2001-11-11 Thread Chuck Esterbrook
On Friday 09 November 2001 02:31 am, [EMAIL PROTECTED] wrote: Hello, I noticed on the following page that We're shooting for a 1.0 release in July of 2001. http://webware.sourceforge.net/More.shtml Clearly, this isn't the case any more, but should there be a link to the Wiki's ToDo

[Webware-discuss] Mail archives

2001-11-07 Thread Chuck Esterbrook
I have learned that the mail archives for the list (in raw mbox format) *** as a 12MB download *** are kept here: http://lists.sourceforge.net/archives/webware-discuss.mbox/webware-discuss.mbox I assume -devel is likewise. If anyone wants to pretty these up in a browsable, possibly

Re: [Webware-discuss] A few patches

2001-11-12 Thread Chuck Esterbrook
On Tuesday 23 October 2001 03:30 pm, Ken Lalonde wrote: Here's a set patches to Webware (CVS as of today), which I hope will be useful to others. The changes are: * WebKit/Session.py: Improve security by making the session identifier harder to guess. Accepted. I put the

Re: [Webware-discuss] approach to db connection pooling

2001-11-12 Thread Chuck Esterbrook
On Monday 12 November 2001 11:15 am, Aaron Held wrote: Now if I could only close the connections cleanly... Have you tried atexit? http://www.python.org/doc/current/lib/module-atexit.html Also, does anything bad actually happen if the connection gets dropped? I would think such a

Re: [Webware-discuss] Did anybody add HTML/XML/XSL:FO/PDF to MiddleKit Klasses ?

2001-09-28 Thread Chuck Esterbrook
At 02:54 PM 9/28/2001 +0200, Thomas Kumlehn wrote: Did anybody add methods for outputing to HTML/XML/XSL:FO/PDF to MiddleKit Klasses ? Would be nice to keep such functionaly in the same .py file. Is it a stupid Q? Most questions aren't stupid, but some questions need more clarification. You

Re: [Webware-discuss] Application.py limitations

2001-11-25 Thread Chuck Esterbrook
On Thursday 15 November 2001 04:17 pm, Ian Bicking wrote: On Thu, 2001-11-15 at 17:21, Sascha Matzke wrote: My suggestion is that we move the file system stuff were it (IMO) belongs - into the ServletFactories that handle physical files. There does seem to be a concensus that URL mapping

Re: [Webware-discuss] General inquiry

2001-11-25 Thread Chuck Esterbrook
On Saturday 17 November 2001 03:51 pm, Darryl VanDorp wrote: userkit seems to be not quite complete enuf as it uses middlekit for it's RDBMS persistance and middlekit is not feature complete yet. While MiddleKit has its flaws, I'm currently using it for multiple projects some of which are in

Re: [Webware-discuss] General inquiry

2001-11-25 Thread Chuck Esterbrook
On Sunday 25 November 2001 06:00 pm, Darryl wrote: Can middlekit do deletes? Yes, Geoff implemented them a month or 2 ago. I don't know if the docs are updated or not -Chuck ___ Webware-discuss mailing list [EMAIL PROTECTED]

Re: [Webware-discuss] SetHeader help - SOLVED

2001-11-27 Thread Chuck Esterbrook
On Monday 19 November 2001 07:06 am, Aaron Held wrote: This was just a typo (that caused me a few hours of grief) I had written self.response().setHeader('Content-Type:','application/octet-stream') The Content-Type has a ':' after it. I took that out and made it lowercase and all is well.

Re: UserKit (was: Re: [Webware-discuss] General inquiry

2001-11-27 Thread Chuck Esterbrook
On Tuesday 20 November 2001 01:00 pm, Ian Bicking wrote:  * a user-info interface (passwd-change, personal data, etc)  * web-based and command-line management interfaces that allows quick  drill-downs on users/groups and addition/update/suspension/deletion  of those users/groups No,

Re: [Webware-discuss] SetHeader help - SOLVED

2001-11-28 Thread Chuck Esterbrook
On Wednesday 28 November 2001 06:38 am, Aaron Held wrote: I would vote for some type of warning rather then an exception. In the past I've had the occation to make up my own headers. -Aaron Yeah, but do you put colons at the end of your made up headers? I'm doubtful that it's a legal

[Webware-discuss] logging into admin pages

2001-11-28 Thread Chuck Esterbrook
Using Mozilla and Konqueror, I cannot log into the admin pages for WebKit. Can someone else give this a try with these browsers and/or IE? -Chuck ___ Webware-discuss mailing list [EMAIL PROTECTED]

Re: [Webware-discuss] installation problem on linux

2001-11-28 Thread Chuck Esterbrook
On Wednesday 28 November 2001 06:47 am, david harris wrote: finally getting round to messing with Webware about (18 months after first dowmloading it!) and I am getting the following error, after installing under SuSE 7.2 usiung apache 1.3.19, and when trying to access the test page at

[Webware-discuss] Re: logging into admin pages

2001-11-28 Thread Chuck Esterbrook
On Wednesday 28 November 2001 08:34 pm, Chuck Esterbrook wrote: Using Mozilla and Konqueror, I cannot log into the admin pages for WebKit. Can someone else give this a try with these browsers and/or IE? -Chuck Disregard. The problem magically went away. -Chuck

[Webware-discuss] Webware 0.6 beta 3 released

2001-11-29 Thread Chuck Esterbrook
Changes since 0.6 beta 2: - WebKit - Works with Python 2.2 now. [Chuck] - Minor refinements to webkit UNIX startup/shutdown script. [Chuck] - Session ids are harder to guess. [Ken L] - Improvements to SecurePage when used with forms. [Geoff T] - When using SessionFileStore, session

[Webware-discuss] Reload problem on Linux

2001-11-29 Thread Chuck Esterbrook
On Windows, I develop WebKit sites with IE OneShot.cgi and simply hit reload after I make changes. Everything works fine. However, on Linux, both Mozilla and Galeon always give back the same page when I reload even though they seem to churn through the CGI script. Konqueror gives me back a

Re: [Webware-discuss] MiddleKit Problems

2001-10-07 Thread Chuck Esterbrook
At 01:27 AM 10/7/2001 -0500, Ian Bicking wrote: Of course, no one actually writes that clause. They write something like state = '%s' and %s = %s and duration 60 % (NJ, extension, , 60), or something of that sort. So it kinda sucks any way you do it. Perhaps they would write:

[Webware-discuss] 0.6a1 delayed 1 day

2001-10-07 Thread Chuck Esterbrook
...due to technical difficulties (with my computing environment, not Webware). fyi -Chuck ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss

Re: [Webware-discuss] Cached modules

2001-10-08 Thread Chuck Esterbrook
At 01:46 PM 10/8/2001 +0100, tom smith wrote: Is there a better way to make changes and have them ripple through instantly? Have you investigated OneShot.cgi? See the WebKit Install Guide. Basically, I use OneShot.cgi for development. Then I use mod_webkit for testing and deployment. -Chuck

Re: [Webware-discuss] Another More general Question

2001-10-08 Thread Chuck Esterbrook
At 01:26 PM 10/8/2001 +0100, tom smith wrote: So I've generated my Taxonomy db and python code and one of the modules is called Category.py. In general OO design terms, should I add a writeBody() method to Category.py, which maybe gets the id from the SEARCH_ARGS or create a CategoryPage.py

Re: [Webware-discuss] HTTPS (off-topic)

2001-10-08 Thread Chuck Esterbrook
At 10:32 AM 10/8/2001 -0700, Robert Rickenbrode wrote: Hey folks, I find myself in need of being able to speak HTTPS in Python on Windows. The docs say that one needs to recompile Python to activate this, so I was wondering: 1. Does anyone know if this has been done for Python 2.1.1; or, 2.

[Webware-discuss] Webware 0.6a1

2001-10-08 Thread Chuck Esterbrook
The first alpha of Webware 0.6 is hereby released. You can find it at: http://chuckesterbrook.com/python/webware/Webware-0.6a1.tar.gz Please report all problems to [EMAIL PROTECTED] Include Webware ver, Py ver, web server ver, op sys ver and browser ver. If running the app server, please

Re: [Webware-discuss] need for restarting app server?

2001-10-09 Thread Chuck Esterbrook
At 08:42 AM 10/9/2001 +0100, tom smith wrote: However, a solution comes with it: For development, we use OneShot.cgi which launches the application from scratch each time. For testing and deployment, we use a faster adapter such as mod_webkit, mod_python, WebKit.cgi, etc. Simply, how do

  1   2   3   >