Re: [Zope] force the output encoding to utf-8 in page templates

2011-11-11 Thread morten
, the publisher will find this filled and avoid to put the default. on line 315 of ZopePageTemplate.py Is there a better way? Thanks! Look for setting the default publisher encoding in the zope.conf filesystem file and restart. :) -Morten

Re: [Zope] Building a fast, scalable yet small Zope application

2009-04-27 Thread Morten W. Petersen
as keeping my SQL skills up to date so. :-) -Morten -- Morten W. Petersen Manager Nidelven IT Ltd Phone: +47 45 44 00 69 Email: mor...@nidelven-it.no ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] Building a fast, scalable yet small Zope application

2009-04-27 Thread Morten W. Petersen
Lennart Regebro skrev: On Sat, Apr 25, 2009 at 13:24, Morten W. Petersen mor...@nidelven-it.no wrote: So far, I've been contemplating disabling undo (if that's possible), I doubt that it would make a difference. The Undo functionality comes out of the database being logging

Re: [Zope] Building a fast, scalable yet small Zope application

2009-04-27 Thread Morten W. Petersen
indexes in Zope be as easy as wrapping the index search method in a function that does time.time before and after the search? :-) -Morten -- Morten W. Petersen Manager Nidelven IT Ltd Phone: +47 45 44 00 69 Email: mor...@nidelven-it.no ___ Zope

Re: [Zope] Building a fast, scalable yet small Zope application

2009-04-27 Thread Morten W. Petersen
but something that's been bobbing around in my head. Is this something you're thinking of releasing or is it too good/bad to share? -Morten -- Morten W. Petersen Manager Nidelven IT Ltd Phone: +47 45 44 00 69 Email: mor...@nidelven-it.no ___ Zope maillist

[Zope] Building a fast, scalable yet small Zope application

2009-04-25 Thread Morten W. Petersen
something similar? Are there Zope product examples out there that fit the bill? -Morten -- Morten W. Petersen Manager Nidelven IT Ltd Phone: +47 45 44 00 69 Email: mor...@nidelven-it.no ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] Zope and SSL

2009-03-16 Thread Morten W. Petersen
anyway) do have clear instructions on how to go about SSL when Apache is involved. - -Morten Catherine E. Reinehr wrote: Hello, I'm trying to find out how to generate a CSR, and I can't find the information I need. All my research covers Zope and Apache or Zope and Linux, etc., but our

[Zope] Disabling ZEO file cache?

2009-02-02 Thread Morten W. Petersen
Hi, how does one go about in the configuration file to disable the ZEO file-caching feature? -Morten ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope-dev] Re: Sessions, ConflictError and emails

2008-02-21 Thread morten
Laurence, thanks for the tip, exactly what I needed to know. :-) -Morten On Tue, 19 Feb 2008 10:30:29 +, Laurence Rowe [EMAIL PROTECTED] wrote: See the discussion on plone-dev a while ago, link integrity checking will make Plone 3.0 broken and dangerous. Worth trying with 2.9.8 at least

[Zope-dev] Sessions, ConflictError and emails

2008-02-18 Thread morten
succeeded. Is zope.sendmail a good choice? Will it work with Zope 2.9.8? Thanks, Morten ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope-Annce] Re: [Zope] SQLAlchemy 0.2 released - a generic database adapter for Zope 2

2007-05-07 Thread Morten W. Petersen
/zope-announce Zope-Announce for Announcements only - no discussions No discussions ;) -Morten ___ Zope-Announce maillist - Zope-Announce@zope.org http://mail.zope.org/mailman/listinfo/zope-announce Zope-Announce for Announcements only

[Zope-Annce] Issue Dealer 0.9.124 released

2007-04-05 Thread Morten W. Petersen
Issue Dealer (http://issuedealer.com) is a issue management tool featuring a weblog publisher (client), weblog (server), WebDAV client, Mail gateway (mailing list and archive), WYSIWYG editing of HTML and Images and more. Changes since the last announcement: 0.9.124: - Added issue past due

[Zope-Annce] Spaceman 1.0 released

2007-03-05 Thread Morten W. Petersen
Spaceman is a simple utility to help determine what's eating up your diskspace. It might just be old transactions, in which case a pack will do or it might be big objects somewhere. The script can be downloaded from here: http://products.nidelven-it.no/spaceman -Morten

[Zope-Annce] Undoer (Zope Undo tool) 1.0 released

2007-03-02 Thread Morten W. Petersen
Management Interface for instructions on how to use it. Get it at http://products.nidelven-it.no/undoer -Morten ___ Zope-Announce maillist - Zope-Announce@zope.org http://mail.zope.org/mailman/listinfo/zope-announce Zope-Announce for Announcements

[Zope-Annce] Issue Dealer 0.9.120 released

2007-02-20 Thread Morten W. Petersen
Issue Dealer (http://issuedealer.com) is a issue management tool featuring a weblog publisher (client), weblog (server), WebDAV client, Mail gateway (mailing list and archive), WYSIWYG editing of HTML and Images and more. Changes since the last announcement: 0.9.120: - Added support for

[Zope-Annce] Issue Dealer 0.9.113 released

2007-01-14 Thread Morten W. Petersen
Issue Dealer (http://issuedealer.com) is a issue management tool featuring a weblog publisher (client), weblog (server), WebDAV client, Mail gateway (mailing list and archive), WYSIWYG editing of HTML and Images and more. Changes since the last announcement: 0.9.113: - Cleaning up print

[Zope-Annce] Issue Dealer 0.9.110 released

2006-11-26 Thread Morten W. Petersen
Issue Dealer (http://issuedealer.com) is a issue management tool featuring a weblog publisher (client), weblog (server), WebDAV client, Mail gateway (mailing list and archive), WYSIWYG editing of HTML and Images and more. Changes since the last announcement: 0.9.110: - Made the Issue Dealer

[Zope-Annce] Issue Dealer 0.9.107 released

2006-08-27 Thread Morten W. Petersen
Issue Dealer (http://issuedealer.com) is a issue management tool featuring a weblog publisher (client), weblog (server), WebDAV client, WYSIWYG editing of HTML and Images and more. Changes since the last announcement: 0.9.107: - Improved last_modified_by code. - Fixed numerous bugs related

Re: [Zope-dev] Debugging spinning Zope?

2006-04-18 Thread Morten W. Petersen
Dieter Maurer wrote: Morten W. Petersen wrote at 2006-4-18 16:45 +0200: I guess the next step is to use pdb og gdb - are there perhaps any documents out there describing the process? You use your favorite search engine and search for Zope spinning debug. Yep. ;) -Morten

Re: [Zope-dev] New ways of getting transactions?

2005-12-11 Thread Morten W. Petersen
and supported for a period of time. If it isn't, then this is *definately* a bug. I agree. I've reported it as a bug: http://www.zope.org/Collectors/Zope/1965 -- Morten W. Petersen Email: [EMAIL PROTECTED] Phone: +47 45 44 00 69 Title: Project manager Nidelven IT (http://www.nidelven-it.no

Re: Get rid of configure/make? (was Re: [Zope-dev] Re: SVN: Zope/trunk/ Merge philikon-zope32-integration branch. Basically, this branch entails:)

2005-11-05 Thread Morten W. Petersen
to go. We also have tools internally that depend on the configure/make dance, and I'm sure others who put up a lot of Zope instances do as well.. :) -Morten begin:vcard fn:Morten Petersen n:Petersen;Morten org:Nidelven IT adr:;;Postboks 923;Trondheim;;7409;Norway email;internet:[EMAIL PROTECTED

Re: [Zope-dev] Problems adding many objects

2005-09-26 Thread Morten W. Petersen
and before returning none, it says 'returning issue' on stdout. -Morten Chris McDonough wrote: Hi Morten, You'd probably need to show us the implementation of whatever manage_add_issue is. - C On Sep 25, 2005, at 10:09 AM, Morten W. Petersen wrote: Hi, I've created a script

[Fwd: Re: [Zope-dev] Problems adding many objects]

2005-09-26 Thread Morten W. Petersen
Oops, one for the list as well. Original Message Subject: Re: [Zope-dev] Problems adding many objects Date: Mon, 26 Sep 2005 13:34:50 +0200 From: Morten W. Petersen [EMAIL PROTECTED] To: Chris McDonough [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL

[Zope-Annce] Issue Dealer 0.9.81 released

2005-09-02 Thread Morten W. Petersen
Issue Dealer (http://issuedealer.com) is a issue management tool featuring a weblog publisher (client), weblog (server), WebDAV client, WYSIWYG editing of HTML and Images and more. Changes since the last announcement: 0.9.81: - Implemented asynchronous pings on the weblog 0.9.80: -

Re: [Zope-dev] Problems with Zope 2.8 on FreeBSD (was Re: Problems with PageTemplates on Zope 2.8)

2005-07-01 Thread Morten W. Petersen
I've heard of this earlier, but never experienced it until now. :) And yes, that was the issue! :) Thanks, Morten Andrew Sawyers wrote: Did you bump up the thread stack size for the python you're running Zope with? This sounds like that problem. If you search zope.org for FreeBSD - I

[Zope-dev] Problems with Zope 2.8 on FreeBSD (was Re: Problems with PageTemplates on Zope 2.8)

2005-06-30 Thread Morten W. Petersen
2.3.5 on FreeBSD 5.4, the server hangs even when I try to access http://instance/manage. http://instance/manage_copyright works fine however. -Morten begin:vcard fn:Morten Petersen n:Petersen;Morten org:Nidelven IT adr:;;Postboks 923;Trondheim;;7409;Norway email;internet:[EMAIL PROTECTED

[Zope-dev] Problems with PageTemplates on Zope 2.8

2005-06-24 Thread Morten W. Petersen
Hi, I have an application called the Issue Dealer which I'm porting to Zope 2.8. However, whenever I try to access a PageTemplate which makes use of a page template macro it just hangs and consumes all available CPU. Any ideas what could be wrong here, or how I could debug it? Thanks, Morten

[Zope-Annce] Issue Dealer 0.9.75 released

2005-06-10 Thread Morten W. Petersen
track issues in different departments for example. Try it! ;) begin:vcard fn:Morten Petersen n:Petersen;Morten org:Nidelven IT adr:;;Postboks 923;Trondheim;;7409;Norway email;internet:[EMAIL PROTECTED] title:Project Manager tel;work:+47 45 44 00 69 tel;cell:+47 45 44 00 69 x-mozilla-html:FALSE

[Zope-dev] Re: Renaming a product

2003-06-18 Thread Morten W. Petersen
product name to the new, and it worked. Thanks for your help everybody. :) Regards, Morten W. Petersen -- Technologies: Zope, Linux, Python, HTML, CSS, PHP Homepage: http://www.nidelven-it.no Phone number: (+47) 45 44 00 69 ___ Zope-Dev

[Zope-dev] Renaming a product

2003-06-17 Thread Morten W. Petersen
Hi all, does anyone know how to rename a product, so that instances of the product stored in ZODB will work (with the new name) after the rename? Thanks, Morten W. Petersen -- Technologies: Zope, Linux, Python, HTML, CSS, PHP Homepage: http://www.nidelven-it.no Phone number: (+47) 45 44

Re: [Zope-dev] Zope builds (new Intel C++ compiler)

2002-02-14 Thread Morten W. Petersen
] and that gave a perfomance increase of 15% on the pystones test. [1] http://www.goof.com/pcg/ -Morten msg09402/pgp0.pgp Description: PGP signature

Re: [Zope-dev] Zope builds (new Intel C++ compiler)

2002-02-12 Thread Morten W. Petersen
, Morten msg09383/pgp0.pgp Description: PGP signature

[Zope-dev] KeyError in UnIndex

2001-10-26 Thread Morten W. Petersen
, in keyForDocument (Object: PluggableIndex) KeyError: 1074768801 Any help much appreciated, Morten -- About Thingamy: http://www.thingamy.com - For the CEO http://www.thingamy.org - The good stuff http://www.thingamy.net - Rants ___ Zope

[Zope-dev] monitor_client.py in Zope 2.4.1 not working properly

2001-09-26 Thread Morten W. Petersen
Hi, I've been playing a bit with the monitor_client (ZServer/medusa), and it seems all exceptions aren't raised so it's visible in the client, it's seen in the debug output from Zope itself. Has anyone experienced this? -Morten ___ Zope-Dev

[Zope-dev] ImportError (No module names utils)

2001-09-26 Thread Morten W. Petersen
Hi, after using a module named utils in a Zope product the root management screen is no longer available (the module is now renamed). The traceback looks like this: Traceback (innermost last): File /home/morten/tmp/Zope-2.4.1-src/lib/python/ZPublisher/Publish.py, line 223, in publish_module

[Zope-dev] KeyError on UnIndex.keyForDocument

2001-09-26 Thread Morten W. Petersen
Hia, While trying to reindex an entire catalog an error is raised, which looks like this: Traceback (innermost last): File /home/morten/zope_instances/usr2/local/Zope-bcr/lib/python/ZPublisher/Publish.py, line 223, in publish_module File /home/morten/zope_instances/usr2/local/Zope-bcr/lib

Re: [Zope-dev] DISCUSS: Community checkins for CVS

2001-09-20 Thread Morten W. Petersen
://www.thingamy.org/tpl -Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman

Re: [Zope-dev] Spell checking module

2001-06-27 Thread Morten W. Petersen
ever written anything for zope that does something similar ? There is a spellchecker at http://www.zope.org/Members/noa We're currently planning how to implement a new one using the pspell library over at SourceForge: http://sourceforge.net/projects/zope-spellcheck/ -Morten

Re: Something better than ZClasses (was: Re: [Zope-dev] Re: Zcatalogbloat problem (berkeleydb is a solution?))

2001-06-26 Thread Morten W. Petersen
On Tue, 26 Jun 2001, Erik Enge wrote: On Tue, 26 Jun 2001, Morten W. Petersen wrote: How about meta-programming (designing) via the Zope interface, with UML or somesuch; automatically generating Python code, then enable designers to use a ZFormulator-ish product to edit the interface

Re: Something better than ZClasses (was: Re: [Zope-dev] Re: Zcatalogbloat problem (berkeleydb is a solution?))

2001-06-26 Thread Morten W. Petersen
On Tue, 26 Jun 2001, Morten W. Petersen wrote: Well, it's quite logical: UML can be used to map out both software and business development (they are, after all, two sides of the same story), the designer can twiddle-n-polish the interface and the programmer can take care of 'exceptional

Re: Something better than ZClasses (was: Re: [Zope-dev] Re: Zcatalogbloat problem (berkeleydb is a solution?))

2001-06-26 Thread Morten W. Petersen
team works together well. ;-) Well, somebody's got to do something, eh? ;-) [1] http://www.sourceforge.net/projects/warp-framework Regards from France, Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

Re: [Zope-dev] Re: ZPL and GPL licensing issues

2001-06-24 Thread Morten W. Petersen
in Zope and add to Zope, and as time goes by, the who-gets-credit-issue will undoubtedly be raised again, if we're so lucky that Digicool decides to open up Zope for read/write CVS access. [1] http://www.kuro5hin.org/?op=displaystory;sid=2001/6/23/3451/16661 -Morten

Re: [Zope-dev] ZPL and GPL licensing issues

2001-06-22 Thread Morten W. Petersen
) for the ZPL.. Regards, Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http

Re: [Zope-dev] ZPL and GPL licensing issues

2001-06-22 Thread Morten W. Petersen
that. Verifying the license with the GNU people now. -Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope

Re: [Zope-dev] Re: ZPL and GPL licensing issues

2001-06-22 Thread Morten W. Petersen
it with Zope. But it would be better for them to give explicit permission. Implicitly yours, Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

[Zope-dev] ZPL and GPL licensing issues

2001-06-20 Thread Morten W. Petersen
solutions towards it. Some interesting articles, food for thought: http://www.zdnet.com/enterprise/stories/main/0,10228,2777053,00.html http://www.gnu.org/philosophy/license-list.html#GPLIncompatibleLicenses http://www.gnu.org/philosophy/bsd.html [1] http://www.thingamy.com/tpl Regards, Morten

Re: [Zope-dev] command-line zope.org product upload ?

2001-06-19 Thread Morten W. Petersen
-upgrade'? :-) Cheers, Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org

Re: [Zope-dev] Where did DocumentTemplate/VSEval.py go in 2.4.0a1?

2001-06-15 Thread Morten W. Petersen
On Fri, 15 Jun 2001, Evan Simpson wrote: Morten W. Petersen wrote: one of my products landed flat on its face when an ImportError was raised trying to import VSEval from DocumentTemplate; is there a new class / function of some sort or simply another name for the class? See $ZOPE

[Zope-dev] TypeError on FieldIndex

2001-06-15 Thread Morten W. Petersen
for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File /home/morten/tmp/Zope-2.4.0a1-src/lib/python/ZPublisher/Publish.py, line 223, in publish_module File /home/morten/tmp/Zope-2.4.0a1-src/lib/python/ZPublisher/Publish.py

[Zope-dev] Non-undoable storage

2001-06-12 Thread Morten W. Petersen
, is that retrieving 500 messages and packing the database on every 50th message (all messages retrieved during one request) would lead to off the charts memory usage, the process ended up using 700 MB of RAM (had to add swap files as the footprint grew!) Cheers, Morten

Re: [Zope-dev] Non-undoable storage

2001-06-12 Thread Morten W. Petersen
cache zapping? Cheers, Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http

Re: [Zope-dev] Non-undoable storage

2001-06-12 Thread Morten W. Petersen
On Tue, 12 Jun 2001, Chris McDonough wrote: Morten W. Petersen wrote: Yes, every message was cataloged. Zope version 2.3.2 Were subtransactions in the Catalog turned on (see the Advanced page)? Yes, and the threshold was at 1. -Morten

[Zope-dev] Building custom DTML tags and accessing _.something

2001-05-09 Thread Morten W. Petersen
=[1,3,5,7,9,11,13 This could be done: dtml-widget select options=_.range(1,14,1) selected=_.range(1,14,2) Like this (with the DTML var tag): dtml-var [1,2,3,4,5,6,7,8,9,10] dtml-var _.range(1,11) Thanks cheers, Morten

[Zope-dev] ZCatalog features

2001-04-28 Thread Morten W. Petersen
it be useful to have some sort of tool that could take a set of results, and return a result with only unique values? Cheers, Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

[Zope-dev] REQUEST and values stored there

2001-04-04 Thread Morten W. Petersen
Hia guys, the recent changes to the HTTPRequest class breaks some of my code. I may have missed some notifications, but why wasn't this made clear as it could obviously break code? -Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http

Re: [Zope-dev] REQUEST and values stored there

2001-04-04 Thread Morten W. Petersen
['key_name2'] (The former method raises a KeyError.) These problems started to appear in the 2.3.x tree. -Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related

[Zope-dev] INSTANCE_HOME vs. SOFTWARE_HOME

2001-03-18 Thread Morten W. Petersen
Hi guys, some people have asked me to use INSTANCE_HOME instead of SOFTWARE_HOME, which breaks their products on debian distros. Now, I'm not sure that won't break other systems if I change it; anyone care to share? Thanks, Morten ___ Zope-Dev

[Zope-dev] Permission problems

2001-03-13 Thread morten
/AddressBook/address_book-1.0.0-permission_problems.tar.gz Just read about the SecurityClass stuff in AccessControl, but can't quite gripe that either. Anyone care to enlighten a security newbie? :-) Thanks, Morten ___ Zope-Dev maillist - [EMAIL PROTECTED

[Zope-dev] Ensuring 'freshness' of dynamic pages (slightly offtopic)

2001-03-11 Thread Morten W. Petersen
-control directives with the current HTTPRequest implementation, am I missing something here, or is this a bug / missing feature? Any ideas? Thanks, Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

[Zope-dev] ZPatterns, DynPersist.dll and Zope 2.3.0

2001-03-04 Thread Morten W. Petersen
could skip this module, is there any quick hack to fix this? Thanks, Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailma

Re: [Zope-dev] ZPatterns, DynPersist.dll and Zope 2.3.0

2001-03-04 Thread Morten W. Petersen
[Steve Alexander] | Try this one: | |http://www.cat-box.net/steve/DynPersist-0.4.3b1.dll | | I've had this one working on Windows 2000, Zope 2.3. Yep, this works. On Windows 98 with Zope 2.3.0. Thanks again, Morten ___ Zope-Dev maillist

Re: [Zope-dev] ZCatalog hackery

2001-03-03 Thread Morten W. Petersen
is already stored? I'm wondering because it would be significant overhead to 'make a data field of 100MBs into an index-like value' and then compare it to what already exists in the ZCatalog. Thanks, Morten ___ Zope-Dev maillist - [EMAIL PROTECTED

[Zope-dev] ZCatalog hackery

2001-03-01 Thread Morten W. Petersen
of the related columns and indexes are affected (the path and the parent container id); is there a way to go around this so that those two, the one column and the index are updated, and not, let's say the indexed body (which is 100KB - 100MB in size) ? Thanks, Morten

Re: [Zope-dev] ZCatalog hackery

2001-03-01 Thread Morten W. Petersen
of the records, and then paste it in under the new uid (path). -Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman

Re: [Zope-dev] Synchronize GUD or Worldpilot with IPAQ

2001-02-28 Thread Morten W. Petersen
[Valérie Aulnette] | Did someone try ? And how ? You can't synchronize at this point. It's a planned feature, but don't hold your breath. :-) Cheers, Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

[Zope-dev] ZCatalog problems

2001-02-26 Thread Morten W. Petersen
Hi guys, I'm having trouble making ZCatalog work. The problem is that there are 29 objects of a given meta type, with the same booleans that should be returned for an iteration; but only 20 are. Is this a result of caching perhaps? Or lazy results? Thanks, Morten

Re: [Zope-dev] catalog object owners?

2001-02-26 Thread Morten W. Petersen
he ability to catalog values returned by method calls would be sweet.. -Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.o

Re: [Zope-dev] catalog object owners?

2001-02-26 Thread Morten W. Petersen
index the returned value? If so, how long has this been available? Cheers, Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope-dev] Minor typos/changes to ZCatalog.

2001-02-24 Thread Morten W. Petersen
handle the example you posted some time ago, storing the relative path of each object? -Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope-dev] Storing lots of big objects in containers

2001-02-24 Thread Morten W. Petersen
. :-\ Tried again, now this error is raised: """ Zope Error Zope has encountered an error while publishing this resource. TypeError Sorry, a Zope error occurred. Traceback (innermost last): File /home/morten/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line 222, in publis

[Zope-dev] REQUEST acting up and misplacing form elements in other

2001-02-23 Thread Morten W. Petersen
Hi zopers, I've been wondering what may be causing the REQUEST object to store form values in the other dictionary. Is this a new feature or simply a bug? Cheers, Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman

[Zope-dev] ConflictErrors and how to handle them

2001-02-19 Thread Morten W. Petersen
? Cheers, Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo

Re: [Zope-dev] Getting the parent of a container in a Python Script

2001-02-15 Thread Morten W. Petersen
[Cyril Elkaim] |Hi all, Hia Cyril, [snip] | Aside from my problems Zope rocks really. Yes it does. And you can find usable information in $ZOPE_INSTANCE/lib/python/OFS/ZDOM.py . Hope this helps, Morten ___ Zope-Dev maillist - [EMAIL

Re: [Zope-dev] 2gb ZODB size limit

2001-02-15 Thread Morten W. Petersen
this helps, Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman

Re: [Zope-dev] 2gb ZODB size limit

2001-02-15 Thread Morten W. Petersen
[Andy McKay] | Yes, you will hit this limit. Windows uses a 32 bit integer for file size... | No matter what MS says, Ive hit it on Win2k. Interesting. Are you sure the problem lies with Win2K and not Python or something else? Cheers, Morten

Re: [Zope-dev] 2gb ZODB size limit

2001-02-15 Thread Morten W. Petersen
[Erik Enge] | [Morten W. Petersen] | | | It's a problem with Linux, if you want to be able to use databases | | 2GB in size on Linux, a kernel = 2.4.0 is required. | | Nope. First, the limit is at file-level, not database-level (mind | you, a problem with the filesystem, not Linux per se

Re: [Zope-dev] 2gb ZODB size limit

2001-02-15 Thread Morten W. Petersen
[Erik Enge] | [Morten W. Petersen] | | | BTW, there is a list called [EMAIL PROTECTED], for ZODB specific | | questions. | | Actually, I think its called ZODB-Dev; [EMAIL PROTECTED] I stand corrected. Cheers, Morten ___ Zope-Dev maillist

Re: [Zope-dev] ThreadSafeCounter 0.0.1 released

2001-02-12 Thread Morten W. Petersen
[Erik Enge] | What happens if you run this with ZEO? Will the file be kept «in | sync» with all ZEO Clients? Good point. I don't think so. It could be that it is kept in sync with one Zope instance "being responsible" and the others calling it via XML-RPC. Cheer

Re: [Zope-dev] ThreadSafeCounter 0.0.1 released

2001-02-12 Thread Morten W. Petersen
[Wolfgang Strobl] | Doesn't even install on Windows, because it imports and uses fcntl. | | From the fcntl docs: "Availability: Unix". Well, the download page says "Platform: Generic UNIX-like", doesn't it? -Morten ___ Zope-Dev

[Zope-dev] Re: ThreadSafeCounter

2001-02-12 Thread Morten W. Petersen
of the locking process to that file) or something like that.. Which should work on Linux and Windows (and most other OS') Should I toss up a Wiki? Cheers, Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] ThreadSafeCounter 0.0.1 released

2001-02-12 Thread Morten W. Petersen
[Erik Enge] | Forget it. My fault. *shame, shame* *chuckle* :-) -Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org

Re: [Zope-dev] ThreadSafeCounter 0.0.1 released

2001-02-11 Thread Morten W. Petersen
down to the fact that it's simple to use file locking. Cheers, Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman

Re: [Zope-dev] LONGing for normal inetegers...

2001-02-11 Thread Morten W. Petersen
suffix. HTH. -Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman

[Zope-dev] ThreadSafeCounter 0.0.1 released

2001-02-10 Thread Morten W. Petersen
Hi guys, There's a new product available, which enables unique ids in a given context, take a look at url:http://www.zope.org/Members/morphex/ThreadSafeCounter. Cheers, Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman

[Zope-dev] ValueChecker 0.0.1

2001-02-07 Thread Morten W. Petersen
Hi zopistas, I've managed to build a product called ValueChecker which when installed hooks into the prosessing of form input. It's basic at this point, a mere proof-of-concept, but I can think of so many uses! Cheers. :-) -Morten ___ Zope-Dev

[Zope-dev] The field converters (:int, :text, etc.)

2001-02-04 Thread Morten W. Petersen
Hi guys, IIRC, there was some talk about modularizing the field converters (checkers) so that they could be easiliy modified and added to. Is there currently any efforts to solving this problem? If not, there's definently a need for it, IMO.. Thank you for your time. -Morten

Re: [Zope-dev] ZClasses vs. Python Products

2001-02-03 Thread Morten W. Petersen
of TTW development when you need it. Ahah! That's a very good (and simple) solution. Thanks for the help! -Morten (who still wants to add HTMLFile and Image editing TTW for Python based products). ___ Zope-Dev maillist - [EMAIL PROTECTED

[Zope-dev] Creating IMAP and SMTP services for Zope

2001-02-03 Thread Morten W. Petersen
Hi guys, I'm wondering about creating IMAP and SMTP services for Zope. Someone mentioned to me that extending (using?) the ZServer could be a Good Thing (tm). Could anyone point me in the right direction? Thanks. -Morten ___ Zope-Dev maillist

[Zope-dev] LoginManager and ZPatterns

2001-01-29 Thread Morten W. Petersen
None. But, if it's called from DTML, with exactly the same expression, it returns the containing object... Could someone shed some light on this? Thank you. -Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

[Zope-dev] How to avoid ConflictErrors ?

2001-01-28 Thread Morten W. Petersen
the message_container. Any idea what I'm doing wrong? Thanks cheers, Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman

Re: [Zope-dev] How to avoid ConflictErrors ?

2001-01-28 Thread Morten W. Petersen
[Chris Withers] | Please check that both rfc822_message and message_container subclass | Persistence.Persistent. They do. *ponder* -Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross

[Zope-dev] AttributeError when adding ZClass product (PortalMembership)

2001-01-26 Thread Morten W. Petersen
ibuteError Error Value: Control_Panel [...] File /home/morten/Zope/lib/python/Products/rs/rs.py, line 56, in manage_add_a File /home/morten/Zope/lib/python/Products/SuperSecret/a.py, line 168, in __init__ (Object: CatalogAware) File /h

[Zope-dev] Implementing a URL path resolver

2001-01-18 Thread morten
' % path[0] path ÿpath[1:] for element in path: new_path ÿnew_path + "['%s']" % element return eval("self%s" % new_path) Now, neither []- or .-like evaluation of the path works.. Any ideas? Cheers, Morten ___ Zope-Dev

Re: [Zope-dev] Implementing a URL path resolver

2001-01-18 Thread Morten W. Petersen
f%s" % new_path) -Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.

Re: [Zope-dev] Implementing a URL path resolver

2001-01-18 Thread Morten W. Petersen
[Steve Alexander] | Have you seen the methods restrictedTraverse and unrestrictedTraverse in | lib/python/OFS/Traversable.py ? Exactly what I needed. Thank you. -Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman

[Zope-dev] Calling HTMLFiles

2001-01-18 Thread Morten W. Petersen
KeyErrors on DTMLMethod that are called from within the conflicting_events_dialogue? Thanks. -Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related list

[Zope] Re: [Zope-dev] ZCatalog and 'fuzzy logic'

2001-01-10 Thread Morten W. Petersen
search for a word, for example 'programmer', it will return matches to the words 'program', 'programming','programmable' etc. I.e., it will somewhat intelligently return words that are similar in what they mean, using grammar rules (chopping off endings of words and making them match o

[Zope-dev] ZCatalog and 'fuzzy logic'

2001-01-09 Thread Morten W. Petersen
Is there anyone who could try to give an estimate of how long it would take to add fuzzy logic (regexp-like) searching capability to the ZCatalog? And reasoning as to why would be appreciated. ;) -Morten ___ Zope-Dev maillist - [EMAIL PROTECTED

[Zope] ZCatalog and 'fuzzy logic'

2001-01-09 Thread Morten W. Petersen
Is there anyone who could try to give an estimate of how long it would take to add fuzzy logic (regexp-like) searching capability to the ZCatalog? And reasoning as to why would be appreciated. ;) -Morten ___ Zope maillist - [EMAIL PROTECTED] http

Re: [Zope] Lobbying (was: [Zope] html_quote in python methods?)

2001-01-03 Thread Morten W. Petersen
[Chris Withers] | I'll second this. It'd be _so_ nice... | | ever wanted to do: | | dtml-call "somemethod(absolute_url()+urlquote(_.getitem(id))" I totally agree. -Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.o

  1   2   >