Re: [Zope] How can i call a pyhton module's function from with in Page Temmplates?

2005-10-18 Thread Chris Withers
Thomas G. Apostolou wrote: dtml-in expr=GetData(sysDSN=sysDSN, usr=usr, mypass=mypass, sTable=sTable, sFields=sFields) dtml-if sequence-even tr class=even dtml-else tr class=odd /dtml-if dtml-in sequence-item tddtml-var sequence-item /td

Re: [Zope] Re: access rule and authentication

2005-10-18 Thread Chris Withers
Tres Seaver wrote: AcceseRules run during path traversal, before any authentication is done (Zope2 does inside out authentication starting at the published objectd). You might be able to force user validation to be attempted earlier, e.g. by calling 'validate' directly on the user folder.

Re: [Zope] COREBlog 1.2.1 on Zope 2.7.5 year_created problem

2005-10-18 Thread Chris Withers
Allen Schmidt wrote: * Module DocumentTemplate.DT_String, line 474, in __call__ * Module DocumentTemplate.DT_Util, line 198, in eval __traceback_info__: month_created * Module string, line 0, in ? NameError: name 'year_created' is not defined Nope, might be time to contact the

Re: [Zope] Deleting objects from an external method

2005-10-18 Thread Chris Withers
Nikko Wolf wrote: That was my expectation too, but alas -- it does not work for me. Have you specifically tried this? Yes, many times... Set up: - Plone Site with Delete objects permission granted only to Manager (not inheriting privs) - (Plone) Folder abc with an object xyz under

[Zope] Re: access rule and authentication

2005-10-18 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: Tres Seaver wrote: AcceseRules run during path traversal, before any authentication is done (Zope2 does inside out authentication starting at the published objectd). You might be able to force user validation to be

[Zope] Display images stored in Relational DB

2005-10-18 Thread Thomas G. Apostolou
Hello all, I try to display some images stored in SQL Server 2K. What i do is: I have an External Method GetPrList witch is connected to a python module that reads like this def GetPrListData(self, sysDSN=Test_A_Voisys, usr=sa, mypass=voisys): id = self.id import dbi

Re: [Zope] How can i call a pyhton module's function from with in Page Temmplates?

2005-10-18 Thread Thomas G. Apostolou
Αρχικό μήνυμα από Chris Withers [EMAIL PROTECTED]: Thomas G. Apostolou wrote: dtml-in expr=GetData(sysDSN=sysDSN, usr=usr, mypass=mypass, sTable=sTable, sFields=sFields) dtml-if sequence-even tr class=even dtml-else tr class=odd /dtml-if

[Zope] A Flash file in Zope262

2005-10-18 Thread GAYOT Philippe SZSIC35 - BOM
Title: A Flash file in Zope262 Hi, I want to show a Flash file in my home's page under ZopeCMF 262. Could anyone tell me the best way to do that ? Best regards. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope **

[Zope] fine grained, dynamic permissions based on attribute values

2005-10-18 Thread Chris Crownhart
Good day, I am wondering if/how I could control the permissions on an object based on the value of an attribute. I am using CMF, and thus portal_catalog, and have built a custom content type. My type has a category field. I would like to control the view permission of the object

Re: [Zope] fine grained, dynamic permissions based on attribute values

2005-10-18 Thread Mark Gibson
On Tue, 2005-10-18 at 11:05, Chris Crownhart wrote: Good day, I am wondering if/how I could control the permissions on an object based on the value of an attribute. I am using CMF, and thus portal_catalog, and have built a custom content type. My type has a category field. I would

[Zope] write file to FS (LocalFS?)

2005-10-18 Thread Rakotomandimby Mihamina
Hi, I am on a unix-like operating system, Zope 2.8, CMF, CPS (SVN Trunk). I would like users to be abble to write some file on the filesystem. I know there is LocalFS but I did not find a way to easy learn it. Do you have? -- Administration Formation à l'administration de serveurs dédiés:

[Zope] Zope 2.8.3 released

2005-10-18 Thread Andreas Jung
Hi all, on behalf of Zope Corporation and the Zope community I am pleased to announce the release of Zope 2.8.3. You can download Zope 2.8.2 from http://www.zope.org/Products/Zope/2.8.3/ This version obsoletes Zope 2.8.2 which shipped with an older Docutils version as expected. For

[Zope] now learning zpt

2005-10-18 Thread Garry Saddington
Having had a bit of a lambasting over my use of dtml, I have started to learn zpt. However, I am curious about the following: How do you do the equivalent of name=comp.name:records to submit multiple values to zsql or to a python script, especially when the initial list is generated

Re: [Zope] write file to FS (LocalFS?)

2005-10-18 Thread Jonathan
These may help: http://www.zope.org/Members/jfarr/HowTo/DTML_with_LocalFS http://www.zope.org/Members/asterisk/ZFSPath/ hth Jonathan - Original Message - From: Rakotomandimby Mihamina [EMAIL PROTECTED] To: zope@zope.org Sent: Tuesday, October 18, 2005 2:00 PM Subject: [Zope]

Re: [Zope] now learning zpt

2005-10-18 Thread José Henrique
You can find this information in the Zope Book: http://www.plope.com/Books/2_7Edition/ScriptingZope.stx#1-6 Zenrique.2005/10/18, Garry Saddington [EMAIL PROTECTED]: Having had a bit of a lambasting over my use of dtml, I have started tolearn zpt. However, I am curious about the following:How do

Re: [Zope] write file to FS (LocalFS?)

2005-10-18 Thread Rakotomandimby Mihamina
http://www.zope.org/Members/asterisk/ZFSPath/ That one is OK for my use. Thank you! -- Administration Formation à l'administration de serveurs dédiés: http://www.google.fr/search?q=aspo+infogerance+serveur ___ Zope maillist - Zope@zope.org

Re: [Zope] __getitem__ and returning a PageTemplateFile instance

2005-10-18 Thread J Cameron Cooper
Anders Bruun Olsen wrote: On Sun, Oct 16, 2005 at 06:50:09PM +0200, Dieter Maurer wrote: I am trying to make a product where-in I want to be able to return a page based on the url, think something like /product/username which would return a page with the users details. For this purpose I am

Re: [Zope] __getitem__ and returning a PageTemplateFile instance

2005-10-18 Thread Anders Bruun Olsen
On Tue, Oct 18, 2005 at 03:30:42PM -0500, J Cameron Cooper wrote: error_log is by default set to ignore three common types of exceptions. You should remove NotFound from the list if you're getting NotFound exceptions and want to see them. Ahhh.. Thanks, now I have a traceback, unfortunately

Re: [Zope] __getitem__ and returning a PageTemplateFile instance

2005-10-18 Thread J Cameron Cooper
Anders Bruun Olsen wrote: On Tue, Oct 18, 2005 at 03:30:42PM -0500, J Cameron Cooper wrote: error_log is by default set to ignore three common types of exceptions. You should remove NotFound from the list if you're getting NotFound exceptions and want to see them. Ahhh.. Thanks, now I have

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ Zope 2.8.3

2005-10-18 Thread Andreas Jung
Log message for revision 39500: Zope 2.8.3 Changed: U Zope/branches/Zope-2_8-branch/doc/CHANGES.txt U Zope/branches/Zope-2_8-branch/inst/WinBuilders/mk/zope.mk U Zope/branches/Zope-2_8-branch/inst/versions.py -=- Modified: Zope/branches/Zope-2_8-branch/doc/CHANGES.txt

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/doc/CHANGES.txt

2005-10-18 Thread Andreas Jung
Log message for revision 39503: Changed: U Zope/branches/Zope-2_8-branch/doc/CHANGES.txt -=- Modified: Zope/branches/Zope-2_8-branch/doc/CHANGES.txt === --- Zope/branches/Zope-2_8-branch/doc/CHANGES.txt 2005-10-18

[Zope-Checkins] SVN: Zope/tags/Zope-2-8-3/ Zope 2.8.3

2005-10-18 Thread Andreas Jung
Log message for revision 39505: Zope 2.8.3 Changed: A Zope/tags/Zope-2-8-3/ -=- Copied: Zope/tags/Zope-2-8-3 (from rev 39504, Zope/branches/Zope-2_8-branch) ___ Zope-Checkins maillist - Zope-Checkins@zope.org

[Zope-dev] Reminder: feature freeze November 1.

2005-10-18 Thread Jim Fulton
This is a reminder that there will be a feature freeze for the December Zope releases on November 1. No new features for the November releases should be added after October 31. The Zope trunks should be stable and ready for a beta release on November 1. We are committed to time-based

[Zope-dev] Re: Reminder: feature freeze November 1.

2005-10-18 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: This is a reminder that there will be a feature freeze for the December Zope releases on November 1. No new features for the November releases should be added after October 31. The Zope trunks should be stable and ready for

[Zope-dev] Mountpoints

2005-10-18 Thread Jim Fulton
I was just reminded (by a zope3-dev question) of mount points. Zope2 has a mount-point capability that requires baboon patching of ZODB. The ZODB that will be used for Zope 2.9 has a multi-database feature that would allow a much simpler Zope 2 mount implementation that would not require even

Re: [Zope-dev] Mountpoints

2005-10-18 Thread Chris McDonough
This is already done on the zodb-blobs-branch. I would be happy to create a mountpoint-branch that does not externally link the ZODB with blob support, then merge the changes in to the Zope 2 HEAD (and 2.9 branch if one exists). November 1 feature freeze, eh? I'd love to get blobs in before

Re: [Zope-dev] Mountpoints

2005-10-18 Thread Jim Fulton
Chris McDonough wrote: This is already done on the zodb-blobs-branch. I would be happy to create a mountpoint-branch that does not externally link the ZODB with blob support, then merge the changes in to the Zope 2 HEAD (and 2.9 branch if one exists). Ah, I had forgotten about that. It would

Re: [Zope-dev] Re: Reminder: feature freeze November 1.

2005-10-18 Thread Jim Fulton
Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: This is a reminder that there will be a feature freeze for the December Zope releases on November 1. No new features for the November releases should be added after October 31. The Zope trunks should be

Re: [Zope-dev] Mountpoints

2005-10-18 Thread Chris McDonough
On Tue, 2005-10-18 at 11:32 -0400, Jim Fulton wrote: Chris McDonough wrote: This is already done on the zodb-blobs-branch. I would be happy to create a mountpoint-branch that does not externally link the ZODB with blob support, then merge the changes in to the Zope 2 HEAD (and 2.9 branch

[Zope-dev] svn.zope.org borked?

2005-10-18 Thread Andreas Jung
Hi, all changes I made for the last hotfix release (patch for the reST .. include problem) have disappeared from the SVN (both from 2.8 branch and the trunk). I am *pretty sure* that I commited all changes. Is there something broken with the SVN database? Andreas pgpyTk6g73p0z.pgp

Re: [Zope-dev] svn.zope.org borked?

2005-10-18 Thread Andreas Jung
Forget my mail. I was looking at the wrong terminal :-/ Andreas --On 18. Oktober 2005 18:04:32 +0200 Andreas Jung [EMAIL PROTECTED] wrote: Hi, all changes I made for the last hotfix release (patch for the reST .. include problem) have disappeared from the SVN (both from 2.8 branch and the

Re: [Zope-dev] svn.zope.org borked?

2005-10-18 Thread Tim Peters
[Andreas Jung] all changes I made for the last hotfix release (patch for the reST .. include problem) have disappeared from the SVN (both from 2.8 branch and the trunk). Are you sure? The SVN log on Zope trunk shows what I guess are the relevant checkins, revs 39013 and 39014, on 2005-10-09,

Re: [Zope-dev] Mountpoints

2005-10-18 Thread Tim Peters
[Chris McDonough] This is already done on the zodb-blobs-branch. I would be happy to create a mountpoint-branch that does not externally link the ZODB with blob support, then merge the changes in to the Zope 2 HEAD (and 2.9 branch if one exists). [Jim Fulton] Ah, I had forgotten about that.

Re: [Zope-dev] Mountpoints

2005-10-18 Thread Tim Peters
[Chris McDonough] This is already done on the zodb-blobs-branch. I would be happy to create a mountpoint-branch that does not externally link the ZODB with blob support, then merge the changes in to the Zope 2 HEAD (and 2.9 branch if one exists). [Jim Fulton] Ah, I had forgotten about that.

Re: [Zope-dev] Mountpoints

2005-10-18 Thread Fred Drake
[It doesn't look like my response went to the zope-dev list; re-sending.] On Tuesday 18 October 2005 15:43, Tim Peters wrote: I'm copying Fred because he may remember more about this than I do. Fred, do you know of a reason why I can't stitch a newer ZODB into Zope(2) trunk? I have a dim,

Five status on Zope trunk (was Re: [Zope-dev] Mountpoints)

2005-10-18 Thread Tim Peters
[Tim] I'm copying Fred because he may remember more about this than I do. Fred, do you know of a reason why I can't stitch a newer ZODB into Zope(2) trunk? I have a dim, fading memory of the last attempt failing, and of agreeing in email to wait for the 5 guys to do something before trying

[Zope-dev] New mailinglist for Zope 3 translators

2005-10-18 Thread Philipp von Weitershausen
Hello all, [Sorry for the cross-post, please CC replies to zope3-i18n@zope.org only.] two months ago, I started an initiative [1] to translate Zope 3.1 using Ubuntu's Launchpad system [2]. Since then, I've received a lot of emails from numerous volunteers around the world and many of them made

[Zope-dev] Re: Five status on Zope trunk (was Re: Mountpoints)

2005-10-18 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim Peters wrote: [Tim] I'm copying Fred because he may remember more about this than I do. Fred, do you know of a reason why I can't stitch a newer ZODB into Zope(2) trunk? I have a dim, fading memory of the last attempt failing, and of agreeing

Re: [Zope-dev] Mountpoints

2005-10-18 Thread Chris McDonough
Note that I wormed my way around the new ZODB compilation issues by changing the setup.py file on the zodb-blobs-branch (a minor tweak of the Zope HEAD).. here's the comment I left to myself. # added . to EXTENSIONCLASS_INCLUDEDIRS in order to be able to compile # ZODB HEAD code (which uses

Re: [Zope-dev] Mountpoints

2005-10-18 Thread Chris McDonough
On Tue, 2005-10-18 at 11:32 -0400, Jim Fulton wrote: Ah, I had forgotten about that. It would be great to merge the mountpoint work into the head. There isn't a 2.9 branch afaik. I think I may need some remedial SVN help because I don't want to do this in a stupid way. Hopefully someone will

Re: [Zope-dev] Mountpoints

2005-10-18 Thread Chris McDonough
On Tue, 2005-10-18 at 22:21 -0400, Tim Peters wrote: [Chris McDonough] I think I may need some remedial SVN help because I don't want to do this in a stupid way. Hopefully someone will be willing to guide me through this. I'll be in FB tomorrow if you'd like to pair on it (while in

Re: [Zope-dev] Mountpoints

2005-10-18 Thread Chris McDonough
There is a wrinkle about performing this merge that eluded my memory until now. To support multidatabases within Zope, it was reasonable to change ZODB.config.ZODBDatabase to support the heretofore likely-unused-by-real-world-code databases and database_name options that may now be passed into

[Zope-DB] DB2 timestamp fields problem - server crashes

2005-10-18 Thread Gergana Silvanova
Hallo, I have problems with Zope and IBM DB2. Seems like, when I select timestamp fields from the DB2 database, the Zope server behaves inpredictably - sometimes crashes, sometimes works ok. Has anyone of you had such problems before? Best wishes, Gergana Silvanova