Re: [Webware-devel] ANN: DBUtils 1.2 released

2017-02-05 Thread Christoph Zwerschke
Thanks for the heads up. The homepage changes are online now. -- Chris Am 05.02.2017 um 18:35 schrieb Chuck Esterbrook: > When I go to the home page, there are no links to download 1.2 or see > its release notes. Here is a screen shot:

[Webware-devel] ANN: DBUtils 1.2 released

2017-02-05 Thread Christoph Zwerschke
Hi all, new releases of DBUtils are available for download. DBUtils can be used as Webware for Python plugin or with other multi-threaded web environments for Python. Version 1.1.1 supports Python 2.3 to 2.7 Version 1.2 supports Python 2.6, 2.7 and 3.x Documentation and download links can be fo

[Webware-devel] Webware homepage temporarily unavailable

2016-11-22 Thread Christoph Zwerschke
Hi all, just got a notice that the new Webware homepage wasn't found on the server. This seems to be some caching problem on GitHub where the homepage is hosted; other pages are affected as well. After re-pushing the branch for the homepage it now works again, hope this lasts. If not, have som

[Webware-devel] ANN: Webware for Python 1.2.1 released

2016-11-21 Thread Christoph Zwerschke
Hi all, a bugfix release of Webware for Python 1.2.1 is available for download. Note that Webware 1.2.x supports Python 2.6 and 2.7 only. For older Python versions, use Webware 1.1.3. Documentation and download links can be found on the new homepage: https://cito.github.io/w4py/ New Features:

[Webware-devel] ANN: Webware for Python 1.2 released

2016-08-16 Thread Christoph Zwerschke
Hi all, a new release of Webware for Python 1.2 is available for download. Note that contrary to 1.1.2 which was released last week, the new 1.2 release now requires Python 2.6 or 2.7. Otherwise the new release is still fully backward compatible. This version features a new Redis based session

[Webware-devel] ANN: Webware for Python 1.1.2 released

2016-08-12 Thread Christoph Zwerschke
versions are fully backward compatible, supporting Python 2.4 to 2.7. Next version will be 1.2 and support only Python 2.6 and 2.7. -- Christoph Zwerschke -- What NetFlow Analyzer can do for you? Monitors network

[Webware-devel] Webware has moved to GitHub

2016-08-01 Thread Christoph Zwerschke
Some news from the Webware for Python project: As announced already last year, I have finally moved the Webware for Python project from the old private server provided by Tummy to GitHub. The homepage is now served by GitHub as well. * The new repository is at: https://github.com/Cito/w4py * T

Re: [Webware-devel] make mod_webkit errors out

2015-11-28 Thread Christoph Zwerschke
Am 28.11.2015 um 18:49 schrieb Mark Phillips: > I do have a gcc related question. I see a file named mod_webkit.so in > the directory .libs and the “make install” terminated normally. Given > that gcc issued warnings, is it risky to assume the mod_webkit.so > file produced will function as desired?

Re: [Webware-devel] make mod_webkit errors out

2015-11-28 Thread Christoph Zwerschke
Am 28.11.2015 um 17:30 schrieb Mark Phillips: > I would greatly appreciate advice on how to work around or through this. > > Installing on Centos 6, with gcc and apxs installed. > > [root mod_webkit2]# make Can you try with the latest version from trunk? I think this has been fixed already: http:

Re: [Webware-devel] "pip install mypy" fails with "ImportError: Python 3.4 is not supported by DBUtils."

2015-07-04 Thread Christoph Zwerschke
Yes, the Python 3 support is not yet official. I plan to eventually move it to Github this year and create a new release that officially supports Python 3. -- Chris Am 04.07.2015 um 10:30 schrieb Mark Lawrence: > > C:\Users\Mark\Documents\Cash\Python>pip install mypy > ... > Collecting dbutil

Re: [Webware-devel] Changing HTTPRequest.py to allow multiple file uploads.

2015-06-07 Thread Christoph Zwerschke
Am 28.05.2015 um 18:10 schrieb Gary Perez: > I'm not in a rush, so whenever you are done with vacation, here are > the relevant parts (complete with inane comments): Thanks, I simplified the code and committed the change to the trunk: http://svn.w4py.org/Webware/trunk/WebKit/HTTPRequest.py Let m

Re: [Webware-devel] Changing HTTPRequest.py to allow multiple file uploads.

2015-05-28 Thread Christoph Zwerschke
Hi Gary, thanks for the suggestion. I'm still maintaining Webware and will look into any suggestion made here, though it may take some time (currently on vacation). You can also post patches and requests to http://sourceforge.net/p/webware/feature-requests/ -- Christoph --

Re: [Webware-devel] DBUtils not supported for Python 3.1+

2014-08-22 Thread Christoph Zwerschke
Am 22.08.2014 um 00:57 schrieb Jolitz Ben - bjolit: > The following patch will make it install from pip quite fine on current > Python 3 versions. Thanks for the tip, Ben. DBUtils was not developed with Python 3 in mind, and I only tested and used it with Python 2, so I was amazed to see that th

Re: [Webware-devel] Can't compile mod_webkit2

2014-07-25 Thread Christoph Zwerschke
Am 25.07.2014 um 14:03 schrieb Andreas Poisel: > I can't compile mod_webkit2 (Webware 1.1.1) on Ubuntu Server 14.04: Hi Andreas, this has been fixed in the trunk: http://svn.w4py.org/Webware/trunk/WebKit/Adapters/mod_webkit2/ -- Christoph ---

Re: [Webware-devel] Strange Webware Appserver failures - I need ideas

2014-05-01 Thread Christoph Zwerschke
Am 30.04.2014 18:32, schrieb F. Behrens: > for the first time in many years, a webware project for a customer has > developed constant failure conditions. I do, however, have problems to > isolate possible causes. Never came across this kind of error. Maybe there is a memory leak and it happens y

Re: [Webware-devel] dos/unix line endings on 1.1.1

2013-09-08 Thread Christoph Zwerschke
Am 08.09.2013 18:47, schrieb Roger Haase: > I noticed a few inconsistencies on line endings on the 1.1.1 release. Thanks Roger, I fixed the .py files in the repository now. The .config and .bat files seem to be ok in the distributed archive, though. Can you check again? -- Christoph ---

[Webware-devel] ANN: Webware for Python 1.1.1 released

2013-01-18 Thread Christoph Zwerschke
. Version 1.1.1 runs on Python 2.4 to 2.7. You can find more info on the Webware for Python homepage at http://www.webwareforpython.org/ Support is available via the Webware for Python mailing lists at https://sourceforge.net/mail/?group_id=4866 -- Christoph Zwerschke

Re: [Webware-devel] form data parsing bug

2011-10-24 Thread Christoph Zwerschke
Am 24.10.2011 18:37, schrieb F. Behrens: > Do you happen to have the patches you did around and could mail them to > me for a quick glance so I can get an idea about what to look after? I'll send you the patch but you can also get it by checking out http://svn.w4py.org/Webware/trunk and then "svn

[Webware-devel] ANN: Webware for Python 1.1 released

2011-08-03 Thread Christoph Zwerschke
released along with the current version 1.1. You can find more info on the Webware for Python homepage at http://www.webwareforpython.org/ Support is available via the Webware for Python mailing lists at https://sourceforge.net/mail/?group_id=4866 -- Christoph Zwerschke

Re: [Webware-devel] form data parsing bug

2011-07-16 Thread Christoph Zwerschke
Am 15.07.2011 15:44 schrieb Christoph Zwerschke: > I haven't really looked into this so far, but a quick tests showed that > this bug happens only with Python 2.6 or newer. Can you confirm? When > upgrading to Webware 1.x, did you also upgrade the Python version? I have now analy

Re: [Webware-devel] form data parsing bug

2011-07-15 Thread Christoph Zwerschke
Am 15.07.2011 11:06 schrieb F. Behrens: > If you send a POST form with an URL that includes GET data then > FieldStorage will include both. Especially if you POST something like > "id=42" and have "id=23" in the URL, FieldStorage will end up with "id: > [42,23]", breaking code that expects a number

[Webware-devel] New server for w4py.org

2010-10-28 Thread Christoph Zwerschke
Just a quick note to let you know we migrated the Webware project site to a new machine. The website and repositories should now be noticeably faster. If anything does not work as expected or you are missing anything that was there on the old server, let us know. Thanks go to tummy.com for comp

[Webware-devel] Beta release of Webware for Python 1.1

2010-04-18 Thread Christoph Zwerschke
I am very pleased to announce a beta release of Webware for Python 1.1, available for download from SourceForge (at http://downloads.sourceforge.net/webware/Webware-1.1b1.tar.gz). This release offers some major new features, e.g. a WSGI adapter, sessions based on shelve or Memcached, MiddleKit us

Re: [Webware-devel] Webware 1.1 and beyond

2009-06-14 Thread Christoph Zwerschke
Mark Phillips schrieb: > Perhaps the addition of wsgi, disutils, and so on, calls for a v2 > product. Right. If there will be such larger changes, they will happen in v2. For now in 1.1 I'm only trying to trim, streamline and modernize the current code base without making any breaking changes

[Webware-devel] Webware 1.1 and beyond

2009-06-12 Thread Christoph Zwerschke
As already announced, I have created a branch for the Webware for Python 1.0.x bugfix releases. Development in the trunk is now for release 1.1. The idea is to slowly modernize and future-proof Webware for Python. The 1.1 version will be the first step in the process with the main goal of trim

[Webware-devel] ANN: Webware for Python 1.0.2 released

2009-06-07 Thread Christoph Zwerschke
Webware for Python 1.0.2 has been released. This is the second bugfix release for Webware for Python release 1.0, mainly fixing some problems and shortcomings of the PSP plug-in. See the WebKit and PSP release notes for details. Webware for Python is a suite of Python packages and tools for devel

Re: [Webware-devel] Webware 1.0.2 beta 1

2009-03-21 Thread Christoph Zwerschke
Forgot to mention the download location: The beta is as usual available through the SourceForge project page: http://sourceforge.net/project/showfiles.php?group_id=4866 -- Christoph -- Apps built with the Adobe(R) Flex(

[Webware-devel] Webware 1.0.2 beta 1

2009-03-21 Thread Christoph Zwerschke
I have just released a beta version of Webware 1.0.2. It tries to fix the problems with the psp-handler recently mentioned by Fionn, by making a request via the psp-handler look much more similar to an ordinary request via the webbkit-handler. Fionn, can you review this beta and let me know if

Re: [Webware-devel] Globals

2009-03-18 Thread Christoph Zwerschke
Hi Tobias, concerning the first problem, I think Steve is right, the best way is to pass "self" around. You can also make the functions methods of the class that gets "self" as a parameter when instantiated. But the proper way would be to use <%@ page extends="MyPage"%>, where MyPage is a subcl

Re: [Webware-devel] Massive PSP Problems in 1.0.1

2009-03-16 Thread Christoph Zwerschke
Fionn Behrens schrieb: > Changing running (productive) installations was no top priority under > these circumstances, I am afraid. Changing installations in production without prior testing on a test system is under *no* circumstances a good idea. > > WKServer localhost $port > A

Re: [Webware-devel] Massive PSP Problems in 1.0.1

2009-03-15 Thread Christoph Zwerschke
Hi Fionn, I doubt that you're the only person in the world left using PSP - though I must admit that I don't use PSP for my own Webware projects (only plain Webkit). Unfortunately, the orginal developers have long ago abandoned the PSP project and I'm left alone trying to maintain it without b

Re: [Webware-devel] Funcs.dateForEmail() and locale

2009-03-05 Thread Christoph Zwerschke
Andreas Poisel wrote: > Thanks for keeping Webware alive, I'm actively using it in a couple of > projects and I'd still choose Webware for a specific type of project. > > But I think there is a problem with Funcs.dateForEmail() in Webware > 1.0.1: > > >>> import locale > >>> locale.setloc

[Webware-devel] ANN: Webware for Python 1.0.1 released

2009-02-06 Thread Christoph Zwerschke
Webware for Python 1.0.1 has been released. This is the first bugfix release for Webware for Python release 1.0, mainly fixing a problem that could appear when communicating with the threaded application server over a network connection. See the WebKit release notes for details. Webware for Py

[Webware-devel] Bug-fix release and next step

2009-01-25 Thread Christoph Zwerschke
I'm going to create a bug-fix release Webware 1.0.1 in the next days that fixes a few issues reported after Webware 1.0 final was published, particularly the glitch with remote app servers noticed by Jehiah. So please let me know if you found any other flaws or deficiencies in the 1.0 release th

Re: [Webware-devel] EOFError when using mod_webkit2

2009-01-21 Thread Christoph Zwerschke
Jehiah Czebotar schrieb: > It's a problem in ThreadedAppServer keeping track of the # of bytes > remaining to be read from the socket, which is only apparent when > there is some delay in receiving data. (which for me means when webkit > and apache are on different servers). So that also explains w

Re: [Webware-devel] EOFError when using mod_webkit2

2009-01-20 Thread Christoph Zwerschke
Jason Hildebrand schrieb: > If only occasionally, it's possible that some network tool or > software is connecting directly to your appserver (on port 8080 or > whatever you are using), and that the request is not coming via > Apache. I've seen this happen; the solution is to firewall the > apps

Re: [Webware-devel] question about how Webware/WebKit handles exceptions

2008-12-15 Thread Christoph Zwerschke
Jehiah Czebotar schrieb: > I've also found that Webware/WebUtils/cgitb.py hadles non object > errors (ie: raising a string as the error) improperly causing the > 'fancy traceback' to fail to display the actual traceback. Here is a > change that works for me, but i think it would be better to do eno

Re: [Webware-devel] question about how Webware/WebKit handles exceptions

2008-12-15 Thread Christoph Zwerschke
Jehiah Czebotar schrieb: > Is there a reason that the WebKit/Application.py code (lines 665-705) > only handles a few specific types of errors, and doesn't enter the > error handling code for all unknown errors? > > I am working on upgrading to 1.0 and i realized in testing that my > application l

Re: [Webware-devel] ANN: Webware and DBUtils 1.0 released

2008-12-08 Thread Christoph Zwerschke
Chuck Esterbrook schrieb: > I was referring to the rash of unsubscribes that followed shortly > after the roadmap. Just reread what I wrote, because this made me a bit sad, too. Actually I only wanted to start a *discussion* about the future of Webware, not pinpoint a fixed roadmap already. I th

Re: [Webware-devel] ANN: Webware and DBUtils 1.0 released

2008-12-04 Thread Christoph Zwerschke
Chuck Esterbrook wrote: > But I was a little surprised that after all the work you recently put > in, you would then immediately outline a roadmap that sounds like "how > to evaporate Webware" at which point its hard to imagine using 1.0 for > anything. I *wasn't* surprised when several unsubscribe

Re: [Webware-devel] ANN: Webware and DBUtils 1.0 released

2008-12-02 Thread Christoph Zwerschke
You're welcome :-) My thanks go to Chuck Esterbrook for inventing this extraordinary project (maybe the prime father of all Python web frameworks ;-) and to the other developers who contributed so much good stuff over the years. It seems almost incredible, but Webware is in fact over 8 years now

[Webware-devel] ANN: Webware and DBUtils 1.0 released

2008-11-29 Thread Christoph Zwerschke
The historic Webware for Python version 1.0 has finally been released. It runs with all Python versions from 2.0 to 2.6. A lot of bugs have been fixed, and a few small improvements and changes have been made since the last release. See the release notes for WebKit, MiddleKit, TaskKit, CGIWrappe

[Webware-devel] Second release candidate for Webware for Python 1.0

2008-11-15 Thread Christoph Zwerschke
The second and hopefully last release candidate for Webware for Python 1.0 is now available for download from SourceForge: http://downloads.sourceforge.net/webware/Webware-1.0rc2.tar.gz or http://downloads.sourceforge.net/webware/Webware-1.0rc2.zip All bugs, patches and feature requests on Sourc

Re: [Webware-devel] [dbutils] threading.local cleaned by wsgi server

2008-10-18 Thread Christoph Zwerschke
William Dode schrieb: > Then i have to set closeable when i create it ? > What i would like is to have closeable set to False, and decide *after* > (for maintenance of the db) that i want a brut close. You can set closeable to True when creating the PersistentDB instance, then all connections w

Re: [Webware-devel] [dbutils] threading.local cleaned by wsgi server

2008-10-12 Thread Christoph Zwerschke
William Dode schrieb: > Maybe the python implementation by default and an option tu use the > C implementation (did you bench it ?). Like that most of the people will > have nothing to do. If I measured correctly, then with the C implementation you can get the connection 10% faster. That's not a

Re: [Webware-devel] [dbutils] threading.local cleaned by wsgi server

2008-10-06 Thread Christoph Zwerschke
Christoph Zwerschke schrieb: > If there are other things to consider for DBUtils 1.0, let me know. Same for Webware 1.0 final. It's long overdue, but I just never found the time to make. Let me know if there is anything that needs to be fixed for the final release. I've now planne

Re: [Webware-devel] [dbutils] threading.local cleaned by wsgi server

2008-10-06 Thread Christoph Zwerschke
William Dode schrieb: > With python >= 2.4 you use threading.local in PersistentDB, but with > some server (mod_wsgi) threading.local is not kept between requests > because of the C implementation. We can also imagine that somes wsgi > server will clean threading.local. > If we force to use the

Re: [Webware-devel] Webware killed

2008-07-10 Thread Christoph Zwerschke
Damiano Morosi schrieb: > maybe a memory leak problem? my configuration is python 2.3.4, GCC > 3.4.6, kernel 2.6.9-67.0.20.EL. The dist is a CentOS, and the machine is > virtualized under VMWare. Compatibility issues? Yes, this looks like a memory allocation problem of cx_oracle; or there is an

Re: [Webware-devel] Webware killed

2008-07-10 Thread Christoph Zwerschke
Damiano Morosi schrieb: > Did you notice something strange in this? Am I makeing some mistakes? > Thanks for your support. Nothing that should cause the process to be killed. But there are some things you could improve to make everything more stable and secure: * make the code safe against SQL i

Re: [Webware-devel] namespace collision with inspect.py

2008-07-02 Thread Christoph Zwerschke
Jehiah Czebotar schrieb: > right-o; i should try my patches first... i'm still digging through a > few other migration to 1.0rc issues so we'll see how that goes =) Good, let me know it there are any other problems... -- Chris -

Re: [Webware-devel] namespace collision with inspect.py

2008-07-02 Thread Christoph Zwerschke
Jehiah Czebotar schrieb: > in doing some testing for webware-1.0rc1 I realized I had this problem > previously but never mentioned it, or supplied a patch; so here it is. Great, thanks. > I have a namespace collision with MiscUtils/inspect.py because it > gets imported before the default python2

[Webware-devel] First release candidate for Webware for Python 1.0

2008-06-06 Thread Christoph Zwerschke
The first release candidate for Webware for Python 1.0 is now available for download from SourceForge: http://downloads.sourceforge.net/webware/Webware-1.0rc1.tar.gz or http://downloads.sourceforge.net/webware/Webware-1.0rc1.zip This is expected to become a long-time supported stable release, co

Re: [Webware-devel] NoneType error in PooledDB.__del__

2008-03-13 Thread Christoph Zwerschke
Jehiah Czebotar schrieb: > The following bug has been noted before, and I'm including a patch for > it that hopefully someone on this list can apply to trunk for me Thanks a lot for the bug report. I'll get that fixed that in the next DBUtils release. -- Christoph --

Re: [Webware-devel] [Webware-discuss] First beta release of Webware for Python 1.0

2008-02-22 Thread Christoph Zwerschke
The long-awaited final Webware 1.0 version will be released soon. Please take this as an opportunity to test Webware 1.0 beta 1 and let me know how the beta works for you and whether there are any problems, so that these can be fixed in the final release. If no problems are reported, there will

[Webware-devel] First beta release of Webware for Python 1.0

2008-02-10 Thread Christoph Zwerschke
I am very pleased to announce the first beta release of Webware for Python 1.0, available for download from SourceForge (at http://downloads.sourceforge.net/webware/Webware-1.0b1.tar.gz). This is expected to become a long-time supported stable release, compatible with all Python 2.x versions. B

Re: [Webware-devel] Logging, Monitoring, and Control of Requests Patch

2007-11-25 Thread Christoph Zwerschke
Steve Schwarz wrote: > I've been running a local patch for a couple weeks now with following > features: > > 1 - Added two methods to ThreadedAppServer: startRequest() and endRequest() > methods. These methods can be used to implement page statistics and/or click > tracking by session. Default imp

Re: [Webware-devel] Unexpected Errors with DBUtils

2007-11-21 Thread Christoph Zwerschke
Gregory Piñero wrote: >>> [Tue Nov 20 17:07:23 2007] [error] [client 127.0.0.1] >>> OperationalError: (1040, 'Too many connections') >>> >>> I set my.conf to have 16 max connections so I don't know why it says >>> there are too many since I only gave the pool 10. >> There are two reasons why this c

Re: [Webware-devel] Unexpected Errors with DBUtils

2007-11-20 Thread Christoph Zwerschke
Hi Gregory, > Here's the code I'm using, which I believe it set up correctly > following the docs, but I'm hitting the following errors: > > Error 1: > > Exception exceptions.TypeError: "'NoneType' object is not callable" in > at 0x85095cc>> ignored In which situation do you get this error? I

Re: [Webware-devel] Webware-0.9.4 trunk - Memory Store Fix

2007-10-02 Thread Christoph Zwerschke
Thanks. Fixed as suggested in r6991. Steve Schwarz wrote: > While debugging an issue with cookie path attributes not appearing to be > checked I changed the Application Session configuration to use 'Memory'. I > found the AppServer dies with a traceback due to app._sessionDir being None. > Turns o

Re: [Webware-devel] Logging, Monitoring, and Control of Requests Patch

2007-09-26 Thread Christoph Zwerschke
Hi Steve, this patch sounds useful, but it should not cost too much performance. If you send it to me or post it at http://sourceforge.net/tracker/?group_id=4866&atid=304866 then I will have a look at it and maybe add it to the next version. -- Chris ---

[Webware-devel] ANN: Webware and DBUtils 0.9.4 released

2007-07-07 Thread Christoph Zwerschke
Webware 0.9.4 and DBUtils 0.9.4 have been released. The new release of Webware for Python contains some fixes and improvements of WebKit, and it adds some more configuration settings that have been requested by users. The details can be found in the WebKit release notes. The new DBUtils release f

Re: [Webware-devel] Webware+Reportlab Encoding Issues

2007-06-30 Thread Christoph Zwerschke
Ben Parker wrote: > I don't see a need for it in the Page class. How about implementing it > in an example UnicodePage.py similar to the example SidebarPage.py? I'd rather implement it as a Mixin then that can be added to any other base class (SideBarPage is actually intended as a base class).

Re: [Webware-devel] Webware+Reportlab Encoding Issues

2007-06-30 Thread Christoph Zwerschke
Ben Parker wrote: > I would recommend overriding .write() in your main servlet class, and > have that function compensate for the lack of a character set. For > example, you could change the function signature to be def > write(unicodeObject, charSet):, or you could have the write() function >

Re: [Webware-devel] Webware+Reportlab Encoding Issues

2007-06-29 Thread Christoph Zwerschke
Mathis Hofer wrote: > 2. I had to override the HTTPContent.write() method and put out the > strings without converting them to "str". Otherwise WebKit tried to > convert the CP1252-encoded string into ASCII which also resulted in a > UnicodeDecodeError for special chars. > > The latter is a gene

Re: [Webware-devel] Webware+Reportlab Encoding Issues

2007-06-29 Thread Christoph Zwerschke
Mathis Hofer wrote: > Here is a stripped down servlet which gives me a UnicodeDecodeError. I > found out, that the table is the problem, there is no exception with > paragraphs. The servlet works for me, I get the PDF with the table with no errors. Which versions of Python, Webware, Reportlab and

Re: [Webware-devel] Webware+Reportlab Encoding Issues

2007-06-29 Thread Christoph Zwerschke
Mathis, can you send a complete example servlet so I can reproduce this? I am using Reportlab with Webware but never saw such problems. -- Chris - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FR

[Webware-devel] Webware actions not HTML compliant

2007-06-28 Thread Christoph Zwerschke
Just noticed that Webware actions[1] have always violated the rules for HTML[2], because the names start with an underscore. Does anybody care? Should we make the prefix configurable and use a different default? [1] http://www.w4py.org/WebKit/Docs/UsersGuide.html#actions [2] http://www.w3.org/TR

Re: [Webware-devel] Webware packages

2007-05-24 Thread Christoph Zwerschke
Thanks Egil. Can you put these links and comments somewhere on a fixed web page that I can link to? Then you can change these on your own at the next update and we don't need to change anything on the webware home page. Or you can create a page on wiki.w4py.org instead. -- Chris --

Re: [Webware-devel] Failover connections in DBUtils

2007-05-18 Thread Christoph Zwerschke
Ezio Vernacotola wrote: > I need a database connection pool that can reconnect to a different > replicated failover server if the main server stop working. I found > DButil SteadyDBConnection works great in transparently reconnect if the > connection is lost, but to try a different server I'm t

Re: [Webware-devel] Webware packages

2007-05-15 Thread Christoph Zwerschke
Egil Möller wrote: > I have been using WebWare for quite some time, and finally got tired of > installing it by hand everywhere. So now I've made a debian package and an > RPM-package of WebWare. Easiest would be if you put them somewhere on your homepage and we put a link to you on the Webware

[Webware-devel] ANN: Webware 0.9.3 released

2007-04-26 Thread Christoph Zwerschke
Webware 0.9.3 has been released. This release of Webware for Python includes a couple of fixes and improvements of WebKit and some cleanup of the overall Webware codebase. Please have a look at the WebKit release notes for details. Webware for Python is a suite of Python packages and tools for de

Re: [Webware-devel] Custom session store and session classes

2007-04-06 Thread Christoph Zwerschke
Ben Parker wrote: > The SessionStore initialization seems a bit more complicated than it > needs to be. Rather than the for loop, and the prefix/suffix check, you > can check if the setting is 'Memory', 'File', or 'Dynamic'. Otherwise > everyone with a custom SessionStore needs to follow the Ses

Re: [Webware-devel] Custom session store and session classes

2007-04-05 Thread Christoph Zwerschke
Ok, this is now in the trunk if you want to check it out. Ben Parker wrote: > Agreed about too many config settings - I thought about having the > Session / SessionStore set through some kind of runtime configuration. > Allow each context to set its own session/store combo perhaps? but that > i

Re: [Webware-devel] Custom session store and session classes

2007-04-05 Thread Christoph Zwerschke
Hi Ben, I'm going to implement your patch, but I'd like to cut down the number of additional config settings. The number of parameters is already scaring enough ;-) What do you think about: 1) Assuming that the class name is always the same as the module name (this is also backward compatible

[Webware-devel] Status of 0.9.3 release

2007-04-01 Thread Christoph Zwerschke
Just a short note for those who waited for the 0.9.3 release. Unfortunately, it will take some more time since I didn't find enough time to complete it this weekend and there are still some important issues on my list. Plus, I just noticed a new issue with Python 2.5 and AutoReload (the behavio

Re: [Webware-devel] Custom error pages

2007-03-25 Thread Christoph Zwerschke
I have now implemented and documented it that way in the trunk. If ErrorPage is set to None or does not contain the raised exception, or if the response has already been commited, then it behaves as before. -- Chris - Take

Re: [Webware-devel] Custom error pages

2007-03-25 Thread Christoph Zwerschke
Chuck Esterbrook wrote: > I just hope Webware is uber stable when we call it 1.0. Right, actually I did not want to make larger changes before 1.0. But in this case, I had to make bigger changes in the mechanisms for forwarding and catching errors anyway, in order to fix the problems reported by

Re: [Webware-devel] Custom error pages

2007-03-25 Thread Christoph Zwerschke
Jean-François Piéronne wrote: > Very good idea, allowing declaration of a default error page will be > very useful. > May be it would be also interesting to allow the declaration of > HPPTErrorPage for application raised exceptions. For example: > > HTTPErrorPage = { > 'NotFound': '/

[Webware-devel] Custom error pages

2007-03-24 Thread Christoph Zwerschke
One thing I always disliked about Webware is the static 404 error page. First, the name '404Text.txt' is hard coded and misleading because it is a complete HTML page (maybe it has only been the body part in older versions, as it is still wrongly documented), so it should better be called someth

Re: [Webware-devel] Magic number?

2007-03-24 Thread Christoph Zwerschke
Chuck Esterbrook wrote: > I think they are already documented in the regular docs. I'd prefer to > just give a pointer to that if we don't have one already. As someone > who already knows the settings, I could be biased in this matter. There are currently two places where things are officially doc

Re: [Webware-devel] Magic number?

2007-03-23 Thread Christoph Zwerschke
Chuck Esterbrook wrote: > All sounds good except I wonder if making it relative to threads is > worthwhile the level of indirection. We can just default it to twice > the size. But I leave it up to you. Maybe there's something I'm > missing. I wanted to explicitly set it to something in the defaul

Re: [Webware-devel] Magic number?

2007-03-23 Thread Christoph Zwerschke
Chuck Esterbrook wrote: > On 3/23/07, Christoph Zwerschke <[EMAIL PROTECTED]> wrote: >> I recently stumbled over the following lines in ThreadedAppServer: >> >> def makeInput(self): >> return self._sock.makefile("rb",8012) >&g

[Webware-devel] Magic number?

2007-03-23 Thread Christoph Zwerschke
I recently stumbled over the following lines in ThreadedAppServer: def makeInput(self): return self._sock.makefile("rb",8012) Is there any reason why the number 8012 was chosen? I assume the intend was to use an 8192 Byte (8k) buffer, and this is just a typo, or am I ove

Re: [Webware-devel] Tabify/Spacify. Was: Future Webware versions

2007-03-21 Thread Christoph Zwerschke
I hadn't expected the issue is still so controversial ;-) >> It still would be inconvenient, because you always have to think about >> this issue and either convert back and forth manually, or use a script, >> or change the settings in your editor. I'm working with a lot of Python >> code from var

Re: [Webware-devel] Tabify/Spacify. Was: Future Webware versions

2007-03-20 Thread Christoph Zwerschke
Chuck Esterbrook schrieb: > What about [EMAIL PROTECTED]'s suggestion: > """ > What if you stayed with tabs and then added a converter, so that you > can quickly convert the tabs to the number of spaces that you want? > In fact, this might be a good idea for a lot of free source Python > projects d

Re: [Webware-devel] Future Webware versions

2007-03-19 Thread Christoph Zwerschke
Chuck Esterbrook wrote: > I had a problem on Mac using Webware out of the repository where the > AutoReload feature would not work. I believe it threw an exception > related to importing modules, but it's been awhile. > I'll try to test it out this week and see if I can reproduce and fix it. Unfor

[Webware-devel] Future Webware versions

2007-03-18 Thread Christoph Zwerschke
On webware-discuss I already announced that I want to release the next Webware version 0.9.3 very soon. If anybody has suggestions or patches or bug reports that I should take into account, please let me know. What about the idea of releasing a 1.0 version without much change if the 0.9.3 turns

Re: [Webware-devel] Potential bug in Webware - Too many open files error when forwarding requests

2007-02-24 Thread Christoph Zwerschke
Thanks, Andrew. I will examine this and fix it before the 0.9.3 release. -- Christoph - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions

Re: [Webware-devel] Session Cookie Path

2007-01-30 Thread Christoph Zwerschke
Thanks for the feedback, Nick. > It turned out that my original idea didn't quite work in practice, > and then I found that webware already includes the feature I needed. > In http://svn.w4py.org/Webware/trunk/WebKit/Application.py > Application.__init__ uses a setting called SessionName > to cont

Re: [Webware-devel] Session Cookie Path

2007-01-30 Thread Christoph Zwerschke
Hi Nick, you recently posted the following on the Webware mailing list: > I have two webware apps running on the same domain, one on /default/ and > the other on /admin/. To avoid the session cookies from colliding, I > made a small change in HTTPResponse.py:recordSession. The line > cookie.setPa

Re: [Webware-devel] Session Cookie Path

2007-01-20 Thread Christoph Zwerschke
Nick Murtagh schrieb: > Hi, > > I have two webware apps running on the same domain, one on /default/ and > the other on /admin/. To avoid the session cookies from colliding, I > made a small change in HTTPResponse.py:recordSession. The line > > cookie.setPath('/') > > is replaced by > > cookie.

Re: [Webware-devel] Webware, JSON, pyjamas

2007-01-02 Thread Christoph Zwerschke
Jean-François Piéronne schrieb: > I have successfully integrate pyjamas (http://pyjamas.pyworks.org/) > with Webware. > This mean that a page generate by pyjamas can query using JSON a Webware > servlet. Nice. We could add that to the WebKit package. Probably we should call it JSONServlet instead

Re: [Webware-devel] Failover connections in DBUtils

2007-01-02 Thread Christoph Zwerschke
Hi Ezio, your ideas about implementing failover connections and load balancing sound interesting. Can you email me your suggested patch? Concerning load balancing, we probably need to somehow discern master and slave databases and offer a way to request master and slave (usually read only) con

Re: [Webware-devel] Built-in HTTP / File Upload

2006-11-06 Thread Christoph Zwerschke
> Just took a look at the fix in svn -- one thing: on line. 36, you're > deleting 'Content-Type' from the headers, and I think you want to be > deleting 'Content-Length'. Good that you looked over the patch. I've already fixed the lapse. -- Christoph -

Re: [Webware-devel] Built-in HTTP / File Upload

2006-11-03 Thread Christoph Zwerschke
Dan Milstein wrote: > After looking carefully at HTTPHandler, I think I've found a way > to avoid holding that file in memory. I wanted to ask the list if > there was a reason for the current design that I'm missing. If not, > I'd propose the patch below as an improvement to the built-in HTTP

Re: [Webware-devel] Problems with 0.9.2 and psp

2006-10-22 Thread Christoph Zwerschke
Fionn, can you give me a quick confirmation whether that problem has been solved with the small patch that I have suggested? -- Christoph - Using Tomcat but need to do more? Need to support web services, security? Get stuff

Re: [Webware-devel] Problems with 0.9.2 and psp

2006-10-17 Thread Christoph Zwerschke
Fionn Behrens wrote: > I have a context "Servlets" (outside webroot) defined for the Servlets I > use from my psp pages. The psp pages are located in the normal webroot > and load via mod_webkit and PSP-Handler. Ok, I could now reproduce the problem. It happens when you are using psp-handler with

Re: [Webware-devel] Problems with 0.9.2 and psp

2006-10-17 Thread Christoph Zwerschke
Fionn Behrens wrote: >> From which version did you upgrade to 0.9.2? > So, in consequence, all sources say "Version X.Y" - I'd guess it should > be 0.8.9 or 0.9.0 That looks like one of the early beta versions between 0.8.9 and 0.9.0 where the version number was not properly set. > No, I did not

Re: [Webware-devel] Problems with 0.9.2 and psp

2006-10-17 Thread Christoph Zwerschke
Fionn Behrens wrote: > Looks like webware tries to load a servlet file from a dedicated > directory for each psp page. This is a requirement that wasnt there > before and I wonder what it is good for! Would someone please try to > explain? Since a lot of requests on my server go to /virtual/ > (rew

[Webware-devel] Webware 0.9.2 has been released

2006-09-17 Thread Christoph Zwerschke
Webware 0.9.2 has been released. This release of Webware for Python includes a couple of fixes and improvements of WebKit, MiddleKit, MiscUtils and WebUtils (see the respective release notes). Webware for Python is a suite of Python packages and tools for developing object-oriented, web-based app

  1   2   3   >