Re: [Webware-discuss] Logos

2003-03-31 Thread Karl Putland
I keen on that blue an yellow one. --Karl On Mon, 2003-03-31 at 14:43, Luke Opperman wrote: > I had one of my graphics slaves throw these together. Enjoy. > > (He's a well-paid slave, before the lawyers come for me...) > > - Luke -- Karl Putla

[Webware-discuss] am I missing something

2003-03-15 Thread Karl Putland
In ThreadedAppserver.py I don't understand how the following line makes sense. #Note that this limits the size of the dictionary we receive from the AppServer to 2,147,483,647 bytes int_length = len(dumps(int(1))) doesn't int_length == 5 at least it does in a python shell. -- Ka

[Webware-discuss] [Fwd: [Skunkweb-list] skunkweb hosting]

2003-02-25 Thread Karl Putland
arships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp ___ Skunkweb-list mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/skunkweb-list -- Karl Putl

Re: [Webware-discuss] Webware Application Design Patterns

2003-02-24 Thread Karl Putland
proprietary code, we could host something on SourceForge. When I know more about the direction it's headed I'll send an update to the list. -- Karl Putland <[EMAIL PROTECTED]> --- This sf.net email is sponsored by:ThinkGeek

Re: [Webware-discuss] ExtendingThreadedAppServer.RequestHandler.handleRequest()

2003-02-15 Thread Karl Putland
tween. > Not to mention that an aol client changes IP addresses for almost every request off of the aol network. > ciao -- Karl Putland <[EMAIL PROTECTED]> --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. ht

Re: [Webware-discuss] ANN: SQLObject 0.2

2003-01-29 Thread Karl Putland
t way. Neither is actually > related to WebKit (and hence most of Webware), but of course they are > useful for web/database applications. Sounds a lot like PyDO from the skunkweb folks. -- Karl Putland <[EMAIL PROTECTED]> --- Thi

Re: [Webware-discuss] Re: [Webware-devel] Patch for Page.py

2002-10-08 Thread Karl Putland
On Tue, 2002-10-08 at 19:10, Ian Bicking wrote: > On Tue, 2002-10-01 at 23:18, Karl Putland wrote: > > This patch provides unification of "old style" and normal actions. > > For those that would need to keep the "old style" actions as they were > > a c

[Webware-discuss] Re: [Webware-devel] Patch for Page.py

2002-10-01 Thread Karl Putland
Doh... This one works. _transaction() should have been transaction() in the first patch. --Karl On Tue, 2002-10-01 at 22:18, Karl Putland wrote: > This patch provides unification of "old style" and normal actions. > For those that would need to keep the "old style"

[Webware-discuss] Error with PSP examples in CVS Webware

2002-10-01 Thread Karl Putland
py", line 42, in writeHTML self.transaction().application().includeURL(self.transaction(), __pspincludepath) File "./WebKit/Application.py", line 670, in includeURL self.createServletInTransaction(trans) File "./WebKit/Application.py", line 997, in createServletInTrans

[Webware-discuss] Patch for Page.py

2002-10-01 Thread Karl Putland
ble to the world, but the www.shipeze.com is just another context. :) -- Karl Putland Director of Technical Operations ShipEze Inc Index: Page.py === RCS file: /cvsroot/webware/Webware/WebKit/Page.py,v retrieving revision 1.

RE: [Webware-discuss] Chart generation

2002-07-30 Thread Karl Putland
On Tue, 2002-07-30 at 10:27, Geoffrey Talvola wrote: > Karl Putland wrote: > > On Mon, 2002-07-29 at 23:39, Edmund Lian wrote: > > > Has anybody had any experience generating business-style > > charts on-the-fly > > > from within Webware? If so, what did you us

Re: [Webware-discuss] Chart generation

2002-07-30 Thread Karl Putland
ed by: Dice - The leading online job board > for high-tech professionals. Search and apply for tech jobs today! > http://seeker.dice.com/seeker.epl?rel_code=31 > ___ > Webware-discuss mailing list > [EMAIL PROTECTED] > https://lists.s

RE: [Webware-discuss] Action behavior/issues

2002-07-22 Thread Karl Putland
section now looks for req.hasField('_action_') and action == req.value('_action_') This would consolidate the action handling and still allow anyone using TRUE "old style" actions to turn that functionality on. --Karl > > --- > This sf.net email i

[Webware-discuss] Action behavior/issues

2002-07-17 Thread Karl Putland
igurable option. SupportOldStyleActions = 1 or 0 If it is a Configurable option, I think it precedes the "_action_methodName" section. --Karl -- Karl Putland Director of Technical Operations ShipEze Inc --- This sf.net email is sp

[Webware-discuss] Action behavior/issues

2002-07-17 Thread Karl Putland
igurable option. SupportOldStyleActions = 1 or 0 If it is a Configurable option, I think it precedes the "_action_methodName" section. --Karl -- Karl Putland Director of Technical Operations ShipEze Inc --- This sf.net email is sp

[Webware-discuss] image submit action.(x|y)

2002-07-09 Thread Karl Putland
in the right direction. Thanks much. -- Karl Putland Director of Technical Operations ShipEze Inc --- This sf.net email is sponsored by:ThinkGeek Stuff, things, and much much more. http://thinkgeek.com/sf

Re: [Webware-discuss] Webware aborting. (oops forgot to change thesubject.)

2002-07-01 Thread Karl Putland
On Mon, 2002-07-01 at 09:31, Karl Putland wrote: > On Sun, 2002-06-30 at 22:24, Karl Putland wrote: > > On Sun, 2002-06-30 at 21:58, Edmund Lian wrote: > > > > > > Karl wrote: > > > > > > >I am using psycopg, but it doesn't appear to be

Re: [Webware-discuss] Webware aborting. (oops forgot to change thesubject.)

2002-07-01 Thread Karl Putland
On Mon, 2002-07-01 at 09:31, Karl Putland wrote: > > > > I think I've tracked it down to a python problem. The difference > between the machines is the version of python. 2.2.1 on the machine > that fails, and 2.2 on the machine that works. I'm downgrading to

Re: [Webware-discuss] Webware aborting. (oops forgot to change thesubject.)

2002-07-01 Thread Karl Putland
On Sun, 2002-06-30 at 22:24, Karl Putland wrote: > On Sun, 2002-06-30 at 21:58, Edmund Lian wrote: > > > > Karl wrote: > > > > >I am using psycopg, but it doesn't appear to be related to the > > >db module. A plethora of print statements show that

Re: [Webware-discuss] Webware aborting. (oops forgot to changethe subject.)

2002-06-30 Thread Karl Putland
On Sun, 2002-06-30 at 21:58, Edmund Lian wrote: > > Karl wrote: > > >I am using psycopg, but it doesn't appear to be related to the > >db module. A plethora of print statements show that the select > >completes, the loop finishes, the page finishes, then the AppServer > >pukes > > Hmmm... then

Re: [Webware-discuss] Webware aborting. (oops forgot to change thesubject.)

2002-06-30 Thread Karl Putland
. There is a >global > lock that prevents load balancing across cpu's in an SMP server. > I understand about the global interpreter lock. -- Karl Putland Director of Technical Operations ShipEze Inc --- This sf.net ema

[Webware-discuss] Webware aborting. (oops forgot to change the subject.)

2002-06-30 Thread Karl Putland
If there needs to be more debugging, please let me know where to turn it on. Are there OS limits that would affect webware? -- Karl Putland Director of Technical Operations ShipEze Inc [lvanhelden@mercury webware]$ ./AppServer WebKit AppServer 0.7 part of Webware for Python Copyright 1999-200

Re: [Webware-discuss] extraPath and relative URLs to images

2002-06-30 Thread Karl Putland
If there needs to be more debugging, please let me know where to turn it on. Are there OS limits that would affect webware? -- Karl Putland Director of Technical Operations ShipEze Inc [lvanhelden@mercury webware]$ ./AppServer WebKit AppServer 0.7 part of Webware for Python Copyright 19

Re: [Webware-discuss] OT: PostgreSQL interfaces

2002-05-17 Thread Karl Putland
On Thu, 2002-05-16 at 22:10, Edmund Lian wrote: > > The leading PostgreSQL DB modules seem to be pyPgSQL and psycopg. Does > anybody have any comments regarding which module they found better to > use/more stable in the context of a Webware application? There seems to be > very little chatter com

Re: [Webware-discuss] WebKit Error traceback pages don't close th eir connection?

2002-05-06 Thread Karl Putland
Geoffrey Talvola wrote: >Hancock, David wrote: > >>I've trimmed the quoted parts down a lot--I hope that's OK in >>our list's >>etiquette. >> >>I've done the next two suggested troubleshooting steps (put a >>write after >>WriteFancyTraceback in ExceptionHandler, print timestamp on >>console be

[Webware-discuss] image submit

2002-05-04 Thread Karl Putland
Was there ever a resolution to the image submit w/ fields being named _action_myAction.x, _action_myAction.y? --Karl ___ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognitio

Re: [Webware-discuss] DB Connection Pulling

2002-05-03 Thread Karl Putland
Ian Bicking wrote: >One technique I've thought about in lieu of round-robin pooling is >simply allocating one connection per thread. E.g.: > >def makeConnection(): >return dbadapter.connect(arg1, arg2, etc) > >_connectionPool = {} >def getConnection(): >name = threading.currentThread().g

Re: [Webware-discuss] DB Connection Pulling

2002-05-03 Thread Karl Putland
Geoffrey Talvola wrote: >Karl Putland wrote: > >>The one thing that I never figured out was how to use DBPool >>in a fasion >>that actually allowed the pool to exits once and keep the pool of >>connections. >>This was my motication to write my own pooling m

Re: [Webware-discuss] DB Connection Pulling

2002-05-03 Thread Karl Putland
Chuck Esterbrook wrote: >On Friday 03 May 2002 06:55 am, Costas Malamas wrote: > >>Well, I am convinced, I'll go ahead and try it out. >> >>What I am not following from the docs though is how do you use >>DBPool; I am not familiar with threading (at all!), so I don't get >>the setup. E.g. do you

Re: [Webware-discuss] DB Connection Pulling

2002-05-02 Thread Karl Putland
On Thu, 2002-05-02 at 15:57, Costas Malamas wrote: > I remember there was a conversation here about DBPool.py and how it is not > really pooling DB Connections. Has anybody attacked this problem? > > Thanks, > I've got a ConnectionPool class that I wrote. And your welcome to have a look at it

[Webware-discuss] contexts

2002-05-02 Thread Karl Putland
So these may sound like a dumb questions, but I haven't quite figured it out yet. What is the point of contexts? There is an __init__.py in the context directory. What useful stuff can be put in there? How do you use contexts? --Karl

Re: [Webware-discuss] Groupware

2002-04-25 Thread Karl Putland
On Thu, 2002-04-25 at 09:03, Ernesto Revilla wrote: > Dear all, > (espec. Karl Putland) > I'm flattered :) > At first I would like to let you know that the discussion about XML and > about Model-View-Controller are very interesting. > > Second: Is there anybody

RE: [Webware-discuss] PSP vs. Servlets? + OT sidetracked rant on work flow

2002-04-18 Thread Karl Putland
--- Geoffrey Talvola <[EMAIL PROTECTED]> wrote: [...] > Are you using self.includeURL() from the controller servlet to > pull in the > psp's? Or self.callMethodOfServlet()? > > - Geoff I'm using self.includeURL() for includeing the views. Then when the controller is done, It does a response.sen

Re: [Webware-discuss] how do i use form fields?

2002-04-18 Thread Karl Putland
--- Ian L <[EMAIL PROTECTED]> wrote: > i've got a psp page with about 4 lines of code on it, which isnt > working. > > I've imported cgi, and i have the following lines of code: > <% > form = cgi.FieldStorage() > formname = form["name"].value > %> > some html > <%=formname%> > > when i submit t

RE: [Webware-discuss] PSP vs. Servlets?

2002-04-17 Thread Karl Putland
--- Geoffrey Talvola <[EMAIL PROTECTED]> wrote: > Kevin Murphy wrote: > > >When I'm creating a new page, I'll usually go ahead and > > create both an > > >"empty" PSP and an "empty" Servlet that is the PSP's base > > class. Then I'll > > >start putting the "preparation" methods into the Servle

Re: [Webware-discuss] WebKit Request Fields Error

2002-04-15 Thread Karl Putland
--- Tim Payne <[EMAIL PROTECTED]> wrote: [...] > information. To fix this, I set up the action of the login form > to post > the data to whatever HTTP_REFERER was recorded. This wasn't a > perfect > solution but it works for now. Should probably put the fields as ... on your login form.

[Webware-discuss] awake respond sleep cycle

2002-04-03 Thread Karl Putland
I'm trying to understand the whole transaction mechanism in WebKit. I attempted to subclass page calling it DatabasePage with methods for connection management and hook a hook around sleep to manage the commit/rollback for the page. This works well for pages without errors. The commit is called

RE: [Webware-discuss] awake respond sleep cycle

2002-04-03 Thread Karl Putland
--- Geoffrey Talvola <[EMAIL PROTECTED]> wrote: > Ian Bicking wrote: > > On Tue, 2002-04-02 at 16:58, Geoffrey Talvola wrote: > > > def _respond(self): > > > try: > > > Page._respond(self) > > > except: > > > self.rollbackTransaction() > >

Fwd: RE: [Webware-discuss] awake respond sleep cycle

2002-04-03 Thread Karl Putland
Sorry if you get this twice... Thing don't seem to be hitting the list. --Karl --- Karl Putland <[EMAIL PROTECTED]> wrote: > Date: Tue, 2 Apr 2002 18:03:39 -0800 (PST) > From: Karl Putland <[EMAIL PROTECTED]> > Subject: RE: [Webware-discuss] awake respond sleep cy

RE: [Webware-discuss] awake respond sleep cycle

2002-04-03 Thread Karl Putland
--- Geoffrey Talvola <[EMAIL PROTECTED]> wrote: > Karl Putland wrote: > > I'm trying to understand the whole transaction mechanism in [...] > > Maybe the right thing to do is to modify WebKit so that if an > exception > occurs during respond(), it still calls sl

[Webware-discuss] awake respond sleep cycle

2002-04-02 Thread Karl Putland
Sorry if you got this twice but I didn't see it go through to the list. I'm trying to understand the whole transaction mechanism in WebKit. I attempted to subclass page calling it DatabasePage with methods for connection management and hook a hook around sleep to manage the commit/rollback for

Re: [Webware-discuss] DBPool questions

2002-03-29 Thread Karl Putland
--- Steve Waterbury <[EMAIL PROTECTED]> wrote: > Karl Putland wrote: > > > ... integrated > > connection pooling is something that I will need ... > > If PostgreSQL is a possible choice for the database, you might > want to check out the psycopg adapter,

Re: [Webware-discuss] DBPool questions

2002-03-29 Thread Karl Putland
--- Chuck Esterbrook <[EMAIL PROTECTED]> wrote: > * Is anyone using MiscUtils/DBPool.py? > * If so, what databases? > * If so, did you get a speed up? > > There is this interesting note in the file: >"Reportedly there has been no speed up in tests with MySQL." > > > And last, but not least