[Zope] LoginManager / Membership / ZODB as UserSource

2000-11-24 Thread Danny William Adair
Has somebody been able to setup this combination as for today? I guess this is an easy one for the LM experienced... I am looking for a completely ZODB based solution concerning membership, no rdbms. tia, CU+Prost, .oO( "Du könntest mal einen bauen" ) Danny

[Zope] how to get the created table names

2000-11-24 Thread subrahmanyan kalathur
hi, I would like to know the names of the created table in zsql method. Kindly give me the tag for displaying the table names.( if exists.) thanks bye yours, K.H.Subrahmanyan ( [EMAIL PROTECTED] ) ___ Zope maillist - [EMAIL PROTECTED]

[Zope] [SybDA]Connection : how does it work ?

2000-11-24 Thread Tony Moutaux
Hello, I am running Zope 2.1.6 under Linux/RH6.2 on a PC. The Sybase server is version 11.9.2 on a Solaris station with DNS name "sybstat" on port 2040 (or sybase server name "sybtest") and the database is named "picsou". When I try filling in the form to add a new Sybase DA connection, the

[Zope] images last-modified bug?

2000-11-24 Thread Júlio Dinis Silva
Hi, I read sometime ago of a bug in zope not sending images header last-modified, which cause browsers to always get images from zope not using the browser's cache. I'm seeing some different behaviour in my site statistics since I upgrade from 216 to 222, and I think it could be related with

RE: [Zope] Newbie Question

2000-11-24 Thread Dany Rioux
I'm probably just being dumb... :) PASTE-- dtml-var standard_html_header p dtml-with News dtml-in objectValues /dtml-in /dtml-with /p dtml-var standard_html_footer /PASTE-- This doesn't work. Nothing gets printed. In the News folder is a DTML method called

Re: [Zope] how to get the created table names

2000-11-24 Thread Jose Soares
There isn't a SQL standard command to show the tables in the database. Thus evry database has a different command to do such job. For example: DBMaker: to show TABLES: select * from SYSTABLE to show COLUMNS: SELECT COLUMN_NAME,TYPE_NAME,PRECISION FROM SYSCOLUMN WHERE

Re: [Zope] Newbie Question

2000-11-24 Thread Philipp Dunkel
I'm probably just being dumb... :) PASTE-- dtml-var standard_html_header p dtml-with News dtml-in objectValues dtml-var "_['sequence-item']" /dtml-in /dtml-with /p dtml-var standard_html_footer this should work out for you. cu Philipp

[Zope] seeking zope success stories in higher education

2000-11-24 Thread Jerome Alet
Hi, We are planning to choose a platform to build a portal for distance learning, with which we want to Build and Serve online multimedia courses, online exams, calendars, keep track of students work and results, forums, etc... I've got a list of criterias the platform must fill to be chosen,

Re: [Zope] Newbie Question

2000-11-24 Thread Jim Washington
Dany: These should work: dtml-in objectIds dtml-var "_['sequence-item']" /dtml-in -or- dtml-in objectValues dtml-var sequence-item /dtml-in -or- dtml-in objectValues dtml-var some_attribute_of_the_sequence-item /dtml-in --Jim Washington Dany Rioux wrote: I'm probably just

[Zope] How to checkout PythonMethod from CVS

2000-11-24 Thread Milos Prudek
How can I checkout PythonMethod from cvs? I tried to modify the "Zope2" in the following command: cvs -z7 -d :pserver:[EMAIL PROTECTED]:/cvs-repository checkout Zope2 (Zope2/PythonMethod, Zope/PythonMethod, Zope/DC/PythonMethod, Zope/Products/PythonMethod and countless other combinations) --

Re: [Zope] images last-modified bug?

2000-11-24 Thread Stefan H. Holek
On Fri, 24 Nov 2000, Júlio Dinis Silva wrote: I read sometime ago of a bug in zope not sending images header last-modified, which cause browsers to always get images from zope not using the browser's cache. I'm seeing some different behaviour in my site statistics since I upgrade from 216

Re: [Zope] seeking zope success stories in higher education

2000-11-24 Thread Stefan H. Holek
might be a start: http://www.zope.org/Members/Kemalus/make_zope_decision Stefan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

RE: [Zope] Newbie Question Fixed but continuing.

2000-11-24 Thread Dany Rioux
Thanks Philipp and Jim, It worked! But... (there's always a but! :) I thought I was clever when I thought about naming my news files news999, news998 etc, thinking it would parse the directory and print the news sorted by their names. So news998 would be printed before news999 etc. It doesn't.

Re: [Zope] DC request re: Objection to Python Script Name

2000-11-24 Thread Michel Pelletier
Ron Bickers wrote: On Thu, 23 Nov 2000, Chris Withers wrote: To Hamish, the other Chris, and anyone else who's going to jump in on this. To be quite blunt, this has now been _decided_ as I understand it. So it's pointless to keep arguing and suggesting new and different names. We

[Zope] how to display contents of a folder?

2000-11-24 Thread Andrei Belitski
Hi I would like to display contnent of a zope folder on my HTML-page preferrebly only the DTML Documents of a particular folder, how can I do it? Thank you very much in advance Andrei ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Objection to Python Script Name

2000-11-24 Thread Michel Pelletier
Jason Cunliffe wrote: 2. Fixes the OReilly book in some sensible manner - add highly legible note on Page 1, update the index in useful manner to catch the differences. Oh I'll be doing that one, no worries there. 3. Will explain to me 100% clearly what difference there is now between a

Re: [Zope] How to checkout PythonMethod from CVS

2000-11-24 Thread Jochen Knuth
Hi, Milos Prudek wrote: How can I checkout PythonMethod from cvs? I tried to modify the "Zope2" in the following command: cvs -z7 -d :pserver:[EMAIL PROTECTED]:/cvs-repository checkout Zope2 (Zope2/PythonMethod, Zope/PythonMethod, Zope/DC/PythonMethod, Zope/Products/PythonMethod and

RE: [Zope] how to display contents of a folder?

2000-11-24 Thread Menard . Jean-Francois
Hi Andrei, You can try: dtml-with MyFolder dtml-in "objectValues('DTML Document')" stuff /dtml-in /dtml-with Good luck! Jean-François Ménard Intranet DPAS Pratiques d'affaires et orientations *(514) 840-3000 poste 3939 * (514) 840-5585 * [EMAIL PROTECTED] * 855

[Zope] Problem with 2.2.4b1

2000-11-24 Thread Menard . Jean-Francois
I installed 2.2.4b1 over 2.2.3, and everything seems to work fine, but, when I IE5.5 to manage my sites, I loose some icons and graphics (not all!). But, if I clear my cache, The icons reappears, but only for a while! Am I the only only experiencing this problem? Jean-François Ménard Intranet

[Zope] Best wishes

2000-11-24 Thread Federico Di Gregorio
Dear PoPy and ZPoPyDA users, last days, a lots of stuff happened here at MIXAD LIVE. the most important to you is that source code for the programs is not in our cvs server anymore and the home page was moved to the official Zope site[1]. To make it short, thierry and eric decided to not

[Zope] ZPyGreSQLDA on Tru64?

2000-11-24 Thread Stephane Bortzmeyer
Zope tells me that my ZPyGreSQLDA (PostgreSQL interface) is broken and yields the following trace: ZPyGreSQLDA Import Traceback Traceback (most recent call last): File "/local/src/Zope-2.2.2-src/lib/python/OFS/Application.py", line 397, in import_products

Re: [Zope] Still have error importing DemoPortal.zexp with PTK 0.9.2

2000-11-24 Thread Tres Seaver
"Andrews, Martin" [EMAIL PROTECTED] I am trying to install PPT 0.9.2. After installing PythonMethod from CVS I am still getting an error when trying to import DemoPortal.zexp. Any clues? Zope Error Zope has encountered an error while publishing this resource. Error Type:

Re: [Zope] Newbie Question Fixed but continuing.

2000-11-24 Thread Michel Pelletier
Dany Rioux wrote: Thanks Philipp and Jim, It worked! But... (there's always a but! :) I thought I was clever when I thought about naming my news files news999, news998 etc, thinking it would parse the directory and print the news sorted by their names. So news998 would be printed before

Re: [Zope] Problem with 2.2.4b1

2000-11-24 Thread Chris Gray
Yes it happens for me too and it comes and goes as you describe. Also I've noticed it in Mozilla as well as IE5.5. Chris On Fri, 24 Nov 2000 [EMAIL PROTECTED] wrote: I installed 2.2.4b1 over 2.2.3, and everything seems to work fine, but, when I IE5.5 to manage my sites, I loose some icons

RE: [Zope] Newbie Question Fixed but continuing.

2000-11-24 Thread Dany Rioux
Thanks! That's exactly what I was looking for. I know that the DTML reference is there on Zope.org but it's a hassle and well, I'll keep my other opinions for myself. Anyway. Here's an idea. Shouldn't there be a list FAQ? If there is one it should be sent when subscribing. Or it could be

Re: [Zope] Best wishes

2000-11-24 Thread Joachim Schmitz
I made a (small) patch to PoPy so that it supports the numeric type. Here it is: $ diff PoPymodule.c.org PoPymodule.c 393a394,396 /* 20.11.2000 by Perry */ case PG_NUMERIC: /* 20.11.2000 by Perry */ $ diff PoPymodule.h.org PoPymodule.h 78a79,81 /* 20.11.2000 by

[Zope] Special behavior or bug?

2000-11-24 Thread Dany Rioux
Hi, yeah, I know, it's me again :) I've got this snippet in the standard_html_header hoping it would display the title of the calling document but instead displays the index_html's title... Is this the normal behavior? I know yesterday it was working... I tried refreshing the page but it's a no

Re: [Zope] Special behavior or bug?

2000-11-24 Thread Chris Gray
Make sure that the standard_html_header is a DTML Method and not a DTML Document. Make sure that the calling document is DTML Document and not a DTML Method and it should work. That way the header acquires the title of the calling document. If the calling document is a DTML Method, it acquires

Re: [Zope] how to get the created table names

2000-11-24 Thread Steve Spicklemire
Hmm.. I think there is a method of a ZSQL result object called 'names'.. Here is a snippet from some working code: dtml-let specificTypes="getTypes(ttid=type, name='', tttype='')" theNames="specificTypes.names()" where 'getTypes' is a ZSQL Method and theNames is the list of column

Re: [Zope] Zope with Microsoft Access

2000-11-24 Thread Mike Kelland
Hrm... I've tried what you said, but it still fails to work... Is there a Zope guru out there who is willing to look over this code in it entirety (ie the DTML and the ZSQL Method) and work with me directly to try to get this working? Thanks, Mike [EMAIL PROTECTED] - Original Message

RE: [Zope] Special behavior or bug?

2000-11-24 Thread Dany Rioux
Chris, I can't change all the other DTML Methods to DTML Docs... I would have to have only 1 DTML Method which is unthinkable. Now, I'm sure there's a way to force what I want to do. Either with a REQUEST.set('[calling_document.Title]') or something real :) Is there such a function? (I'm sorry,

Re: [Zope] Problem with 2.2.4b1

2000-11-24 Thread Alastair Burt
[EMAIL PROTECTED] writes: I installed 2.2.4b1 over 2.2.3, and everything seems to work fine, but, when I IE5.5 to manage my sites, I loose some icons and graphics (not all!). But, if I clear my cache, The icons reappears, but only for a while! Am I the only only experiencing this problem?

Re: [Zope] DC request re: Objection to Python Script Name

2000-11-24 Thread Hamish Lawson
When I 'jumped in' (nod to Chris Withers :-)) with my promotion of ZMethod, I'd missed Evan's announcement that he'd decided on Python Script - I thought it was just another suggestion and we were still in the middle of campaigning for the upcoming second poll! I'm actually not that averse to

Re: [Zope] Zope with Microsoft Access

2000-11-24 Thread Rik Hoekstra
Hi, this is my first posting to the list, and about my 4th day working with Zope. I have a bit of a problem. All my code so far is working well. Just the following section is defying my attempts to make it run. What it does is to update a field in the database (to allow employees to

[Zope] ZCatalog and Zsearch Interface.

2000-11-24 Thread Srinath Mantripragada
Hi, I need to know how does the search works. The index of Catalog is made based in a pythonMethod that returns an concatenated text with the contents of a lot of fields I made an external method in python that do the search and sort the entire result. It´s an priorized sort, that i need to

Re: [Zope] Zope with Microsoft Access

2000-11-24 Thread Mike Kelland
I actually have this up and running now (as of about 5 minutes ago). It's a hack but it works great so I'm not going to mess with it. Thanks a lot to everyone who gave me pointers, most especially Chris Gray whose solution fixed it in the end. Now I need a way of implementing Apache style

[Zope] Re: [Support] [SybDA]Connection : how does it work ?

2000-11-24 Thread Chris McDonough
Tony, I'd suggest sending this question to the main Zope list ([EMAIL PROTECTED])... the [EMAIL PROTECTED] email address is used for paid support customers. You'll also likely get a better response from the list as well. Thanks! - Chris On Fri, 24 Nov 2000 11:39:13 +0100 Tony Moutaux [EMAIL

[Zope] view DTML source

2000-11-24 Thread Anders Eriksson
Hello zopistas, On the zope.org there is a 'method' called view_source, which lets you see the DTML source of a page. I 'borrowed' this code, by using view_source on itself and got this: !--#var standard_html_header-- pre !--#var "document_src(REQUEST,RESPONSE)" html_quote-- /pre !--#call

[Zope] How to retain applications and data during RPM update?

2000-11-24 Thread Antti Akonniemi
Is the method same as described in ZOPE-INSTALL-HOWTO? Thanks. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] Newbie Question

2000-11-24 Thread Chalu Kim
dtml-with myFolder dtml-in "objectValues(['DTML Document',])" dtml-var "_['sequence-item']" /dtml-in /dtml-with Dany Rioux wrote: I'm probably just being dumb... :) PASTE-- dtml-var standard_html_header p dtml-with News dtml-in objectValues /dtml-in /dtml-with

Re: [Zope] how to get the created table names

2000-11-24 Thread Chalu Kim
There is no tag that shows tables and there will be not be such tag. What you might want to look into ; ZnolkWizard.. This is a handy module which queries for tables in your database and build create/edit/delete forms. There is also a handy way to specify key-related data. This gets you half

[Zope] Thank you DC

2000-11-24 Thread Andy McKay
Ive just noticed that in Zope 2.2.4, the location of the object underneath the manage_tabs has had those annoying spaces removed so its now /docs/ActivePython instead of / docs/ ActivePython. That means I can cut and paste it. Yeah!!! Thanks DC. ___

[Zope] Re: is it possible to see whether any user is using a perticular zope object

2000-11-24 Thread Dieter Maurer
subrahmanyan kalathur writes: which RDBMS will u suggest. MySQL or Postgres and for that what are the changes need to be done for my zope. Install the RDBMS and the corresponding Zope database adapter. Replace your Zope Gadfly connection(s) by corresponding Zope XXX connection(s). Maybe,

Re: [Zope] Objection to Python Script Name

2000-11-24 Thread Chalu Kim
Michel Pelletier wrote: Jason Cunliffe wrote: 2. Fixes the OReilly book in some sensible manner - add highly legible note on Page 1, update the index in useful manner to catch the differences. Oh I'll be doing that one, no worries there. 3. Will explain to me 100% clearly what

[Zope] Quota in Zope

2000-11-24 Thread Stephan Goeldi
Is there a way to do quotas in Zope? _ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Can't get simple count to work.

2000-11-24 Thread Ignacio Valdes
Hello all, I have a Squishdot site at http://www.linuxmednews.com that I've successfully been able to make a page that has a one line link of all the articles that have appeared on the site. Unfortunately, the number has grown to a few hundred and I need to make it display n lines at a time as

Re: [Zope] Quota in Zope

2000-11-24 Thread Andy McKay
A quota of what where? - Original Message - From: "Stephan Goeldi" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 24, 2000 7:50 PM Subject: [Zope] Quota in Zope Is there a way to do quotas in Zope?

[Zope] Python and EJB (J2EE)

2000-11-24 Thread Hung Jung Lu
Python and EJB (J2EE) = Searching through comp.lang.python newsgroup archive ([EMAIL PROTECTED]) and the [EMAIL PROTECTED] mailing list, I have not been able to find much about EJB (Enterprise Java Bean) and Python/Zope comparisons. (J2EE is Java Two Enterprise Edition,

[Zope] Passing Variables to a Wizard

2000-11-24 Thread Nestor A. Diaz L.
HI, Does anybody know how can i pass variables from a product to a Wizard. I mean: I am using the PTK to create my own product however PTK use the Wizard as the default method to add a product, how can i pass variables to a wizard form a python product ? I can pass variables to the edit

Re: [Zope] Quota in Zope

2000-11-24 Thread Chalu Kim
Hmmm, Sounds like disk quota. Homesteading anyone? Andy McKay wrote: A quota of what where? - Original Message - From: "Stephan Goeldi" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 24, 2000 7:50 PM Subject: [Zope] Quota in Zope Is there a way to do

[Zope] BSD 4 installation

2000-11-24 Thread Lee Hunter
I'm trying to build Zope on a BSD server. According to the install.txt I have to run two commands - "python w_pcgi.py" and "./start". I managed to get the first command to run (python w_pcgi.py) after editing my Makefile.pre.in and do.py as per the FAQ.txt. But when I when I run the second

Re: [Zope] Python and EJB (J2EE)

2000-11-24 Thread Chalu Kim
Good topic. I was hoping someone would come around to this. Perhaps, there should be a thread of discussion on this. I dont' know what is there to compare. EJB has been around awhile and J2EE is yet another jargon to throw people off. Here is what we have experienced; 1. Anything that needs to

Re: [Zope] DC request re: Objection to Python Script Name

2000-11-24 Thread Ron Bickers
Quoting Hamish Lawson [EMAIL PROTECTED]: understanding. I agree with him that the new name needs to make it into the book, and Script is a reasonable choice. Is it intended to rename DTML Method, ZSQL Method, etc to be DTML Script, SQL Script, etc? For the sake of consistency I'm hoping

Re: [Zope] Medusa Monitor

2000-11-24 Thread Dieter Maurer
Anderson Ami writes: Anybody knows What is Medusa Monitor ? What it do ? How can I use it ? The Medusa monitor allows you to connect to a running Zope Server and get a Python interpreter in this context. With it, you can (in principle) analyse your Zope system. However, this way of debugging

Re: [Zope] ZPyGreSQLDA on Tru64?

2000-11-24 Thread Dieter Maurer
Stephane Bortzmeyer writes: ImportError: dlopen: cannot load /usr/local/lib/python2.0/site-packages/_pgmodu le.so I expect, that "_pgmodule.so" needs some other shared object or symbol that is unavailable. Try "import _pg" in an interactive Python interpreter. I remember that in some cases I

Re: [Zope] view DTML source

2000-11-24 Thread Dieter Maurer
Anders Eriksson writes: ... view source traceback ... (Object: standard_html_header) AttributeError: __call__ That is very strange as "standard_html_header" does have a "__call__" method. Thus, I can not tell you, why you see this behaviour. However, you may use "document_src"

Re: [Zope] images last-modified bug?

2000-11-24 Thread Dieter Maurer
Júlio Dinis Silva writes: I read sometime ago of a bug in zope not sending images header last-modified, which cause browsers to always get images from zope not using the browser's cache This only affects "App.ImageFile" objects. These are image objects that are in the filesystem and not

Re: [Zope] ZEO

2000-11-24 Thread Dieter Maurer
Anderson Ami writes: I´m trying install the ZEO in my Zope ( Windows NT System ) and when I use this command : python ..\lib\python\ZEO\start.py -p 8800 to start the ZEO I get this : Traceback (innermost last): File "..\lib\python\ZEO\start.py", line 304, in ? if

Re: [Zope] ZopeBook - URL to SQL

2000-11-24 Thread Dieter Maurer
Chris Gray writes: The Zope book discusses calling a ZSQL Method via a URL, saying that a request for a URL like: http://localhost:8080/zsql_method/parameter/value "will return a result object", but what I get is the index_html document at the root, although I do get a rendered

[Zope] Re: is it possible to run a DTML method without using a browser.

2000-11-24 Thread Dieter Maurer
subrahmanyan kalathur writes: what is RPC ? , ZEO, ZODB. how to install it. where to install it. It seems to me that you have to do some homework. A good start would be to read the upcoming Zope book. It will tell you what ZODB and ZEO is, how to install it and where to install it. It

Re: [Zope] images last-modified bug?

2000-11-24 Thread Dieter Maurer
Stefan H. Holek writes: http://classic.zope.org:8080/Collector/1737/view its fixed for 2.2.4, sadly no patch for 2.2.2 afaik :( I have put a partial patch into the collector. It can be applied against 2.2.2. Dieter ___ Zope maillist -

Re: [Zope] Quota in Zope

2000-11-24 Thread Andy McKay
Ok. A disk quota of particular person? or folder? or some object? or is Zope itself not fitting in a disk quota? If you can't give us a brief example or more helpful description than this, you arent going to get much help. - Original Message - From: "Stephan Göldi" [EMAIL PROTECTED] To:

Re: [Zope] Quota in Zope

2000-11-24 Thread Hugo Ramos
- Original Message - From: "Andy McKay" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 24, 2000 9:57 PM Subject: Re: [Zope] Quota in Zope Ok. A disk quota of particular person? or folder? or some object? or is Zope itself not fitting in a disk quota? If you can't give

Re: [Zope] Python and EJB (J2EE)

2000-11-24 Thread Ender
i've been playing around with servlets (tomcat, jserv, orionserver.com) and generally been pretty happy with them. development cycle is a lot slower than zope. i did some prelim work on hooking up jserv to zope but gave up cause the performance generally sucked (jserv is still using apj1.1 which

[Zope] Re[2]: [Zope] view DTML source

2000-11-24 Thread Anders Eriksson
Hello Dieter, Friday, November 24, 2000, 10:06:22 PM, you wrote: DM Anders Eriksson writes: DM ... view source traceback ... DM (Object: standard_html_header) DM AttributeError: __call__ DM That is very strange as "standard_html_header" does have DM a "__call__" method. DM Thus, I can

RE: [Zope] Special behavior or bug?

2000-11-24 Thread Chris Gray
Sorry, but my understanding (which certainly may be wrong, since I don't fully grasp the ins and outs of this yet) is that the namespace starts with the client object to which the method is bound. The attributes (like title) of the method never get into the namespace. This is part of the design

Re: [Zope] ZopeBook - URL to SQL

2000-11-24 Thread Chris Gray
Dieter, Thanks, you've added a new room to my brain :) Possibly that point should be made in The Book since the discussion of Pluggable Brains comes at the end of the chapter. Cheers, Chris On Fri, 24 Nov 2000, Dieter Maurer wrote: Chris Gray writes: The Zope book discusses calling a

RE: [Zope] Special behavior or bug?

2000-11-24 Thread Chris Gray
Oops! I spoke way too soon. Try dtml-var document_title but you can't use it in a header or it will give you the title of the header. You can use the following code in a header: dtml-in objectValues dtml-if expr="_['id']==_.string.split(URL, '/')[-1]" hrdtml-var expr="this().title"hr /dtml-if

[Zope] Re: Open Source Process (was:DC request re: Objection to Python Script Name)

2000-11-24 Thread Ron Bickers
Quoting Tim Cook [EMAIL PROTECTED]: While you may / may not have a legitimate stand on the name change. This is the wrong 'string to pull'. This is in fact consistent with the open source nature of the product. There comes a time when a decision needs to be made. It gets made by the

Re: [Zope-dev] Interface localization: zzLocale 0-0-4a release

2000-11-24 Thread Yves-Eric Martin
On Wed, 22 Nov 2000 12:37:04 -0800 Michel Pelletier [EMAIL PROTECTED] wrote: Can we see a screenshot of what the Zope managment interface looks like in Japanese? (just a personal curiousity) Sure. It's pretty small, so I'll throw in some french too as a bonus. Here is the URL: