[Zope-dev] ZDOM backward compatibility

2000-08-04 Thread Chime Thomas-Ogbuji
A decision needs to be made regarding ZDOM backward compatibility with DOM level I. We would like to know to what extent pcople use the old interfaces and if adhering to DOM II only would break a lot of prior work. The wiki describing the situation can be found here:

[Zope-dev] Re: Zope Mailing Lists and ZCatalog

2000-08-04 Thread Michel Pelletier
Andy Dawkins wrote: Michel In case you are not aware, we at NIP currently host a complete archive of the Zope mailing lists that are publicly available. Yep. We are using ZCatalog to index all the messages from the Mailing list archives. To give you an idea of numbers, the Zope

[Zope-dev] How-To: Use LoginManager with a SQL Database

2000-08-04 Thread Jochen Knuth
Hi, i adapted the How To: Use GenericUserFolder with an SQL database from hippy ( http://www.zope.org/Members/hippy/GUF_SQL_crypt_1_2 ) to LoginManager and Generic User Source. I didn't define a User Source or Login Method, i simply copied my methods from the GUF instance (more or less). I've

Re: [Zope] How to prime a selection?

2000-08-04 Thread Loren Stafford
Hi all I'm making a document class for a warehouse of papers. It's based on ZCatalogAware and ObjectManager (to wrap mainly PDFs and DOCs), and has fields: title (string type) origin (string type) format No value for format_value. typeNo value for type_value.

Re: [Zope] Retrieving the week number with DateTime

2000-08-04 Thread Rob W. W. Hooft
"DC" == David Coe [EMAIL PROTECTED] writes: DC I suspect there is no 'standard' definition of week number. You're wrong. According to the calendar FAW (thanks, Google:-): 5.7 What is the week number? International standard IS-8601 (mentioned

RE: [Zope] Packing with cron

2000-08-04 Thread Andy Dawkins
Have you ever used this from cron? Just so I know before I try it. No I haven't tried it from cron yet but I see any reasons why you couldn't, except to make sure all the libs are in a common/accessable place. eg. Python/lib -Andy ___ Zope maillist

Re: [Zope] acquisition vs. inheritance

2000-08-04 Thread Chris Withers
Jonothan Farr wrote: Is it possible to have just one top level object that refers to other objects that get overridden as you go into other folders? Acquisition works the other way around. You can create objects in subfolders whose contents are overriden higher up. You can't have an

Re: [Zope] ZSearch generated default report file fails on result set cardinality greater 50 for content which contains www addresses

2000-08-04 Thread Andreas Rippel
Dieter Maurer wrote: Andreas Rippel writes: I came across the situation, where the result rows of a Z SQL access contained www strings like www.uni-ko-ld.de/veranstaltungen/lehramt.html, see below. Using ZSearch generated dtml-methods generated the following html code, when the

[Zope] Vocabulary??

2000-08-04 Thread Sven Hohage
Hallo, think I've missed something. What is the feature "Vocabulary"??Just a hint please! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Help with demoportal

2000-08-04 Thread Owen Smith
2000-08-04T09:29:53 ERROR(200) Zope Couldn't install DemoPortal Traceback (innermost last): File /usr/local/dc/zope/lib/python/OFS/Application.py, line 464, in install_products (Object: ApplicationDefaultPermissions) (Info: DemoPortal) File

[Zope] New Wikis on zope.org

2000-08-04 Thread Bill Anderson
I have added a couple of new wikis to my section on zope.org at http://www.zope.org/Members/Bill The first one deals with the Membership product. I hope to expose some of my reasons and methodology in the development of the product. You can get to it by going to my page at

[Zope] SiteAccess and zope2.2

2000-08-04 Thread Terry Kerr
Hi, I am trying to upgrade from zope2.1.6 to zope2.2 and my SiteAccess no longer seems to work. I have the new version of SiteAccess, and product is not broken, it just doesn't redirect any hostnames of any of my sites. All domains point to the root of zope instead of their respective folders.

Re: [Zope] Help with demoportal

2000-08-04 Thread Chris Withers
What version of the PTK are vyou using? Chris Owen Smith wrote: 2000-08-04T09:29:53 ERROR(200) Zope Couldn't install DemoPortal Traceback (innermost last): File /usr/local/dc/zope/lib/python/OFS/Application.py, line 464, in install_products (Object: ApplicationDefaultPermissions)

[Zope] Moving Objects that are Cataloged...

2000-08-04 Thread Chris Withers
...is bad :( Because Catalog stores objects not by reference but by the path to where they are, if you move those objects, you'll start getting lots of 'Uncatalog of absent id' errors and your search results will point to objects that don't exist. And ideas/comments? cheers, Chris

[Zope] Caching How-To (was Cache concerns (was zope/proxy_passconfiguration problem)configuration problem)

2000-08-04 Thread Ragnar Beer
During the last couple of days I could finally figure out how to set up caching with mod_proxy. This morning I put together a caching howto and submitted it for review. If it's accepted it will be available under http://www.zope.org/Members/rbeer/caching I'm going on holiday now (Crete:

Re: [Zope] Moving Objects that are Cataloged...

2000-08-04 Thread Chris Withers
Terry Kerr wrote: how are you moving them? catalogAware objects unindex themselves when deleted then reindex themselves if pasted somewhere. The objects aren't catalogAware.. Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Moving Objects that are Cataloged...

2000-08-04 Thread Terry Kerr
then as far as i know there is no way around the problem? anyone else have comment? i think that is the whole point of making objects catalogAware. Chris Withers wrote: Terry Kerr wrote: how are you moving them? catalogAware objects unindex themselves when deleted then reindex

RE: [Zope] Moving Objects that are Cataloged...

2000-08-04 Thread Andy Dawkins
Whilst in agreement with Chris I would like to throw another situation in here that CatalogAware doesn't cater for. If you change a folder name, somewhere higher in the tree, then all the cataloged objects references are incorrect. I think this is the same problem that Chris mentioned but a

Re: [Zope] Moving Objects that are Cataloged...

2000-08-04 Thread Chris Withers
Terry Kerr wrote: i think that is the whole point of making objects catalogAware. But catalogAware doesn't support subtransactions. It also doesn't handle indirect deleting and several other conditions IIRC.. Also, in this particular case, the ZCatalog is a Squishdot Site and the obejcts are

Re: [Zope] Informix and Zope

2000-08-04 Thread Erich Seifert
"Nestor A. Diaz L." wrote: HI, Can anybody tell me if there is a posibility to use Zope with Informix 7.3 on a Linux machine? maybe using odbc driver? thanks you.. I would be interested in this, too. Could anyone help or give some hints. Thanks Eric

Re: [Zope] Moving Objects that are Cataloged...

2000-08-04 Thread Chris Withers
Andy Dawkins wrote: Whilst in agreement with Chris I would like to throw another situation in here that CatalogAware doesn't cater for. If you change a folder name, somewhere higher in the tree, then all the cataloged objects references are incorrect. I think this is the same problem

Re: [Zope] Help with demoportal

2000-08-04 Thread Owen Smith
I installed the ptk snap shot -but Im not sure which version this is.. but I then installed ZopePTK-0.8.0-alpha.tar.gz -but I get the same error on restart Owen Chris Withers wrote: What version of the PTK are you using? Chris Owen Smith wrote:

[Zope] ZCatalog attachments?

2000-08-04 Thread Simon Coles
Hi, We have binary files stored in Zope, for example Word documents (but could be any of a variety of document types). We would like to be able to index and search the contents of these files using ZCatalog. So if a Word file contains the word "Fred", then any search for "Fred" would include

[Zope] Precondition

2000-08-04 Thread RC Compaan
What does the "Precondition" property of the file class refer to? Roché ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

RE: [Zope] SiteAccess and zope2.2

2000-08-04 Thread Jens Vagelpohl
terry, have you done the following: * get the *latest* version of SiteAccess (only SiteAccess versions 2.0 work woth zope 2.2.0 * run the little helper script that comes with SiteAccess2 to upgrade all existing SiteAccess-related objects to version 2 * just to be on the safe side, re-registered

Re: [Zope] Caching How-To (was Cache concerns (was zope/proxy_pass configuration problem) configuration problem)

2000-08-04 Thread Toby Dickenson
On Fri, 4 Aug 2000 12:33:53 +0200, Ragnar Beer [EMAIL PROTECTED] wrote: During the last couple of days I could finally figure out how to set up caching with mod_proxy. This morning I put together a caching howto and submitted it for review. If it's accepted it will be available under

Re: [Zope] Caching How-To (was Cache concerns (waszope/proxy_pass configuration problem) configuration problem)

2000-08-04 Thread Ragnar Beer
Cool! I took a quick look at it and I think they fit together quiete nicely. In your howto you wrote "Some people have reported success with Apache using ProxyPass". This is exactly what my howto is about. Perhaps you could set a link? Ragnar On Fri, 4 Aug 2000 12:33:53 +0200, Ragnar Beer

[Zope] zope not receiving POSTs from Apache

2000-08-04 Thread Fabio Akita
Hi And again there´s a weird behavior concerning Zope+Apache :) Well, I have successfully set up an Apache in a Solaris system with Zope configured behind it using the ProxyPass/Rewrite modules and SiteAccess Product method. It looked to work fine but then I realized that the forms are not

Re: [Zope] ZCatalog attachments?

2000-08-04 Thread Aleksander Salwa
On Fri, 4 Aug 2000, Simon Coles wrote: We have binary files stored in Zope, for example Word documents (but could be any of a variety of document types). We would like to be able to index and search the contents of these files using ZCatalog. So if a Word file contains the word "Fred",

Re: [Zope] compile ZPoPyDA product problems (continued)

2000-08-04 Thread Stephen Nosal
Maybe I wasn't clear - my lib directory has the same links and files as yours (my libpq.a is smaller than yours). It's just that ldconfig -v gives me /opt/pgsql/lib: libpq.so.2.1 - libpq.so.2.1 OK, so does mine libpq.so.2.1 = libpq.so.2.1, so not. Exactly what message are

[Zope] REPOST: README.txt Tab

2000-08-04 Thread Robert_J_Roberts
I'll re-ask the question: How do I get the README tab to appear in a product? I created a product and it is working great. However, I would like to add the 'README' tab to the product (and if possible to each instance of the product). I looked at other products that have the README tab

Re: [Zope] dtml-calendar question (still not working)

2000-08-04 Thread tom smith
This message is about how to use dtml-calendar to get it's data out of an odbc database on 3/8/00 5:35 pm, R. David Murray at [EMAIL PROTECTED] wrote: On Thu, 3 Aug 2000, tom smith wrote: I'm still getting allsorts of errors. My code is like this... dtml-let yearnr="date.yy()"

Re: [Zope] REPOST: README.txt Tab

2000-08-04 Thread Jeff K. Hoffman
On Fri, 4 Aug 2000 [EMAIL PROTECTED] wrote: I'll re-ask the question: How do I get the README tab to appear in a product? I created a product and it is working great. However, I would like to add the 'README' tab to the product (and if possible to each instance of the product). I

Re: [Zope] dtml-calendar question (I GOT IT!!!!!!!!)

2000-08-04 Thread tom smith
My problem was with passing the arguments around I used ... dtml-in "get_days_events(startDateString=startDateString)" dtml-var namebr /dtml-in notice the startDateString=StartDateString...which I thought the dtml-let would've handled, anywaythis seems to have fixed it can

Re: [Zope] REPOST: README.txt Tab

2000-08-04 Thread Pavlos Christoforou
On Fri, 4 Aug 2000 [EMAIL PROTECTED] wrote: I'll re-ask the question: How do I get the README tab to appear in a product? What do I need to do? Its been a while but I think what you say is essentially correct. If there is a README.txt it would be displayed assuming your product was

Re: [Zope] Python Product Tutorial

2000-08-04 Thread Loren Stafford
I don't know of any tutorial. ZScheduler creates a container (a subclass of Catalog in fact), so you might use that code as a starting point. It doesn't put other objects in the container, tho. -- Loren http://www.zope.org/Members/lstaffor/ZScheduler - Original Message - From: "Erik

RE: [Zope] Caching How-To (was Cache concerns (waszope/proxy_pass configuration problem) configuration problem)

2000-08-04 Thread bak @ kedai
has anybody had bad experience with caching when using ie? i've done as what you did, but ie keeps showing old data. this with a no-cache header,must-revalidate. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ragnar Beer Sent: Friday, August 04,

[Zope] XSL Template proposal

2000-08-04 Thread Chime Thomas-Ogbuji
A proposal for an XSL Template product in Zope has been posted on the Zope developer site. We would appreciate, feedback suggestions, additions, etc. to the proposal. If you would like to participate with the process and you aren't already a member you can join here

[Zope] Moving an entire Zope site

2000-08-04 Thread Douglas Bates
I will be doing a demo of a Zope-based query system at a conference soon and need to replicate my entire site on a stand-alone machine. Is there a convenient way to archive a Zope site and move it to another machine? Please cc: me on replies. I'm over 1000 messages behind on reading this list

Re: [Zope] Moving an entire Zope site

2000-08-04 Thread Christopher J. Kucera
Douglas Bates wrote: I will be doing a demo of a Zope-based query system at a conference soon and need to replicate my entire site on a stand-alone machine. Is there a convenient way to archive a Zope site and move it to another machine? Just copy the Data.fs file. (And any External

[Zope] Redirecting from Python?

2000-08-04 Thread Christopher J. Kucera
Greetings! I'm working on a Product, and I'd like to be able to do a RESPONSE.redirect() from inside the Python code. What I had was basically this: dtml-if "some number of conditions" View the page . . . dtml-else dtml-call "RESPONSE.redirect('blahblahblah')" /dtml-if This works fine,

Re: [Zope] acquisition vs. inheritance

2000-08-04 Thread Jonothan Farr
Dang! Just when I think I understand this acquisition thing. ;) Sorry for the misinformation. --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998 - Original Message - From: Chris Withers [EMAIL PROTECTED] To: Jonothan Farr [EMAIL PROTECTED] Cc:

Re: [Zope] Redirecting from Python?

2000-08-04 Thread Jonothan Farr
Are you doing a dtml-var or dtml-call to call your external method? I believe you need a dtml-call. --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998 - Original Message - From: Christopher J. Kucera [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

[Zope] Powered by Zope in different colors?

2000-08-04 Thread Marcin Kasperski
Has anyone considered preparing some collection of differently colorized and sized 'Powered by Zope' logos? Recently I wanted to put it on two different web pages I created and in both situations I needed to change it. And I am not completely satisfied with the results (you can see them on

Re: [Zope] Redirecting from Python?

2000-08-04 Thread Christopher J. Kucera
Jonothan Farr wrote: Are you doing a dtml-var or dtml-call to call your external method? I believe you need a dtml-call. I've tried both. :) Other things I've tried: * Explicitly passing in the REQUEST object * Explicitly passing in the RESPONSE object * slapping a "return" in front of

[Zope] Zope with two platforms.

2000-08-04 Thread Francisco Assis Rosa
Hi all, I have a question I would like to pose you. We want to setup a environment where we have a development platform and a staging platform (two distinct machines with two distinct Zope instances). On the development platform we want to develop Zope Products while on the staging platform we

Re: [Zope] compile ZPoPyDA product problems (continued)

2000-08-04 Thread Stephen Nosal
Exactly what message are you getting now? I'm still getting the same error: At the python interactive prompt, the command import PoPy results in the following: ImportError: /usr/lib/python1.5/site-packages/PoPymodule.so: undefined symbol: PQfsize Any additional help would be

[Zope] Re:[Zope]compile ZPoPyDA product problem (continued)

2000-08-04 Thread Stephen Nosal
Federico - I downloaded PoPy-1.3.3.tgz and I'm running into the following problems: PostgreSQL was compiled from 7.0.2 source from ftp.postgresql.org Run as root: root@fastclose:/opt/src/PoPy ./autogen.sh --with-postgres-libraries=/opt/pgsql/lib --with-postgres-includes=/opt/pgsql/include

[Zope] Pluggable brains aren't seen by first-nnn in dtml-in?

2000-08-04 Thread Brad Clements
I have a ZSQL method that has an associated class. That class defines a method eventday(self) that returns just the date portion of a datetime value. I want to be able to use dtml-if first-eventday to print the date only when it changes. However first-eventday is ALWAYS true, however when I

Re: [Zope] Powered by Zope in different colors?

2000-08-04 Thread Christopher J. Kucera
Marcin Kasperski wrote: Has anyone considered preparing some collection of differently colorized and sized 'Powered by Zope' logos? Recently I wanted to put it on two I just created a few that would probably work well with your sites: http://www.zope.org/Members/cyborg/icons One is just a

[Zope] Controlling object type when uploading via FTP?

2000-08-04 Thread Paul D. Godley
Is there a way to control the type of an object when you upload via FTP. It seems to always create DTML documents. What if I want to create a DTML method or DTML template? If not that, is there an easy way to change the type of a group of objects? Thanks. -P -- Technology Concepts Design,

Re: [Zope] compile ZPoPyDA product problems (continued)

2000-08-04 Thread Stephen Nosal
On Fri, 04 August 2000, [EMAIL PROTECTED] wrote: On Fri, Aug 04, 2000 at 11:42:38AM -0700, Stephen Nosal wrote: OK, to start another line entirely-- does psql work? Sure does - no problems at all. Even have a database up and running with users... - Steve

[Zope] Solution Suggestions?

2000-08-04 Thread Craig
Unfortunately I do not know enough about Zope yet to know what the best approach is to solving my problem, so please let me know if you have any suggestions or have done something similar before. I am trying to build a "tips" site and am trying to decide on how to store the tips. The options I

[Zope] cc:Mail Link to SMTP Undeliverable Message: Unknown user: Gustin Kiffney

2000-08-04 Thread Administrator
Send Zope maillist submissions to [EMAIL PROTECTED] To subscribe or unsubscribe via the web, visit http://lists.zope.org/mailman/listinfo/zope or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at

[Zope] Hey buddy can you spare some Zen?

2000-08-04 Thread Steve Drees
I have the following ZSQLMethod. ID: = SQLAddRelease = Arguments: = releases.headline releases.author releases.email

Re: [Zope] compile ZPoPyDA product problems (continued)

2000-08-04 Thread Stephen Nosal
Sorry, but I had one guy complain about PoPY, and psql did not even run! He was connecting to a very old pg on a sun with a recent libpg on Linux. What does ldd psql say? Crap, mine is statically linked. OK, what is ldd /whatever_the_path_is/PoPy_...? root@fastclose:~ ldd

Re: [Zope] Redirecting from Python?

2000-08-04 Thread Christian Scholz
Hi! On Fri, Aug 04, 2000 at 12:49:52PM -0500, Christopher J. Kucera wrote: I'm working on a Product, and I'd like to be able to do a RESPONSE.redirect() from inside the Python code. What I had was basically this: [...] def someConditions(self): if (some number of conditions):

[Zope] Less than helpful traceback

2000-08-04 Thread Spicklemire, Jerry
Hi Folks, Any thoughts about how to find out what the erro message (below) means? If I could just find out what exactly is not being found, it would help alot, but there's no hint. Thanks for any thoughts, Jerry S. Zope has encountered an error while publishing this resource. Resource not

[Zope] New Zope classes announced for San Diego, California Denver, Coloradolorado

2000-08-04 Thread Gary Graham
Digital Creations has scheduled 2 new Zope Training dates and locations. The dates are September 25-28, 2000 for Zope 101 201 in San Diego, California and also October 2-5, 2000 for Zope 101 201 in Denver, Colorado. See http://www.digicool.com/Solutions/Training/ for details. --Gary Gary

[Zope] New Zope Training Dates Announced for San Diego, California and Denver, Colorado

2000-08-04 Thread Gary Graham
New Zope training dates were announced today for San Diego, California and Denver, Colorado. See the Zope training page at http://www.digicool.com/Solutions/Training/ for details. --Gary Gary Graham [EMAIL PROTECTED] Director, Sales Marketing Digital CreationsFredericksburg,

Re: [Zope] dtml-calendar question (I GOT IT!!!!!!!!)

2000-08-04 Thread R. David Murray
On Fri, 4 Aug 2000, tom smith wrote: notice the startDateString=StartDateString...which I thought the dtml-let would've handled, anywaythis seems to have fixed it can anyone tell me why? ZSQL methods do not pick variables up out of the name space because the possability of unintended

Re: [Zope] Zope with two platforms.

2000-08-04 Thread R. David Murray
On Fri, 4 Aug 2000, Francisco Assis Rosa wrote: We would like to be able to have new developments on products to be passed from the development platform to the staging platform and to have new content to be passed from the staging platform to the development platform. I wonder if you could

Re: [Zope] Precondition

2000-08-04 Thread R. David Murray
On Fri, 4 Aug 2000, RC Compaan wrote: What does the "Precondition" property of the file class refer to? As far as I can tell from a quick scan of the source, the precondition is an object that is called just before the file object is rendered. It can raise an exception, in which case the object

[Zope] ZDOM backward compatibility

2000-08-04 Thread Chime Thomas-Ogbuji
A decision needs to be made regarding ZDOM backward compatibility with DOM level I. We would like to know to what extent pcople use the old interfaces and if adhering to DOM II only would break a lot of prior work. The wiki describing the situation can be found here: