[Zope] symbols undefined after product refresh?

2005-04-08 Thread Jürgen Herrmann
hi! after reloading my own products through the zmi it seems like some classes and methods gets undefined. please see the following traceback: ... Module Python expression "here.zuml_parseAndCheckinModel(newConfigDict)", line 1, in Module Products.IDE.IDEContainer, line 176, in zuml_parseAnd

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

2005-04-20 Thread Jürgen Herrmann
[ [EMAIL PROTECTED] wrote:] > I have another problem (not in relation with AUTHENTICATED_USER): > I would like to know if a special function exists to transform special > char in html (like HTMLentities in PHP or escape in javascript) > ___ > Zope maill

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 i

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: ServerName foo.com ServerAdmin [EMAIL PROTECTED] ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/ ProxyPass /misc_ http://localhost:8080/misc_ ProxyPass /p_ http://localhost:8080/p_ 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 (b

[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 time

Re: [Zope] automagic reindexing of objects

2005-06-17 Thread Jürgen Herrmann
[ Jonathan wrote:] > > - Original Message - > From: "Jürgen 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

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

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 gette

Re: [Zope] automagic reindexing of objects

2005-06-22 Thread Jürgen Herrmann
e any (simple) rules? regards, 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 catalogp

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)

[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 h

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

[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 subf

Re: [Zope] bug?

2005-07-06 Thread Jürgen Herrmann
What you're probably after 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: >

[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, chang

[Zope] and ZPublisher?

2005-08-11 Thread Jürgen Herrmann
7;ll upgrade 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 Brud

[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

[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 inte

[Zope] REQUEST not accessible

2005-10-13 Thread Jürgen Herrmann
blem? i don't know what i have changed 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

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

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 r

[Zope] inheriting from SimpleUserFolder's User

2005-10-19 Thread Jürgen Herrmann
e overhead 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

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 ne

[Zope] implicit vs. explicit ownership?

2005-10-20 Thread Jürgen Herrmann
plicit here, or provide a rtfm hint? 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: +

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. >>

[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.or

Re: [Zope] DateTime strftime problem

2005-11-07 Thread Jürgen Herrmann
s for the hint anyway, 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 151 463027 WEB: http://www.XLhost.de

Re: [Zope] DateTime strftime problem

2005-11-07 Thread Jürgen Herrmann
o i have the correct expectation here? what is d.strftime('%Y/%m/%d %H:%M') expected to return then? regards, juergen herrmann _______ >> XLhost.de - eXperts in Linux hosting << Jürgen Herrmann Bruderwöhrdstr

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,

Re: [Zope] DateTime strftime problem

2005-11-08 Thread Jürgen Herrmann
p(). seems like this code is working correctly now. i'll run it against some tests tomorrow and report back on the results. regards, juergen herrmann ___ >> XLhost.de - eXperts in Linux hosting << Jürgen Herrmann Bruderwöhrdstraße 15b, DE-93051 Regensburg Fon: +49 (0)7

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 datet

Re: [Zope] Re: DateTime strftime problem

2005-11-09 Thread Jürgen Herrmann
less you convince us > that it's very unlikely that code would change behavior as a result. > > Florent > > Jürgen Herrmann wrote: >> [ Jürgen Herrmann wrote:] >> >>>i looked at the source of DateTime::strftime(), surpirse, surprise :) >>>strftime

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, s

[Zope] DateTime mess

2005-11-21 Thread Jürgen Herrmann
own freetime (maybe 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

Re: [Zope] DateTime mess

2005-11-21 Thread Jürgen Herrmann
zope or should we better stick to python's datetime? regards, juergen herrmann _______ >> XLhost.de - eXperts in Linux hosting << Jürgen Herrmann Bruderwöhrdstraße 15b, DE-93051 Regensburg

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 esp

[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 dayli

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!

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.

[Zope] standard_error_message as PageTemplate?

2005-11-23 Thread Jürgen Herrmann
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/mail

Re: [Zope] DateTime mess

2005-11-29 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] 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

Re: [Zope] five i18n

2006-01-18 Thread Jürgen Herrmann
our 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 t

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 >> ru

Re: [Zope] five i18n

2006-01-18 Thread Jürgen Herrmann
rn ('DE') and in my overrides.zcml added: 1. is the return value correct? i.e. is a tuple ok? should it be ('DE') or ('de') - tried both to no avail :( 2. does the translation also work with page template files? regards, juergen On Wed, January 18, 2006 14

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): > "

Re: [Zope] five i18n

2006-01-18 Thread Jürgen Herrmann
stuff at all. if so, 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: >> jus

Re: [Zope] LocalFS under Zope2.9

2006-01-20 Thread Jürgen Herrmann
t; 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: +

[Zope] unrestricted pagetemplatefile?

2006-03-23 Thread Jürgen Herrmann
ifficult would 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

Re: [Zope] unrestricted pagetemplatefile?

2006-03-24 Thread Jürgen Herrmann
E-mail: [EMAIL PROTECTED] Web: www.zopyx.com, www.zopyx.de - >--- > ___ > Zope maillist - Zope@zope.org > http://mail.zope.org/mailman/listinfo/zope > *

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

2006-06-01 Thread Jürgen Herrmann
x27; is not defined the "Names" section clearly shows a 'context' entry... anybody seen this or something similar before? (btw. here doesn't work either) regards, juergen ___ >> XLh

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: > Sent: Thursday, June 01, 2006 11:51 AM > Subject: [Zope] global name 'context' not defined in TrustedFSPageTemplate >

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: >> Sent: Thursday, June 01, 2006 11:51 AM >

[Zope] storing persisten object in python dictionaries

2006-10-26 Thread Jürgen Herrmann
ted as a volatile attribute (_v_classContainerDict) 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 Rege

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 >> > probl

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 >> > probl

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

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: >>>> >

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: > > > ServerName www.it-pol.dk > UseCanonicalName Off > Se

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

2007-06-21 Thread Jürgen Herrmann
MAIL PROTECTED] > http://eco-living.net > ___ > Zope maillist - Zope@zope.org > http://mail.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://mail.zope.org/mailman/listinfo/zop

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

2009-01-08 Thread Jürgen Herrmann
s utf16 content and prepends the BOM header. so i'm a bit confused where zope takes it's wisdom from :) anybody? best regards, jürgen herrmann ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or H

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 fi

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 fi

Re: [Zope] RIP Zope 2!

2009-04-03 Thread Jürgen Herrmann
good ideas by bad discussion right from the start. think positive. :) otherwise the zope community will never grow again. everybody can decide 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

[Zope] relstorage on zope 2.10.5

2009-04-27 Thread Jürgen Herrmann
mmand above try to pull 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

[Zope] zope2, buildout and relstorage

2009-04-30 Thread Jürgen Herrmann
d from here? how to use that source tree 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:

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: &

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

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

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:41, Chris Withers wrote: > Jürgen Herrmann wrote: >> of course i added a print statement and check if it's called. >> it is. > > You're missing the point: > > That code has always been called when standard_error_message can't be &g

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 rele

[Zope] sharing instance_home?

2009-11-04 Thread Jürgen Herrmann
es not work, as it's 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 ® << XLhos

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 t

[Zope] long running methods

2010-05-20 Thread Jürgen Herrmann
pproach? 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 Umsatzsteuer-Identifikationsnummer: DE245931218 Fon: +49 (0

Re: [Zope] long running methods

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

Re: [Zope] long running methods

2010-05-23 Thread Jürgen Herrmann
On Thu, 20 May 2010 18:00:43 -0600, Shane Hathaway 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

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

2012-02-29 Thread Jürgen Herrmann
y(Cls) but this does 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 ® - Webhos

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 wrote: On Wed, Feb 29, 2012 at 7:12 AM, Jürgen Herrmann wrote: hi all! is it possible to change permissions and roles on classes/methods at runtime? normally you'd attach security declarations inli

[Zope] RelStorage PosKeyError

2012-03-07 Thread Jürgen Herrmann
POSKeyError: 0x116994 How do i find out which object is broken or how to fix this? thanks in advance & best regards, Jürgen Herrmann -- XLhost.de ® - Webhosting von supersmall bis eXtra Large << XLhost.de GmbH Jürgen Herrmann, Geschäftsführer Boelckestrasse 21, 93051 Regensbur

Re: [Zope] Zope and security vulnerability: 20121106

2012-11-13 Thread Jürgen Herrmann
stinfo/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