Re: [Zope] [python script] problem with AUTHENTICATED_USER

2005-04-20 Thread Jürgen Herrmann
hi: AUTHENTICATED_USER is in REQUEST: hence you could write ... self.REQUEST.AUTHENTICATED_USER.has_role(self, [Manager]) ... regards, juergen herrmann [ [EMAIL PROTECTED] wrote:] I have problem with my python script. I want to check if a user has a the manager role, and add an option in a

Re: [Zope] Forcing all Zope access to come through an Apache/SSL proxy

2005-04-28 Thread Jürgen Herrmann
hi! i use mod_proxy for this, here's the config snippet: virtualhost 1.2.3.4:443 ServerName foo.com ServerAdmin [EMAIL PROTECTED] ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/ ProxyPass /misc_ http://localhost:8080/misc_ ProxyPass /p_

[Zope] utf-8 vs. unicode question(s)

2005-05-06 Thread Jürgen Herrmann
hi out there! there's been some discussion about utf-8 vs. unicode strings on the list lately. i'd like to ask if my gained understandings are correct und thus possibly make it clear to others also. i have set my python default encoding to utf-8, i always send http responses from zope as utf-8

[Zope] automagic reindexing of objects

2005-06-17 Thread Jürgen Herrmann
hi all! i make heavy use of indexes in my extension classes. these all inherit from catalogpathaware, so i have to call object.reindex_object() on each changed instance. calling it from attribute getters/setters f.ex. is not a good idea, because changing 3 attributes will reindex the object 3

Re: [Zope] automagic reindexing of objects

2005-06-17 Thread Jürgen Herrmann
[ Jonathan wrote:] - Original Message - From: Jrgen Herrmann [EMAIL PROTECTED] i make heavy use of indexes in my extension classes. these all inherit from catalogpathaware, so i have to call object.reindex_object() on each changed instance. calling it from attribute getters/setters

Re: [Zope] automagic reindexing of objects

2005-06-17 Thread Jürgen Herrmann
[ Peter Bengtsson wrote:] Personally I think one should stay the hell away from transactions. They're not for you to fiddle with. I understand your question and even though I think it's a bit crazy I can see a benefit (simplicity for the programmer). How about a trickery solution like this:

Re: [Zope] automagic reindexing of objects

2005-06-20 Thread Jürgen Herrmann
[ Dieter Maurer wrote:] Jürgen Herrmann wrote at 2005-6-17 14:19 +0200: i make heavy use of indexes in my extension classes. these all inherit from catalogpathaware, so i have to call object.reindex_object() on each changed instance. calling it from attribute getters/setters f.ex. is not a good

Re: [Zope] automagic reindexing of objects

2005-06-22 Thread Jürgen Herrmann
, juergen herrmann [ Florent Guillaume wrote:] Dieter Maurer [EMAIL PROTECTED] wrote: Jürgen Herrmann wrote at 2005-6-17 14:19 +0200: i make heavy use of indexes in my extension classes. these all inherit from catalogpathaware, so i have to call object.reindex_object() on each changed instance

Re: [Zope] automagic reindexing of objects

2005-06-22 Thread Jürgen Herrmann
[ Jürgen Herrmann wrote:] ... hook = object.get('_before_transaction_commit', None) if hook: hook() ... of course it should be: getattr(object, '_before_transaction_commit', None) regards, juergen herrmann

[Zope] python question

2005-07-01 Thread Jürgen Herrmann
hi all! i think there should be no functional difference in the two code snippets below, but is there any difference in performance? (i know, the except AttributeError could possibly mask an AttributeError in the called function...) 1.: hook = getattr(o, '_before_transaction_commit', None) if

Re: [Zope] Pass objects from template to template via HTML forms.

2005-07-05 Thread Jürgen Herrmann
[ Negroup - wrote:] 2005/7/5, Konstantin E. Steuck [EMAIL PROTECTED]: Negroup - wrote: [cut] Try looking into copy/cut/paste machinery, it seems to be what you're looking for This is a thing I absolutely want to avoid. I simply need to pass an object directly from one template to another,

[Zope] bug?

2005-07-06 Thread Jürgen Herrmann
hi there! either this is a bug or i'm too stoned to see, what's going on... i have a folder /1, 2 subfolders /1/11 and /1/22. each subfolder has a property 'bool', which is a boolean. there's a zcatalog instance in /1/Catalog with one index bool, indexed attribute 'bool'. i cataloged the two

Re: [Zope] bug?

2005-07-06 Thread Jürgen Herrmann
is something like this:: for brain in context.Catalog.searchResults({'bool':1}): cataloged_object = brain.getObject() if cataloged_object is None: print ZCatalog out of sync!! else: print cataloged_object.getId() On 7/6/05, Jürgen Herrmann [EMAIL

[Zope] zodb/transaction questions

2005-07-11 Thread Jürgen Herrmann
hi all! this is not my first posting regarding my before_transaction_commit stuff, to summarize my plans: make the transaction object call a method _before_transaction_commit() on each changed object before the commit process starts. in zodb 3.2 style transactions it seemed to be easy, changed

[Zope] input type=image name=method:action and ZPublisher?

2005-08-11 Thread Jürgen Herrmann
to 2.8.1 anytime soon, but i guess that changes to ZPublisher between 2.8.0 and 2.8.1 should be nonexistant) regards, juergen herrmann ___ XLhost.de - eXperts in Linux hosting Jürgen Herrmann Bruderwöhrdstraße 15b, DE-93051

[Zope] Re: FW: [ZODB-Dev] python types question

2005-08-23 Thread Jürgen Herrmann
thanks tim! my mistake... regards, juergen herrmann [ Tim Peters wrote:] [fwd'ing private msg, since it appears to have been intended to go to the list] -Original Message- From: Jürgen Herrmann [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 23, 2005 7:31 AM To: Tim Peters

[Zope] Re: FW: [ZODB-Dev] python types question

2005-08-23 Thread Jürgen Herrmann
oh my goodness, today is not my day. this should go to the zodb-dev list, plz ignore! [ Jürgen Herrmann wrote:] thanks tim! my mistake... regards, juergen herrmann [ Tim Peters wrote:] [fwd'ing private msg, since it appears to have been intended to go to the list] -Original Message

[Zope] REQUEST not accessible

2005-10-13 Thread Jürgen Herrmann
leading to these kinds of problems... best regards, juergen herrmann ___ XLhost.de - eXperts in Linux hosting Jürgen Herrmann Bruderwöhrdstraße 15b, DE-93051 Regensburg Fon: +49 (0)700 XLHOSTDE [0700 95467833] Fax: +49 (0)721

Re: [Zope] REQUEST not accessible

2005-10-13 Thread Jürgen Herrmann
[ Jens Vagelpohl wrote:] On 13 Oct 2005, at 11:39, Jürgen Herrmann wrote: up to some time in them i could just write: tal:define=results python:here.Catalog.searchResults() it seems this isn't working anymore, the catalog would return all brains instead of seraching the relevant ones

Re: [Zope] REQUEST not accessible

2005-10-13 Thread Jürgen Herrmann
[ Jens Vagelpohl wrote:] On 13 Oct 2005, at 11:56, Jürgen Herrmann wrote: Apart from whether this worked previosuly or not, it is bad coding practice to rely on assumptions such as it will somehow acquire the REQUEST. You should really change your code to explicity pass in REQUEST

[Zope] inheriting from SimpleUserFolder's User

2005-10-19 Thread Jürgen Herrmann
required to find a match. so if i reimplement getRolesInContext() in MyUser, i'll probably also have to reimplement allowed() to reflect the possibly added local roles, right? regards, jürgen herrmann ps: looking at the code of allowed() i doubt that the manual checking of local roles will speed

Re: [Zope] inheriting from SimpleUserFolder's User

2005-10-20 Thread Jürgen Herrmann
[ Dieter Maurer wrote:] Jürgen Herrmann wrote at 2005-10-19 15:34 +0200: i use the SimpleUserFolder product and derive a MyUser class from it's included User class, which in turn inherits from BasicUser. the SimpleUserFolder's User class does neither reimplement getRolesInContext() nor allowed

[Zope] implicit vs. explicit ownership?

2005-10-20 Thread Jürgen Herrmann
, juergen herrmann ___ XLhost.de - eXperts in Linux hosting Jürgen Herrmann Bruderwöhrdstraße 15b, DE-93051 Regensburg Fon: +49 (0)700 XLHOSTDE [0700 95467833] Fax: +49 (0)721 151 463027 WEB: http://www.XLhost.de

Re: [Zope] Re: implicit vs. explicit ownership?

2005-10-20 Thread Jürgen Herrmann
[ Florent Guillaume wrote:] Jürgen Herrmann wrote: in AccessControl.Owned.Owned: def manage_changeOwnershipType(explicit=1, RESPONSE=None, REQUEST=None): Change the type (implicit or explicit) of ownership. can somebody please explain what's the difference between

[Zope] DateTime strftime problem

2005-11-07 Thread Jürgen Herrmann
hmm, where's the timezone information gone? to make it short, how can i get a text representation of a DateTime object in a given timezone? thanks in advance! juergen herrmann ___ XLhost.de - eXperts in Linux hosting Jürgen

Re: [Zope] DateTime strftime problem

2005-11-07 Thread Jürgen Herrmann
___ XLhost.de - eXperts in Linux hosting Jürgen Herrmann Bruderwöhrdstraße 15b, DE-93051 Regensburg Fon: +49 (0)700 XLHOSTDE [0700 95467833] Fax: +49 (0)721 151 463027 WEB: http://www.XLhost.de ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] DateTime strftime problem

2005-11-07 Thread Jürgen Herrmann
, juergen herrmann ___ XLhost.de - eXperts in Linux hosting Jürgen Herrmann Bruderwöhrdstraße 15b, DE-93051 Regensburg Fon: +49 (0)700 XLHOSTDE [0700 95467833] Fax: +49 (0)721 151 463027 WEB: http://www.XLhost.de

Re: [Zope] DateTime strftime problem

2005-11-07 Thread Jürgen Herrmann
[ Lennart Regebro wrote:] On 11/7/05, Jürgen Herrmann [EMAIL PROTECTED] wrote: then i will fix it, if i can. i need that functionality, because we have users from different time zones that access a shared calendar. I don't know if this helps, but it might: Python had a good module called

Re: [Zope] DateTime strftime problem

2005-11-08 Thread Jürgen Herrmann
hosting Jürgen Herrmann Bruderwöhrdstraße 15b, DE-93051 Regensburg Fon: +49 (0)700 XLHOSTDE [0700 95467833] Fax: +49 (0)721 151 463027 WEB: http://www.XLhost.de ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] DateTime strftime problem

2005-11-08 Thread Jürgen Herrmann
[ Jürgen Herrmann wrote:] i looked at the source of DateTime::strftime(), surpirse, surprise :) strftime uses python's datetime class and it's strftime method! but no care is taken at this time for timezone information, so i decided to code a tzinfo subclass for datetime that can represent

Re: [Zope] Re: DateTime strftime problem

2005-11-09 Thread Jürgen Herrmann
with python's datetime, in corner cases. Please submit a patch to the collector. It probably will be included in 2.9 but not 2.8 which is strictly in maintenance mode, unless you convince us that it's very unlikely that code would change behavior as a result. Florent Jürgen Herrmann wrote

Re: [Zope] Re: DateTime strftime problem

2005-11-09 Thread Jürgen Herrmann
[ Dieter Maurer wrote:] Jürgen Herrmann wrote at 2005-11-9 13:38 +0100: zope 2.7.8's DateTime::strftime() looks like this: def strftime(self, format): # Format the date/time using the *local timezone representation*. return strftime(format, safelocaltime(self.timeTime())) it seems that my

[Zope] DateTime mess

2005-11-21 Thread Jürgen Herrmann
around xmas this year) and give it back to the community. once again sry, if i raised expectations on the fix of strftime. regards, juergen herrmann ___ XLhost.de - eXperts in Linux hosting Jürgen Herrmann Bruderwöhrdstraße 15b

Re: [Zope] DateTime mess

2005-11-21 Thread Jürgen Herrmann
___ XLhost.de - eXperts in Linux hosting Jürgen Herrmann Bruderwöhrdstraße 15b, DE-93051 Regensburg Fon: +49 (0)700 XLHOSTDE [0700 95467833] Fax: +49 (0)721 151 463027 WEB: http://www.XLhost.de ___ Zope maillist

Re: [Zope] DateTime mess

2005-11-21 Thread Jürgen Herrmann
[ Lennart Regebro wrote:] On 11/21/05, Jürgen Herrmann [EMAIL PROTECTED] wrote: recently i came up here with the intention to fix DateTime#strftime(). while trying this, i had to dig deeper and deeper into the implementation of DateTime and especially the timezone and daylight saving stuff

[Zope] Re: DateTime mess

2005-11-22 Thread Jürgen Herrmann
[ Florent Guillaume wrote:] Jürgen Herrmann wrote: recently i came up here with the intention to fix DateTime#strftime(). while trying this, i had to dig deeper and deeper into the implementation of DateTime and especially the timezone and daylight saving stuff. to be honest, it's

Re: [Zope] Re: DateTime mess

2005-11-22 Thread Jürgen Herrmann
[ Lennart Regebro wrote:] On 11/22/05, Jürgen Herrmann [EMAIL PROTECTED] wrote: do we REALLY need dates 1900 / 2036 ? Yes. using unix timestamps for storage and as the base for all conversions would make things a lot easier! datetimes are picklable, so if you are going to change how

Re: [Zope] Re: DateTime mess

2005-11-22 Thread Jürgen Herrmann
[ Lennart Regebro wrote:] On 11/22/05, Jürgen Herrmann [EMAIL PROTECTED] wrote: i'll surely change the storage format, when rewriting it! So you plan on having some version marker, or so, which tells which storage format is used? //Curious. basicall i thought about having a dateime

[Zope] standard_error_message as PageTemplate?

2005-11-23 Thread Jürgen Herrmann
in Linux hosting Jürgen Herrmann Bruderwöhrdstraße 15b, DE-93051 Regensburg Fon: +49 (0)700 XLHOSTDE [0700 95467833] Fax: +49 (0)721 151 463027 WEB: http://www.XLhost.de ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] DateTime mess

2005-11-29 Thread Jürgen Herrmann
include what you call a frankendatetime. :-) Which, as I understand it, is what Jürgen Herrman wanted to create... correct that is ;) regards, juergen herrmann ___ XLhost.de - eXperts in Linux hosting Jürgen Herrmann

[Zope] five i18n

2006-01-17 Thread Jürgen Herrmann
hi all! does anybody have a five product that uses i18n that i can have a look at? i don't seem to get it right... thanks regards, juergen ___ XLhost.de - eXperts in Linux hosting Jürgen Herrmann Bruderwöhrdstraße 15b, DE

Re: [Zope] five i18n

2006-01-18 Thread Jürgen Herrmann
something... thanks in advance for your answers! regards, juergen On Tue, January 17, 2006 17:45, Lennart Regebro wrote: On 1/17/06, Jürgen Herrmann [EMAIL PROTECTED] wrote: hi all! does anybody have a five product that uses i18n that i can have a look at? i don't seem to get it right... Yeah

Re: [Zope] five i18n

2006-01-18 Thread Jürgen Herrmann
On Wed, January 18, 2006 14:28, Lennart Regebro wrote: On 1/18/06, Jürgen Herrmann [EMAIL PROTECTED] wrote: does the zope/five/i18n machinery tell anything about it's startup phase (finding message catalogs etc.) in the logs or while watching runzope output? Nope. It would probably be good

Re: [Zope] five i18n

2006-01-18 Thread Jürgen Herrmann
the translation also work with page template files? regards, juergen On Wed, January 18, 2006 14:28, Lennart Regebro wrote: On 1/18/06, Jürgen Herrmann [EMAIL PROTECTED] wrote: does the zope/five/i18n machinery tell anything about it's startup phase (finding message catalogs etc.) in the logs

Re: [Zope] five i18n (addendum)

2006-01-18 Thread Jürgen Herrmann
i added a print statement in registerTranslations() and it shows me that it finds my message catalogs. On Wed, January 18, 2006 15:27, Jürgen Herrmann wrote: just tried this: hacked in a MyLanguages in five's i18n.py: class MyLanguages(object): fake implements

Re: [Zope] five i18n

2006-01-18 Thread Jürgen Herrmann
, how can i circumvent this? (i want to generate xml and run it through trml2pdf to produce pdf output, which works excellent - but not with i18n) thanks for your help. regards, juergen On Wed, January 18, 2006 15:41, Martijn Faassen wrote: Jürgen Herrmann wrote: just tried this: hacked

Re: [Zope] LocalFS under Zope2.9

2006-01-20 Thread Jürgen Herrmann
** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ XLhost.de - eXperts in Linux hosting Jürgen Herrmann

[Zope] unrestricted pagetemplatefile?

2006-03-23 Thread Jürgen Herrmann
it be to implement it, any hints at which methods contain the magic? :) thanks in advance. regards, juergen ___ XLhost.de - eXperts in Linux hosting Jürgen Herrmann Bruderwöhrdstraße 15b, DE-93051 Regensburg Fon: +49 (0)700 XLHOSTDE

Re: [Zope] unrestricted pagetemplatefile?

2006-03-24 Thread Jürgen Herrmann
-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ XLhost.de - eXperts in Linux hosting Jürgen Herrmann Bruderwöhrdstraße 15b, DE-93051 Regensburg Fon: +49 (0)700 XLHOSTDE [0700 95467833] Fax: +49 (0)721 151

[Zope] global name 'context' not defined in TrustedFSPageTemplate

2006-06-01 Thread Jürgen Herrmann
shows a 'context' entry... anybody seen this or something similar before? (btw. here doesn't work either) regards, juergen ___ XLhost.de - eXperts in Linux hosting Jürgen Herrmann Bruderwöhrdstraße 15b, DE-93051 Regensburg Fon

Re: [Zope] global name 'context' not defined in TrustedFSPageTemplate

2006-06-01 Thread Jürgen Herrmann
On Thu, June 1, 2006 18:08, Jonathan wrote: - Original Message - From: Jürgen Herrmann [EMAIL PROTECTED] To: zope@zope.org Sent: Thursday, June 01, 2006 11:51 AM Subject: [Zope] global name 'context' not defined in TrustedFSPageTemplate hi! i get the following error in one

Re: [Zope] global name 'context' not defined in TrustedFSPageTemplate

2006-06-02 Thread Jürgen Herrmann
On Thu, June 1, 2006 18:13, Jürgen Herrmann wrote: On Thu, June 1, 2006 18:08, Jonathan wrote: - Original Message - From: Jürgen Herrmann [EMAIL PROTECTED] To: zope@zope.org Sent: Thursday, June 01, 2006 11:51 AM Subject: [Zope] global name 'context' not defined

[Zope] storing persisten object in python dictionaries

2006-10-26 Thread Jürgen Herrmann
) of a singleton object in the db. best regards, jürgen herrmann ___ XLhost.de - eXperts in Linux hosting Jürgen Herrmann Konrad Adenauer Allee 43, DE-93051 Regensburg Fon: +49 (0)700 XLHOSTDE [0700 95467833] Fax: +49 (0)721 151

Re: [Zope] storing persisten object in python dictionaries

2006-10-26 Thread Jürgen Herrmann
On Thu, October 26, 2006 15:00, Marco Bizzarri wrote: On 10/26/06, Jürgen Herrmann [EMAIL PROTECTED] wrote: On Thu, October 26, 2006 14:53, Marco Bizzarri wrote: Storing persistent object in object outside of ZODB can incur in the problem of passing object(s) between threads

Re: [Zope] storing persisten object in python dictionaries

2006-10-26 Thread Jürgen Herrmann
On Thu, October 26, 2006 15:00, Marco Bizzarri wrote: On 10/26/06, Jürgen Herrmann [EMAIL PROTECTED] wrote: On Thu, October 26, 2006 14:53, Marco Bizzarri wrote: Storing persistent object in object outside of ZODB can incur in the problem of passing object(s) between threads

Re: [Zope] storing persisten object in python dictionaries

2006-10-26 Thread Jürgen Herrmann
On Thu, October 26, 2006 15:25, Jürgen Herrmann wrote: On Thu, October 26, 2006 15:00, Marco Bizzarri wrote: On 10/26/06, Jürgen Herrmann [EMAIL PROTECTED] wrote: On Thu, October 26, 2006 14:53, Marco Bizzarri wrote: Storing persistent object in object outside of ZODB can incur

Re: [Zope] storing persisten object in python dictionaries

2006-10-26 Thread Jürgen Herrmann
On Thu, October 26, 2006 16:03, Jürgen Herrmann wrote: On Thu, October 26, 2006 15:25, Jürgen Herrmann wrote: On Thu, October 26, 2006 15:00, Marco Bizzarri wrote: On 10/26/06, Jürgen Herrmann [EMAIL PROTECTED] wrote: On Thu, October 26, 2006 14:53, Marco Bizzarri wrote: Storing

Re: [Zope] Apache2 Rewrite: Too much traffic OR nothing

2006-11-22 Thread Jürgen Herrmann
you should set ProxyRequests Off... regards, jürgen herrmann On Wed, November 22, 2006 13:42, Flemming Bjerke wrote: Does anyone know what to do??? The following rewrite rule works fine: VirtualHost 85.235.249.119:80 ServerName www.it-pol.dk UseCanonicalName Off ServerSignature

Re: [Zope] Error starting zope - undefined symbol: PyUnicodeUCS2_AsEncodedString

2007-06-21 Thread Jürgen Herrmann
http://mail.zope.org/mailman/listinfo/zope-dev ) ___ XLhost.de - eXperts in Linux hosting ® XLhost.de GmbH Jürgen Herrmann, Geschäftsführer Konrad Adenauer Allee 43, 93051 Regensburg, Germany Geschäftsführer: Volker Geith

Re: [Zope] automagic bome header at start of utf16 content?

2009-01-08 Thread Jürgen Herrmann
On Thu, January 8, 2009 11:04, Andreas Jung wrote: On 08.01.2009 10:33 Uhr, Jürgen Herrmann wrote: i already sent the request directly to the zope server omitting our apache proxy and monitored traffic with wireshark. the com header comes from zope. i did not find anything in zope's code

Re: [Zope] automagic bome header at start of utf16 content?

2009-01-08 Thread Jürgen Herrmann
On Thu, January 8, 2009 11:04, Andreas Jung wrote: On 08.01.2009 10:33 Uhr, Jürgen Herrmann wrote: i already sent the request directly to the zope server omitting our apache proxy and monitored traffic with wireshark. the com header comes from zope. i did not find anything in zope's code

Re: [Zope] RIP Zope 2!

2009-04-03 Thread Jürgen Herrmann
for himself it community growth is a good thing for him or not. i think some people are of the latter kind :/ just my two cents, it was time to speak up. in no way did i mean to insult anybody personally here, just in case... best regards and keep up the good work! jürgen herrmann -- XLhost.de

[Zope] relstorage on zope 2.10.5

2009-04-27 Thread Jürgen Herrmann
an alpha release of zodb? can in pin the version of zodb to 3.7.1? my versions used: - (Zope 2.10.5-final, python 2.4.4, linux2) - Python Version 2.4.4 (#1, Aug 8 2007, 09:54:51) [GCC 4.1.2 20070302 (prerelease) (4.1.2-1mdv2007.1)] thanks in advance and best regards, jürgen herrmann -- XLhost.de

[Zope] zope2, buildout and relstorage

2009-04-30 Thread Jürgen Herrmann
and how to install relstorage into it? thanks in advance and best regards! jürgen -- XLhost.de - eXperts in Linux hosting ® XLhost.de GmbH Jürgen Herrmann, Geschäftsführer Boelckestrasse 21, 93051 Regensburg, Germany Geschäftsführer: Volker Geith, Jürgen Herrmann Registriert unter: HRB9918

Re: [Zope] [Zope-dev] zope 2.12.0b1 bugs - try it tab broken on scripts

2009-05-06 Thread Jürgen Herrmann
On Wed, May 6, 2009 16:17, Chris Withers wrote: Jürgen Herrmann wrote: 2.Script Python instances don't execute anymore. not the ones already in the db from the zope 2.10 install i used before nor newly created ones. traceback: Yes they do ;-) * Module ZPublisher.Publish, line

Re: [Zope] [Zope-dev] zope 2.12.0b1 bug - standard_error_message

2009-05-06 Thread Jürgen Herrmann
On Wed, May 6, 2009 16:16, Chris Withers wrote: Jürgen Herrmann wrote: 1. standard_error_message is not used, this is due to code in ZPublisher/HTTPResponse.py, method _error_html(self,title,body) comment: XXX could this try to use standard_error_message somehow? The code you're

Re: [Zope] [Zope-dev] zope 2.12.0b1 bug - standard_error_message

2009-05-06 Thread Jürgen Herrmann
On Wed, May 6, 2009 16:16, Chris Withers wrote: Jürgen Herrmann wrote: 1. standard_error_message is not used, this is due to code in ZPublisher/HTTPResponse.py, method _error_html(self,title,body) comment: XXX could this try to use standard_error_message somehow? The code you're

Re: [Zope] [Zope-dev] zope2.12.a04 / relstorage / zodbconvert.py errors

2009-05-06 Thread Jürgen Herrmann
Shane Hathaway wrote: Jürgen Herrmann wrote: ZConfig.SchemaResourceError: import name does not refer to a package Package name: 'relstorage' File name: 'component.xml' Package path: None I need to make a new release of RelStorage before this will work. RelStorage 1.1.3 does

[Zope] sharing instance_home?

2009-11-04 Thread Jürgen Herrmann
also contained in $INSTANCE_HOME/runzope. renaming/modifying runzope does not work either, as it's name is hardcoded somewhere in zopectl. thanks in advance and best regards, jürgen herrmann -- XLhost.de - eXperts in Linux hosting ® XLhost.de GmbH Jürgen Herrmann, Geschäftsführer Boelckestrasse

Re: [Zope] sharing instance_home?

2009-11-04 Thread Jürgen Herrmann
On Wed, November 4, 2009 15:05, Chris Withers wrote: Jürgen Herrmann wrote: no how can i run 2 zope processes from the same instance home with 2 different config files? What version of Zope is this? Should be fine, provided the instances are configured to use different pid files, log

[Zope] long running methods

2010-05-20 Thread Jürgen Herrmann
-- XLhost.de - eXperts in Linux hosting ® XLhost.de GmbH Jürgen Herrmann, Geschäftsführer Boelckestrasse 21, 93051 Regensburg, Germany Geschäftsführer: Volker Geith, Jürgen Herrmann Registriert unter: HRB9918 Umsatzsteuer-Identifikationsnummer: DE245931218 Fon: +49 (0)800 XLHOSTDE [0800 95467833] Fax

Re: [Zope] long running methods

2010-05-20 Thread Jürgen Herrmann
On Thu, 20 May 2010 15:59:58 +0200, Patrick Gerken do3cc...@googlemail.com wrote: On Thu, May 20, 2010 at 14:18, Jürgen Herrmann juergen.herrm...@xlhost.dewrote: hi there! as our zope2 zodb grows we experience more and more conflicts with long running transactions. so i'm going

Re: [Zope] long running methods

2010-05-23 Thread Jürgen Herrmann
On Thu, 20 May 2010 18:00:43 -0600, Shane Hathaway sh...@hathawaymix.org wrote: On 05/20/2010 06:18 AM, Jürgen Herrmann wrote: def myLongRunningMethod(self): BATCH_SIZE = 10 MAX_CONFLICTS = 3 work_items = [some, work, to , do, ...] # list of persistent objects to be modified

[Zope] changing permissions on classes/methods at runtime?

2012-02-29 Thread Jürgen Herrmann
not what i want it to, in fact it doesn't seem to do anything yet - probably because i'm using the wrong way :) any hints how to do this correctly would be greatly appreciated. thank you very much in advance and best regards, Jürgen Herrmann -- XLhost.de ® - Webhosting von supersmall bis eXtra Large

Re: [Zope] changing permissions on classes/methods at runtime?

2012-03-07 Thread Jürgen Herrmann
Am 06.03.2012 09:02, schrieb Lennart Regebro: On Mon, Mar 5, 2012 at 19:22, Sean Upton sdup...@gmail.com wrote: On Wed, Feb 29, 2012 at 7:12 AM, Jürgen Herrmann juergen.herrm...@xlhost.de wrote: hi all! is it possible to change permissions and roles on classes/methods at runtime? normally

Re: [Zope] Zope and security vulnerability: 20121106

2012-11-13 Thread Jürgen Herrmann
/zope-dev ) -- XLhost.de ® - Webhosting von supersmall bis eXtra Large XLhost.de GmbH Jürgen Herrmann, Geschäftsführer Boelckestrasse 21, 93051 Regensburg, Germany Geschäftsführer: Jürgen Herrmann Registriert unter: HRB9918 Umsatzsteuer-Identifikationsnummer: DE245931218 Fon: +49 (0)800

Re: [Zope-dev] RFV: Unicode in Zope 2

2005-12-19 Thread Jürgen Herrmann
systems and not doing the proper unicode conversion dance there... why not design a migration script that converts all non-ascii strings in the db to unicode strings, based on the default encoding, etc... also just some thoughts :) jürgen herrmann ps: what's especially critical here is code

Re: [Zope-dev] [RfC] Removal of old stuff in Zope 2.10

2005-12-20 Thread Jürgen Herrmann
) ___ XLhost.de - eXperts in Linux hosting Jürgen Herrmann Bruderwöhrdstraße 15b, DE-93051 Regensburg Fon: +49 (0)700 XLHOSTDE [0700 95467833] Fax: +49 (0)721 151 463027 WEB: http://www.XLhost.de ___ Zope-Dev maillist - Zope-Dev

[Zope-dev] ImageFile weirdness?

2006-02-22 Thread Jürgen Herrmann
, if called like http://localhost/ImageContainer/1 ? ImageFile inherits from Acquisition.Explicit, nothing else... thanks for your attention, regards, juergen herrmann ___ XLhost.de - eXperts in Linux hosting Jürgen Herrmann

[Zope-dev] ImageFile weirdness?

2006-02-22 Thread Jürgen Herrmann
, if called like http://localhost/ImageContainer/1 ? ImageFile inherits from Acquisition.Explicit, nothing else... thanks for your attention, regards, juergen herrmann ___ XLhost.de - eXperts in Linux hosting Jürgen Herrmann

[Zope-dev] ImageFile weirdness?

2006-02-22 Thread Jürgen Herrmann
, if called like http://localhost/ImageContainer/1 ? ImageFile inherits from Acquisition.Explicit, nothing else... thanks for your attention, regards, juergen herrmann ___ XLhost.de - eXperts in Linux hosting Jürgen Herrmann

Re: [Zope-dev] ImageFile weirdness?

2006-02-23 Thread Jürgen Herrmann
a specific question about ImageFile internals here, thought it would fit in best here, if not - sorry. Jürgen Herrmann wrote: hi all! i have a class ImageContainer in a python product, that has an ImageFile attached, it's named 1.gif: ... image = ImageFile('1.gif', '/some/where

Re: [Zope-dev] Re: Interest in AdvancedQuery and/or ManagableIndex?

2007-02-05 Thread Jürgen Herrmann
? we have enough space and cpu time available, but traffic is an issue if it exceeds one or two mbits average per month (300-600gb)... regards, jürgen herrmann ___ XLhost.de - eXperts in Linux hosting Jürgen Herrmann Konrad

[Zope-dev] zope 2.12.0a4 and CMFCore

2009-05-04 Thread Jürgen Herrmann
! jürgen herrmann -- XLhost.de - eXperts in Linux hosting ® XLhost.de GmbH Jürgen Herrmann, Geschäftsführer Boelckestrasse 21, 93051 Regensburg, Germany Geschäftsführer: Volker Geith, Jürgen Herrmann Registriert unter: HRB9918 Umsatzsteuer-Identifikationsnummer: DE245931218 Fon: +49 (0)700

[Zope-dev] zope2.12.a04 / relstorage / zodbconvert.py errors

2009-05-04 Thread Jürgen Herrmann
Herrmann, Geschäftsführer Boelckestrasse 21, 93051 Regensburg, Germany Geschäftsführer: Volker Geith, Jürgen Herrmann Registriert unter: HRB9918 Umsatzsteuer-Identifikationsnummer: DE245931218 Fon: +49 (0)700 XLHOSTDE [0700 95467833] Fax: +49 (0)700 XLHOSTDE [0700 95467833] WEB: http

Re: [Zope-dev] zope2.12.a04 / relstorage / zodbconvert.py errors

2009-05-05 Thread Jürgen Herrmann
Shane Hathaway wrote: Jürgen Herrmann wrote: ZConfig.SchemaResourceError: import name does not refer to a package Package name: 'relstorage' File name: 'component.xml' Package path: None I need to make a new release of RelStorage before this will work. RelStorage 1.1.3 does

[Zope-dev] zope 2.12.0b1 bugs

2009-05-06 Thread Jürgen Herrmann
: http://new-manage.xlhost.local/bliss/cms no clues on this one. where can i report these two bugs? ...or maybe a fix for 1. best regards, jürgen herrmann -- XLhost.de - eXperts in Linux hosting ® XLhost.de GmbH Jürgen Herrmann, Geschäftsführer Boelckestrasse 21, 93051 Regensburg, Germany

[Zope-dev] zopectl and runzope not working on freshly easy_install'd zope 2.12.0c1

2009-09-22 Thread Jürgen Herrmann
://bugs.launchpad.net/zope2/+bug/434549 just posting this as not everybody seems to be monitoring bugs on launchbad yet. is this a bad idea to post bugs here also? cheers, jürgen -- XLhost.de - eXperts in Linux hosting ® XLhost.de GmbH Jürgen Herrmann, Geschäftsführer Boelckestrasse 21, 93051 Regensburg

Re: [Zope-dev] zopectl and runzope not working on freshly easy_install'd zope 2.12.0c1

2009-09-22 Thread Jürgen Herrmann
On Tue, September 22, 2009 11:54, Andreas Jung wrote: On 22.09.09 11:39, Jürgen Herrmann wrote: good morning everbody! while trying to update my zope 2.12 test installation to 2.12.0c1 via easy_install i ran into problems with zopectl and runzope today. to make sure i didn't screw anything

Re: [Zope-dev] zopectl and runzope not working on freshly easy_install'd zope 2.12.0c1

2009-09-22 Thread Jürgen Herrmann
On Tue, September 22, 2009 12:23, Andreas Jung wrote: On 22.09.09 12:15, Jürgen Herrmann wrote: ... (my_zope)[...@t5-laptop my_zope]$ bin/mkzopeinstance Please choose a directory in which you'd like to install Zope instance home files such as database files, configuration files, etc. Try

Re: [Zope-dev] zopectl and runzope not working on freshly easy_install'd zope 2.12.0c1

2009-09-22 Thread Jürgen Herrmann
On Tue, September 22, 2009 13:31, Andreas Jung wrote: On 22.09.09 13:29, Jürgen Herrmann wrote: On Tue, September 22, 2009 12:23, Andreas Jung wrote: On 22.09.09 12:15, Jürgen Herrmann wrote: ... (my_zope)[...@t5-laptop my_zope]$ bin/mkzopeinstance Please choose a directory in which you'd

Re: [Zope-dev] zopectl and runzope not working on freshly easy_install'd zope 2.12.0c1

2009-09-22 Thread Jürgen Herrmann
On Tue, September 22, 2009 14:10, Andreas Jung wrote: On 22.09.09 14:07, Jürgen Herrmann wrote: On Tue, September 22, 2009 13:31, Andreas Jung wrote: On 22.09.09 13:29, Jürgen Herrmann wrote: On Tue, September 22, 2009 12:23, Andreas Jung wrote: On 22.09.09 12:15, Jürgen Herrmann wrote

[Zope-dev] zope2/zodb cache size question

2010-04-22 Thread Jürgen Herrmann
was used: Connection at 24c10410263104 462834 -- XLhost.de - eXperts in Linux hosting ® XLhost.de GmbH Jürgen Herrmann, Geschäftsführer Boelckestrasse 21, 93051 Regensburg, Germany Geschäftsführer: Volker Geith, Jürgen Herrmann Registriert unter: HRB9918 Umsatzsteuer-Identifikationsnummer

[Zope-dev] zope2/zodb cache size question

2010-04-22 Thread Jürgen Herrmann
? - if no - how can i iterate over a big set of objects without forcing them to stay in the cache for the whole transaction? after all i just need each object once during the iteration. thanks in advance and best regards, jürgen herrmann -- XLhost.de - eXperts in Linux hosting ® XLhost.de GmbH

Re: [Zope-dev] zope2/zodb cache size question

2010-04-22 Thread Jürgen Herrmann
On Thu, 22 Apr 2010 14:56:31 +0200, Jürgen Herrmann juergen.herrm...@xlhost.de wrote: hi there! today i did some sanity check calcs on a set of approx 15 objects in one of our zodb. for these calculations i had to iterate over all of these objects. during this loop memory footprint

Re: [Zope-dev] zope2/zodb cache size question

2010-04-22 Thread Jürgen Herrmann
On Thu, 22 Apr 2010 12:54:55 -0400, Jim Fulton j...@zope.com wrote: On Thu, Apr 22, 2010 at 9:00 AM, Jürgen Herrmann juergen.herrm...@xlhost.de wrote: hi there! today i ran a check script which iterates over approx 15 objects and does some sanity check calculations on these. during

Re: [Zope-dev] beta.zope.org (www.zope.org relaunch project)

2011-05-10 Thread Jürgen Herrmann
- https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope ) -- XLhost.de ® - Webhosting von supersmall bis eXtra Large XLhost.de GmbH Jürgen Herrmann, Geschäftsführer Boelckestrasse 21, 93051 Regensburg, Germany Geschäftsführer: Jürgen Herrmann