[Webware-discuss] 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

[Webware-discuss] 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

[Webware-discuss] 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-discuss] 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

[Webware-discuss] 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

Re: [Webware-discuss] make mod_webkit errors out

2015-11-28 Thread Christoph Zwerschke
Am 28.11.2015 um 17:32 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 Just for the record if anyone later searches through the archive, the discussion is in

[Webware-discuss] Consolidating the infrastructure

2015-11-28 Thread Christoph Zwerschke
Btw, is anyone against moving Webware to Github, consolidating all the infrastructure (we still have our own server with web site, Wiki, SVN, plus the SF page with mailing lists and discussion forums)? It makes no sense that we have 3 mailing list plus various discussion forums on SF. I also

[Webware-discuss] 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-discuss] RuntimeError: dictionary changed size during iteration

2012-12-08 Thread Christoph Zwerschke
Am 08.12.2012 09:51, schrieb Sophana K: My tasks do not access the sessions. (Why would they?) As it is a new behaviour, (I was using 0.9) a look at the changes could help... In 0.9 and 1.0 the session sweeper loops run over the keys list, not over the dictionaries, simply because older

Re: [Webware-discuss] RuntimeError: dictionary changed size during iteration

2012-12-07 Thread Christoph Zwerschke
Am 07.12.2012 12:16, schrieb Sophana K: Yes, I'm creating a Scheduler instance. I didn't know I was supposed to use the one from the application. It's ok to create your own instance. But then the two schedulers will run as two parallel threads which needs more ressources and you can get these

Re: [Webware-discuss] Using SVN head in production environment

2012-12-06 Thread Christoph Zwerschke
Am 06.12.2012 10:34, schrieb Andreas Poisel: I've been using the svn head on a test system for a while now without any problem. Would you object using svn head in a production environment? Yes, as Sophana already answered, the trunk is stable; I want to cut a new release from it this month

Re: [Webware-discuss] RuntimeError: dictionary changed size during iteration

2012-11-30 Thread Christoph Zwerschke
Am 30.11.2012 18:01, schrieb Sophana K: Isn't it strange nobody had this problem before? Seems that there isn't a lot of webware 1.1 applications in production. Don't you think? T -- Keep yourself connected to Go

Re: [Webware-discuss] RuntimeError: dictionary changed size during iteration

2012-11-30 Thread Christoph Zwerschke
Am 30.11.2012 18:01, schrieb Sophana K: Isn't it strange nobody had this problem before? Seems that there isn't a lot of webware 1.1 applications in production. Don't you think? That problem should not appear in practice unless you have somehow two session sweeper tasks running at the same

Re: [Webware-discuss] RuntimeError: dictionary changed size during iteration

2012-11-28 Thread Christoph Zwerschke
Am 28.11.2012 12:10, schrieb Sophana K: Look like another thread could be changing the _memoryStore during this iteration. Should I change to for key in list(self._memoryStore): Yes, this or for key in self._memoryStore.keys() should fix it. I have already committed this as a fix to the

Re: [Webware-discuss] Freeze at ThreadedAppServer

2012-10-08 Thread Christoph Zwerschke
Am 05.10.2012 10:29, schrieb Alex Ivanov: Can you please confirm that this fix is applicable? We may throw an exception if wait was not successful. Will it be a good idea to rewrite flags usage with python's events wait/set functionality to be on the safe side? I have fixed it now in trunk

Re: [Webware-discuss] Freeze at ThreadedAppServer

2012-10-07 Thread Christoph Zwerschke
Am 05.10.2012 10:29, schrieb Alex Ivanov: First of all, thank you, Christoph, for the excellent software! I've been using webware since 2002 and have not yet seen a decent replacement to it! Outstanding performance of lightweight servlets implementation leaves behind its competitors with their

Re: [Webware-discuss] webware gevent based appServer

2012-09-19 Thread Christoph Zwerschke
Am 17.09.2012 11:27, schrieb Sophana K: I'm using webware 1.0, because webware 1.1 didn't work correctly for me (I don't remember why) You should definitely try 1.1 again. It works great for me and if there are any real issues, please report and I'll be glad to fix them. I'm currently trying

Re: [Webware-discuss] Semicolon URL delimiter

2012-01-26 Thread Christoph Zwerschke
Am 25.01.2012 00:23, schrieb Oliver Bock: In my view nobody should go around adding parameters to other programs' URLs, so I consider this problem the fault of whatever added that junk. I thought I'd mention it for interest, and in case it affects anybody else. You're right, WebKit's

[Webware-discuss] ANN: DBUtils 1.1 released

2011-08-14 Thread Christoph Zwerschke
://www.w4py.org/DBUtils/Docs/UsersGuide.html -- Christoph Zwerschke -- FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install

[Webware-discuss] 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-discuss] Webware times out on WebFaction Hosting service

2011-07-25 Thread Christoph Zwerschke
Am 25.07.2011 21:11 schrieb Roger Haase: Thank you Christoph, the problem was indeed different Python versions. All is working now. Regarding the docstring and adapter.address file, I think the least confusing route would be to fix the docstring and add Host and AdapterPort lines to the

Re: [Webware-discuss] Webware times out on WebFaction Hosting service

2011-07-23 Thread Christoph Zwerschke
Am 23.07.2011 07:05 schrieb Roger Haase: I have added a WebFaction Custom app (listening on port) to obtain a unique port number. Then I modified my wsgiadapter to point at 184.172.207.73:41759 and modified the app serverconfiguration to listen at the same address. Which Webware version are

Re: [Webware-discuss] Mismatch between request.field() and QUERY_STRING

2011-03-24 Thread Christoph Zwerschke
Am 24.03.2011 01:25 schrieb Oliver Bock: I have had a few requests where the values in request.fields() do not agree with what is in QUERY_STRING. Below, see that the referrer, QUERY_STRING and REQUEST_URI all show _id=BK000579561338, and yet in fields we see _id=BK000579558176! How

Re: [Webware-discuss] Automatic Session Save in Transaction.py

2011-03-04 Thread Christoph Zwerschke
Hi Steve, I have now implemented this option in the trunk, http://svn.w4py.org/Webware/trunk in r8156. You need to set AlwaysSaveSessions = False in Application.config to activate it. Let me know how it works as I want to release 1.1rc1 and then 1.1 as soon as possible. -- Christoph

Re: [Webware-discuss] Automatic Session Save in Transaction.py

2011-03-03 Thread Christoph Zwerschke
Hi Steve, thanks for the detailed write-up; I see the problem. The current session handling is really not ideal when you're using AJAX (which is no wonder since Webware has been designed before anybody even thought about that). IMHO the most simple solution would be to keep a dirty flag (set

Re: [Webware-discuss] Automatic Session Save in Transaction.py

2011-03-03 Thread Christoph Zwerschke
Btw, which kind of session store are you using? The default DynamicStore is based on the MemoryStore, and here requests share the same session object. So the scenario you described should actually not cause a problem for this kind of session store. -- Christoph

Re: [Webware-discuss] Automatic Session Save in Transaction.py

2011-03-03 Thread Christoph Zwerschke
Am 03.03.2011 21:38 schrieb Steve Schwarz: We use multiple appservers without session affinity so we use MemcacheSession to share sessions across appservers Ok, that explains why you've run into that issue. The session objects are not shared between threads in this case. So the simplest

Re: [Webware-discuss] Threads always sitting at MinServerThreads

2010-12-03 Thread Christoph Zwerschke
Am 02.12.2010 04:14 schrieb Oliver Bock: I observed it using a simple Webware script that reports the number of active threads and roughly what they are doing. This script is normally very fast because it waits on no locks and does no database work. However when the server is busy I have

[Webware-discuss] 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

Re: [Webware-discuss] 1.1b: 'yield' not allowed in a 'try' block with a 'finally' clause

2010-10-25 Thread Christoph Zwerschke
Am 25.10.2010 04:14 schrieb Oliver Bock: When install.py byte compiles 1.1 beta on Python 2.4.3, I get this error, which does not stop install.py: That has been fixed in the trunk already long ago, sorry that the final release got delayed. We are currently moving the webware.org server and

Re: [Webware-discuss] Adapters

2010-07-01 Thread Christoph Zwerschke
Am 01.07.2010 10:59 schrieb Chuck Esterbrook: On my new server, I haven't gotten mod_webkit2 to work yet. The build produces .slo and .lo files, but the Apache install only seems to successfully load .so files. I'm running it for years in production on SUSE Linux, the stability and

Re: [Webware-discuss] Adapters

2010-07-01 Thread Christoph Zwerschke
Am 01.07.2010 13:03 schrieb Chuck Esterbrook: Interesting. I didn't see the .libs directory at first. Is that an apxs convention or are we doing that? Normally dot files are meant to be semi-hidden, but I don't see why these files would be. It's apxs doing that. The rationale is probably that

Re: [Webware-discuss] Why does ThreadedAppServer.addSocketHandler() write to disk?

2010-06-09 Thread Christoph Zwerschke
Am 08.06.2010 23:20, schrieb Steve Schwarz: We are using Twisted to dispatch/maintain the Webware process pool. Will see about possibility of open sourcing our SingleThreadedAppServer and our twisted server as this progresses. Great. Maybe this can give us some ideas for a new native Webware

Re: [Webware-discuss] Why does ThreadedAppServer.addSocketHandler() write to disk?

2010-06-08 Thread Christoph Zwerschke
Am 07.06.2010 22:00 schrieb Steve Schwarz: We are looking to run multiple Webware instances from a single Webware directory/checkout and can do so by providing configuration differences via command line args. Just out of curiosity, why do you want to do that? I'm usually running different

Re: [Webware-discuss] Why does ThreadedAppServer.addSocketHandler() write to disk?

2010-06-08 Thread Christoph Zwerschke
Am 08.06.2010 21:27 schrieb Steve Schwarz: We'd like to simplify our deployment. Now our admins have to install Webware multiple times for each appserver instance on multiple servers. It would be easier to just deploy once and have all instance refer to that one check out. Ok, as I

Re: [Webware-discuss] Why does ThreadedAppServer.addSocketHandler() write to disk?

2010-06-08 Thread Christoph Zwerschke
Am 08.06.2010 21:44 schrieb Steve Schwarz: Yep. Looks like we are experiencing GIL contention on our compute heavy pages. Refactoring is also going on in the application to solve that problem. Adding an alternative to the MultiThreadedAppServer has been on my todo list for Webware for quite a

Re: [Webware-discuss] Example howto use FormEncode with Webware-1.1b1

2010-05-14 Thread Christoph Zwerschke
Am 13.05.2010 18:14 schrieb Georg Balmer: Next I try generate the code for the form_template using WebHelpers. HTMLgeneration is mentioned in the future list. Has this something to do with what I try to do with Webhelpers? Yes, webhelpers.html seems to do these things. Maybe it's good enough.

Re: [Webware-discuss] self.response().flush() on 1.1b1 with WSGI

2010-05-14 Thread Christoph Zwerschke
Am 14.05.2010 20:26 schrieb Roger Haase: I use a call to self.response().flush() on a couple of long running transactions. With the WSGI adapter on 1.1.b1 the transaction runs to completion, but nothing is transferred until the transaction completes. I haven't tested this with other

Re: [Webware-discuss] Example howto use FormEncode with Webware-1.1b1

2010-05-13 Thread Christoph Zwerschke
Am 13.05.2010 15:39 schrieb Georg Balmer: I tried to find a way how I could work offline on my Sphinx document an then upload the document to the wiki, but I didn't succeed. Do you have a hint for a wiki dummy? Since both Sphinx and Wiki use ReST format, you can just click on Edit - Edit

Re: [Webware-discuss] Example howto use FormEncode with Webware-1.1b1

2010-05-12 Thread Christoph Zwerschke
Am 12.05.2010 10:00 schrieb Georg Balmer: . elaborate examples Fields OK-exit That's simple, just add names to your submit buttons and check them with the hasField() method. Actually I'm not using FormEncode with Webware, so I cannot contribute any best practices to the Wiki, but the Wiki is

Re: [Webware-discuss] Example howto use FormEncode with Webware-1.1b1

2010-05-11 Thread Christoph Zwerschke
Am 11.05.2010 08:53, schrieb Georg Balmer: I got the example from a direct download from formencode.org: . [2] svn co http://svn.colorstudy.com/FormEncode/trunk FormEncode (examples directory: WebwareExamples/index.py) Thanks, I was not aware of that example. Seems it was actually written

Re: [Webware-discuss] Example howto use FormEncode with Webware-1.1b1

2010-05-11 Thread Christoph Zwerschke
Am 11.05.2010 13:33 schrieb Georg Balmer: Next step is your SchemaBuilder suggestion. Just tried it, but it doesn't seem to be very useful since you cannot specify and validator arguments, and I had to fix some things first (see http://bitbucket.org/cito/formencode/changeset/e39881f76131).

Re: [Webware-discuss] Example howto use FormEncode with Webware-1.1b1

2010-05-10 Thread Christoph Zwerschke
Am 10.05.2010 12:57 schrieb Georg Balmer: The orginal WebwareExample by Ian Bicking is working after eliminating HTMLForm but some german error messages produce a UnicodeEncodeError in HTTPResponse. Sorry, I cannot find this example you're referring to, where is it? Generally, you must

[Webware-discuss] 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

Re: [Webware-discuss] Memcached Session Submission

2010-04-15 Thread Christoph Zwerschke
Am 12.04.2010 00:59 schrieb Steve Schwarz: I'd much rather the session store fail early and raise an exception if you try to clear(). The less code in the session implementation the safer I'd feel. Ok, I have changed that now. You can configure whether you want an error, warning or ignore

Re: [Webware-discuss] Memcached Session Submission

2010-04-12 Thread Christoph Zwerschke
Am 12.04.2010 00:59 schrieb Steve Schwarz: However I'm concerned by the added code/complexity required to support clear(). In our usage of the memcached session store users are moved between servers based on load. So if the sessions are cleared on one appserver what mechanism is used to

Re: [Webware-discuss] Memcached Session Submission

2010-04-11 Thread Christoph Zwerschke
Am 15.03.2010 19:38 schrieb Steve Schwarz: I've written a memcached based Session that others might find useful. Feel free to use as you wish. I had some time today to try it out. Works nicely. I have added some improvements (namespaces, clear() and some more methods) and tests. Committed to

Re: [Webware-discuss] Memcached Session Submission

2010-03-15 Thread Christoph Zwerschke
Am 15.03.2010 19:38 schrieb Steve Schwarz: I don't recall if I've already submitted this enhancement... I've written a memcached based Session that others might find useful. Thanks, Steve. I'll have a look and probably include it with the next Webware release (yes it got postponed but is not

Re: [Webware-discuss] Can psp read the html field value?

2010-01-31 Thread Christoph Zwerschke
Am 31.01.2010 11:01 schrieb HS WAI: I am new to python server pages. Can psp read the html field value ... input type=hidden id=selected name=selected value=0 % # Read/Get the above hidden field value # Perform some task #re-write the hidden field value % I don't understand exactly what

Re: [Webware-discuss] DBUtils error at installations

2010-01-27 Thread Christoph Zwerschke
Am 27.01.2010 21:42 schrieb Redhorse, Olivia J. (WSTF-RD)[JTI]: python setup.py install --install-lib=$DISK1:[VMS$COMMON.webware093] ... File /python_root/lib/distutils/util.py, line 233, in subst_vars raise ValueError, invalid variable '$%s' % var ValueError: invalid variable '$' This

Re: [Webware-discuss] DBUtils error at installations

2010-01-27 Thread Christoph Zwerschke
Am 27.01.2010 22:12 schrieb Redhorse, Olivia J. (WSTF-RD)[JTI]: Thanks again. I will try it and see what happens. Does the Webware for Python and DBUtils need to be the same version? No, the version numbers are independent of each other. -- Christoph

Re: [Webware-discuss] catching up to webware v1

2009-12-14 Thread Christoph Zwerschke
Thanks for the kind words, Mark. There are no fundamental API changes between v0.9 and v1. But if you're updating from such an old version, you should recreate the working directory with MakeAppWorkDir, and copy the old context(s) and changes in config settings over to the newly created

Re: [Webware-discuss] Apache won't connect to app server after ubuntu 9.10 upgrade

2009-12-06 Thread Christoph Zwerschke
Peter Lyons wrote: (There are 10 total connection attempts from apache/mod_webkit to the adapter then it just gives up). I get a 500 internal server error page from apache in my browser. Hi Peter, I noticed the same problem on OpenSuse 11.2 two weeks ago and have already improved the

Re: [Webware-discuss] Recurring AssertionErrors from URLParser.py

2009-06-30 Thread Christoph Zwerschke
Gary Perez schrieb: Upon closer inspection of the emailed AssertionErrors, it appeared that the proxy requests weren't actually hitting any of the VirtualHost domains for that box, but they were explicitly connecting to http://ipaddress:8080/. So it didn't really matter how I had the

Re: [Webware-discuss] Recurring AssertionErrors from URLParser.py

2009-06-08 Thread Christoph Zwerschke
Gary Perez schrieb: I use MakeAppWorkDir.py after each (new) installation. Is it possible to install the new version of Webware then point the existing appworkdir to it in place of the older version? Or should it be run again to create a fresh appworkdir, copy context directories

[Webware-discuss] 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

Re: [Webware-discuss] Recurring AssertionErrors from URLParser.py

2009-06-02 Thread Christoph Zwerschke
Gary Perez schrieb: I'm surprised nobody has had this happen before. Googling the specific error turns up zero hits. I must be an edge-case. You config looks ok. Can you see the corresponding entries in the Apache access log? -- Christoph

Re: [Webware-discuss] Recurring AssertionErrors from URLParser.py

2009-06-02 Thread Christoph Zwerschke
Gary Perez schrieb: Various lines exist in the log files, e.g.: ... ... GET http://proxyjudge1.proxyfire.net/fastenv HTTP/1.1 ... I tried requesting such URLs with telnet, but was not able to reproduce the problem. Can you update to the latest Webware version and check whether that works

Re: [Webware-discuss] Recurring AssertionErrors from URLParser.py

2009-06-01 Thread Christoph Zwerschke
Gary Perez schrieb: I looked up this proxy5/check.php thing in Google it indicates (?) some type of proxy abuse (led me to: http://wiki.apache.org/httpd/ ProxyAbuse). So I changed the config. in httpd.conf, but that only seemed to generate more errors emails. Hi Gary, I did not come

Re: [Webware-discuss] Cannot download from SF

2009-04-01 Thread Christoph Zwerschke
Chuck Esterbrook wrote: I know this is an SF issue given the URL (http://downloads.sourceforge.net/webware/Webware-1.0.1.tar.gz), but is there anywhere else to download from? I have no problems using either URL. But you can always use the following alternative download location:

Re: [Webware-discuss] end of session hook question

2009-02-06 Thread Christoph Zwerschke
Erez Bibi schrieb: I need to call a method on an object I keep in session when the session is closed. I couldn't find any info of how to do it. Is there a call-back function I can register for the session end event? If not I guess I can extend the Session calls and over write the expiring

[Webware-discuss] 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

[Webware-discuss] 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

Re: [Webware-discuss] Using webware on VMS

2009-01-13 Thread Christoph Zwerschke
Redhorse, Olivia J. (WSTF-RD)[JTI] schrieb: One more question. Is the CGImakeappworkdir.py for Apache as well? Because the readme file explains it is for running Webware on VMS in a WASD CGIPlus environment. Thanks again. The whole CGIPlus directory makes probably only sense with WASD. For

Re: [Webware-discuss] Using webware on VMS

2009-01-12 Thread Christoph Zwerschke
Redhorse, Olivia J. (WSTF-RD)[JTI] schrieb: When you create a new working directory does it assign a new port or do I somehow navigate to the directory through the first working directory created at install? You must start the application server inside your working directory in order to use

Re: [Webware-discuss] Using webware on VMS

2009-01-12 Thread Christoph Zwerschke
Redhorse, Olivia J. (WSTF-RD)[JTI] schrieb: Was I suppose to use the CgiPlusMakeAppWorkDir.py file instead because I am using Webware on VMS? Right, I forgot that VMS is somewhat different from Unix. In WebKit/Adapters/CGIPlus you find the CgiPlusMakeAppWorkDir.py script and a README file

Re: [Webware-discuss] Using webware on VMS

2009-01-12 Thread Christoph Zwerschke
Redhorse, Olivia J. (WSTF-RD)[JTI] schrieb: How do I get rid of the working directory I tried to get running? As the name says, these are just working directories. You can create and delete them as you like (outside the Webware installation directory which you should always leave intact). --

[Webware-discuss] Webware Wiki update

2009-01-03 Thread Christoph Zwerschke
Version 0.2 of the Webware Wiki (the software driving http://wiki.w4py.org, http://wiki.sqlobject.org and http://wiki.cheetahtemplate.org) is available now. See also http://wiki.w4py.org/thiswiki.html and http://wiki.w4py.org/wikifeatures.html for more info about this great Webware application.

[Webware-discuss] 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,

Re: [Webware-discuss] New to Webware

2008-11-26 Thread Christoph Zwerschke
Redhorse, Olivia J. (WSTF-RD)[JTI] schrieb: I recently installed Webware for Python on VMS. I am attempting to figure out how to use Webware to implement my python web application, but I don't know where to start. Where can I find information on how to use Webware or implement my web

[Webware-discuss] 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

Re: [Webware-discuss] Backend Databases for Webware

2008-11-12 Thread Christoph Zwerschke
Redhorse, Olivia J. (WSTF-RD)[JTI] schrieb: I have been searching for Python web frameworks and ran across Webware for Python. I have a couple of questions. Does Webware for Python work with Oracle Rdb ( http://www.oracle.com/technology/products/rdb/index.html

Re: [Webware-discuss] MiddleKit Threading Error?

2008-11-10 Thread Christoph Zwerschke
Roger Haase schrieb: I have downloaded the latest version of MiddleObject.py and verified that putting the lock on the class level works for me. Per your previous messages, it looks like you have already processed the 3 other MiddleKit changes in the queue. Good to hear. Yes, I wanted to

Re: [Webware-discuss] MiddleKit Threading Error?

2008-11-06 Thread Christoph Zwerschke
Christoph Zwerschke schrieb: Btw, I was trying to run the MiddleKit test suite, but I get many errors. For instance when running python Test.py MKDelete I get a Lock wait timeout exceeded (this hasn't anything to do with the lock in the patch, I get it also without your patch). I had

Re: [Webware-discuss] MiddleKit Threading Error?

2008-11-04 Thread Christoph Zwerschke
Roger Haase schrieb: I had to revise your new MiddleObject.py to put the _mk_cacheLock = threading.RLock() statement at the module level rather than in the MiddleObject __init__ method. A new MiddleObject instance is being created with each request so putting the lock inside the object

Re: [Webware-discuss] MiddleKit Threading Error?

2008-11-02 Thread Christoph Zwerschke
Roger Haase schrieb: My revised solution is to put the lock at the beginning and end of the method. I never used MiddleKit, so I don't know how to test this, but since it looks reasonable I've checked this in anyway, and cleaned up MiddleObject.py a bit. Can you check whether this works for

Re: [Webware-discuss] SessionFileStore error saving session to disk

2008-07-31 Thread Christoph Zwerschke
TypeError: 'NoneType' object is not callable MiscInfo These occur in production and thousands of sessions are stored to disk successfully. But at some point it is as if pickle.dump is no longer existent in the running app server. Has anyone else seen this or have any ideas? We could modify

[Webware-discuss] 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,

Re: [Webware-discuss] No SCGI connector?

2008-04-19 Thread Christoph Zwerschke
The trunk of Webware now has SCGI support built into the App Server. You can enable it with the Appserver.config setting EnableSCGI and choose a port with the setting SCGIPort. This works analoguous to the standard WebKit adapter. -- Christoph

Re: [Webware-discuss] No SCGI connector?

2008-04-18 Thread Christoph Zwerschke
Lothar Scholz wrote: I haven't looked into webware for three years. I checked the website yesterday and it seems that there is no SCGI connector available. Is this true? Yes, I think there is only an FCGI adapter. We recommend using mod_webkit with Webware. -- Christoph

Re: [Webware-discuss] SteadyDB and cx_Oracle

2008-04-09 Thread Christoph Zwerschke
Matthew J Harriger wrote: I am using just the SteadyDB module from DBUtils to provide fault-tolerant connections to an Oracle database using cx_Oracle as the dbapi2 module. If a client loses its network connection (network cable unplugged, out of range of the wireless network, etc.), and

Re: [Webware-discuss] One solution for error loading mod_webkit on a Core 2 Duo

2008-03-14 Thread Christoph Zwerschke
Alexander Southgate schrieb: I'm not entirely clear on the details but my universal binary apache couldn't load up this module. All the other modules were universal binaries so after a bit of research I found the necessary flags to compile mod_webkit as a universal binary (compiling as just

Re: [Webware-discuss] One solution for error loading mod_webkit on a Core 2 Duo

2008-03-14 Thread Christoph Zwerschke
Mark Phillips schrieb: I have not been following this thread so I may be way off base on this. Still, I am reasonably adept with Mac OS X. If you have the time to assemble the task, I will run the process for you on an Intel Mac and share the results. If I run into osx specific issues, I

Re: [Webware-discuss] One solution for error loading mod_webkit on a Core 2 Duo

2008-03-14 Thread Christoph Zwerschke
Alexander Southgate schrieb: Actually, this line needed an extra space after -WI,. Then it builds all 3 archs properly: LDFLAGS=-Wl, -arch x86_64 -arch ppc -arch i386 Still, it seems to work without specifying -WI at all. Ok. (Btw, make sure you have no typos. It should be a lower-case l

Re: [Webware-discuss] webware and webware application packaging

2008-03-07 Thread Christoph Zwerschke
Sophana schrieb: I'm using webware and am very happy with it. However, I think webware packaging should be more standard I think it becomes necessary to have easyinstall, rpm or debian packages of webware Webware is really old, started in the pre Python 2.0 ages which had not even a

Re: [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

Re: [Webware-discuss] forward() and Session mgmt

2008-01-27 Thread Christoph Zwerschke
Christoph Zwerschke schrieb: Ben Parker wrote: Calls to forward() will invoke the complete awake/respond/sleep cycle within the outer awake/respond/sleep cycle of the parent transaction. This means that if a servlet forwards a request to another servlet, then the session will be awakened

Re: [Webware-discuss] Fun with forms

2008-01-05 Thread Christoph Zwerschke
Mark Phillips wrote: On Jan 4, 2008, at 8:13 AM, Christoph Zwerschke wrote: Please note that FunFormKit is somewhat outdated and not maintained any more - has been superseeded with FormEncode which is not a Webware plug-in but of course you can also use it with Webware. [snip] FormKit

Re: [Webware-discuss] Fun with forms

2008-01-04 Thread Christoph Zwerschke
Mark Phillips wrote: I am, at long last, playing around with using Webware for html pages that are information submission forms. I would like to create a dozen or so information request forms that are validated before being accepted. I can see that KidKit is loaded but I don't see how

Re: [Webware-discuss] postgres and webware tutorial?

2008-01-02 Thread Christoph Zwerschke
Tim Roberts wrote: Just had a look: You are subscribed, but you chose the digest option, so you get only mail once a day. If you have been waiting for longer than a day, maybe it got stuck in your spam filter? If that is the intent, there is a configuration problem with the digest. I

Re: [Webware-discuss] restated question about mod_webkit and apache 2.0

2007-12-29 Thread Christoph Zwerschke
Mark Phillips wrote: The WebKit discussion mentions apache 1.3. and apache 2.2. The WebKit for apache 1.3 version won't work with apache 2.0. Will the WebKit for apache 2.2 work with apache 2.0? That is, is it dependent on 2.2 features or is the reference to 2.2 the highest version it

Re: [Webware-discuss] postgres and webware tutorial?

2007-12-21 Thread Christoph Zwerschke
Steven Yip wrote: I have gone through most of the tutorials in the installation for webware, but couldn't find any on database applications. Maybe I didn't dig deep enough, but would appreciate if anyone could point out to any tutorials with DB access for PostGres. Database is supported by

Re: [Webware-discuss] Getting mysql 5 to work with alltests.py

2007-12-20 Thread Christoph Zwerschke
Steven Yip wrote: But when I ran the AllTests.py, I got this error: Besides the problem mentioned by Seth, there was a bug in UserManagerTest - it did not work with a database password. I have just fixed that in r7158. You can download the fixed UserManagerTest.py here:

Re: [Webware-discuss] Getting mysql 5 to work with alltests.py

2007-12-20 Thread Christoph Zwerschke
You can also leave the defaults 'extraSysPath': [], 'mysqlClient': 'mysql', if you put K:/Program Files/MySQL/MySQL Server 5.0/bin in your Windows PATH. -- Chris - This SF.net email is sponsored by: Microsoft Defy all

Re: [Webware-discuss] forward() and Session mgmt

2007-12-18 Thread Christoph Zwerschke
Ben Parker wrote: Calls to forward() will invoke the complete awake/respond/sleep cycle within the outer awake/respond/sleep cycle of the parent transaction. This means that if a servlet forwards a request to another servlet, then the session will be awakened twice and put to sleep twice

Re: [Webware-discuss] mod_webkit on apache2 on x86_64

2007-10-26 Thread Christoph Zwerschke
Matt Feifarek wrote: Contexts['default'] = Contexts['sp'] Assuming that Contexts was a dictionary, I assigned the value of 'default' to the value of 'sp'. In the example config from a clean workdir, it looks more like this: Contexts['default'] = 'sp' Hm, I tested this and looked at the

Re: [Webware-discuss] Session Issue

2007-08-02 Thread Christoph Zwerschke
I will revert to the previous server, then try to reproduce the problem. I hope the session incompatibility will not show up again... Yes, you should check the new version on the old server and the old version on the new server to see whether it is an issue of the server or or Webware. I have

Re: [Webware-discuss] Webware 0.9.1 w/ Apache 2.0.43 Windows XP: The specified procedure could not be found.

2007-08-02 Thread Christoph Zwerschke
Lincoln Han wrote: However, when I copied the mod_webkit.dll to the apache modules directory from the Webware-0.8.1.tar, it works without any additional step. Maybe the new compiled version works only with Apache 2.2, not 2.0. -- Chris

Re: [Webware-discuss] Webware 0.9.1 w/ Apache 2.0.43 Windows XP: The specified procedure could not be found.

2007-08-02 Thread Christoph Zwerschke
Lincoln Han wrote: I don't have MS Visual C++ so I didn't recompile it from the source code. However, any suggestions? You don't need that. You can use the free Microsoft Visual C++ 2005 Express Edition (see README file of mod_webkit2). -- Chris

[Webware-discuss] 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

  1   2   3   >