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
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
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
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
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
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
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
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
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
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
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
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
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
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:
&
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:
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
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
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
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
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
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
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
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 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
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
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
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
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
>
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
>
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
E-mail: [EMAIL PROTECTED] Web: www.zopyx.com, www.zopyx.de -
>---
> ___
> Zope maillist - Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> *
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
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: +
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
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):
> "
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
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
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
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
_______
>> 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
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
[ 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.
[ 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!
[ 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
[ 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 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
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
[ 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
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
[ 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
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
[ 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,
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
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
______
>> 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
[ 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.
>>
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: +
[ 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
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
[ 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
[ 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
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
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
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
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
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
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:
>
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
[ 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
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
[ 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)
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
[ 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
[ 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
[ 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
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
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
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
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
[ [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
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
81 matches
Mail list logo