Re: [Webware-discuss] CanKit Question

2002-07-17 Thread Ian Bicking
Paul Boddie wrote on this some: http://www.boddie.org.uk/python/web_modules_enterprise.html What little I understand about beans comes from there. IMHO, beans aren't as necessary in Python, because interfaces don't have to be formalized to such a degree, and introspection is easier than in Java.

Re: [Webware-discuss] CanKit Question

2002-07-17 Thread rdg
Ian -- Thanks for the update on CanKit. Not being a Java / Tomcat (Websphere) developer, the "Java Bean" is sort-of an unknown to me. Given that the CanKit was to parallel the bean, can you explain what the cankit (beans) was going to do and how you  are doing those things now, in Webwar

Re: [Webware-discuss] Understanding The Examples

2002-07-17 Thread Ian Bicking
PSP is a Kit -- when the AppServer starts up, it searches the subdirectories of Webware/ for these packages. I'm not sure exactly what criteria the AppServer uses, but I believe when it finds a Properties.py file, it inserts the Kit into the AppServer. This means it gets some information from Pr

[Webware-discuss] Understanding The Examples

2002-07-17 Thread rdg
In an effort to come up to speed on WebWare & WebKit, I decided to study the Example and Admin code sets. There is one thing (up to this point) that I have not been able to figure out after many hours of searching and analysis.  In the sidebar of the main page of "Example", there are to

Re: [Webware-discuss] CanKit Question

2002-07-17 Thread Ian Bicking
It wasn't being used or actively developed, and it has been put aside. I believe references to it have been deleted from recent releases. I believe Jay Love was behind it. It's been unclear to a lot of us what exactly its goals were -- Bean-like, but even that needs some explaining in the conte

[Webware-discuss] CanKit Question

2002-07-17 Thread rdg
Having read and reread all of the WebWare and WebKit docs, I went on to review the last 4 months of mailing list archives. In all of that, I only saw 2 or 3 references to implementing "beans" for WebWare -- under the name CanKit. Can someone tell me the status of CanKit?  Is there any cur

[Webware-discuss] COM object server stopping

2002-07-17 Thread Stefan Kuzminski
Hi, I'm using Webware (.7) with IIS and ActiveState's 2.2.1 python. I get this occasional exception calling COM from the appserver, it didn't happen when I was running with Apache, but I try to make my corporate manger happy and use IIS and see what I get...:( File "c:/pmt/reporting/src\fi

RE: [Webware-discuss] MiddleKit Browser Problems

2002-07-17 Thread Geoffrey Talvola
Since nobody else has responded, I thought I'd throw this in. I _think_ I remember the MiddleKit Browser being broken the last time I used Middlekit, which was many months ago. You may be better off just using an interactive Python session to start playing around with MiddleKit. Then once you'r

[Webware-discuss] CVS updates

2002-07-17 Thread Geoffrey Talvola
Webware CVS updates: New features in PickleRPC: - gzip compression of both request and response, enabled by default - binary pickles instead of text pickles, enabled by default - SafeUnpickler class used to prevent malicious users from importing and executing arbitrary modules by carefully const

Re: [Webware-discuss] WebWare install problem

2002-07-17 Thread Ian Bicking
Just like Ivan, you must set up an adapter first -- you cannot connect directly to the AppServer. This is described in the documentation. On Wed, 2002-07-17 at 14:33, Scott Comboni wrote: > Hello All, > I'm new to Webware so this is most likely a dumb and common questions. > I'm running Apache

Re: [Webware-discuss] webware app server

2002-07-17 Thread Ian Bicking
Are you trying to connect directly to the AppServer (i.e., http://localhost:8086)? You can't do this, you must set up an adapter first, as described in the documentation. On Wed, 2002-07-17 at 04:29, ivan strika wrote: > > Hi , > I need some help > > The Situation: > > Loading plug-in: TaskKi

[Webware-discuss] Help

2002-07-17 Thread ivan strika
>From: Mail Delivery System <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Mail delivery failed: returning message to sender >Date: Wed, 17 Jul 2002 02:29:42 -0700 > >This message was created automatically by mail delivery software (Exim). > >A message that you sent could not be delivered

[Webware-discuss] WebWare install problem

2002-07-17 Thread Scott Comboni
Hello All, I'm new to Webware so this is most likely a dumb and common questions. I'm running Apache 1.2.26, with webkit_mod loaded on Linux. Python Version 2.2.1. I ran the startup webkit script and added it to /etc/init.d as stated. There are no errors when I start it. The error below is w

[Webware-discuss] Action behavior/issues

2002-07-17 Thread Karl Putland
Issues with actions: 1. Multiple submit buttons on the same page and submit with "Enter". Problem: Browsers have undefined behavior with regard to multiple submit buttons on the same form. Some of them provide the name=value pair of the first submit button of the form some don't provide any name

[Webware-discuss] Action behavior/issues

2002-07-17 Thread Karl Putland
Issues with actions: 1. Multiple submit buttons on the same page and submit with "Enter". Problem: Browsers have undefined behavior with regard to multiple submit buttons on the same form. Some of them provide the name=value pair of the first submit button of the form some don't provide any nam

Re: [Webware-discuss] how does webware handle 'import'?

2002-07-17 Thread Michael Bub
On Wed, 17 Jul 2002, Stefan Schwarzer wrote: > It may be or not that you encounter problems with differently specified import > statements. (A similar problem, see below, happened to me also, and it took me > a while to find it.) Yes, you are correct. Ian and you finally made me find the mistake

[Webware-discuss] webware app server

2002-07-17 Thread ivan strika
Hi , I need some help The Situation: Loading plug-in: TaskKit at C:\Python22\Lib\site-packages\Webware\TaskKit Loading plug-in: UserKit at C:\Python22\Lib\site-packages\Webware\UserKit Loading plug-in: WebUtils at C:\Python22\Lib\site-packages\Webware\WebUtils Listening on ('127.0.0.1', 8086)

Re: [Webware-discuss] RE: [Webware-devel] Webware distributionlayout/permissions (was Re: Webware (Free)BSD-Port?)

2002-07-17 Thread Stefan Schwarzer
Hello Geoff On 12 Jul 2002, Geoff Talvola wrote: > I don't know how FreeBSD ports work, but did you have to write scripts > to create this port? If so, they should be checked into Webware CVS so > that it can be repeated. The port consists of several files: -rw-r--r-- 1 root wheel 3967 Jul

Re: [Webware-discuss] how does webware handle 'import'?

2002-07-17 Thread Stefan Schwarzer
Hello Michael On Wed, 17 Jul 2002, Michael Bub wrote: > First, I had some problems with my singletons. Sometimes, the singleton > instance was just forgotten about and a new one was created. No good. > I then found out that this was due to a re-import of the class, i. e. > Webware behaves as if t

Re: [Webware-discuss] how does webware handle 'import'?

2002-07-17 Thread Ian Bicking
Actually, I take that back. Only the servlet's module gets reloaded, other modules don't. (unless you explicitly reload() them) You should check sys.path first -- I believe it is printed in error pages -- and make sure there's no ambiguities. Then you may also want to look at sys.modules (maybe

Re: [Webware-discuss] how does webware handle 'import'?

2002-07-17 Thread Ian Bicking
Is the module imported from a servlet? Servlets get re-imported if the file is edited and the page is reloaded. If you don't edit the files this won't happen. On Wed, 2002-07-17 at 02:53, Michael Bub wrote: > I am currently writing a WebApp using Webware0.7/Python2.2, and I have > discovered a

[Webware-discuss] how does webware handle 'import'?

2002-07-17 Thread Michael Bub
I am currently writing a WebApp using Webware0.7/Python2.2, and I have discovered a strange (at least for me) behaviour. And I bet that you guys are just the ones to tell me how to handle this, or what I might be doing wrong. First, I had some problems with my singletons. Sometimes, the singleton