[Zope] Non compliant robots

2000-06-29 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What do people do when their sites get traversed by a robot that keeps generating Zope errors ( cookies not enabled I guess ) that doesn't observe the robots.txt conventions? ( I get the errors emailed me which is annoying :-( ) The one currently

[Zope] Win2000

2000-06-29 Thread Robin Becker
The boss says he couldn't install Zope on our Win2000 box. He tried 3 times. Anybody else have a problem with M$'s latest? -- Robin Becker ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

RE: [Zope] KM|net News help

2000-06-29 Thread Wesley Anderson
Thanks for the reply, Kevin. Just to clarify, once I have SMTP access, I can add older articles to the KMStore via the "article editing page"? It's just not possible via the management interface. Also there is no way as of this version, to remove the Author and Date/Time tags? Another question:

[Zope] Squishdot WILL NOT work with Zope 2.2 until Squishdot 0.4.4

2000-06-29 Thread Chris Withers
[EMAIL PROTECTED] wrote: [snip - I can't create a Squishdot instance ] Zope 2.2.0b3 I seem to be saying this a lot lately so apologies for the copy to the Zope list: Squishdot does not currently work with Zope 2.2 It WILL NOT work with Zope 2.2 until about version 0.4.4 of Squishdot. It

Re: [Zope] Data.fs.lock?

2000-06-29 Thread Chris Withers
Erik Enge wrote: One could possibly have a function that put new transactions in a new file, and then - when told it was ok to do so - it could update the regular data.fs file. Hmm, about extending this so you have 'rotating data.fs files' in the same way you have rotating log files?

Re: [Zope] ZPatterns: Deleting objects from a Rack?

2000-06-29 Thread Chris Withers
Bill Anderson wrote: What happens when the object is in multiple racks? (Assuming it is possible) Then it'll be missing if something tries to get it from a rack. The same thing as would happen if something tried to get it from a single rack after it'd been deleted. So this case should be

Re: [Zope] ZPatterns: Deleting objects from a Rack?

2000-06-29 Thread Chris Withers
Scott Parish wrote: Another thought i just had was that if you deleted by placing a call to the Rack, then you couldn't allow the class to override manage_delete. You might want to do such (overriding) if you wanted it to clean up a catalog or perform some other auxiliary function before

[Zope] Re: Zope won't let me call aq_parent in ZWiki?

2000-06-29 Thread Chris Withers
Hi Curtis, Sorry for the late reply, I've been on holiday :S Curtis Matthews wrote: I've just recently noticed I'm not able to call the JumpSearch and RecentChanges methods in the Basic ZWiki because I'm not authorized to call a method called aq_parent. Has anyone else had this problem,

Re: [Zope] Adding Products Breaking Zope

2000-06-29 Thread Oleg Broytmann
Hi! On Wed, 28 Jun 2000, Evan Simpson wrote: SiteAccess 1.0.1 is meant to work with Zope 2.1.6 (and does, for me). I'd like to get it working for you folks, as well. Does a fresh, empty install of Zope w/SiteAccess on your respective platforms have this problem? I am in the process of

Re: [Zope] Getting anonymous permissions

2000-06-29 Thread Oleg Broytmann
On Wed, 28 Jun 2000, J. Atwood wrote: dtml-if "AUTHENTICATED_USER.has_permission('View', '')" Do something /dtml-if Here: http://sun.med.ru/pcgi/Random/ I test visitors this way: !--#if "AUTHENTICATED_USER.getUserName() == 'Anonymous User'"-- Read-Only ADmin Login: Broad/B, password:

Re: [Zope] Passing Parameter without ?

2000-06-29 Thread J. Atwood
http://www.zope.org/Members/mcdonc/HowTos/direct_traversal That might get you started.. it applies to most of what Zope can do. J From: saif [EMAIL PROTECTED] Date: Thu, 29 Jun 2000 15:33:00 +0530 To: [EMAIL PROTECTED] Subject: [Zope] Passing Parameter without ? Hi, How do u pass

Re: [Zope] Multiple Languages

2000-06-29 Thread Tino Wildenhain
Hi Christian, Christian Zagrodnick wrote: Hi all, has anybody figured out how to make a zope website multilingual? I have to make a website in German and English - but the database stuff etc. is all the same. Did anybody do that? somewhat. I have the code to tell what version of the

Re: [Zope] Passing Parameter without ?

2000-06-29 Thread Chris Withers
saif wrote: eg:- www.localhost.com/para1/para2 I'm planning a product for Zope 2.2 that will do just this sort of thing... If you can bear with me, it might well be worth the wait :-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Data.fs.lock?

2000-06-29 Thread Erik Enge
On Thu, 29 Jun 2000, Chris Withers wrote: Hmm, about extending this so you have 'rotating data.fs files' in the same way you have rotating log files? In general, yes :-). Do you think it would be solving the right problem the right way? Definitely, but I think it also needs to be solved

[Zope] Passing Parameter without ?

2000-06-29 Thread saif
Hi, How do u pass parameter from one html page to another without using ? and REQUEST. i.e I wnat to pass the parameter as /. eg:- www.localhost.com/para1/para2 Thanzs for the help Saif... http://systemprg.hypermart.net ___ Zope maillist - [EMAIL

[Zope] Re: ZODB or not ZODB?

2000-06-29 Thread Rogerio Atem de Carvalho
Jim Fulton writes: In theory, you could use ZCatalog to catalog objects in the file system or in a RDBMS, providing that you can provide paths for them. I don't think anyone's done this yet. There are bound to be bumps from wjoever does it first. :) I use ZCatalog to catalog

Re: [Zope] Urgent problem: Database and large clock skew

2000-06-29 Thread Jim Flanagan
--Also Sprache Toby Dickenson [EMAIL PROTECTED] On Thursday, June 29, 2000 10:19 AM +0100: That probably means you are using ZODB2, yes? (please say yes; ZODB3 should be immune to this problem). If so, there used to be a tool to correct the timestamps... you should be able to

Re: [Zope] Howto engineer a scientific paper system

2000-06-29 Thread [EMAIL PROTECTED]
Thank you for the comments and links for latex and docbook. Going the latex path seems to me worthwhile - but on another day ;-) , I have already done some setup in zope that I would like to build on. What I did not find about LaTeX was a screenshot (isn't it a wysiwg enviroment on top of TeX

[Zope] Getting at Zope (Version) Transactions

2000-06-29 Thread Darin Lee
Hail Zopistas, I would like to develop a "what's new" method that parses/accesses the undo transactions list for certain documents so I can post basic information about when they were added, updated etc. in a DTML method for display on my index page. This would also come in very handy for a

Re: [Zope] Howto engineer a scientific paper system

2000-06-29 Thread Nils Kassube
[EMAIL PROTECTED] wrote: build on. What I did not find about LaTeX was a screenshot (isn't it a wysiwg enviroment on top of TeX marked-up text) and a content link No. LaTeX is, simply phrased, a collection of macros and templates for the TeX system. They include a lot of professional

Re: [Zope] Win2000

2000-06-29 Thread Jeff K. Hoffman
On Wed, 28 Jun 2000, Robin Becker wrote: The boss says he couldn't install Zope on our Win2000 box. He tried 3 times. Anybody else have a problem with M$'s latest? Nope. 2.1.6, and the 2.2 betas, including the newest 2.2b3, work fine on my Win2000 Professional box at home. It's running as a

RE: [Zope] Creating PythonMethod from ZClass constructor/method.

2000-06-29 Thread Brian Lloyd
Using Zope 2.2b3, I am trying to create a PythonMethod from the constructor of my ZClass and keep getting an authorization dialog. In my MyZClass_add method, I have: dtml-with "MyZClass.createInObjectManager(...)" dtml-call "manage_addFolder(id='testFolder')" !-- works! --

Re: [Zope] Multiple Languages

2000-06-29 Thread Dan Rusch
I posted a similar question here a few days ago, subject line Internationalization. The responses were less than overwhelming and although I greatly appreciated the suggestions from the people who did respond it was quite apparent that the problem of multilingual sites has not been solved

Re: [Zope] Win2000

2000-06-29 Thread Robin Becker
In article [EMAIL PROTECTED], Jeff K. Hoffman [EMAIL PROTECTED] writes On Wed, 28 Jun 2000, Robin Becker wrote: The boss says he couldn't install Zope on our Win2000 box. He tried 3 times. Anybody else have a problem with M$'s latest? Nope. 2.1.6, and the 2.2 betas, including the newest

[Zope] bobobase_modification_time off by 1 day - why?

2000-06-29 Thread Luke Tymowski
Hello, Zope reports the bobobase_modification_time to be off by one day (1 day behind). The box has the right time (when checked from the OS), and asking Zope to return ZopeTime returns the correct date and time. Anyone know why? thanks, Luke

[Zope] DCOracle Problem

2000-06-29 Thread David A Lipsky
I was wondering if you could help me with a problem I've been having with DCOrale, connecting to Oracle8i. import DCOracle conn = DCOracle.Connect(...) curs = conn.cursor() conn.procedures.some_stored_procedure(curs) curs.fetchall() curs = conn.cursor()

Re: [Zope] PowerMac 7500 with LinuxPPC and Zope?

2000-06-29 Thread James Harrison
on 6/27/00 8:34 PM, Curtis Maloney at [EMAIL PROTECTED] wrote: I would like to turn an old Mac 7500 into a Zope server. LinuxPPC installs on the Mac PowerPC using the Red Hat 6.1 linux distribution. Does anyone have any experience with Zope with this type of set up?

[Zope] Authentication, Anonymous and Public

2000-06-29 Thread Capesius, Alan
Title: Authentication, Anonymous and Public I'm running into a problem after implementing jcNTUserFolder in a subfolder of my site. Users can access the root level or particular subfolders anonymously. Once a user accesses the protected NTUserFolder, the credentials are saved in the

[Zope] NOTICE: issue with database packing in current Zope releases

2000-06-29 Thread Brian Lloyd
Hi all, Jim found a problem with the algorithm for packing the Zope database that we wanted to announce so that folks can avoid being bitten by it until the fix is out (in b4). The gist of it is that you should not pack your database to a given time and then subsequently pack the database to

Re: [Zope] DCOracle Problem

2000-06-29 Thread Oleg Broytmann
On Thu, 29 Jun 2000, David A Lipsky wrote: curs = conn.cursor() conn.procedures.some_stored_procedure(curs) Do not pass cursor - pass parameters to the procedure and it returns a result. Oleg.(All opinions are mine and not of my employer) Oleg Broytmann

[Zope] RE: Zope Question entry: Security changes

2000-06-29 Thread Brian Lloyd
Description: (I posted this to zope-dev, but havent seen an answer yet. Im adding it here so it doesnt get forgotten) some questions raised by http://www.zope.org/Documentation/How-To/ProductAuthorUpdateGuide Firstly, how does the presence of

[Zope] Newbie question on Zope and WorldPilot

2000-06-29 Thread Angel Rivera
Hey Zope Meisters I am a newbie who is trying hard to get WorldPilot to run. i think i got most of it to work until it comes to add a WorldPilot Product Instance and no matter what I have tried it will not work. Can someone direct me to a doc or give me help? TIA, -ar Zope is:

[Zope] DTML Document class Id bug, somewhat fixed. But now setName ...

2000-06-29 Thread Walter A. Aprile
Hi, I had (have) a problem with the Id property on an Article class that subclasses the DTML document. And indeed the problem was with the fact that I was subclassing the DTML Document, which as explained in http://www.zope.org/Members/AlexR/ZClassIDBug somewhat mangles the Id

Re: [Zope] Howto engineer a scientific paper system

2000-06-29 Thread Pavlos Christoforou
On Thu, 29 Jun 2000, [EMAIL PROTECTED] wrote: Thank you for the comments and links for latex and docbook. Going the latex path seems to me worthwhile - but on another day ;-) , I have already done some setup in zope that I would like to build on. What I did not find about LaTeX was a

[Zope] Error on installing DemoPortal from PTK

2000-06-29 Thread Indra Gunawan
I've installed PTK import the demo portal, restart Zope. but when I want to create Portal object, (all of them succeeded). I'm using Zope 2.1.6 on Windows 2000, and using PTK 0.7.1 after I'm confirming my mail server, the page return something like this and stop Error Type: AttributeError

Re: [Zope] Howto engineer a scientific paper system

2000-06-29 Thread Nils Kassube
Pavlos Christoforou wrote: contents in the formats required by most journals. Check also Lynx which Lynx is text-only web browser with a code open for lots of potential security issues. [A quick look to my TV: Netherlands vs. Italy still 0-0, okay, so I can write a bit more...] is a

RE: [Zope] Backing Up Zope (was: Re: [Zope] Data.fs.lock?)

2000-06-29 Thread Wilkinson Charlie E
Title: RE: [Zope] Backing Up Zope (was: Re: [Zope] Data.fs.lock?) Just to start by pointing out the bloody obvious: - Restoring from backup means you lose all data between backup date/time and system failure. Sucks, but it beats losing *all* your data. (RAID5 anyone?) - With that in mind,

[Zope] LocalFS cache, was Re: ZODB or not ZODB?

2000-06-29 Thread Jonothan Farr
How do you do to cache those objects, since LocalFS referenced objects are not cached by Zope? They aren't cached. I experimented with adding a cache, but ran into some problems and gave up. It would probably be worth giving it another shot, though. --jfarr "Perl is worse than Python because

Re: [Zope] Newbie question on Zope and WorldPilot

2000-06-29 Thread Bryan Stillwell
On Thu, 29 Jun 2000, Angel Rivera wrote: Hey Zope Meisters I am a newbie who is trying hard to get WorldPilot to run. i think i got most of it to work until it comes to add a WorldPilot Product Instance and no matter what I have tried it will not work. Can someone direct me to a doc

RE: [Zope] DTML Document class Id bug, somewhat fixed. But now setName ...

2000-06-29 Thread Brian Lloyd
And indeed the problem was with the fact that I was subclassing the DTML Document, which as explained in http://www.zope.org/Members/AlexR/ZClassIDBug somewhat mangles the Id property. Public thanks to Rik Hoekstra [EMAIL PROTECTED] for suggesting that. I added this fix

[Zope] Getting Zope error when starting Zope, installed on ISP's machine

2000-06-29 Thread Fusion Group
I installed Zope on my ISP's virtual server, and I'm getting an error when I run the start script. The server is running Apache, but I don't really need to use Apache for this particular domain. I haven't tried to figure out how to access Zope through PCGI, because unless that is the only way

Re: [Zope] How to update DTML built from Python level?

2000-06-29 Thread Lalo Martins
Well, I edited the file I mention below (documentEdit.dtml) and my changes aren't taking effect, no matter what (either on 2.2b3 and 2.1.6). (Reason: if Mozilla sees textarea inside a td align=center, the text inside the textarea is centered in the textarea, which makes things quite unpalatable

RE: [Zope] 2.2b3 Tutorial issues

2000-06-29 Thread Amos Latteier
The tutorial included with 2.2b3 now "works"; however, the documents are in the wrong order (9, 10, 11, 1, 2, 3, 4 etc). And every page generates a JavaScript error on IE 5.01 (syntax error on line 74). Thanks for the bug report. I can easily fix the "order" issue, but I am so far unable

[Zope] Alternate User Folders Broken in 2.1.6? HELP!!!

2000-06-29 Thread jiva
It seems as if all the alternate user folders I have tried (GUF, UserDb, etc) all seem to be broken under 2.1.6 They worked fine in 2.1.4, but when I upgraded to 2.1.6 they broke!! HELP! I need to solve this ASAP! -- Dishonor will not trouble me, once I am dead. -- Euripides

[Zope] Adding DTML Templates to ZClass instances

2000-06-29 Thread Eron Lloyd
I would like to have an option when creating an instance of a folderish object to have a "index_html" template automatically added to the new object once it is created. I have the template for the inserted index_html sitting in my root directory of Zope. How can I tell the constructor method to

RE: [Zope] Backing Up Zope (was: Re: [Zope] Data.fs.lock?)

2000-06-29 Thread Jeff K. Hoffman
On Thu, 29 Jun 2000, Wilkinson Charlie E wrote: Another random thought is that if ZODB transactions and writes are atomic, than none of this should be an issue. Anyone know the answer to that one? It is my understanding that the ZODB on disk is always in a consistent state; Jim has said, in

[Zope] File upload failure. Help needed.

2000-06-29 Thread Urvashi Singh
Hi, I am a new user of Zope. I have Zope--linux2-x86.tar.gz bundle installed on my Linux machine, up and working. While I was trying to create a simple page using dtml files, I wanted to upload a few files from my hard drive onto Zope database. When I choose the Browse button to select a file

[Zope] queries and tiny tables and python methods... oh my!

2000-06-29 Thread Timothy Wilson
Hi everyone, (Please excuse the vague Wizard of Oz reference in the sub., but my brain may be imploding. :-) I'm trying to merge several type of Zope objects, and I'm getting lots of little errors. I wonder if someone could suggest where my problem lies. 1. I'm querying our LDAP server to

RE: [Zope] Backing Up Zope (was: Re: [Zope] Data.fs.lock?)

2000-06-29 Thread Erik Enge
On Thu, 29 Jun 2000, Jeff K. Hoffman wrote: It is my understanding that the ZODB on disk is always in a consistent state; Jim has said, in the past, that you can simply make a copy of Data.fs, even while Zope is running, without problems. But the Data.fs has to be updated sometimes. And if

Re: [Zope] Backing Up Zope (was: Re: [Zope] Data.fs.lock?)

2000-06-29 Thread Bill Anderson
Wilkinson Charlie E wrote: Just to start by pointing out the bloody obvious: - Restoring from backup means you lose all data between backup date/time and system failure. Sucks, but it beats losing *all* your data. (RAID5 anyone?) A) Please: no html! B) I just had one weird and

RE: [Zope] Backing Up Zope (was: Re: [Zope] Data.fs.lock?)

2000-06-29 Thread Jeff K. Hoffman
On Thu, 29 Jun 2000, Erik Enge wrote: On Thu, 29 Jun 2000, Jeff K. Hoffman wrote: It is my understanding that the ZODB on disk is always in a consistent state; Jim has said, in the past, that you can simply make a copy of Data.fs, even while Zope is running, without problems. But the

[Zope] unable to download zope product for x86

2000-06-29 Thread Rajil Saraswat
I am unable to download zope for winNT on the zope products page. the server is giving time out on linux, and asks for user and password in win2000(using gozilla!). is there any other alternative site for downloading zope. thanks ___ Zope maillist -

Re: [Zope] Win2000

2000-06-29 Thread Brad Clements
On 28 Jun 2000, at 23:40, Robin Becker wrote: The boss says he couldn't install Zope on our Win2000 box. He tried 3 times. Anybody else have a problem with M$'s latest? Works fine for me on win2k Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com

Re: [Zope] Non compliant robots

2000-06-29 Thread Graham Chiu
In article [EMAIL PROTECTED], J. Atwood [EMAIL PROTECTED] writes I have exactly the same problem (robot hits my site, I get 400 emails of errors even with a robots.txt file). I am not sure what the answer is except to add something to your error page that would filter out robot errors. Since

[Zope] [lines] element in property sheets ++ \345 29 \345r ..

2000-06-29 Thread Jrgen Skogstad
Kindest.. I have object contained in ZObjects .. and I have some object "parsing" the contents based on a search.. The type in the property sheet is; [text] Beneath is the dtml code used to print the main content of the type mentioned above .. trtdbAnnonse tekst:/b/tdtddtml-var

Re: [Zope] Re: Prototyped folders?

2000-06-29 Thread Jim Hebert
On Thu, 29 Jun 2000, Hamish Lawson wrote: I wrote: If a folder doesn't itself contain a required object or method, I'd like to have another folder looked in instead. The fall-back folder won't necessarily (and often can't) be higher in the hierarchy, so acquisition doesn't seem to

Re: [Zope] DCOracle Problem

2000-06-29 Thread David A Lipsky
True, but the stored procedure I am calling is intended to return many rows of data (tens of thousands on occasion). I need a cursor for that. On Thu, 29 Jun 2000, David A Lipsky wrote: curs = conn.cursor() conn.procedures.some_stored_procedure(curs) Do not pass cursor - pass

RE: [Zope] Backing Up Zope (was: Re: [Zope] Data.fs.lock?)

2000-06-29 Thread Wilkinson Charlie E
Title: RE: [Zope] Backing Up Zope (was: Re: [Zope] Data.fs.lock?) -Original Message- From: Erik Enge [mailto:[EMAIL PROTECTED]] On Thu, 29 Jun 2000, Jeff K. Hoffman wrote: It is my understanding that the ZODB on disk is always in a consistent state; Jim has said, in the

[Zope] Version Lock Error

2000-06-29 Thread ksmith
Hello, For some reason anonymous users are getting locked out of the site when I try to use versioning. It doesn't happen right away, only after I've made a few changes. Does anyone have any ideas on what's happening?? Thanks in advance. Kevin Smith

[Zope] thread.error

2000-06-29 Thread Fusion Group
I'm running Zope on my ISP's virtual server, but when I try to access my IP on port 8080, I get the following error: 2000-06-29T22:03:59 ERROR(200) ZServer Server Error: thread.error, can't start n ew thread : file: /usr/home/orb6b/usr/zope/Zope-2.1.6-linux2-x86/ZServer/PubCore/ZRendezvo us.py

RE: [Zope] Backing Up Zope (was: Re: [Zope] Data.fs.lock?)

2000-06-29 Thread Erik Enge
On Thu, 29 Jun 2000, Wilkinson Charlie E wrote: This would be consistent with "atomic updates." What it means is that a transaction is not written to the Data.fs file until it has completed, and when it is finally written out, it's done as an atomic operation, i.e. at the system level it is

RE: [Zope] Version Lock Error

2000-06-29 Thread Chris McDonough
When the users hit a DTML method that tries (maybe in a roundabout way, have a ZCatalog?) to write to an object in the ZODB that's been locked in a version, you'll get this. Try to figure out where it's happening by examining the DTML method that they're hitting and figure out where you're

Re: [Zope] Namespace question

2000-06-29 Thread Nick Garcia
Rogerio Atem de Carvalho wrote: Hi, I working on an structure like this: folder1 | folder11 | folder111 I have some objects in folder111 which I want to pass as parameters to a dtml method in folder1 (two levels above). I tried something

Re: [Zope] WebOS and Zope

2000-06-29 Thread Jason Spisak
Curtis Maloney writes: ILet me correct myself, when I said they were going to release it opensource, it looks like just their HyperOffice suite and apps, not the "OS" itself. :( On Fri, 30 Jun 2000, Jason Spisak wrote: Zopists, I have been away for a bit, and will be gone again soon, but

Re: [Zope] Howto engineer a scientific paper system

2000-06-29 Thread Ben Leslie
XML stuff in zope. Which leads me to the later suggestion, I have tried out DocBook product, rendering is very slow on my computer. And again it is too big of a new concept for me now. Yeah, I find rendering slow on my workstation too. (And mine is reasonably fast - 450mhz). DocBook does seem

Re: [Zope] WebOS and Zope

2000-06-29 Thread Bill Anderson
Jason Spisak wrote: Curtis Maloney writes: [...] Interestingly enough, I had recently been joking about with some friends about doing something like this. Simulating a Win9x desktop with ZOPE and Javascript. I don't know jack about javascript really. Is that all they are using

[Zope] RE: Ref mxODBC and Zope

2000-06-29 Thread Jay, Dylan
no, but I have since worked out how do it... I think. The problem is that the DateTime module of mxODBC is compiled. It needs to be renamed or repackaged to prevent the name confict. Then it needs to be recompiled. On unix I don't think this is very hard. However I am windows and this will

[Zope] (no subject)

2000-06-29 Thread Hamish Lawson
Jim Hebert wrote: Is there a reason you can't do this by just messing with the namespaces stack, ie, adding additional folders to it? I had been latterly thinking this myself and set about trying to do it, but being new to Zope development, didn't have much success! I presume it involves

[Zope] 2.2b3 hangs a lot

2000-06-29 Thread Bak @ kedai
hi all been running 2.2.0b3 for a few days now. config redhat6.1 postgres ZPygreSql kmnetnews after some time, zope just hangs. when i do top, there's no processor usage at all on all python processes. after a few minutes, zopes wake up and continue to serve. the cycle continues after some

[Zope] Re: [ZCommerce] Secure storage of credit card info

2000-06-29 Thread Andrew Kenneth Milton
+[ Curtis Maloney ]- | On Fri, 30 Jun 2000, Andrew Kenneth Milton wrote: | Just to make those people who think "It will never happen to me" think | twice, the Australian Government Treasury site was hacked and lots of | banking details about lots

[Zope] dhtml-try broken in 2.2.0b3?

2000-06-29 Thread Cary O'Brien
I was porting some stuff that had a dtml-try to the newest Zope (2.2.0b3) and I had problems with a dtml-try block. I tried a fresh install and had the same problem. To reproduce, create a DHTML method with dtml-try dtml-var "1/0" dtml-except h4It blew up/h4 /dtml-try Accessing the

[Zope] MySQL Select Statements

2000-06-29 Thread Michael Blewett
Hi Everyone, Just need someone to put me straight here. When I use Select statements in an SQL Method I cannot simply : Select Column1, Column2 etc from TableA. Instead I must use the AS statement ie Select Column1 AS Column1, Column2 AS Column2 from TableA. Is this just an oddity with the

[Zope] Zope/Apache Question.

2000-06-29 Thread Angel R. Rivera
I would like to thank Bryan Stillwell [EMAIL PROTECTED] for his help-that is what i needed. I have Zope and Apache working together-except for the URL rewriting so I can use http://localhost/Zope and get it to launch... I am still reading docs but have multiple versions of RewriteRule. Any

Re: [Zope] dhtml-try broken in 2.2.0b3?

2000-06-29 Thread Shane Hathaway
Fixed today. :-) Shane Cary O'Brien wrote: I was porting some stuff that had a dtml-try to the newest Zope (2.2.0b3) and I had problems with a dtml-try block. I tried a fresh install and had the same problem. To reproduce, create a DHTML method with dtml-try dtml-var "1/0"

[Zope] Traversal of ZODB

2000-06-29 Thread David Trudgett
I wonder if anyone has a sample Python script that traverses the ZODB to query or perform arbitrary operations on the objects found in it? My present requirement is to write a script that goes through and does some automated updating of several dozen DTML documents. Thanks. David Trudgett

[Zope] Search Interface

2000-06-29 Thread David Trudgett
I'm having some trouble setting up a search interface into a ZCatalog. I want to create a text index on the contents of my DTML documents, but I can't seem to get it to work. It search on title just fine. I think my problem is that I don't know how to create the right index, and what to call

Re: [Zope] Messing with the namespaces stack [Was: (no subject)]

2000-06-29 Thread Jim Hebert
On Fri, 30 Jun 2000, Hamish Lawson wrote: Jim Hebert wrote: Is there a reason you can't do this by just messing with the namespaces stack, ie, adding additional folders to it? I had been latterly thinking this myself and set about trying to do it, but being new to Zope development,

Re: [Zope] Messing with the namespaces stack [Was: (no subject)]

2000-06-29 Thread Shane Hathaway
Jim Hebert wrote: I'll go ahead and embarrass myself now, and explain what I did. Other people can chime in with "wow, that was dumb, here's the right way to do that" as needed (I'd really welcome that, actually!). Actually what you did is pretty clever, Jim. It even relies on stable

Re: [Zope] MySQL Select Statements

2000-06-29 Thread Curtis Maloney
On Fri, 30 Jun 2000, Michael Blewett wrote: Hi Everyone, Just need someone to put me straight here. When I use Select statements in an SQL Method I cannot simply : Select Column1, Column2 etc from TableA. Depending on the column names, yes you can. I just tested it not, and it works

RE: [Zope] MySQL Select Statements

2000-06-29 Thread Ron Bickers
Why do you say you "must" use the AS statement? Do you get an error otherwise? MySQLdb 0.2.2 is broken when used with ZMySQLDA. But 0.2.1 works okay for me. Andy Dustman (author of the MySQLdb) said he will fix it and hinted that one should use the ZMySQLDA that is on Zope.org (v1.2.0 now I

RE: [Zope] MySQL Select Statements

2000-06-29 Thread Michael Blewett
Hi Ron, If I don't specify my Selects using "AS", I then get the following error message: Error Type: KeyError Error Value: SubjectName Traceback (innermost last): File /usr/local/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 214, in publish_module File

Re: [Zope] MySQL Select Statements

2000-06-29 Thread Michael Blewett
At 14:08 30/06/2000 +1000, Curtis Maloney wrote: snip Is this just an oddity with the MySQLDA/Db adapters or am I overlooking something blatantly obvious here? All the examples on zope.org don't have the extra "AS Column1" additions on them and I was wondering if this is a

RE: [Zope] MySQL Select Statements

2000-06-29 Thread Ron Bickers
If I don't specify my Selects using "AS", I then get the following error message: Error Type: KeyError Error Value: SubjectName Traceback (innermost last): File /usr/local/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 214, in publish_module File

RE: [Zope-dev] Comments on Zopes performance-article??

2000-06-29 Thread Chris McDonough
Zope will always fare badly in comparison to web servers that dont serve dynamic content. Zope's delivery will probably never be as fast as serving up static pages from the filesystem ala Apache or AOLServer. This is one of the reasons for ZEO. One of the other things in the wings that's being

[Zope-dev] Comments on Zopes performance-article??

2000-06-29 Thread Thomas Weholt
http://weblogs.userland.com/qube/2000/06/26 Just found this article were Zope scores really bad, - compared to the competition that is. Any comments? How can Zope improve performance in the future? I know Zope has alot of other good qualities, at least compared to Apache, but performance

Re: [Zope-dev] EMarket and 2.2.0b3

2000-06-29 Thread Steve Spicklemire
I'm sure a lot of this is because EMarket was a 1.x product that has seen relatively little change, in basic structure, since. I'm working on some patched to allow (1) ZClasses to act as MarketItems and Shoppers and (2) ZPatterns integration so that most objects can be optionally stored in RDBM

[Zope-dev] adding attributes to a python product

2000-06-29 Thread Steve Alexander
Hi folks, I have a Python Product that I'm developing. During the course of development, I want to add a new attribute. All new instances get this attribute, as it is defined with a default value in the constructor. In addition, all instances that get edited via the web get the attribute, as

[Zope-dev] Using Java-Script with DTML

2000-06-29 Thread Thomas Weholt
Hi I`m trying to send a parameter to a java-script function and then use that parameter in the java-script function to look up a record-set in a database with a dtml-method. With no luck so far. Ex. script language="javascript1.2 function ShowStuff(params){ var text = "dtml-in

[Zope-dev] update: CachePool 0.2.3

2000-06-29 Thread Carlos Neves
Hello, Just uploaded version 0.2.3 of the CachePool product. It fixes a serious bug wich crashed zope (a little too often) among some other improvements. For those of you who don't know, this product caches pages in an array, dependent of the calling URL and the query string. you can get it at

RE: [Zope-dev] adding attributes to a python product

2000-06-29 Thread Brian Lloyd
I have a Python Product that I'm developing. During the course of development, I want to add a new attribute. All new instances get this attribute, as it is defined with a default value in the constructor. In addition, all instances that get edited via the web get the attribute, as the

Re: [Zope-dev] Searching a relational database

2000-06-29 Thread Richard Taylor
James Henstridge [EMAIL PROTECTED] writes: On Sat, 24 Jun 2000, Thomas Weholt wrote: Hi, How can I search a relational database thru Zope? ( I`m using PostgreSQL 7.0.2 on Linux ). I have a DVD/VHS-organizing project that would be pretty useless if people couldn`t search for movies

Re: [Zope-dev] adding attributes to a python product

2000-06-29 Thread Jeff K. Hoffman
On Thu, 29 Jun 2000, Steve Alexander wrote: Hi folks, Is there any way of interacting with the ZODB persistence machinery to add the default attribute to all instances as they are brought out of persistent storage -- so that I can just restart Zope, and have all of my instances updated as

Re: [Zope-dev] Using Java-Script with DTML

2000-06-29 Thread Hung Jung Lu
--- In [EMAIL PROTECTED], Thomas Weholt [EMAIL PROTECTED] wrote: script language="javascript1.2 function ShowStuff(params){ var text = "dtml-in expr="sqlMethod(some_id=params" !-- this does not work, of course. How I can I pass argument thru Javascript to the sqlMethod ?? ---

[Zope-dev] Unit testing an application's user interface

2000-06-29 Thread Andrew Wilcox
Hello everybody, I've made some progress on unit testing my application's user interface. I'll share what I've got so far. For background, there was discussion on unit testing last February on zope-dev: http://lists.zope.org/pipermail/zope-dev/2000-February/003489.html

[Zope-dev] [ANN] FSSession-0-4-0

2000-06-29 Thread Pavlos Christoforou
FSSession 0-4-0 is available at: http://www.zope.org/Members/gaaros/FSSession FSSession 0-4-0 corrects a bug in the transaction management. Now tpc_finish always succeeds and all the storing actions are performed in tpc_begin. tpc_finish simply performs a 'rename' operation which is atomic in

Re: [Zope-dev] Unit testing an application's user interface

2000-06-29 Thread Jeff K. Hoffman
On Thu, 29 Jun 2000, Andrew Wilcox wrote: So what I need to be doing is to plug into Zope at the right point, say here's my URL path and request variables, do your thing, get control back, and then have a chance check out what happened to the affected objects in the ZODB. You may want to

Re: [Zope-dev] Calendar tag 0.9.6 breaks with 2.2.0b3??

2000-06-29 Thread Bill Anderson
"Dr. Ross Lazarus" wrote: Shane - it's a shocking thing to post untested patches - particularly when they work I just tested this quickly on 2.1.6 and 22b3 and it seems fine. Thank you!. That's why he gets paid the big bucks ;) Ok, what's the way forward here - how do we make sure

[Zope-dev] Question

2000-06-29 Thread Jonathan Desp
Hi, How I can upload 900 files into zope, in one shot ? I cannot use FTP, with the port 8021, I cannot use load site from itamar, because there is a bug. Maybe WebDav ? But I don't know how to use it. my email is: mailto:[EMAIL PROTECTED], if you want to help me to fix that problem, I