Re: [Zope] Using Cookie Data

2000-05-24 Thread Hannu Krosing
Jim wrote: I have a cookie that contains the value of an psql key as its value. I want to retrieve the value and use it to call the psql query method to retrieve the data. The code that I am currently using is dtml-in qryGetCustomer(REQUEST.cookies[Company_Name)] try quotes: dtml-in

Re: [Zope] Re: [Zope-Annce] ANN: Perl For Zope - why I'm bummed

2000-05-25 Thread Hannu Krosing
Kevin Dangoor wrote: I haven't heard of anyone standing up and saying "I'm not going to use Linux, because people might write tools in perl [or awk, or C, or lisp, or sh, or yacc or postscript, or ...]" Perhaps that's a better way to look at Zope... not as a python web application, but as

Re: [Zope] Thread-safe PostgreSQL adaptor?

2000-06-01 Thread Hannu Krosing
[EMAIL PROTECTED] wrote: try also, ZPoPyDA ZPoPyDA is a *stable* Postgresql Database Adapter for Zope based on our driver PoPy. It aims to replace the current ZPygresql DA. This database adapter is released under the GPL Licence. AFAIK this is the only DA with GPL license. Both Zope

Re: [Zope] Thread-safe PostgreSQL adaptor?

2000-06-01 Thread Hannu Krosing
Hannu Krosing wrote: [EMAIL PROTECTED] wrote: try also, ZPoPyDA ZPoPyDA is a *stable* Postgresql Database Adapter for Zope based on our driver PoPy. It aims to replace the current ZPygresql DA. This database adapter is released under the GPL Licence. AFAIK

Re: [Zope] Thread-safe PostgreSQL adaptor?

2000-06-01 Thread Hannu Krosing
Oleg Broytmann wrote: Hi! On Thu, 1 Jun 2000, Hannu Krosing wrote: AFAIK this is the only DA with GPL license. Both Zope and python have much freer licenses making GPL probably a poor choice if you "aims to replace the current ZPygresql DA". What is the reason behi

Re: [Zope] Interbase / Cacheing - A thought

2000-06-01 Thread Hannu Krosing
Ian Sparks wrote: Had a thought that I wanted to share. Interbase has a feature known as "event alerts". In a trigger you can post "events" which are just fixed data strings e.g. "DataAdded" or "Insert_tblUsers". PostgreSQL has them too. It's not (afaik) supported by DB-API, but could

Re: [Zope] Interbase / Cacheing - A thought

2000-06-01 Thread Hannu Krosing
Cary O'Brien wrote: Ian Sparks wrote: Had a thought that I wanted to share. Interbase has a feature known as "event alerts". In a trigger you can post "events" which are just fixed data strings e.g. "DataAdded" or "Insert_tblUsers". PostgreSQL has them too. It's not

Re: [Zope] Interbase / Cacheing - A thought

2000-06-01 Thread Hannu Krosing
Ian Sparks wrote: Hannu, Does PostgresSQL allow you to have dynamic events? By this I mean can you do things like : PostEvent "Update_tblUsers_Record_" + new.RecordID; No, but it may change sometime (possibly soon) as PostgreSQL is an open-source product ... I believe that in

Re: [Zope] How-to Bypass DTML Code?

2000-06-26 Thread Hannu Krosing
"Nestor A. Diaz L." wrote: Hi, anyone know how to bypass the dtml-code, that's because i'm writing a howto with showing the use of some "dtml-tags" so it tries to interpreting it rather than only showing them. try this pre dtml-var "_.str(your_code_sample" pre --- Hannu

Re: [Zope] MySQL transaction support (was: MySQL Select Statements)

2000-07-03 Thread Hannu Krosing
Andy Dustman wrote: There are two factors which determine whether or not transactions can be supported. Actually, there's only one, but it can't be directly tested for: 1) If the server version (easily obtained upon establishing the connection) is 3.23.15, transactions are definitely

[Zope] manage_addDTMLMethod vs. manage_addZSQLMethod

2000-08-17 Thread Hannu Krosing
Why does this work dtml-call "_['testadd'].manage_addDTMLMethod('MethodId', 'Method Title','method text')" While this does not: dtml-call "_['testadd'].manage_addZSQLMethod('DB', 'DB', 'DB','DB','DB')" (the database connection DB is there) I studies the Znolk product and found that it uses

Re: [Zope] Zope and the GPL poison pill

2000-09-12 Thread Hannu Krosing
Magnus Alvestad wrote: [Danny William Adair] | Now Nils and Oleg are giving me the creeps. There are several issues here. First, it is not obvious that including one GPL'ed product in a zope site and then distributing that site obliges you to distribute any further source code.

Re: [Zope] 'Offline' mailhost

2000-10-04 Thread Hannu Krosing
Chris Withers wrote: Shane Hathaway wrote: I'm not sure how well MailHost scales, but you can certainly store thousands of names in a ZODB-managed list. Tests done for the BTreeFolder product prove it. Sadly, I think MailHost doesn't scale too well :-( What it'd need to do if

Re: [Zope] which python gets used ... ?

2000-10-25 Thread Hannu Krosing
Chris Withers wrote: Jonathan Cheyne wrote: So the question is: can I run zope using the stock RH6.2 distributions' own copy of python? If it's Python 1.5.2, then yes... there's probably instructiosn for this on Zope.org near the bits about insatlling Zope from source on Linux. IIRC

Re: [Zope] XML-RPC

2000-11-08 Thread Hannu Krosing
David Nimmons wrote: I am trying to develop a web based interface to automation equipment (Allen Bradley plc's in this case) to use for an operator interface. I am using SVG to develop graphics and want to use javascript to manipulate the graphics based on data from the plc. I am looking

Re: [Zope] authentication II

2000-11-30 Thread Hannu Krosing
Olaf Zanger wrote: hi everybody, after a long 10h struggle with installing and running zope i found some interesting things. may anybody be able to explain these to me? i run a suse7.0 system with a suse zope installation on 8080. i changed the access file to a new account name.

Re: [Zope] Important Fix for Zope 2.0 through 2.1.6

2000-12-11 Thread Hannu Krosing
Evan Simpson wrote: Thanks to Jeff Ragsdale, we've finally been able to kill a longstanding bug that allows POST requests to interfere with each other. Symptoms include corrupted or aborted File and Image uploads, and stupid-log messages about "AttributeError: data" killing threads.

Re: [Zope] Hookable PUT Creation

2001-01-05 Thread Hannu Krosing
Chris Withers wrote: Tres Seaver wrote: http://dev.zope.org/Wikis/Proposals/HookablePUTCreation That gives me a NotFound :-S http://www.zope.org//Wikis/DevSite/Proposals/HookablePUTCreation I got it via Search for HookablePUTCreation Hannu

Re: [Zope] RE: Workflow and document management system in Zope

2001-01-21 Thread Hannu Krosing
Nicolas Pettiaux wrote: I am looking for a workflow (WF) linked to a electronic document management (EDM) system and a groupware email based (I have just happened to come accross aethera from the Kompany) that would be free software and preferably in Zope + Python. The WF+DEM system I am

Re: [Zope] [2nd try] dtml-tree causing authorization errors

2001-01-22 Thread Hannu Krosing
[EMAIL PROTECTED] wrote: [ I accidentally sent the last mail before I completed it... Sorry ] I've stumbled upon a strange problem with dtml-tree in version 2.2.5 (the problems occurs in the same way in any of the 2.2.x version), but didn't exhibit itself in 2.1.6: Here's some (very)

Re: [Zope] Opensource DBMS for WIN?

2001-01-23 Thread Hannu Krosing
Paul Zwarts wrote: Greetings, Was wondering if there was an open source dbms to use with Zope on a Win2k machine...? I found references of using cygwin to run PGSQL (which we have on our unixbox) but would prefer something that doesnt run over an extender-shell... For smaller tasks you

Re: [Zope] Zope 2.3.0b2 bug #2

2001-01-23 Thread Hannu Krosing
Oleg Broytmann wrote: On Mon, 22 Jan 2001, Dieter Maurer wrote: Oleg Broytmann writes: Hm, will you fix my browser, too? I am using Netscape for Linux, don't know how well it plays with Unicode. I suppose it plays bad :( We use Netscape (4.5, 4.7; Linux, Windows) with

Re: [Zope] Did I miss some major change in Z SQL Methods ?

2001-01-25 Thread Hannu Krosing
Curtis Maloney wrote: Green things, I have a few methods poking about that just don't seem to make sense A Z SQL Method ( Returner.sql.getDetails ) which simply contains: SELECT * FROM Returner WHERE ReturnerID=dtml-sqlvar User type="int" Which returns

Re: [Zope] Extended characters in Zope

2001-01-29 Thread Hannu Krosing
Ausum wrote: I have to deal with documents and its attributes wich have a lot of extended characters in them, like the "" or the hyphened ""..."" vocals in spanish. The ones who download the pages in Windows don't have any trouble. The ones who use Mac will see strange characters, as it

[Zope-dev] why is manage_addZSQLMethod unavailable ?

2000-08-18 Thread Hannu Krosing
Why does this work dtml-call "_['testadd'].manage_addDTMLMethod('MethodId', 'Method Title','method text')" While this does not: dtml-call "_['testadd'].manage_addZSQLMethod('ZSQLID', 'ZSQL Title', 'DB','','select * from data')" Error Type: AttributeError Error Value:

Re: [Zope-dev] ZSQL and Normalized databases (or why ZSQL sucks)

2001-04-20 Thread Hannu Krosing
The Doctor What wrote: * Adrian Hungate ([EMAIL PROTECTED]) [010420 05:06]: May be I am misunderstanding your problem here, but are you suggesting that SELECT tab1.col1 col1, tab2.col1 col2 FROM ... etc ... Does not expose 'col1' and 'col2' in the namespace for you? This is

Re: [Zope-dev] Re: BTreeFolder

2001-04-27 Thread Hannu Krosing
Shane Hathaway wrote: However, purely random IDs would cause all the buckets to be loaded in memory all the time, so Jim's third idea was to have each client increment sequentially from a random ID and move to a new random ID if conflicts ever occur. Can't one just assign some unique id

Re: [Zope-dev] Adding usernames to ZServer HTTP log output

2001-05-30 Thread Hannu Krosing
CATTEAU Olivier wrote: How to activate user tracking? Just show this URL: http://www.zope.org/Members/catteau/UserTracking This seems to work only with BasicAuthentication. Does anybody know a solution that integrates with UserFolders using other authentication methods ?

Re: [Zope-dev] SOAP again (or, xml-rpc client for MSIE)

2001-06-01 Thread Hannu Krosing
Phil Harris wrote: Brad, There are a few COM/COM+ components around that do xml-rpc. I use them with MS Word to write Word files directly to Zope for instance. Some are better than others, but ymmv so I'll hesitate to recommend one. At least one of them is listed on xmlrpc.com.

Re: [Zope-dev] SOAP again (or, xml-rpc client for MSIE)

2001-06-05 Thread Hannu Krosing
Brad Clements wrote: SOAP, WSDL and UDDI are coming in a big way. I think Zope/Python can compete against MS .Net Services on the server side, but it does make sense to use .Net components on the client, such as the webService behavior for IE. Does it really exist (the webService behavior

Re: [Zope-dev] mxDateTime-based Zope DateTime module

2001-06-07 Thread Hannu Krosing
Stephan Richter wrote: Hello everyone, after I got finally frustrated enough with the current implementation of the Zope DateTime module, I decided to write a wrapper for mxDateTime. I checked the license, and the eGenix Public License is GPL compatible, so that we can use it for Zope

Re: [Zope-dev] Re: ZPL and GPL

2001-06-28 Thread Hannu Krosing
Barry A. Warsaw wrote: With respect to Python, the issue has been hashed to death over in c.l.py and other forums, so I think this will be my last post on the subject here. IMO, the Python 2.0.1 license is the best of all possible worlds. In the words of the FSF themselves: The License

Re: [Zope-dev] ZPL and GPL

2001-06-26 Thread Hannu Krosing
Jerome Alet wrote: On Tue, 26 Jun 2001, Erik Enge wrote: On Tue, 26 Jun 2001, Jerome Alet wrote: Java comes to mind, guess who is the powerful entity ;-) I really can't see that Java has been bastardized by it, though. I was told that some java programs only run under windows,

Re: [Zope-dev] ZPL and GPL

2001-06-26 Thread Hannu Krosing
Jerome Alet wrote: On Tue, 26 Jun 2001, Anthony Baxter wrote: Jerome Alet wrote I personnally would love to see both Python and Zope be GPLed. Why? No really. Exactly what do you gain from this? Assuming Zope's license becomes GPL compatible, any packages you release you can

Re: [Zope-dev] Python Script bug?

2001-07-10 Thread Hannu Krosing
Chris Withers wrote: Hi, The following code: objects = map(lambda b: b.getObject,brains) try objects = map(lambda b: b.getObject(),brains) --- Hannu ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] not Python 2.2a1 but Python 2.2b1

2001-10-20 Thread Hannu Krosing
Andy McKay wrote: Is out and: Large file support is now enabled on Win32 and Win64 platforms, and automatically configured (at least on Linux and Solaris). Cool, that will mean there will be less worries about Zope users hitting the 2 gig limit. But will Zope 2.4.x run on 2.2 ?

[Zope-dev] Re: [Zope] [PATCH] to Zope's Management Interface

2002-04-29 Thread Hannu Krosing
On Mon, 2002-04-29 at 13:21, Jerome Alet wrote: Hi the attached patch to apply to zope/lib/python/OFS/dtml/main.dtml allows people who want to use ZShell to type ZShell commands directly from the Zope's Management Interface. It should be transparent for people who don't want to use ZShell