On Tue, Feb 25, 2003 at 01:20:34PM -0600, Ian Bicking wrote:
| On Tue, 2003-02-25 at 11:51, Clark C. Evans wrote:
| > Transaction - created for each http incoming request and
| > its response (thread safe storage); in Twisted this
| > is just
On Tue, Feb 25, 2003 at 01:20:34PM -0600, Ian Bicking wrote:
| > flexible. I say this beacuse I was able to do path variables
| > out-of-the-box (2 hours) with this tool; in Webware I've been
| > maintaining a patch for over a year, and this patch isn't ideal.
|
| Can you give a pointer to that
On Tue, Feb 25, 2003 at 05:18:04PM -0500, Jp Calderone wrote:
| This isn't entirely fair. TAPs may be completely irrelevant to you, if
| you're only developing with Twisted.web, but documentation about them and
| all the other features of Twisted doesn't mean Twisted's documentation
| "isn't very
On Mon, Feb 24, 2003 at 06:35:21PM -0800, Chuck Esterbrook wrote:
| On Monday 24 February 2003 05:19 am, Clark C. Evans wrote:
| > As far as the "model", I think I like the twisted model of a
| > "request" and "resource" better than Webware's model.
|
| I
On Mon, Feb 24, 2003 at 01:07:03AM -0600, Ian Bicking wrote:
| It would be kind of interesting to port Webware's servlet model to other
| application servers... I'm not sure how possible that would be. On a
| certain level it would be fairly easy, but I expect some of the ideas
| might be too diff
I was thinking of migrating to apache 2.0 sometime soon,
will mod_webkit work with apache 2.0?
___
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss
| UnpickleableError: Cannot pickle objects
| I think we're very close! Is there anything else I can do to assist?
Hmm. What types of objects are you putting in your session?
You should restrict yourself to only very simple objects.
Since the last CVS update I made I've not had any problems
at
Hello. I've been looking into this topic for a while
and I ran across the Spread project (spread.org). Anyway,
many core Python people are hanging out there so I figure
its probably the best message bus available... at least
the perl/python wrappers are already there. Anyway, I have
no clue ho
On Fri, Mar 29, 2002 at 09:00:01AM +1100, Andrew Hallam wrote:
| I'm looking at Webware as a tool to prototype a portal. There will be a
| database behind it, probably PostgreSQL
Webware+Python+PostgreSQL+Apache on FreeBSD is very stable and fast.
I've had MySQL crap out on me enough not to tr
On Sun, Mar 17, 2002 at 01:02:22PM -0500, Hancock, David (DHANCOCK) wrote:
| kill `cat /path/to/Webware/WebKit/appserverpid.txt`
*blush* I actually had a file permission wrong, so it
was hanging. kill (without the -9) works perfectly.
Sorry,
Clark
I'm trying to kill my webware process... and it
seems that "kill " no longer works. I
was wondering how to get this working again.
kill -9 works, but does this properly cleanup?
___
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourcef
On Thu, Mar 14, 2002 at 11:10:40AM -0500, Geoffrey Talvola wrote:
| Clark C . Evans wrote:
| > I know this is an older question, but what do I have to do
| > to send back gzippped content? Here is what I figure:
|
| What about mod_gzip? I'd investigate that before I tried to
| do
I know this is an older question, but what do I have to do
to send back gzippped content? Here is what I figure:
1. A function needs to be written "supportsCompression"
which examines the headers sent to determine if the
user agent accepts compressed content.
2. If the user a
On Wed, Feb 20, 2002 at 11:54:19AM -0800, Tim Roberts wrote:
|
| >Perhaps POST is different and we are both right. ;)
|
| Actually, no; I did my original with POST, and got the same results. I only
| changed it to GET so I could show the exact URL.
|
Ahh. I just checked my source, I'm giving
On Wed, Feb 20, 2002 at 10:45:51AM -0800, Tim Roberts wrote:
| >IE and Mozilla seem to choose the first button in
| >the tab order as the default.
|
| What makes you say this? I don't think it is true. I just
| tried this web page:
|
|
|
|
|
|
|
|
|
|
|
Perhaps P
|
|
|
|
The webware code already has a built-in action mechanism,
you use the name "_action_" where is the action
to be run by the servlet. You also have to put in
your actions list.
Best,
Clark
___
Webware-discuss mailing list
[EM
On Tue, Feb 19, 2002 at 02:53:38PM -0600, Ian Bicking wrote:
|
| No, rather when no submit button field was found, a default submit
| button should be assumed. IE and Mozilla will submit a form when an
| enter is hit under certain circumstances. I believe this will lead to
| the form being subm
I was wondering what this error message means
and how I can help the situation...
Thanks!
Clark
___
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss
Hello. I was wondering what incantation I need so that
my servlet's "sleep()" function is called whenever a
error is thrown?
Thanks!
Clark
___
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discus
ebKit\SessionFileStore.py", line 81, in
| __delitem__
| KeyError: 20020124174741-ecc5eec188fa20a16ab59281fd6c1964
|
| ___
| Webware-discuss mailing list
| [EMAIL PROTECTED]
| https://lists.sourceforge.net/lists/listinfo/webware-discuss
--
Clark C. Evans
Hello. I'm using Webware-0.6.1b1 and I get the following error very
sporatically... I think this has something to do with the fact that
I'm using framesets; and each of my three frames are Webware pages.
Thus, three requests can occur in parallel. I think it's more or
less sporatic (but rare) i
I was wondering how to implement compression so
that big, repetitive html files are gzipped when
downloaded. I noticed that IE 5.5 and up send
ACCEPT_ENCODING gzip, deflate AND that Mozilla
sends ACCEPT_ENCODING gzip, deflate, compress
Anyway to take advantage of this? My pages
are getting to b
On Fri, Jan 04, 2002 at 04:34:13PM -0500, Geoffrey Talvola wrote:
|
| So I assume the trouble arises because you don't want to have
| to hard-code "from V1.lib import tool"
Exactly. This would be an even worse hack, no? I suppose
with a recursive perl script I could have an automated
way to bu
ok. I've spent some serious time learning how Python
does modules, path, etc., and i have a few questions.
Let's assume my layout looks like this...
/product/V1/lib/tool.py
/product/V1/app/a/apage.py
/product/V1/app/b/apage.py
/product/V2/lib/tool.py
/product/V2/app/a/apage.py
/product/V2/app/b
Hello. Webware thus far has been very kind to me. Recently
I've had the requirement that I support two versions of the
application I am developing; one of them as "beta" for testing.
Ideally, I'd like to do this on the same box, in different
contexts. The problem is that I seem to be having conf
I have a weird situation where a "long running" (1 sec?)
page dies when Monitor.py is used, but is just fine
when Launch.py is used directly. Anyway, i've
not had luck finding the output logs for Monitor.py
and i was wondering if there are any suggestions
for how to track it down. Also, has Mon
I have a few items...
1. I have a report generated once every evening,
and I think I can get the browser to cashe this
locally by setting the Expires HTTP header, right?
Any tricks?
2. In the Page class, I'd like to see a getCreatedDate()
and getModifiedDate() methods to return
On Mon, Nov 05, 2001 at 09:27:24AM -0800, Mike Orr wrote:
| > I ask because it's an interesting question for any project. Webware
| > currently uses plain HTML, but I would consider going to a Wiki syntax
| > and either using one of the existing Python modules for this
| > (StructuredText?) or rol
On Fri, Nov 02, 2001 at 02:50:45PM -0500, Clark C . Evans wrote:
| I had another request for Monitor.py ... how do I get it
| to send its output to a log file?
Patch attached... but the log file is hard coded. This
should read from perhaps a new config file in the Configs dir?
Clark
On Fri, Nov 02, 2001 at 02:36:17PM -0500, Clark C . Evans wrote:
| On Wed, Aug 08, 2001 at 07:26:09PM -0400, Jay Love wrote:
| | In the current release, there's a program called Monitor (I think it's
| | named wkMonitor in 0.51) that will start the AppServer and then monitor
| | i
On Wed, Aug 08, 2001 at 07:26:09PM -0400, Jay Love wrote:
| In the current release, there's a program called Monitor (I think it's
| named wkMonitor in 0.51) that will start the AppServer and then monitor
| it and will retstart it if it crashes or kill it and retstart it if it
| stops respondin
Ok. I've graduated to a point where I need
to have multiple directories in my source code,
specifically, the following structure:
/opt
/webware
/WebKit
(webkit files)
/site
index.html(what you see at http://mysite.com/WK/)
SitePage.py (the base pag
On Tue, Oct 23, 2001 at 12:05:00PM -0400, Clark C . Evans wrote:
| On Tue, Oct 23, 2001 at 09:43:31AM -0400, Geoffrey Talvola wrote:
| | So I'm now 98% convinced that this is an OS bug, not a Webware bug
| | or Python bug (I'm also using Python 2.1.1). I would suggest
| | trying a newer
| Clark Evans has some issues, but they also look to be op sys or
| Python+opsys specific. He is investigating other configurations and will
| get back to us.
I'm on hold doing any further investigation until a new box
shows up here on Saturday or Monday (I hope). Then I'll
first try OpenBSD.
On Thu, Oct 25, 2001 at 09:31:05PM +0100, Andreas Poisel wrote:
| > AFAIK no one is using Cans. But if you are, this is your opportunity to
| > speak up in whatever manner you desire.
|
| I am using cans. I'm developing members administration tool for the
| Austrian Youth Hostel Association usin
Nice. Ok. I manually modified Ken's patch to
add getDbConnInfo(). This way I can provide
for dynamically generated connection information
via...
self.application.getDbConnInfo = myDbConnInfo
Clark
*** o/Application.pyTue Oct 23 17:49:44 2001
--- ./Application.pyWed Oct 24 15:26:2
To meet my requirements (I dynamically create databases)
the connection information can't be hard-coded. So if
the function "getConnectInfo()" could be added, where
this function returns the tuple (module,connect,no_conn)
the default implementation of getConnectInfo() can
read from the configurat
Ken Lalonde wrote:
| * WebKit/Application.py:
| New method: getDbConnection()
This is interesting, but I'm not sure that it should
be added to the core of WebKit since it is certainly
easy enough to add in one's SitePage.py
Your other changes sound good.
Clark
__
wOn Tue, Oct 23, 2001 at 09:43:31AM -0400, Geoffrey Talvola wrote:
| So I'm now 98% convinced that this is an OS bug, not a Webware bug
| or Python bug (I'm also using Python 2.1.1). I would suggest
| trying a newer version of Linux
I just upgraded to kernel 2.2.19 and glibc to 2.1.3,
the mos
Yes indeed. I was wondering if WebKit.cgi or mod_webkit is
properly shutting down the socket when the browser cancels
a request? If this isn't the case... then it's definately
a lower-level issue. Perhaps I'll go back one version
of Python and see if it emerges there...
On Mon, Oct 22, 2001 at
Thanks to Geoff, the problem is narrowed to a crash at
self._socket.send() call in the modified ThreadedAppServer.py:401
code below...
print "start loop"
while sent < reslen:
try:
Geoff, thank you for your help.
| What OS are you using?
Debian Potato (Linux 2.2.19)
| and which adapter are you using? Does it make a
| difference if you switch to the CGI adapter?
mod_webkit; the problem is independent of adapter.
| Does file uploading still cause Webware to abort even w
On Mon, Oct 22, 2001 at 03:02:25PM -0400, Clark C . Evans wrote:
| Suppose I have two servlets A and B. Servlet A executes a
| long-running query against PostgreSQL (1-2 seconds) and returns
| quite a bit of information. Servlet B is much smaller.
| Also suppose that I have a pipe with some
About two months ago, I was having problems where someone
started to upload a file and canceled half way through.
This causes the webware server to abort and stop processing
clients. I have a similar problem...
Suppose I have two servlets A and B. Servlet A executes a
long-running query agains
On Wed, Sep 26, 2001 at 02:41:33PM -0400, Aaron Held wrote:
| This is one of those nebulous questions that usually
| get answered with another question but here goes anyway.
Here is the chart I give my customers.
|Peak Usage | Calculated
Number of|Frequency | Number of | Hardw
This is probably the wrong forum, however, let me try.
I have an application using WebKit now that works
wonderfully in non-ssh mode. However, when I move
the application under SSH protection, any POST submits
don't make it. I was wondering if anyone has had
a similar problem and how I can solve
1. How do I check if the request is a get or post?
2. I'd rather pass my "object identifiers" and such
via url-rewriting instead of a query string.
How do I do this? i.e.
serve?type=invoice&key=345 -> serve/invoice/345
3. How do I get a good uri for the current servlet
such that
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 ignorant...)
Clark
_
On Tue, Jun 26, 2001 at 07:00:53AM -0400, Chuck Esterbrook wrote:
| MDY or DMY?
Ahh. It does not detect 20010411 ( 11-APR-2001 )
nor does it detect 2001APR11 or 11APR2001. I don't
think this is a problem since most users employ a
space, dash or slash as a separator. And... I'm
way behind on
On Tue, Jun 26, 2001 at 07:00:53AM -0400, Chuck Esterbrook wrote:
| - do you have a regression test suite for this by any chance?
A simple one is below... it's the one that I used
the second time around (when I discovered the error).
| - you mention detecting "D M Y" where they are digits. How d
able.
...
### Forgiving Date Handling
### Contributed by Clark C. Evans, (c) 2001, Xgenda, Inc.
### Redistribution and use in source and binary
### forms, with or without modification, are
### permitted without restriction.
s2d = { 'jan':1, 'feb':2, 'mar':3, 'apr
her "local" home for it.
Kind Regards,
Clark C. Evans
### Forgiving Date Handling
### Contributed by Clark C. Evans, (c) 2001, Xgenda, Inc.
### Redistribution and use in source and binary
### forms, with or without modification, are
### permitted without restriction.
s2
I was wondering how I can handle file uploads
using Webware. Sorry if it is obvious... I
read the docs and scanned the mailing lists
without any results.
Best,
Clark
___
Webware-discuss mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lis
53 matches
Mail list logo