[Zope] How to get the download window option for file widget field?

2005-07-20 Thread praveen kumar nagle
Dear All, I have created one ARCHETYPE having few fields for FileWidget, to upload the file. Problem::In the base view page i want to get the download window option(same like when u try to download a file) while clicking on link to download those file contents *Code which I have given in

Re: [Zope] XUF and Postgres

2005-07-20 Thread Chris Withers
David Pratt wrote: for this feedback. I will be evaluating this option as well. There are differences in licensing that may be a factor in what I decide to use after some evaluation. BSD with XUF compared to MIT with SimpleUserFolder. Huh?! What exactly is the problems with the MIT

Re: [Zope] ZTUtils.Iterator value in ZPT

2005-07-20 Thread Chris Withers
David Pratt wrote: div tal:define = tabindex python:Iterator(range(100)); div .. html form contents .. a field input tal:attributes=tabindex/next ... ... another field /div What are you actually trying to do here? Would

Re: [Zope] ZopeProfiler (python profiler) - strange results

2005-07-20 Thread Chris Withers
You might get more help by asking this question on one of the python lists, I know the profiler output has confused the hell out of me on more than one occasion ;-) Chris Maciej Wisniowski wrote: Hi! I've just run ZopeProfiler few times to check which functions are slowest in my site and

[Zope] should stream iterator be used for ZODB-generated string file?

2005-07-20 Thread Petri Savolainen
We have an application whereby multimegabyte strings, each generated from the contents of several thousands of small objects in ZODB, are downloaded from zope as a CSV files. A particular CSV file is typically downloaded once or twice a day at a maximum. The major issue is that it takes a

[Zope] Re: Zope Foundation Update

2005-07-20 Thread Matt Hamilton
Pre-amble: I post this as a principal in a decently-sized Zope-focused business in the UK. Our company is also partnering with ZEA for some work. I will try to correct some of Rob's factual errors, and set the record straight for some of the issues discussed here. I am not an official

Re: [Zope] Zope Foundation Update

2005-07-20 Thread Lennart Regebro
On 7/20/05, Andreas Jung [EMAIL PROTECTED] wrote: Isn't this really strange? How can ZEA register any ZC trademark?! Well, you register trademarks per country, so that would be one way, I guess... ___ Zope maillist - Zope@zope.org

[Zope] ZCTextIndex - Collector Item #505?

2005-07-20 Thread Jonathan
I have encountered an unusual situation which I believe may be related to collector item #505 (http://www.zope.org/Collectors/Zope/505 - ZCTextUndex should not hold a reference to a lexicon). Prior to performing a ZCatalog update I cleared the catalog (using the clear catalog option under

Re: [Zope] Re: Zope Foundation Update

2005-07-20 Thread Andreas Jung
--On 20. Juli 2005 12:43:22 +0100 Matt Hamilton [EMAIL PROTECTED] wrote: ZEA's registration represents an abuse of registration and management of international trademarks and the misappropriation of a mark that is clearly the property of Zope Corporation. So why is Zope Foundation

Re: [Zope] ZTUtils.Iterator value in ZPT

2005-07-20 Thread David Pratt
Hi Chris. Thanks for your reply. My understanding (which may be flawed) is that ZTUtils iterator provides values of a sequence as you iterate over them with a repeat statement. I believe what I am trying to do is sensible. I have looked at the api and can't seem to get the right magic using

[Zope] Re: ZTUtils.Iterator value in ZPT

2005-07-20 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Pratt wrote: Hi Chris. Thanks for your reply. My understanding (which may be flawed) is that ZTUtils iterator provides values of a sequence as you iterate over them with a repeat statement. I believe what I am trying to do is sensible. I

[Zope] Re: emergency user account does not work

2005-07-20 Thread Derrick Hudson
On Fri, Jul 15, 2005 at 03:55:06PM -0500, Tim Suter wrote: | After logging out of the ZMI, I have tried to log in as the emergency | user by filling in the proper credentials. The page never loads. Could | there be a tick I am missing in the security settings for the root | folder/ZMI? OR is

[Zope] Re: Zope Foundation Update

2005-07-20 Thread Godefroid Chapelle
Andreas Jung wrote: --On 20. Juli 2005 12:43:22 +0100 Matt Hamilton [EMAIL PROTECTED] wrote: ZEA's registration represents an abuse of registration and management of international trademarks and the misappropriation of a mark that is clearly the property of Zope Corporation. So

[Zope] Re: ZTUtils.Iterator value in ZPT

2005-07-20 Thread David Pratt
Thanks Tres. The 1's are explained for sure but I can't see a always doing the job for this. What I need is an object that keeps track of the last number given to it so it will supply the next based on its state. For use in a flat form with say a dozen fields you are not repeating over each

Re: [Zope] How to get the download window option for file widget field?

2005-07-20 Thread Peter Bengtsson
Try the Plone mailing list. That's where they discuss archetypes a lot. On 7/20/05, praveen kumar nagle [EMAIL PROTECTED] wrote: Dear All, I have created one ARCHETYPE having few fields for FileWidget, to upload the file. Problem::In the base view page i want to get the download window

Re: [Zope] Re: Zope Foundation Update

2005-07-20 Thread Philip Kilner
Hi Godefroid, Godefroid Chapelle wrote: It's definitely better to speak about it in the open air, where we all will be able to think about it together. Amen. I wasn't aware of this until ten minutes ago, and now it seems a whole bunch of stuff has gone on, up to and including people getting

Re: [Zope] Zope Foundation Update

2005-07-20 Thread Dave Kuhlman
On Tue, Jul 19, 2005 at 07:07:25PM -0400, Rob Page wrote: [snip] During my stay at EuroPython I learned that eighteen months ago (and without Zope Corporation's knowledge or consent) Zope Europe Association (ZEA) registered a trademark consisting of the Cirlce-Z (the stylized Z surrounded

[Zope] Re: ZCTextIndex - Collector Item #505?

2005-07-20 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan wrote: I have encountered an unusual situation which I believe may be related to collector item #505 (http://www.zope.org/Collectors/Zope/505 - ZCTextUndex should not hold a reference to a lexicon). Prior to performing a ZCatalog

Re: [Zope] Re: ZCTextIndex - Collector Item #505?

2005-07-20 Thread Jonathan
Thanks for the info Tres. For now I will leave the ZCatalog/ZCTextIndex as-is (I don't really need to access the Lexicon via the ZMI - it is just nice to check how many entries the indexing process has created), and will 'delete/re-create' the Lexicon AND the ZCTextIndex during next months

Re: [Zope] Re: Zope Foundation Update

2005-07-20 Thread Chris Withers
Philip Kilner wrote: This has the potential to make the Zope community look like muppets, and not in a good Swedish chef kind of way... I'm not sure muppetism applies to the Zope community, it appears to be Zope Corporation who are coming out of this looking less than clever. It's a shame,

Re: [Zope] Re: Zope Foundation Update

2005-07-20 Thread Philip Kilner
Hi Chris, Chris Withers wrote: This has the potential to make the Zope community look like muppets, and not in a good Swedish chef kind of way... I'm not sure muppetism applies to the Zope community, it appears to be Zope Corporation who are coming out of this looking less than clever.

Re: [Zope] Re: Zope Foundation Update

2005-07-20 Thread Chris Withers
Philip Kilner wrote: Agreed/understood - but ZC are part of the community, too - the BDFL part, I guess. Well, ZC are becoming less benign and more dictatorial, and that's where the BDFL model breaks down... Chris -- Simplistix - Content Management, Zope Python Consulting -

Re: [Zope] Re: Zope Foundation Update

2005-07-20 Thread Florent Guillaume
Godefroid Chapelle [EMAIL PROTECTED] wrote: There is nothing against the ZF : there is sthing against ZC being the sole owner of the TMs when the current value of it has been established by the community as a whole, especially out of USA. This is why I support the proposal made by a few

Re: [Zope] should stream iterator be used for ZODB-generated string file?

2005-07-20 Thread Florent Guillaume
Petri Savolainen [EMAIL PROTECTED] wrote: We have an application whereby multimegabyte strings, each generated from the contents of several thousands of small objects in ZODB, are downloaded from zope as a CSV files. A particular CSV file is typically downloaded once or twice a day at a

[Zope] Re: performance of textindexng2 vs. zctextindex

2005-07-20 Thread Francis Kelly
Thanks for your response, Andreas, and thanks for writing TXNG in the first place. I really appreciate the contribution. I recently installed TextIndexNG2 2.1.1 which is *pretty old*. Take a look at the v 2.2.0 which has been optimized over the time in different ways. Consider using

[Zope] Re: performance of textindexng2 vs. zctextindex

2005-07-20 Thread Andreas Jung
--On 20. Juli 2005 11:22:37 -0700 Francis Kelly [EMAIL PROTECTED] wrote: Question re v 2.2.0: on this page http://www.zope.org/Members/ajung/TextIndexNG there are three possibilities 2.2.0, 2.2.0b1, 2.2.0b2. The last modified column indicates that 2.2.0 has been modified most recently, but

[Zope] More TM ideas

2005-07-20 Thread Rob Page
Following up to my note from yesterday. ZEA *is* the official registrant (but not legitimate owner) of the Cirlce-Z-Zope (CZZ) mark in many countries in the Madrid Protocol. You can search the WIPO database for Zope and find it. Zope Corporation is the official registrant of the word Zope in

[Zope] Re: Zope Foundation Update

2005-07-20 Thread Jim Fulton
Dave Kuhlman wrote: On Tue, Jul 19, 2005 at 07:07:25PM -0400, Rob Page wrote: [snip] During my stay at EuroPython I learned that eighteen months ago (and without Zope Corporation's knowledge or consent) Zope Europe Association (ZEA) registered a trademark consisting of the Cirlce-Z (the

[Zope] Re: Connect to ms sql server from zope 2.8 on windows s erver

2005-07-20 Thread Josef Meile
Hi, AJ Look at mxODBC or the latest version of ZODBCDA from zope.org. I'm free download egenix-mx-base-2.0.6.win32-py2.3.exe. I have install zope 2.8 for windows. I could not install egenix-mx-base-2.0.6.win32-py2.3.exe. Becouse it could not find python in registry. How to install

[Zope] Re: question on python script, dtml method and options

2005-07-20 Thread Josef Meile
Hi Erik, next_state does get initialized - it is the name of the submit buttons on my various forms. So, then it should be in the request object. Just to test it, put the following at the begining of your python script (You don't have to delelete anything): return request Then submit the

[Zope] Re: Re: Zope Foundation Update

2005-07-20 Thread Hadar Pedhazur
Chris Withers [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This has to be one of the more ill-informed, offensive posts that I have seen from a member of the Zope community, and that's saying a lot. It's obvious that there's a good ventriloquist pulling Chris' strings, since he's

[Zope] Added Product Doesn't Show Up In ZMI

2005-07-20 Thread abgillette
Hi All, I'm having a rather strange problem. I'm trying to get the Issue Dealer (http://www.nidelven-it.no/products/issue_dealer) product up-and-running on my Zope install (FreeBSD 4.11, Zope 2.7.1, Python 2.3.4). According to the Issue Dealer docs, I should simply be able to unzip it into the

Re: [Zope] Added Product Doesn't Show Up In ZMI

2005-07-20 Thread Jonathan
- Original Message - From: [EMAIL PROTECTED] To: zope@zope.org Sent: Wednesday, July 20, 2005 5:41 PM Subject: [Zope] Added Product Doesn't Show Up In ZMI Hi All, I'm having a rather strange problem. I'm trying to get the Issue Dealer

Re: [Zope] Re: Zope Foundation Update

2005-07-20 Thread Chris Withers
Florent Guillaume wrote: The current state of what ZC proposes doesn't prevent anyone from doing anything reasonable. Give them your hand, and they'll ask for your arm... Indeed. I don't have any problem with ZC keeping the trademarks, but why are they tying the creation of the foundation

[Zope] Re: Re: Zope Foundation Update

2005-07-20 Thread Hadar Pedhazur
Chris Withers [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Florent Guillaume wrote: The current state of what ZC proposes doesn't prevent anyone from doing anything reasonable. Give them your hand, and they'll ask for your arm... Indeed. I don't have any problem with ZC

[Zope] Re: Zope Foundation Update

2005-07-20 Thread George Donnelly
Hadar Pedhazur wrote: ZC says: the marks were stolen ZEA seems to be saying: the marks were registered defensively. My read on this is that there is a serious communication problem going on here between the lines. Why doesn't Paul come out and state what the ZEA position is? Why are ZC's words

Re: [Zope] Re: Zope Foundation Update

2005-07-20 Thread Paul Winkler
Everybody needs to calm down, stop insulting each other and stop broadcasting this problem to the whole world on zope-announce (for example). Its making us all look childish. +1. Please folks, remember that this is a public venue and your words will be archived for a long time. Let's have no

Re: [Zope] Re: Zope Foundation Update

2005-07-20 Thread Andreas Jung
--On 20. Juli 2005 19:17:59 -0500 George Donnelly [EMAIL PROTECTED] wrote: Hadar Pedhazur wrote: ZC says: the marks were stolen ZEA seems to be saying: the marks were registered defensively. My read on this is that there is a serious communication problem going on here between the lines.

[Zope-Annce] More TM ideas

2005-07-20 Thread Rob Page
Following up to my note from yesterday. ZEA *is* the official registrant (but not legitimate owner) of the Cirlce-Z-Zope (CZZ) mark in many countries in the Madrid Protocol. You can search the WIPO database for Zope and find it. Zope Corporation is the official registrant of the word Zope in

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/doc/ZEO/ Deleted this directory, which is actually part of ZODB.

2005-07-20 Thread Tim Peters
Log message for revision 37347: Deleted this directory, which is actually part of ZODB. Will stitch in again via svn:externals. Changed: D Zope/branches/Zope-2_8-branch/doc/ZEO/ -=- ___ Zope-Checkins maillist - Zope-Checkins@zope.org

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/doc/ Stitch in doc/ZEO from its home in ZODB.

2005-07-20 Thread Tim Peters
Log message for revision 37348: Stitch in doc/ZEO from its home in ZODB. Alas, much of this info is woefully out of date. Changed: _U Zope/branches/Zope-2_8-branch/doc/ -=- Property changes on: Zope/branches/Zope-2_8-branch/doc

[Zope-Coders] Zope tests: 8 OK

2005-07-20 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Tue Jul 19 11:01:02 2005 UTC to Wed Jul 20 11:01:02 2005 UTC. There were 8 messages: 8 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux From: Zope Unit Tests Date: Tue Jul 19 23:26:30 EDT

[Zope-dev] SQL null to None patch

2005-07-20 Thread Andrew Veitch
Is there any chance of getting Dieter Maurer's one line patch into the next bug fix release? http://www.zope.org/Collectors/Zope/556 It would be hugely helpful to us. Andrew ___ Zope-Dev maillist - Zope-Dev@zope.org

[Zope-dev] Running unit tests, LOGging errors

2005-07-20 Thread Florent Guillaume
Using Zope 2.8 when I run the unit tests (bin/zopectl test ...) from a checkout (make instance), I have none of the LOGged errors appearing in the ouput. However if instead I use make then mkzopeinstance with another directory, running the tests make the errors appear in the output. There

Re: [Zope-dev] SQL null to None patch

2005-07-20 Thread Florent Guillaume
Andrew Veitch [EMAIL PROTECTED] wrote: Is there any chance of getting Dieter Maurer's one line patch into the next bug fix release? http://www.zope.org/Collectors/Zope/556 It would be hugely helpful to us. It would need some kind of unit tests. Florent -- Florent Guillaume, Nuxeo

Re: [Zope-dev] SQL null to None patch

2005-07-20 Thread Andrew Veitch
I'm happy to do a unit test for the one line of code in the patch - but not for the other 2600+ lines of ZRDB code! A On 20 Jul 2005, at 16:26, Florent Guillaume wrote: It would need some kind of unit tests. Florent ___ Zope-Dev maillist -

Re: [Zope-dev] SQL null to None patch

2005-07-20 Thread Andreas Jung
--On 20. Juli 2005 16:41:01 +0100 Andrew Veitch [EMAIL PROTECTED] wrote: I'm happy to do a unit test for the one line of code in the patch - but not for the other 2600+ lines of ZRDB code! That's better than nothing :-) -aj pgpLHJuyJYBed.pgp Description: PGP signature

[Zope-dev] Listing a groups users via Python and portal_groups

2005-07-20 Thread Takahashi, Michael
Hi guys, Im trying to work on a function call using Python that will list the users of any specified group using the function portal_groups. Ive been able to successfully do this the opposite way by getting the users groups via portal_membership:

[Zope-dev] Re: SQL null to None patch

2005-07-20 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Jung wrote: --On 20. Juli 2005 16:41:01 +0100 Andrew Veitch [EMAIL PROTECTED] wrote: I'm happy to do a unit test for the one line of code in the patch - but not for the other 2600+ lines of ZRDB code! That's better than nothing