If you were using a port number of 8, it was probably broken for
three years. The TCP port number is a 16 bit value which limits you to
64K. For reference, see section 3.1 of rfc 793
http://www.faqs.org/rfcs/rfc793.html Source and Destination ports are
16 bits.
The new code uses the socka
Looks pretty sharp.
For what it's worth, when I put up the 0.8 release on SF, I checked into
getting it running with a OneShot adapter, but the SF servers were not
compatible with it. It turns out there is some sort of bug that results
in various segfaults with some math functions. In particu
Tripp Lilley wrote:
On Wed, 26 Feb 2003, Chuck Esterbrook wrote:
Matt,
That's a good point, but my advice is to not wait for any surveys or
other events to pull together particular efforts. If you have an
interest, and especially the code to go with it, feel free to start
somethi
Frank Barknecht wrote:
Webware in general has proven to be very stable to me. What is missing
in Webware, is a general solution to user management. UserKit, at
least with file storage, is pre-alpha and not useably at all.
SecurePage is not general enough. For example, I didn't find it very
easy to
I just applied most of the patch for If-Modified-Since support in
HTTPServlet, and UnknownFileTypeServlet.
I have not implemented the PSP support from patch 608957, because I
wanted some further input on how best to deal with IMS functionality on
PSP pages.
The patch suggested a method which a
Ian Bicking wrote:
I added Webware to PyPI (http://www.python.org/pypi)
Ian
Cool. Hey, I noticed you categorized it with a status of "Production /
Stable" while both Freshmeat, and SF still list it as "Beta"
Should be roll this up to a "Production/Stable" releas?
Also, in the 0.8 rel
If you don't want to bother with updating the html, just update the
.txt. When we build the next release, we need to make sure and update
the html anyway.
Docutils from CVS is what Ian was using, and what I used as well.
Although very likely slightly different versions... ;-(
When we discusse
Here are some issues that came up along with the release of 0.8
The download mirror seems to require that Chuck be the one do upload
information. Also I noticed that it was last updated with release 0.6,
should we just dump this altogether? Does anyone use it?
The python-web-modules list seem
I took a stab at the auto-version numbering, rolling the version to X.Y.
The release notes files RelNotes-X.Y.html have all been created and are
basically empty ready to be filled in for the next release. We can
re-name them when we get ready to build a new release.
There is now a bin/setversi
From this quote on, Emacs syntax highlighting is in string mode. so
code appears highlighted as a string. For more info see:
http://www.etsimo.uniovi.es/python/emacs/python-mode/faq.html
Anyway, I would contend that using a single quote for punctuation is
much more common than havi
Ian Bicking wrote:
On Tuesday, February 11, 2003, at 08:31 AM, Geoffrey Talvola wrote:
Sounds fine to me. It might be useful for someone to summarize the
differences between ThreadedAppServer and NewThreadedAppServer --
it's been
in there so long that at this point, I can't remember what the
This may have been discussed before, but it seems like there has been an
effort to move to tripple single quotes rather than tripple double-quotes.
What is the reason for this direction? Editors like Emacs have
difficulty with the syntax highlighting when the number of quotes don't
match up. U
Jason Hildebrand wrote:
On Tue, 2003-02-11 at 08:29, Geoffrey Talvola wrote:
Stuart Donaldson [mailto:[EMAIL PROTECTED]] wrote:
In preparing the 0.8 release, rolling the version numbers in
the release
was one of the painful parts, because of all the places that
In preparing the 0.8 release, rolling the version numbers in the release
was one of the painful parts, because of all the places that they occur.
I created a script to do this, but it was fairly specific. It would be
nice to have a more general solution.
One suggestion is to tag the version nu
Is it time to adopt the NewThreadedAppServer?
It had been suggested that after the 0.8 release, we would go through
and do some cleanups such as this one that had the potential to
introduce some compatibility problems but in doing so we could then get
some more run-time using the new code.
Th
I plan to release 0.8 this weekend, after successful beta period.
I have created a Release-0_8-Support branch in CVS to allow me to update
the branch seperate from the main development trunk in CVS.
Are there other packages that some of you maintain that should be
updated or at least have a b
Are any of the Webware developers (or anyone else for that matter)
interested in going to OSCON and the Python 11 conference in Portland
this summer?
Zope appears to be prominently featured, and I think Webware provides
some useful solutions in cases where Zope may not be the best choice.
Prop
unless there are
problems specific to the 0.8 beta changes.
Any comments?
-Stuart Donaldson-
---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Thanks... I'll update it in the next build.
-Stuart-
Roger Haase wrote:
Webware/_README claims to be 0.6.1b1.
Webware/Docs/Overview.html claims to be 0.7 under Summary Information
near the end.
Webware/Docs/Overview.html doesn't list 0.8 under Release Notes near
the end.
Webware/MiddleKit/Do
Aaron Held wrote:
If someone wants to propose a NonPersistentMemory store as an
experimental feature, I could see including it. But I want to
release 0.8b2 on Wednesday, and I would like ot to be a final beta
prior to release.
What is meant by NonPersistentMemory?
Are we talking about when
Ian Bicking wrote:
On Tue, 2003-01-28 at 20:29, Stuart Donaldson wrote:
** Regarding the SessionMemoryStore and saving to disk. **
It appears unlikely from the e-mail thread that many people are using
the SessionMemoryStore relying on the save to disk behavior. The
direction I
I am trying to stick to the plan outlined a couple weeks ago on the 0.8
release. The goal being to get the mostly stable current development
version in CVS released as 0.8 in the near future.
There are a couple of recent issues that I wanted to touch on.
** Regarding the Page.writeDocType()
Ian Bicking wrote:
On Mon, 2003-01-27 at 12:03, Stuart Donaldson wrote:
Having a couple of examples in the documentation is good.
Or possibly having named alternates which could be invoked by a servlet
in its own writeDoctype() method could ba a way to go.
Perhaps having a
ely my opinion that it
is not a good candidate for the 0.8 release.
Thanks for the patch. I will try to get it addressed shortly after the
0.8 release if nobody else jumps up and does it.
-Stuart Donaldson -
---
This SF.NET email is spon
Ian Bicking wrote:
On Sun, 2003-01-26 at 12:11, Matt Feifarek wrote:
> IE and Moz both change their behavior depending on the
doctype. They are
> better or worse at rendering stylesheets for example,
depending on the
> doctype.
>
> My suggestion would be to have 3 or 4 good doctype strings,
a
?
Jay
-Original Message-
From: Geoffrey Talvola [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 27, 2003 11:12 AM
To: 'Stuart Donaldson'; Webware devel
Subject: RE: [Webware-devel] Apache 2 support for mod_webkit and release
0 .8
We've been using mod_webkit2 on Windows for ove
I just noticed that we don't mention the Apache 2 support with
mod_webkit2 in the release notes.
How confident are we in the support? Is it experimental? Is it pretty
stable?
I'd like to add a blurb to the release notes of Webware, and WebKit
regarding the Apache 2 support, sounds like this c
Given the comment in the writeDocType method, is it possible that the
fix of removing a default DocType should be re-considered?
What does it mean that some versions of Mozilla acted strangely?
Mozilla has been under active development and made significant progress
in bug-shooting. Perhaps
Ian Bicking wrote:
On Sat, 2003-01-25 at 16:19, Stuart Donaldson wrote:
In essence, Fazal Majid's patch which he included in the bug report is:
#self.chars = string.replace(self.chars,'\t','t')
#self.chars = string.replace(self.chars, &
Roger Haase wrote:
--- Stuart Donaldson <[EMAIL PROTECTED]> wrote:
Awake and sleep are both called while in the forward() call to a new
servlet. The forwarding servlet (the one calling forward()) does not
finish processing until after the forward() call is through,
Previously, I hadn't had a chance to do much with bug 655531 regarding
javascript escapes in PSP.
http://sourceforge.net/tracker/index.php?func=detail&aid=655531&group_id=4866&atid=104866
However I just took a look at it, as I have some javascript to
incorporate into my PSP in the near future.
Just a heads-up for the developers out there that might have a change in
the works.
I am planning on putting 0.8b1 up on the web site later on this evening.
Also I have created a HomPage module in CVS which mirrors the home page
on SF. I plan to update the web site to be a checked-out copy o
Ian Bicking wrote:
On Mon, 2003-01-20 at 00:46, Stuart Donaldson wrote:
I am a little uncomfortable with the fact that I couldn't duplicate your
HTML from the released docutils, but had to resort to the current snapshot.
I think the docutils release is a bit o
I have taken a pass through the documentation, and updated some things
based on CVS changelog information.
A key area of the documentation I feel unqualified to address very far,
is the Future section of WebKit in particular. This has many issues
listed, but some may no longer be applicable, o
ay 17 January 2003 03:29 pm, Stuart Donaldson wrote:
For example, Ian was going to do a review on the
serverSideInfoForRequestNewAlgorithm code, and had also been doing some
documentation. Is there anything you want to try and get in before I
cut the 0.8 beta branch? Geoff? Chuck? Anybody
I am a little uncomfortable with the fact that I couldn't duplicate your
HTML from the released docutils, but had to resort to the current snapshot.
I recommend that we either use the standard release, incorporate the
snapshot we're going to use into our CVS tree much like what appears to
have
The plan has been to get changes in by the end of this week, and then
shoot for a beta release early next week.
Several of you have been doing some follow-ups on bugs and patches, and
some miscelaneous cleanups and reviews. I wanted to thank you for doing
a great job.
This is a follow up with
ore time on this, I'd leave it alone for
this release.
If you do want to clean this up, then let's get rid of the "from PSPReader
import *". Importing * is almost always a bad idea, and this shows why --
you can't easily tell what ServletWriter is using from PSPReader, if
anyt
Can we get rid of PSPReader? It appears to be obsolete.
In its place, StreamReader.PSPReader is used.
-Stuart-
---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit
The psp:include should work just like includeURL. It was fixed in last
nights CVS snapshot, but was not fixed in the urlfix2 patch.
-Stuart-
Luke Holden wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Thursday 16 January 2003 04:56 pm, Luke Holden wrote:
Stu, it looks l
Ian Bicking wrote:
On Thu, 2003-01-16 at 16:35, Stuart Donaldson wrote:
Hmm... that is correct. I'd rather leave it up to the servlet to deal
with this, especially if we end up putting more stuff in the servlet
anyway. Specifically, HTTPServlet can send a redirect
Ian Bicking wrote:
On Thu, 2003-01-16 at 12:21, Stuart Donaldson wrote:
Ian,
One difference I found in the new algorithm vs old algorithm was when
passed a directory without a trailing '/' the old algorithm returns the
directory relying on dispatchRequest() to send
sk the
servlet if it supported ExtraPathInfo, and if it did not, call the
handleBadURL.
Stuart Donaldson
Alerton Technologies Inc.
---
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by i
I applied the includeURL patches with a few modifications. Thanks to
Luke for your help and for testing this.
In the process, I discovered a couple of anomolies that I wanted to
bring up.
The forward() method runs through dispatchRequest(). If the URL is a
directory that does not end in a '/
> -Original Message-
> From: Ian Bicking [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 15, 2003 1:08 PM
> To: Webware devel
> Subject: [Webware-devel] ExtraURLPath
>
>
> I'm going to review the New algorithm, as used by ExtraURLPath. These
> are the things I want to do:
>
> * Ha
cvs.sourceforge.net is currently closed to public access reference:
https://sourceforge.net/docman/display_doc.php?docid=2352&group_id=1#cvs
I have placed a tarball of todays CVS version of Webware on the summary
page. You can grab it and use it to test any patches.
http://sourceforge.net/projec
To anybody with experience with some of the older Webware bugs/patches
on SF.
There are several old bugs and patches that may likely no longer be
applicable. Some of them were entered by Chuck or Geoff before the 0.7
release.
I am not familiar with all of these older issues, is there a chan
Ian Bicking wrote:
> On Wed, 2003-01-15 at 00:42, Stuart Donaldson wrote:
..
> > Setting ExtraPathInfo=1 so that you use the new algorithm.
> > Then try to access a URL /WK/foo/bar
> >
> > The first result I get is that an error trying to import
> the exception
Luke Holden wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tuesday 14 January 2003 10:17 pm, Stuart Donaldson wrote:
Or maybe includeURL should just be include(), and that we really do not
pass a URL into it, but a relative file location, relative to the
current servlets
Ian,
You have a much better grasp on the
serverSideInfoForRequestNewAlgorithm code than I do. Any chance you can
look into this problem?
Setting ExtraPathInfo=1 so that you use the new algorithm.
Then try to access a URL /WK/foo/bar
The first result I get is that an error trying to import th
The PSPDocs.psp example fails with its use of includeURL, both with the
new patch on SF as well as without it.
The problem is executing in the PSPExamples context, which maps to the
PSP/Examples directory. The URL it attempts to include is
../Docs/UserGuide.html which, when translated through
inute, as well as an agreement/consensus
on any further changes we might want for this release.
-Stuart-
> -Original Message-
> From: Geoffrey Talvola [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 13, 2003 7:55 AM
> To: 'Stuart Donaldson'; Webware devel
>
Edmund Lian wrote:
> On 01/13/2003 10:51:09 AM Stuart wrote:
>
> >Is it correct to assume that to do what you want, you also
> need a way to
> >change contexts in the forward? Or do you expect to do everything in
> >the same context?
>
> I don't think any solution should be confined to a conte
Michael Engelhart wrote:
Actually my example of doing https://domain.com -> http://domain.com
you can ignore. I remember that this is almost impossible to do with
Webware and servlets. I had some funky workaround code I used in Java
that allowed me to handle this so I was thinking that I had
What should the behavior of the relative URL code be? forward()
includeURL() and callMethodOfServlet() all do something very similar and
result in calling request.setURLPath().
Should root be the root of the context?
Should root be the root of the adapter? (ie: you can specify another
cont
Ian Bicking wrote:
On Fri, 2003-01-10 at 17:38, Stuart Donaldson wrote:
I am encountering numerous problems trying to use the psp-handler with
mod_webkit, and some of the more recent code in Webware.
The PSP handler in mod_webkit sets WK_ABSOLUTE=1 to indicate that the
request
Because we have so many people apparently working from the CVS trunk, I
think there is a strong bias towards keeping the trunk stable. In my
case, I am extra cautious about committing changes in CVS, and in some
cases sit on changes for a long time in hopes of verifying that they are
stable.
Stuart Donaldson wrote:
I am encountering numerous problems trying to use the psp-handler with
mod_webkit, and some of the more recent code in Webware.
The PSP handler in mod_webkit sets WK_ABSOLUTE=1 to indicate that the
request is not relative to one of the webware directories.
HTTPRequest
I am encountering numerous problems trying to use the psp-handler with
mod_webkit, and some of the more recent code in Webware.
The PSP handler in mod_webkit sets WK_ABSOLUTE=1 to indicate that the
request is not relative to one of the webware directories.
HTTPRequest urlPath() checks this, and
I lean towards the net effect that Geof proposed of not saving the file,
removing the session from memory, and logging the exception so that the
admin can follow up. Does this meet our needs adequately?
Could we solve this by using the app._exceptionHandlerClass(app, None,
excInfo)? The transact
It would be very helpful when people submit bugs or patches if they did
not do so anonymously.
Please either register a sourceforge account, or put some identifying
information in the description so a developer can come back and ask
followup questions.
In particular, bug 636699 "include URL
Regarding patch 630505
http://sourceforge.net/tracker/index.php?func=detail&aid=630505&group_id=4866&atid=304866
This catches the case where an error occurs during encoding while saving
the session to a file. The patch to SessionFileStore.py safely handles
the exception and does not save a c
So I would like to suggest a protocol for addressing the bug fixes and
patches that are listed on the sourceforge site.
If a developer is going to take on one of the bugs or patches to review
and update into CVS, I suggest that they assign the bug to themselves
first. This lets everyone know t
On Sat, 2003-01-04 at 22:59, Ian Bicking wrote:
>
> On Sat, 2003-01-04 at 22:18, Stuart Donaldson wrote:
> > I lean towards fixing the example in the docs. Some of the
> code looks
> > like XML, in particular the and
> commands.
> > I would argue that if the
Ian Bicking wrote:
On Fri, 2003-01-03 at 01:18, Stuart Donaldson wrote:
I wanted to follow-up on the PSP parsing bug
[ 621494 ] PSP parsing bug when space after first <
Where a space after an opening "<" fails, causing an example to fail.
I thought there was
I wanted to follow-up on the PSP parsing bug
[ 621494 ] PSP parsing bug when space after first <
Where a space after an opening "<" fails, causing an example to fail.
I thought there was some discussion on this, but I can't seem to spot it
in the archives.
Does anyone remember the resolutio
I am trying to nock off some of the bugs as can.
I just fixed the bug in HTTPResponse setCookie(). And I also found some
other problems with the expiration date handling which I fixed.
It seems like the expiration date parsing might best be placed on the
Cookie object itself. I didn't get tha
If the ExtraPathInfo is set, serverSideInfoForRequest uses
serverSideInfoForRequestNewAlgorithm.
However, this is currently incompatible with the psp-handler approach
where the environment WK_ABSOLUTE is set to 1. The NewAlgorithm version
fails to check the absolute setting, and tries to proce
So before I start getting too comfortable with my knowledge of Webware,
I wanted to check on a couple of things that look like possible problems.
In the case of the psp-handler, the mod_webkit sets WK_ABSOLUTE=1 and
then HTTPRequest.py urlPath()/fsPath() will return a path constructed
from the
The shutdown code in ThreadedAppServer.shutDown() sends a None to all
threads to cause them to terminate, and then does a join to each thread.
The problem is that if you have a thread that is busy, perhaps a
server-push thread that is just sending a continuous stream of data, or
a thread bound
> -Original Message-
> From: Geoffrey Talvola [mailto:[EMAIL PROTECTED]]
> Stuart Donaldson [mailto:[EMAIL PROTECTED]] wrote:
...
>
> Would it be better to make your modifications to
> NewThreadedAppServer rather
> than to ThreadedAppServer? It may save
a new paradigm for the
socket handling...)
-Stuart-
> -Original Message-
> From: Geoffrey Talvola [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 17, 2002 9:31 AM
> To: Stuart Donaldson; Webware-Devel (E-mail)
> Subject: RE: [Webware-devel] ThreadedAppServer keybard i
with NewThreadedAppServer as-is.
Stuart Donaldson
Alerton Technologies Inc.
---
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Ch
called shufDown() if needed?
Also, the NT code never seems to call shutDown(), it just sets
server.running=0. Is this a problem on NT? I don't have much NT/Python
combined experience so I don't know why it might not want to call shutDown()
and cleanup the queues.
Stuart
Esterbrook [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 16, 2002 4:52 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Webware-devel] Accessing the app server instance from
> anywhere
>
>
> On Monday 16 December 2002 04:38 pm, Stuart Donaldson wrote:
> > Couldn't this
Couldn't this be done by AppServer.__init__()?
Then require that all AppServer's must initialize the base class
AppServer which they likely do anyway.
Is there any reason to have multiple AppServer's running? Would it make
sense that WebKit.globalServer be a function that returns the server?
I have noticed a couple of places where New and Old are used to identify
improved and out-dated methodologies.
NewThreadedAppServer, serverSideInfoForRequestNew and
filenamesForBaseNameNew
Is the plan to remove (at least the New*) names prior to the next
release? If not, I would encourage it.
adds the new style of monitoring.
-Stuart-
Ian Bicking wrote:
On Fri, 2002-12-13 at 19:23, Stuart Donaldson wrote:
So what is the status of NewThreadedAppServer?
Is this still intended to replace ThreadedAppServer?
I'd like it to. I haven't heard much opinion on
I am working out the details of a patch I discussed about a month ago
that would allow the ThreadedAppServer to be subclassed, and I wanted to
bounce the ideas out on the list before I was finished to see if there
was any further feedback or interest. My goal would be of course to see
this get
So what is the status of NewThreadedAppServer?
Is this still intended to replace ThreadedAppServer?
I noticed that the "stop" function does not work when invoked through
main() because AppServer.stop() does not take named arguments.
-Stuart-
to
do it myself.
- Geoff
-Original Message-----
From: Stuart Donaldson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 12, 2002 9:44 PM
To: Webware devel
Subject: [Webware-devel] sourceforge patches vs bugs?
I realized that I have put a couple of patches up on
sourceforge.net in
the patch ar
a temporary location.
Anyway, should I enter bugs against these to get them into a queue to be
looked at prior to a release? Or is having them in the patch database
sufficient?
-- Stuart Donaldson --
---
This sf.net email is sponsored by:
How about placing the string:
[a-zA-Z0-9]*
In the .cvsignore file?
This will not match ".cvsignore" and will match common files that you would
place in a Cache or Logs directory.
-Stuart-
> -Original Message-
> From: Ian Bicking [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, Decemb
That's interesting. The code that resolves the filename looks through
sys.path, trying to find the files, so presumably it would find it if your
sys.path referenced the top directory of Webware, or contains '' for the
current directory which Launch.py makes the top directory in webware. Then
the
On the ThreadedAppServer subclassing, I have only done what I think is a
quick hack right now, adding the class as a parameter to run. I think a
nicer more OO solution would be to remove run, and replace it with a
start() method on AppServer, along with placing the AppServer stop
function on t
failing to load.
-Stuart-
>On Mon, 2002-11-18 at 20:51, Stuart Donaldson wrote:
>
>
>>Ok, so I can see the value of MixIn() in some cases rather than
subclassing,
>>depending on what you are doing. However in my case, I wanted to replace
the
>>createApplication method on
Ok, so I can see the value of MixIn() in some cases rather than subclassing,
depending on what you are doing. However in my case, I wanted to replace the
createApplication method on ThreadedAppServer, and I tried doing this in the
__init__ method of my module.
I need to import my module prior to
87 matches
Mail list logo