Re: [Zope] persistence and dictionaries

2000-12-07 Thread Matt
Thanks for the reply, that is really useful. There are a couple of things though that still don't add up. Firstly, you say below, as do all the ZODB documents that "Custom" classes can certainly persist, they just need to mix in the "Persistence.Persistent" class as a base class. Well, in my ex

Re: [Zope] ZPatterns

2000-12-07 Thread Cees de Groot
Chris Withers <[EMAIL PROTECTED]> said: >...I disagree, ZPatterns only major flaw is that its totally immersed in >its own jargon which very few people understand :-( > >That said, my impression is that if you can wade through the b/s, it's >more than worth the effort... > Hmm, maybe it's the time

Re: [Zope] Another Zope E-Commerce Site Online

2000-12-07 Thread Cees de Groot
Brad Clements <[EMAIL PROTECTED]> said: >I haven't looked at Etailer. I did download zCommerce for a look, but >was concerned about using ZPatterns. I've used LoginManager and it >works well, but the terminology used in ZPatterns always gives me a >headache. Clearly a shortcoming on my part - i

[Zope] ZNavigator

2000-12-07 Thread Olaf Zanger
hi there, i installed ZNavigator2.00.tgz on zope 2.2.2 if i try to use the examples i can install them i can edit the pages, but if i want to view them a error page "invalid date-time string" appears any idea? olaf -- soli-con Engineering Zanger Dipl.-Ing. (FH) Olaf Zanger Nusch Lorrainestr

RE: [Zope] ZPatterns

2000-12-07 Thread Magnus Heino (Rivermen)
> ...I disagree, ZPatterns only major flaw is that its totally > immersed in > its own jargon which very few people understand :-( > > That said, my impression is that if you can wade through the b/s, it's > more than worth the effort... Are there any more docs or any examples available now th

[Zope] methodist revival meeting

2000-12-07 Thread Jason Cunliffe
Surely this should be corrected: ?? -- http://www.zope.org/Members/michel/ZB/Preface.html Chapter 8: Advanced Zope Scripting This chapter covers scripting Zope with Python and Perl. In it we cover how to write business logic in Zope using more pow

Re: [Zope] New version of book uploaded

2000-12-07 Thread Lalo Martins
Okay, one more to raise my chances ;-) (I really want this book!) First create a new Folder named exhibitTemplate in your Product. This will serve as a template for exhibits. Also in the Product folder create a DTML Method named addForm, and restricted Python Method

Re: [Zope] persistence and dictionaries

2000-12-07 Thread Chris McDonough
All pickleable Python primitive types (strings, dictionaries, lists, Nones, integers, floats, longs, etc.) can live in the ZODB. They can persist just like instances that inherit from the Persistent class. I think you read a little too much in to the fact that you need to "treat mutable objects

RE: [Zope] FTP for ZClass hierarchies

2000-12-07 Thread M. Adam Kendall
> > Does this let you write the methods back? > > I was just able to change a DTML method in a ZClass (after patching > a single indentation error). Adam, you rock! Yeah, I know ;) Only took me two days of playing around and figuring out what objects got called where and realizing that I had to

Re: [Zope] FTP for ZClass hierarchies

2000-12-07 Thread Tres Seaver
Robin Becker <[EMAIL PROTECTED]> wrote: > > M. Adam Kendall <[EMAIL PROTECTED]> writes > >In the past few days I have been working on a patch that will > >let you edit ZClasses via FTP without the need for typing in > >actual pathnames to get to the methods (mainly so I can edit > >ZClasses with

Re: [Zope] pickled data in traceback

2000-12-07 Thread Chris McDonough
No. It only clears objects in the RAM cache that haven't been accessed in a while. It doesn't effect anything in the actual physical object database. - Original Message - From: "jimbo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 07, 2000 10:49 PM Subject: [Zope]

Re: [Zope] Disabling Services : WebDAV

2000-12-07 Thread Tres Seaver
> Chris Withers <[EMAIL PROTECTED]> wrote: > > Dieter Maurer wrote: > > > > Chris Withers writes: > > > ZServer Medusa (V1.16.4.3) > > > ... > > > > > > Which of those handles WebDAV requests? > > WebDAV runs on top of HTTP. > > You must disable ZServer Medusa. > > Maybe, you accept WebDAV?

Re: [Zope] New version of book uploaded

2000-12-07 Thread Lalo Martins
Okey, so I decided to start by the last chapter (Appendix B) ;-) in lynx, /method hilighted: >From Python Products, External Methods, and PythonMethods can call a DTML Document in the same way as calling a DTML Document from a Python expression in DTML; as sho

Re: [Zope] Zope 2.2.4 dying under Solaris 2.6

2000-12-07 Thread Tres Seaver
Michael Best <[EMAIL PROTECTED]> wrote: > > I have had Zope 2.0.1, Zope 2.1.6 and Zope 2.2.4 running on Solaris 2.6 > and inexplicably, every so often (no definiate amount of time) the Zope > dies. > > Any ideas? > > -- > A typical entry from STUPID_LOG is: > 2000-12-07T18:23:22 ERROR(2

[Zope] persistence and dictionaries

2000-12-07 Thread Matt
Hi I am trying to get a handle on how I should handle peristence in my python products. I have read all the ZODB documents and all the Product tutorials, which all led me to believe that 1) mutable objects such as lists and dictionaries are not persistent and that updates to these will not be imp

[Zope] pickled data in traceback

2000-12-07 Thread jimbo
Greetings, I thought that Flush Cache under /Control_Panel/Database cleared old object references? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http:/

Re: [Zope] New version of book uploaded

2000-12-07 Thread Michel Pelletier
On Thu, 7 Dec 2000, jimbo wrote: > > I meant to paste this link in the last posting. I had the wrong title. > http://lists.zope.org/pipermail/zope/2000-December/036772.html > > > And when do I get my book? Slow down jimbo I haven't even eaten dinner yet! We got yer submission. > And can

Re: [Zope] Using aquisition inside a dtml method of a product ?

2000-12-07 Thread Tres Seaver
Andreas Jung <[EMAIL PROTECTED]> wrote: > > Inside a product my index_html is set to > >"index_html=HTMLFile('index_html',globals())" > > The index_html.dtml calls . This > DTML method is available in the top-level hierarchy. However When > I call index_html Zope complains with a KeyErr

[Zope] While I'm at it. What is the SIGNOFF posting?

2000-12-07 Thread jimbo
Hi, Am I suppose to click it or something? It's always the last posting. I've never clicked it. What is it for? -Jimbo ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (R

Re: [Zope] Authentication Problem : External method returning object : Zope 2.2.4

2000-12-07 Thread Tres Seaver
Sean McGrath <[EMAIL PROTECTED]> wrote: > All, > > I'm just a country boy raised on mashed potatoes and Zope 2.1.6. > The new security model up here in the bright lights/big city world > of Zope 2.2.4 has me all confused:-) > > I have an external method that returns an object. I have a dtml met

Re: [Zope] New version of book uploaded

2000-12-07 Thread jimbo
Just making sure this thing is on. -- Original Message -- From: Michel Pelletier <[EMAIL PROTECTED]> Date: Thu, 7 Dec 2000 17:07:32 -0800 (PST) >Greetings, > >Read this carefully, you may end up with a free, signed copy of the Zope >book. > >That's right,

Re: [Zope] New version of book uploaded

2000-12-07 Thread jimbo
I meant to paste this link in the last posting. I had the wrong title. http://lists.zope.org/pipermail/zope/2000-December/036772.html And when do I get my book? And can I get the likes of Guido, and Jim to sign the book also? Just making sure this thing is on. -Jimbo _

[Zope] FWD: Python Scripts

2000-12-07 Thread jimbo
-- Original Message -- From: "jimbo" <[EMAIL PROTECTED]> Reply-To: <[EMAIL PROTECTED]> Date: Thu, 7 Dec 2000 18:06:51 -0800 >From the e-mail "By using DTML, Python, Perl or other kinds of methods, you can script the web." (Wrong) >From the book Chap.12

Re: [Zope] pickled data in traceback

2000-12-07 Thread Chris McDonough
THis looks like you have an object in your database that still wants the Zclass definition (or base class definitions) for SQLMemberFolder, which is evidently part of the PTK. You'll need to determine which object(s)in your object database still needs this class. This can be hard, especially if

[Zope] pickled data in traceback

2000-12-07 Thread fotios pylarinos
Hi all, This is the message I get when I try to import a product in the control_panel/products folder. Some of these porducts where removed but I still get reference to them eg/ 'Products.PTKBase.MemberFolder'. Have I done something wrong? Is there a fix? Thanks, cheers Fordy. Could not load o

[Zope] New version of book uploaded

2000-12-07 Thread Michel Pelletier
Greetings, Read this carefully, you may end up with a free, signed copy of the Zope book. That's right, Amos and I have just gotten done adding all kinds of new stuff to the book, and in particular we made quite a few changed from "Python Method" to "Python Script". This was a task more subtle

Re: [Zope] Zope 2.2.4 dying under Solaris 2.6

2000-12-07 Thread Shane Hathaway
Steve Spicklemire wrote: > > It might be interesting to turn on the -M option of z2.py and see if > there is any pattern to the crash. This can happen for a number of > reasons (e.g., a buggy Python extension, an infinite recursive loop, > ). I wrote a script recently which is able to track

Re: [Zope] Zope 2.2.4 dying under Solaris 2.6

2000-12-07 Thread Steve Spicklemire
It might be interesting to turn on the -M option of z2.py and see if there is any pattern to the crash. This can happen for a number of reasons (e.g., a buggy Python extension, an infinite recursive loop, ). -steve > "Michael" == Michael Best <[EMAIL PROTECTED]> writes: Michael> I

Re: [Zope] just curious

2000-12-07 Thread Steve Spicklemire
wget? -steve > "michael" == michael angelo ruberto <[EMAIL PROTECTED]> writes: michael> what i meant was, is there a way to remove my files in michael> Zope back to the filesystem? i'm having serious concerns michael> about the stability of this product and need to know if i

Re: [Zope] Using aquisition inside a dtml method of a product ?

2000-12-07 Thread Dieter Maurer
Hi Andreas, Andreas Jung writes: > Inside a product my index_html is set to > >"index_html=HTMLFile('index_html',globals())" > > The index_html.dtml calls . This DTML method is > available in the top-level hierarchy. However When I call index_html Zope > complains with a KeyError

RE: [Zope] just curious

2000-12-07 Thread Dieter Maurer
michael angelo ruberto writes: > what i meant was, is there a way to remove my files in Zope back to the > filesystem? i'm having serious concerns about the stability of this product > and need to know if i can gracefully revert back. If they are stored in "DTML Documents/Methods" you can simpl

Re: [Zope] Zope 2.2.4 dying under Solaris 2.6

2000-12-07 Thread Dieter Maurer
Michael Best writes: > I have had Zope 2.0.1, Zope 2.1.6 and Zope 2.2.4 running on Solaris 2.6 > and inexplicably, every so often (no definiate amount of time) the Zope > dies. > > A typical entry from STUPID_LOG is: > 2000-12-07T18:23:22 ERROR(200) zdaemon zdaemon: Thu Dec 7 11:23:22

Re: [Zope] Authentication Problem : External method returning object :Zope 2.2.4Zope 2.2.4

2000-12-07 Thread Dieter Maurer
Hi Sean Sean McGrath writes: > ... > I have an external method that returns an object. I have a dtml method > that tries to reference an attribute of that object. The attempted > attribute reference causes the HTTP authenticate dialog to appear. > No username/password seems to appease it. Ha

Re: [Zope] ZPatterns

2000-12-07 Thread Chris Withers
Brad Clements wrote: > > On 6 Dec 2000, at 23:54, Bill Welch wrote: > works well, but the terminology used in ZPatterns always gives me a > headache. Clearly a shortcoming on my part ...I disagree, ZPatterns only major flaw is that its totally immersed in its own jargon which very few people un

Re: [Zope] just curious

2000-12-07 Thread Chris Withers
michael angelo ruberto wrote: > > what i meant was, is there a way to remove my files in Zope back to the > filesystem? i'm having serious concerns about the stability of this product > and need to know if i can gracefully revert back. Yeah, just ftp into your Zope server on port 8021 and suck t

Re: [Zope] Security problem?

2000-12-07 Thread Chris Withers
Might be a security problem... Are you allowed to access that header from inside your index_html? cheers, Chris Andreas Jung wrote: > > Inside a product my index_html is set to > >"index_html=HTMLFile('index_html',globals())" > > The index_html.dtml calls . This DTML method is > availab

RE: [Zope] the day of zope headaches

2000-12-07 Thread michael angelo ruberto
thanks Kevin, that seems to have did the trick. the deal on my server is that tmp, /var/tmp, and /usr/tmp are all linked to one directory. this required me to create /home/httpd/tmp and point tempfile.py to it because the disk for all the other tmp stuff is quite full. time for bigger drives. --

Re: [Zope] Indirect addressing

2000-12-07 Thread Dieter Maurer
Ragnar Beer writes: > Howdy Zopistas! > I have a directory structure like this: > + myfolder > index_html > my_external_method > dtml_method_1 > dtml_method_2 > ... > > In index_html I want to include either dtml_method_1 or > dtml_method_2, ... (one method fo

Re: [Zope] uploading Files when using GUF

2000-12-07 Thread Dieter Maurer
urs.beyeler writes: > i try to allow users uploading files through a web-interface on > zope2.2.1. this works fine unless i try this in a > GenericUserFolder-controlled folder ... > > i always get > > Error Type: AttributeError > Error Value: getUserById I do not have the GenericUserFo

Re: [Zope] REQUEST.set doesn't set in 2.2.4

2000-12-07 Thread Dieter Maurer
Brad Clements writes: > This code: > > "REQUEST.set('verrormessage',orderobject.chargeCard(REQUEST,Holmes.CyberCash,Rec))"> > > > Prints out _.None as the result. > > However a print statement in my ordeobject.chargeCard method shows > that the return value isn't None. Are you sure t

[Zope] FW: [Zope] FTP for ZClass hierarchies

2000-12-07 Thread M. Adam Kendall
ARGH.. Spoke too soon.. just figured out how to override it so it actually WILL let you get to methods of inner Zclasses. And yes, I have tried to save back to the methods and they save fine.. The next thing to try to tackle is how to make FTP create a DTML Method instead of DTML Document as the

Re: [Zope] FTP for ZClass hierarchies

2000-12-07 Thread Robin Becker
In article <[EMAIL PROTECTED]>, M. Adam Kendall <[EMAIL PROTECTED]> writes >In the past few days I have been working on a patch that will >let you edit ZClasses via FTP without the need for typing in >actual pathnames to get to the methods (mainly so I can edit >ZClasses with HTML-Kit). Strangely

Re: [Zope] Help! publishing Images from a Database

2000-12-07 Thread Joh Johannsen
This works with mysql: 1. make mysql table with a LONGBLOB field for holding the image, suppose you make it a field called "imageData" 2. in your DTML, do this (assume getImage gets the image you want) The retrieve, etc. things you mentioned are just sql, displaying it is the tricky part

[Zope] FieldDocument

2000-12-07 Thread Olaf Zanger
hi there, FieldDocument.zexp (downloadable from www.zope.org) does everything fine except of creating the actual input field. a second error is that does not work, even if i add a third operand as requested what's the trouble, does anybody use it? unfortunately i have no clue of python a

[Zope] Help! publishing Images from a Database

2000-12-07 Thread Mohan Baro
Can anyone help me to I want to know how I can publish images stored in a SQL database. I am trying to create an online photo album that stores images in a database. The features I want to implement are: RetrieveImage, UpdateImage, InsertImage I am running zope on linux mandrake and use ZSev

[Zope] Zope 2.2.4 dying under Solaris 2.6

2000-12-07 Thread Michael Best
I have had Zope 2.0.1, Zope 2.1.6 and Zope 2.2.4 running on Solaris 2.6 and inexplicably, every so often (no definiate amount of time) the Zope dies. Any ideas? -- A typical entry from STUPID_LOG is: 2000-12-07T18:23:22 ERROR(200) zdaemon zdaemon: Thu Dec 7 11:23:22 2000: Aiieee! 17564

Re: [Zope] Another Zope E-Commerce Site Online - Transaction Errors

2000-12-07 Thread Brad Clements
On 7 Dec 2000, at 9:41, Diego Rodrigo Neufert wrote: > Transaction Error too > > Are you trying to do session management and/or database querys in two > different frames? Thanks to everyone who emailed me about transaction errors, here's what was happening so you can avoid it too. First,

Re: [Zope] Another Zope E-Commerce Site Online:which database ??

2000-12-07 Thread Brad Clements
On 7 Dec 2000, at 11:05, Gilles Lavaux wrote: > What is the database used on this site? I never had this error myself :-) > Interbase on Linux. Please see my other post that explains the entire problem in detail. Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.m

Re: [Zope] Another Zope E-Commerce Site Online

2000-12-07 Thread Brad Clements
On 6 Dec 2000, at 21:57, Bill Welch wrote: > I found the shopping cart interesting. Did you start with an existing > package or write it from scratch? Are you willing to share it? There are four major parts to this system. 1. product inventory and descriptions - kept in Interbase, images in Zo

Re: [Zope] Another Zope E-Commerce Site Online

2000-12-07 Thread Brad Clements
On 6 Dec 2000, at 23:54, Bill Welch wrote: > Maybe you just looked at the catalog and didn't notice what's in the > checkout. Having spent the past month setting up a site with Etailer, I > would have to completely disagree with you. If Brad started with Etailer (I > suspect he did, the checkout

RE: [Zope] Cannot create Primary Key

2000-12-07 Thread Farrell, Troy
See this question from the gadfly faq: http://www.chordate.com/kwParsing/gffaq.html#key -Original Message- From: Angietel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 29, 2000 10:17 PM To: [EMAIL PROTECTED] Subject: [Zope] Cannot create Primary Key I'm using the Z Gadfly Databa

RE: [Zope] just curious

2000-12-07 Thread michael angelo ruberto
what i meant was, is there a way to remove my files in Zope back to the filesystem? i'm having serious concerns about the stability of this product and need to know if i can gracefully revert back. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chris M

Re: [Zope] Another Zope E-Commerce Site Online

2000-12-07 Thread Brad Clements
On 6 Dec 2000, at 22:48, Jason C. Leach wrote: > hi, > > How long did it take? And what level of Zope(xpertese) where you at whe > you started? Did you have to do that shopping cart from scratch? > > This site was "thrown together" in about 5 days for a disorganized > > customer, came online

RE: [Zope] Another Zope E-Commerce Site Online

2000-12-07 Thread Brad Clements
On 6 Dec 2000, at 19:51, Lee Hunter wrote: > Site looks beautiful but I would *never* have guessed that it was an ecom > site unless you told me. > > Even then it was just by accident that I clicked an image and came to a > price and description. Maybe that's the part you were refering to as bei

RE: [Zope] version 2.2.4 just blew up!

2000-12-07 Thread michael angelo ruberto
Chris, The Dr. Watson log won't help us at this stage. Can you turn on debug logging by inserting the following to the beginning of your Zope's start.bat file: set STUPID_FILE_LOG=var\debug.log did it. Then report back what comes up in the var\debug.log file when you click on the link that

[Zope] Using aquisition inside a dtml method of a product ?

2000-12-07 Thread Andreas Jung
Inside a product my index_html is set to "index_html=HTMLFile('index_html',globals())" The index_html.dtml calls . This DTML method is available in the top-level hierarchy. However When I call index_html Zope complains with a KeyError/standard_html_header. When I remove the "" call every

[Zope] Authentication Problem : External method returning object :Zope 2.2.4 Zope 2.2.4

2000-12-07 Thread Sean McGrath
All, I'm just a country boy raised on mashed potatoes and Zope 2.1.6. The new security model up here in the bright lights/big city world of Zope 2.2.4 has me all confused:-) I have an external method that returns an object. I have a dtml method that tries to reference an attribute of that object

Re: [Zope] duplicate column name

2000-12-07 Thread Andy Dustman
On Thu, 7 Dec 2000, Olaf Zanger wrote: > > > Ivan Cornell schrieb: > > > > Olaf Zanger wrote: > > > > > i work with postgreSQL 7.0.2, ZPyGreSQLDA-0-0-3 and zope 2.2.2 on suse > > > 7.0 linux > > > > > > when i try the line > > > > > > -> select adr.id,fac.id from fac, adr > > > > > > > You p

RE: [Zope] FTP for ZClass hierarchies

2000-12-07 Thread M. Adam Kendall
In the past few days I have been working on a patch that will let you edit ZClasses via FTP without the need for typing in actual pathnames to get to the methods (mainly so I can edit ZClasses with HTML-Kit). Strangely enough, even with the modifications, I see this same thing. I've included th

Re: [Zope] Is it posible?

2000-12-07 Thread Andy McKay
This is all in the REQUEST object it always useful to have a dtml method document lying around containing nothing but: -- Andy McKay, Developer. ActiveState. - Original Message - From: "Oleg Broytmann" <[EMAIL PROTECTED]> To: "Stoonsdesign" <[EMAIL PROTECTED]> Cc: "zopeQ" <[EMAIL PR

[Zope] Zpdf

2000-12-07 Thread Olaf Zanger
hi everybody, i just imported some dtml structures into a zpdf_0-0-1 document and figure out that it does ignore the dtml alltogether. is that how it is meant to be? thanks for help -- soli-con Engineering Zanger Dipl.-Ing. (FH) Olaf Zanger Nusch Lorrainestrasse 23 3013 Bern / Switzerland Fon

[Zope] RE: Random choice in ?

2000-12-07 Thread J. Atwood
I just love answering my own questions (maybe it is from the embarrassment of having to ask them). Here is the code that works like a charm: and Thanks to Andy McKay for posting this in November. I added a tip to Zope.org at http://www.zope.org/Members/BwanaZulia/

[Zope] Zope Internationalization Project

2000-12-07 Thread Maik Röder
Hello ! The EuroZope project ( http://zdp.zope.org/projects/eurozope ) is searching for Zope enthusiasts that are interested in Zope Internationalization, and would like to join us in our effort to translate the Zope management interface into other languages. The translation has already starte

Re: [Zope] Re: [Zope-ZEO] Zope 2.2.4 ZEO 0.4.1 (latest anyway)doesn'twant to add Products

2000-12-07 Thread Shane Hathaway
Bill Anderson wrote: > > Shane Hathaway wrote: > > > > On Tue, 5 Dec 2000, Bill Anderson wrote: > > > So, what would you suggest for the following scenario? > > > > > > o Site distirbuted via ZEO > > > o Using SiteAccess2 for virtual hosting sites under > > > /vhosts/thissite /vhosts/thatsite >

[Zope] Random choice in ?

2000-12-07 Thread J. Atwood
Ok.. so I can get a random item out of a folder with. And I can iterate through a folder with , , But I want to include the random statement within the so I can get more of the object values back. I know this must be some little ._."_.. or other such mix but I am getting frustr

RE: [Zope] Zope's default icons not displayed

2000-12-07 Thread Brian Lloyd
> Yikes, can someone help me out? My browser isn't rendering > Zope's default > icons on its management screens. I'm running > > Zope version: Zope 2.2.4b1 This is fixed in 2.2.4 final... Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations h

Re: [Zope] PythonScripts and ExternalMethods

2000-12-07 Thread Cyril
Argh... I'm writing all my code that's not presentation code as Externals Methods and Python classes. I hope that there will be an easy path to move the code in future versions of Python. >Jim and I expect to make External Methods obsolete, rather >than upgrading them. In the near future, you wi

[Zope] data.fs

2000-12-07 Thread Tom Deprez
Arg, Forget previous message. Sometimes, you've to get away from the error to find it out. ´ ` are not the same that was the mistake I made in the start script Tom. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinf

[Zope] uploading Files when using GUF

2000-12-07 Thread urs.beyeler
i try to allow users uploading files through a web-interface on zope2.2.1. this works fine unless i try this in a GenericUserFolder-controlled folder ... i always get Error Type: AttributeError Error Value: getUserById any ideas? ___ Zope maillist

[Zope] data.fs

2000-12-07 Thread Tom Deprez
Hi, I'm experiencing a strange problem here. I followed the how-to of 4am : Make your life easier with INSTANCE_HOME. Now, when I start zope in debug mode, everything works fine. However! When I start zope in normal mode, I get an error : InstallError : No access file found at cd $ reldir; pwd

Re: [Zope] Patch to avoid hypenation variables and more

2000-12-07 Thread Tino Wildenhain
Michel Pelletier schrieb: > > > The second problem is if you put one in-tag into another. > > You have to use oder REQUEST.set() with variables > > of the outher in-tag to be able to reference them in the inner > > loop. The code becomes very ugly this way. So my idea was to > > give the in-tag

[Zope] Zope's default icons not displayed

2000-12-07 Thread Anthony Monta
Hi, Yikes, can someone help me out? My browser isn't rendering Zope's default icons on its management screens. I'm running Zope version: Zope 2.2.4b1 (binary release, python 1.5.2, linux2-x86) Python version: 1.5.2 (#10, Dec 6 1999, 12:16:27) [GCC 2.7.2.3] System Platform: linux2 I get an at

[Zope] Calendar and zwiki

2000-12-07 Thread Frank McGeough
Hi, I'm fairly new to Zope and I'm using Zwiki on top of it to run a website that provides a central place for discussions on our products. I've discovered the calendar tag and what I'd like to do is to use the calendar tag on zwiki page that shows signficant customer events with links to zwiki p

[Zope] Re: [Zope-ZEO] ZEO_CLIENT

2000-12-07 Thread Bill Welch
ZEO_CLIENT is a parameter of z2.py to let a zope instance know it's a client of a central ZEO and to not try to install products. Add to you invocation of z2.py Did you change the custom_zodb.py of the instance to connect a ClientStorage at the host and port that you started ZEO on? Bill. On Th

Re: [Zope] duplicate column name

2000-12-07 Thread Olaf Zanger
Ivan Cornell schrieb: > > Olaf Zanger wrote: > > > i work with postgreSQL 7.0.2, ZPyGreSQLDA-0-0-3 and zope 2.2.2 on suse > > 7.0 linux > > > > when i try the line > > > > -> select adr.id,fac.id from fac, adr > > > > You probably need to alias the columns: > select adr.id as adr_id, fac.id a

Re: [Zope] duplicate column name

2000-12-07 Thread Olaf Zanger
> I believe Zope (not PostgreSQL) needs different names for columns. Otherwise, how >would it choose the name of DTML variables? Try renaming the columns with AS in the >ZSQL method. well zope uses the "name" option and a "column" option for the dtml-sqltest. that works quite well, if your var

Re: [Zope] Is it posible?

2000-12-07 Thread Oleg Broytmann
On Thu, 7 Dec 2000, Stoonsdesign wrote: > Statement: ZOPE RULEZ! Sure! :) > Q1: Is it possible to get the current users IP Yez. > Q2: If so => How..? Oleg. Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED] Programmers don't die, they jus

Re: [Zope] Indirect addressing

2000-12-07 Thread Oleg Broytmann
On Thu, 7 Dec 2000, Ragnar Beer wrote: > This would logically be handled with " my_external_method>>" in index_html but this doesn't work. Don't write DTML inside DTML. Inside DTML tag use Python: Oleg. Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED]

RE: [Zope] Indirect addressing

2000-12-07 Thread Max Møller Rasmussen
From: Ragnar Beer [mailto:[EMAIL PROTECTED]] >+ myfolder > index_html > my_external_method > dtml_method_1 > dtml_method_2 > ... >In index_html I want to include either dtml_method_1 or >dtml_method_2, ... (one method for every week of year). >my_external_method t

[Zope] Is it posible?

2000-12-07 Thread Stoonsdesign
Statement: ZOPE RULEZ!   Q1: Is it possible to get the current users IP#, like it is possible to get his/her browserversion..? Q2: If so => How..?   ( = Stoons = )  

Re: [Zope] duplicate column name

2000-12-07 Thread Ivan Cornell
Olaf Zanger wrote: > i work with postgreSQL 7.0.2, ZPyGreSQLDA-0-0-3 and zope 2.2.2 on suse > 7.0 linux > > when i try the line > > -> select adr.id,fac.id from fac, adr > You probably need to alias the columns: select adr.id as adr_id, fac.id as fac_id from fac, adr and then refer to adr_id & f

Re: [Zope] duplicate column name

2000-12-07 Thread Stephane Bortzmeyer
On Thursday 7 December 2000, at 13 h 15, the keyboard of Olaf Zanger <[EMAIL PROTECTED]> wrote: > -> select adr.id,fac.id from fac, adr It is legal SQL but > ->error type: value error > ->error value: duplicate column name,id I believe Zope (not PostgreSQL) needs different names for columns.

[Zope] Indirect addressing

2000-12-07 Thread Ragnar Beer
Howdy Zopistas! I have a directory structure like this: + myfolder index_html my_external_method dtml_method_1 dtml_method_2 ... In index_html I want to include either dtml_method_1 or dtml_method_2, ... (one method for every week of year). my_external_

Re: [Zope] Cut/copy/paste problems

2000-12-07 Thread Oleg Broytmann
On Thu, 7 Dec 2000, Ivan Cornell wrote: > I've been having problems with copy/paste/rename with my site, which is apache > proxypassing (mod_rewrite [p] actually) onto a siterooted subdir of zserver. I Aha, SiteRoot! I thought is is a part of the problem. Thanks! Oleg. Oleg Broy

[Zope] duplicate column name

2000-12-07 Thread Olaf Zanger
i there, i work with postgreSQL 7.0.2, ZPyGreSQLDA-0-0-3 and zope 2.2.2 on suse 7.0 linux when i try the line -> select adr.id,fac.id from fac, adr in the database connection test field i get an error as follows: ->error type: value error ->error value: duplicate column name,id it worked for

Re: [Zope] next value

2000-12-07 Thread Olaf Zanger
hi, thanks for your help i found the mistake: > i work with postgreSQL 7.0.2, ZPyGreSQL and zope 2.2 on suse 7.0 linux > > for a identifier field adr_id:serial i want to automatically insert a > new number max(adr_id)+1 > > how can this be done in an insert into sql statement? > > i tried nex

Re: [Zope] How to find items to catalog from a dtml method ???

2000-12-07 Thread Frederic Quin
Hi Chris, No, I don't want to just search the catalog... I want to find items to catalog from a dtml method... Regards Fred Chris Withers wrote: > > If you're searching the catalog, you probably don't want to be using > that method... > > try: > >>> > > <<>> > > > > good luck, > >

Re: [Zope] Another Zope E-Commerce Site Online

2000-12-07 Thread Diego Rodrigo Neufert
Transaction Error too Are you trying to do session management and/or database querys in two different frames? On Qua 06 Dez 2000 16:16, you wrote: > Just announcing this new e-commerce zope based site. > > http://www.adirondackcraft.com > > Come buy something, but don't whack it too hard, th

Re: [Zope] Cut/copy/paste problems

2000-12-07 Thread Ivan Cornell
Dieter Maurer wrote: > Oleg Broytmann writes: > > Cut/copy/paste problems in Zope behind Apache > > > >To help me to resolve the problem I want to ask the helpful community > > provide me some information. Of those who run Zope behind Apache please > > tell me: > > > > 1) whi

Re: [Zope] Cut/copy/paste problems

2000-12-07 Thread Oleg Broytmann
Hi! On Thu, 7 Dec 2000, Bak@kedai wrote: > i've tried proxypass, fcgi, and modpci2. and i stuck with mod_pcgi2, since > this is the option with the least amount of problems/failure. Wow! Thank you (I am the author of mod_pcgi2, if you didn't noticed :) > i connect to zserver for all my man

Re: [Zope] Comment elimination...

2000-12-07 Thread Stefan H. Holek
On Thu, 7 Dec 2000, Curtis Maloney wrote: > On Thursday 07 December 2000 08:05, Dieter Maurer wrote: > > Curtis Maloney writes: > > > ... finding objects with "comment" in them > > > > You can use the "Find" tab and fill the "containing" field > > with "comment". > > duh! > > I've been i

Re: [Zope] IMAP UserSource?

2000-12-07 Thread Chris Withers
marc lindahl wrote: > > Does anyone know if or how you can create, destroy, change passwords, and > possibly other things, to sendmail (IMAP) accounts remotely? I want to use > WorldPilot, but it uses sendmail's usernames and passwords, not Zope's. So > I'm interested in something that can sync

Re: [Zope] How to find items to catalog from a dtml method ???

2000-12-07 Thread Chris Withers
If you're searching the catalog, you probably don't want to be using that method... try: >>> <<>> good luck, Chris Frederic Quin wrote: > > Hi all, > > I tried to use the manage_catalogFoundItems( REQUEST, RESPONSE, URL2, > URL1, [] ) method of Catalog objects, from a dtml method. But

Re: [Zope] Disabling Services : WebDAV

2000-12-07 Thread Chris Withers
Dieter Maurer wrote: > > Chris Withers writes: > > ZServer Medusa (V1.16.4.3) > > ... > > > > Which of those handles WebDAV requests? > WebDAV runs on top of HTTP. > You must disable ZServer Medusa. > Maybe, you accept WebDAV? Great :-( Any other way to turn WebDAV off? Not sure about Zopes

Re: [Zope] Another Zope E-Commerce Site Online:which database ??

2000-12-07 Thread Gilles Lavaux
Hello, What is the database used on this site? I never had this error myself :-) Gilles Lavaux -Original Message- From: Marcin Kasperski <[EMAIL PROTECTED]> To: Zope List Submission <[EMAIL PROTECTED]> Date: Thursday, December 07, 2000 10:38 AM Subject: Re: [Zope] Another Zope E-Commerc

Re: [Zope] Another Zope E-Commerce Site Online

2000-12-07 Thread Marcin Kasperski
Brad Clements wrote: > > Just announcing this new e-commerce zope based site. > > http://www.adirondackcraft.com > Hmm. I get: Zope has encountered an error while publishing this resource. Error Type: TransactionError Error Value: A serious error, which was probably a system error, occurred

[Zope] ZClass report

2000-12-07 Thread Didier Georgieff
Hello, I have some scripts for describing and generating a report about Zclass, but only partial and method foucused (nothing on permissions, property sheets, subobjects, etc ...). Strangely i found nothing on the list ot on the products. Did i missed something about existing scripts, or sho