Re: [Zope-dev] case insensitive sorts

2000-12-07 Thread Chris Withers
Dieter Maurer wrote: Andy McKay writes: what does anyone else think I would not like it. Why not? ;-) Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] Search Interface [was 'case insensitive sorts']

2000-12-07 Thread Chris Withers
Rik Hoekstra wrote: Hm, reading this... just a loose comment. In light of the awkward search interface of ZCatalogs, would it be a good idea to make a search interface for ZCatalog ZPatterns based? T I'm starting to feel like a stuck record on this, but lots of people seem to be asking for

[Zope-dev] CVS emergency_user bug

2000-12-07 Thread Robin Becker
z2.py makes references to AccessControl.User.emergency_user which causes an exception. Is it ok to use SpecialUsers.super instead? -- Robin Becker ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] CVS emergency_user bug

2000-12-07 Thread Shane Hathaway
Robin Becker wrote: z2.py makes references to AccessControl.User.emergency_user which causes an exception. Is it ok to use SpecialUsers.super instead? No, it is not ok. :-) Have you updated AccessControl/User.py as well? If you have, this exception should not occur. Are you using special

Re: [Zope-dev] case insensitive sorts

2000-12-07 Thread Shane Hathaway
Chris Withers wrote: Who thinks the default python sort should stay like it is? Who thinks it should change? (reasons of course would be helpful, particularly if you want it to stay like it is ;-) Python's sort() lets you sort based on not only strings but also tuples, lists, and numbers,

Re: [Zope-dev] case insensitive sorts

2000-12-07 Thread Toby Dickenson
On Thu, 07 Dec 2000 10:54:06 -0500, Shane Hathaway [EMAIL PROTECTED] wrote: The one thing I wonder is whether the sort order is consistent between different versions of Python. I actually have a Collector bug report on exactly this question. http://classic.zope.org:8080/Collector/1219/view

Re: [Zope-dev] file references

2000-12-07 Thread Casey Duncan
Dan Sashko wrote: ~~~sorry for double post if you get it twice... I think I sent it first from the wrong email address is there a way in zope to reference a document on a server without having it to be in the zope database??? if I want to display say a microsoft document, with content

Re: [Zope-dev] CVS emergency_user bug

2000-12-07 Thread Robin Becker
In article [EMAIL PROTECTED], Shane Hathaway [EMAIL PROTECTED] writes Robin Becker wrote: z2.py makes references to AccessControl.User.emergency_user which causes an exception. Is it ok to use SpecialUsers.super instead? No, it is not ok. :-) Have you updated AccessControl/User.py as well?

Re: [Zope-dev] CVS emergency_user bug

2000-12-07 Thread Shane Hathaway
Robin Becker wrote: In article [EMAIL PROTECTED], Shane Hathaway [EMAIL PROTECTED] writes Robin Becker wrote: z2.py makes references to AccessControl.User.emergency_user which causes an exception. Is it ok to use SpecialUsers.super instead? No, it is not ok. :-) Have you updated

Re: [Zope-dev] virtual domains

2000-12-07 Thread Chris Withers
Josh Zeidner wrote: Hello, Is it possible to configure zope for "virtual domains"? For instance, can I have one zope installation serve several domains? How do I configure this? http://www.zope.org/Members/4am/SiteAccess2 cheers, Chris

Re: [Zope-dev] SQLAlias Memory Leak?

2000-12-07 Thread Dyon Balding
OK, I've put this into the Collector. I'm intrigued as to what the operating procedure is with the Collector though - there appear to be a large number of Pending jobs. Does that mean that Digital Creations haven't even looked at them, or that they just haven't done anything about them?

Re: [Zope-dev] case insensitive sorts

2000-12-07 Thread Andy McKay
But thats a result of the sorting... anyway I have in and tree patched, I'll post them tonight when I get home and let people do what they want. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Dieter Maurer" [EMAIL PROTECTED] To: "Chris Withers" [EMAIL PROTECTED]

Re: [Zope-dev] case insensitive sorts

2000-12-07 Thread Andy McKay
3. ZCatalog stores objects in a pre-sorted order. Changing the sort order of any object (not just strings) would break *all* existing ZCatalog instances that store mixed case strings. (and other applications too - the python language reference documents that this assmption is safe at least

[Zope-dev] Linux Zope - Win2K SQL Server?

2000-12-07 Thread Neil K
I'm still trying to figure out what the missing pieces are... if anyone else has gotten a Linux Zope talking to a Win2K SQL Server 2000, I would appreciate some guidance. It seems I would have to write my own Product from scratch to do this, no matter what. None of the ODBC Products seem to be

Re: [Zope-dev] Linux Zope - Win2K SQL Server?

2000-12-07 Thread Anthony Baxter
Use the Sybase client libraries, with ZSybaseDA. We do that here, and it works fine (but not for much longer, byebye sqlserver...) Or FreeTDS, but I don't think it's thread-safe, so you'll need to use a Thunked adaptor. "Neil K" wrote I'm still trying to figure out what the missing pieces

Re: [Zope-dev] Linux Zope - Win2K SQL Server?

2000-12-07 Thread Dyon Balding
I am currently running Zope - ZSQLRelayDA - SQLRelay+FreeTDS - SQLServer on NT. It works, but not particularly robustly it would seem. -d On Thu, Dec 07, 2000 at 02:57:28PM -0800, Neil K wrote: I'm still trying to figure out what the missing pieces are... if anyone else has gotten a Linux

[Zope-dev] Linux Zope - Win2K SQL Server?

2000-12-07 Thread jimbo
I'm still trying to figure out what the missing pieces are... if anyone else has gotten a Linux Zope talking to a Win2K SQL Server 2000, I would appreciate some guidance. It seems I would have to write my own Product from scratch to do this, no matter what. None of the ODBC Products seem to be

Re: [Zope-dev] Significance of the ZODB split?

2000-12-07 Thread Michel Pelletier
On Fri, 8 Dec 2000, Robin Becker wrote: Anyone know why AM Kuchling needs to split off a Sourceforge project based on ZODB? I don't think it's a "split", but AMK is using ZODB internally at his job, and externally with his own projects, so I can see him wanting to have some control over the

[Zope-dev] FYI: calling doctest from ZUnit

2000-12-07 Thread Simon Michael
I added some ZUnit tests which invoke Tim Peters' doctest testing framework in the zope environment. More at http://zwiki.org/DocTest regards, -Simon ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No

[Zope-dev] (was Flat Database/ZPatterns api, performance ?)

2000-12-07 Thread Simon Michael
Itamar Shtull-Trauring [EMAIL PROTECTED] writes: Simon Michael wrote: Flat Database (was ListMate) is just what I need to whip up an interface for non-technical administrators - thanks. So I migrated two data tables ("workshops" "registrations") from gadfly to flatdb instances using the

[Zope-dev] A few corrupt files in Public CVS discovered and corrected

2000-12-07 Thread Ken Manheimer
Recently (yesterday and today) we found a few files in the CVS repository to be corrupt - different than the internal CVS files from which they were mirrored. We've run a check to track down all such files, and have corrected them all. However, we don't know at this point whether or not the

Re: [Zope-dev] Significance of the ZODB split?

2000-12-07 Thread Simon Michael
Michel Pelletier [EMAIL PROTECTED] writes: I am, in particular, barely not lazy enough to check stuff into branches, much less whole other repositories. ;) Nicely put. Posted on zwiki.org so I can use it later. :) -Simon ___ Zope-Dev maillist -

[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

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 in

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-Commerce

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 supprot and

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: dtml-let setup your search terms here dtml-in yourCatalog do your row display stuff here /dtml-in /dtml-let good luck, Chris Frederic Quin wrote: Hi all, I tried to use the

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

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". slaps forehead duh! I've been

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) which way do you

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, this

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: dtml-let setup your search terms here dtml-in

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

[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] 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

[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).

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.

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 fac_id

[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/herbrowserversion..? Q2: If so = How..? ( = Stoons = )

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 tells me

Re: [Zope] Indirect addressing

2000-12-07 Thread Oleg Broytmann
On Thu, 7 Dec 2000, Ragnar Beer wrote: This would logically be handled with "dtml-var dtml-var my_external_method" in index_html but this doesn't work. Don't write DTML inside DTML. Inside DTML tag use Python: dtml-var "_[my_external_method()]" Oleg. Oleg Broytmann

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..? dtml-var REMOTE_ADDR Oleg. Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED] Programmers

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

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 as fac_id from fac,

[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

[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

[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

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 dtml-let 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] 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;

[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
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]

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

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

[Zope] Random choice in dtml-in?

2000-12-07 Thread J. Atwood
Ok.. so I can get a random item out of a folder with. dtml-var expr="_.whrandom.choice(folder_name.objectValues())" And I can iterate through a folder with dtml-in "folder_name.objectValues()" size="1" dtml-var id, dtml-var title, dtml-var other_attribute /dtml-in But I want to

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 o each site is

[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

[Zope] RE: Random choice in dtml-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: dtml-with expr="_.whrandom.choice(folder_name.objectValues())" dtml-var "folder_name.attribute_name" and dtml-var id /dtml-with

[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

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: dtml-var REQUEST -- Andy McKay, Developer. ActiveState. - Original Message - From: "Oleg Broytmann" [EMAIL PROTECTED] To: "Stoonsdesign" [EMAIL PROTECTED] Cc:

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

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 probably need to alias the columns:

[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

[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 dtml-var standard_html_header. This DTML method is available in the top-level hierarchy. However When I call index_html Zope complains with a KeyError/standard_html_header.

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

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 being

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 just

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

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

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] 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

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

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,

[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

[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

[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 dtml-call "REQUEST.set('field_debug')" does not work, even if i add a third operand as requested dtml-call "REQUEST.set('field_debug',_)"

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) dtml-in getImage dtml-call "RESPONSE.setHeader('content-type','image/png')" dtml-return

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

[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] REQUEST.set doesn't set in 2.2.4

2000-12-07 Thread Dieter Maurer
Brad Clements writes: This code: dtml-call "REQUEST.set('verrormessage',orderobject.chargeCard(REQUEST,Holmes.CyberCash,Rec))" !-- charge result is dtml-verrormessage;-- Prints out _.None as the result. However a print statement in my ordeobject.chargeCard method shows

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 GenericUserFolder

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 for every

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] 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 dtml-var standard_html_header. This

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 the

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

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. Have

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] 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 simple

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 dtml-var standard_html_header. This DTML method is available in the top-level hierarchy. However When I call index_html Zope

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 michael

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 have

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 a

[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

[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

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] 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 4

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

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, Amos

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 method

[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! **

  1   2   >