[Zope-dev] Zope3 sessions and database conflicts

2010-03-04 Thread Hermann Himmelbauer
Hi, For quite some time I see messages like this in my z3.log: 2010-03-02T16:27:14 WARNING ZopePublication Competing writes/reads at /BSPSite/act/++vh++http:zis.act.at:80/bankneu/++/images/sponsor_logo.png: database conflict error (oid 0x063f, class BTrees.OOBTree.OOBucket, serial this txn star

Re: [Zope-dev] Summary of today's developer meeting

2010-03-03 Thread Hermann Himmelbauer
Am Mittwoch 03 März 2010 11:06:22 schrieb Marius Gedminas: > > def zope_community_work(): > >while 1: > > 'while True' looks better. > > > someone = random.choice(community) > > give_input(someone) > > > > disagree_members = ['cmember1', 'cmember2', 'cmember3'] > > disag

Re: [Zope-dev] Summary of today's developer meeting

2010-03-03 Thread Hermann Himmelbauer
Am Mittwoch 03 März 2010 01:28:21 schrieb Chris McDonough: > On 3/2/10 2:50 PM, Jim Fulton wrote: > > On Tue, Mar 2, 2010 at 2:18 PM, Chris McDonough wrote: > >> On 3/2/10 1:09 PM, Martijn Faassen wrote: > >>> Hi there, > >>> > >>> > Chris McDonough suggests to ponder further structuring of the

[Zope-dev] Buildout reporting 'Temporary failure in name resolution' - any clue why?

2010-02-20 Thread Hermann Himmelbauer
Hi, Since some time when doing a "bin/buildout" I experience the following errors: Download error: (-3, 'Temporary failure in name resolution') -- Some packages may not be found! The problem is probably obvious - some URL may be wrong or the like, but I can't find out which one. The output look

Re: [Zope-dev] Decimal validation error.

2010-02-17 Thread Hermann Himmelbauer
Am Mittwoch 17 Februar 2010 21:37:17 schrieb Mats Nordgren: > Thanks Hermann, > > This still does not work for me. The pattern = '#,##0.' seems to have > no effect on the converter. Perhaps I'm doing something wrong, I'm posting > my setup below. > > This most certainly have to be a bug in the

Re: [Zope-dev] Decimal validation error.

2010-02-11 Thread Hermann Himmelbauer
Am Mittwoch 10 Februar 2010 17:27:09 schrieb Mats Nordgren: > I have an interface with a decimal field. It validates fine for 1,2 and 3 > fractions but if I enter a decimal with 4 fractions I get validation error > "The entered value is not a valid decimal literal." > > I'm using the pypi release

Re: [Zope-dev] Where is the position of BlueBream in Zope ecosystem ?

2010-01-23 Thread Hermann Himmelbauer
Am Freitag 22 Januar 2010 22:00:57 schrieb Lennart Regebro: > Does this mailinglist accept attachements? > > Let's test. That is cool and understandable! Best Regards, Hermann -- herm...@qwer.tk GPG key ID: 299893C7 (on keyservers) FP: 0124 2584 8809 EF2A DBF9 4902 64B4 D16B 2998 93C7

Re: [Zope-dev] Where is the position of BlueBream in Zope ecosystem ?

2010-01-22 Thread Hermann Himmelbauer
Am Freitag 22 Januar 2010 14:46:16 schrieb Lennart Regebro: > On Fri, Jan 22, 2010 at 04:55, Alex Clark wrote: > > We certainly > > have not reached the goal of helping newcomers understand the Zope > > ecosystem in any other way to date, IMO.) > > If this is so, then I'm surprised. It seems perfe

Re: [Zope-dev] Where is the position of BlueBream in Zope ecosystem ?

2010-01-21 Thread Hermann Himmelbauer
Am Donnerstag 21 Januar 2010 09:29:46 schrieb Lennart Regebro: > On Thu, Jan 21, 2010 at 08:29, Hermann Himmelbauer wrote: > > Thanks for clearing this up. What I don't understand is: Is ZCA now part > > of the ZTK or not? I had the impression that ZCA is merely a set of >

Re: [Zope-dev] Where is the position of BlueBream in Zope ecosystem ?

2010-01-20 Thread Hermann Himmelbauer
Am Donnerstag 21 Januar 2010 07:48:30 schrieb Baiju M: > On Thu, Jan 21, 2010 at 11:03 AM, Baiju M wrote: > > On Thu, Jan 21, 2010 at 10:53 AM, Baiju M wrote: > >> Please read the sentence once again: > >> > >> "BFG evolved around Zope 3, which primarily utilize certain library > >> packages from

Re: [Zope-dev] Where is the position of BlueBream in Zope ecosystem ?

2010-01-20 Thread Hermann Himmelbauer
Am Donnerstag 21 Januar 2010 06:15:58 schrieb Tres Seaver: > Baiju M wrote: > > On Thu, Jan 21, 2010 at 9:05 AM, Hanno Schlichting wrote: > >> On Thu, Jan 21, 2010 at 3:56 AM, Baiju M wrote: > >>> I would like to get your opinion about this position statement, > > Channeling Chris here:

Re: [Zope-dev] Technical Decisions

2010-01-11 Thread Hermann Himmelbauer
Am Sonntag 10 Januar 2010 02:08:32 schrieb Baiju M: > Hi All, > Here are few technical decisions I made so far: > http://svn.zope.org/bluebream/trunk/docs/source/notes.txt?view=markup > > Looking for your feedback and comments. > > - BlueBream is a "web framework". > > - BlueBream can be c

Re: [Zope-dev] New Zope 3 name: BlueBream

2010-01-07 Thread Hermann Himmelbauer
Am Donnerstag 07 Januar 2010 04:56:33 schrieb Baiju M: > On Wed, Jan 6, 2010 at 9:11 PM, Alex Clark wrote: > >> BTW, the original meaning of "BlueBream" is > >> same as that of "Zope": > >> http://en.wikipedia.org/wiki/Abramis_ballerus > > > > Cute! FTR, I will be shortening BlueBream to BB. I agr

Re: [Zope-dev] New Zope 3 name: BlueBream

2010-01-06 Thread Hermann Himmelbauer
Am Dienstag 05 Januar 2010 16:54:28 schrieb Ethan Jucovy: > On Tue, Jan 5, 2010 at 9:29 AM, Stephan Richter < > > srich...@cosmos.phy.tufts.edu> wrote: > > On Monday 04 January 2010, Baiju M wrote: > > > I am proposing to call "Zope 3 - the web frame work" > > > as "BlueBream". The main u

Re: [Zope-dev] shrinking the ZTK: a proposed solution

2010-01-05 Thread Hermann Himmelbauer
Am Dienstag 05 Januar 2010 16:18:17 schrieb Andreas Jung: > Lennart Regebro wrote: > > On Tue, Jan 5, 2010 at 16:10, Hermann Himmelbauer > > > > wrote: > >> Hmmm. Bad luck for me. > > > > It would be interesting to know why you have to use Python 2.4. &g

Re: [Zope-dev] shrinking the ZTK: a proposed solution

2010-01-05 Thread Hermann Himmelbauer
Am Dienstag 05 Januar 2010 16:12:02 schrieb Lennart Regebro: > On Tue, Jan 5, 2010 at 16:10, Hermann Himmelbauer wrote: > > Hmmm. Bad luck for me. > > It would be interesting to know why you have to use Python 2.4. My application relies on the MaxDB database (former SAP-DB). They

Re: [Zope-dev] shrinking the ZTK: a proposed solution

2010-01-05 Thread Hermann Himmelbauer
Am Dienstag 05 Januar 2010 16:05:34 schrieb Laurence Rowe: > 2010/1/5 Hermann Himmelbauer : > > Am Dienstag 05 Januar 2010 14:37:51 schrieb Martijn Faassen: > >> Hermann Himmelbauer wrote: > >> > Am Dienstag 05 Januar 2010 11:58:38 schrieb Martijn Faassen: >

Re: [Zope-dev] shrinking the ZTK: a proposed solution

2010-01-05 Thread Hermann Himmelbauer
Am Dienstag 05 Januar 2010 14:37:51 schrieb Martijn Faassen: > Hermann Himmelbauer wrote: > > Am Dienstag 05 Januar 2010 11:58:38 schrieb Martijn Faassen: > >> Hermann Himmelbauer wrote: > >>> But I have to further state that I'm locked into Zope 3.4.0 as t

Re: [Zope-dev] shrinking the ZTK: a proposed solution

2010-01-05 Thread Hermann Himmelbauer
Am Montag 04 Januar 2010 23:10:05 schrieb Tres Seaver: > Martijn Faassen wrote: > > Obviously I cannot *force* ZTK > > maintainers to worry about this. Instead I'm appealing to your > > self-interest. And of course the transition burden is shared and should > > not fall solely or even predominantly

Re: [Zope-dev] shrinking the ZTK: a proposed solution

2010-01-05 Thread Hermann Himmelbauer
Am Dienstag 05 Januar 2010 11:58:38 schrieb Martijn Faassen: > Hermann Himmelbauer wrote: > > But I have to further state that I'm locked into Zope 3.4.0 as the > > support for Python 2.4 was dropped, so I can't upgrade to the current > > ZTK. > > This is

Re: [Zope-dev] shrinking the ZTK: a proposed solution

2010-01-04 Thread Hermann Himmelbauer
Am Montag 04 Januar 2010 23:10:05 schrieb Tres Seaver: > Martijn Faassen wrote: > > Hi there, > > > > So here's my proposed solution for the ZTK shrinking issue: > Should the zopeapp set get users (e.g., Baiju's BlueBream takes off, or > if another Z3-based app ports to using it), that will make su

Re: [Zope-dev] New Zope 3 name: BlueBream

2010-01-04 Thread Hermann Himmelbauer
Am Montag 04 Januar 2010 20:16:50 schrieb Jan Ulrich Hasecke: > On 04.01.10 19:23, Baiju M wrote: > > Hi All, > > I am proposing to call "Zope 3 - the web frame work" > > as "BlueBream". The main use for name is documentation. > > Coming from marketing I strongly suggest to think twice or

Re: [Zope-dev] implementing zope.component 4.0

2009-12-01 Thread Hermann Himmelbauer
Am Montag 30 November 2009 16:57:11 schrieb Gary Poster: > 1) The term "adapter" is a barrier to understandability, in my interviews. > This is particularly the case when people are introduced to the idea of > "multiadapter" and "supscription adapter". In what ways are these anything > like a typ

Re: [Zope-dev] Zope3 server with SIGSEGV - what to do?

2009-11-26 Thread Hermann Himmelbauer
Am Mittwoch 25 November 2009 13:07:58 schrieb Benji York: > On Wed, Nov 25, 2009 at 1:42 AM, Hermann Himmelbauer wrote: > > Ah, thanks that could be. My current version is zope.security-3.4.1 (as > > from KGS-3.4.0). > > > > The real bad thing about this is that i

Re: [Zope-dev] Zope3 server with SIGSEGV - what to do?

2009-11-24 Thread Hermann Himmelbauer
Am Dienstag 24 November 2009 22:12:00 schrieb Benji York: > On Tue, Nov 24, 2009 at 4:04 PM, Hermann Himmelbauer wrote: > > This occurs once in a while, so it seems something segfaults and the > > server seems to notice that and restarts. > > > > Any clue what to d

[Zope-dev] Zope3 server with SIGSEGV - what to do?

2009-11-24 Thread Hermann Himmelbauer
Hi, In my Zope3 (I use Zope 3.4.0) logs I just found some curious entries: -- snip --- 2009-10-23T12:20:41 INFO root pid 21278: terminated by SIGSEGV -- 2009-10-23T12:20:41 INFO root spawned process pid=1502 -- 2009-10-23T12:21:12 INFO WSGIHT

Re: [Zope-dev] ZODB Competing read/writes: How to find out which attribute?

2009-10-10 Thread Hermann Himmelbauer
Am Freitag 09 Oktober 2009 19:12:09 schrieb Shane Hathaway: > Hermann Himmelbauer wrote: > > Hi, > > I once in the while get the following warning in my Zope 3 log, which I'd > > like to resolve: > > > > 2009-10-07T14:35:41 WARNING ZopePublication Competin

Re: [Zope-dev] ZODB Competing read/writes: How to find out which attribute?

2009-10-10 Thread Hermann Himmelbauer
Am Freitag 09 Oktober 2009 21:44:12 schrieb Roger Ineichen: > Hi Hermann > > > Betreff: Re: [Zope-dev] ZODB Competing read/writes: How to > > find out which attribute? > > > > Hermann Himmelbauer wrote: > > > Hi, > > > I once in the while get the f

[Zope-dev] ZODB Competing read/writes: How to find out which attribute?

2009-10-09 Thread Hermann Himmelbauer
Hi, I once in the while get the following warning in my Zope 3 log, which I'd like to resolve: 2009-10-07T14:35:41 WARNING ZopePublication Competing writes/reads at /BSPSite/act/++vh++http:zis.act.at:80/bankneu/++/c/acc/booklist/index.html: database conflict error (oid 0x7a5d, class BTrees.OOBT

[Zope-dev] z3c.form: Need to register SimpleFieldValidator in local site - how?

2009-09-30 Thread Hermann Himmelbauer
Hi, I currently have the following simple validator: --- snip -- class ActEmailValidator(SimpleFieldValidator): """Validates ACT E-Mail Addresses for customers""" def validate(self, value): super(ActEmailValidator, self).validate(value) if geta

Re: [Zope-dev] zc.async: cron replacement?

2009-06-25 Thread Hermann Himmelbauer
Am Mittwoch 24 Juni 2009 19:19:17 schrieb Reinout van Rees: > Hi all, > > In messages like > http://www.mail-archive.com/zope3-...@zope.org/msg05964.html, zc.async is > mentioned as the solution for cron-like functionality in zope. Effectively > you would not need zope2's clockserver. > > Reading z

[Zope-dev] How to include a

2009-05-25 Thread Hermann Himmelbauer
Hi, I'm currently to make my application printer-friendly, thus I'd like to include a print-CSS file. Currently, I include CSS-files like that: This creates the follow

[Zope-dev] Decimal formatter truncating to 3 decimal places - why?

2009-05-07 Thread Hermann Himmelbauer
Hi, In my code, I use the decimal.Decimal datatype, which I try to format like this: formatter = self.request.locale.numbers.getFormatter('decimal') formatted_value = formatter.format(value) The problem is, that the decimal number is truncated (rounded) to 3 decimal places, e.g. 1.123456 -> 1.1

Re: [Zope-dev] dropping Python 2.4 support in the Zope Toolkit?

2009-05-05 Thread Hermann Himmelbauer
Am Dienstag 05 Mai 2009 16:46:03 schrieb Martijn Faassen: > Hey, > > Martijn Faassen wrote: > > Martijn Faassen wrote: > >> In order to get to a conclusion: > >> > >> I haven't seen convincing arguments yet *not* to drop the Python 2.4 for > >> new releases of the Zope Toolkit libraries. > >> > >>

Re: [Zope-dev] dropping Python 2.4 support in the Zope Toolkit?

2009-04-27 Thread Hermann Himmelbauer
Am Montag 27 April 2009 16:44:17 schrieb Martijn Faassen: > Hi there, > > What do people feel about dropping Python 2.4 support in the Zope > Toolkit? I.e. new releases of packages in the Zope Toolkit (handwave > vaguely as we *still* don't have a canonical list) only have to work in > Python 2.5 (

Re: [Zope-dev] ComputedAttribute Object

2009-04-27 Thread Hermann Himmelbauer
Am Montag 27 April 2009 10:59:21 schrieb Sandrine Meyantchop: > sorry but self.title() don't work also I personally get along in such situations by displaying something like "self.__dict__" or "dir(self)" in a log file and handling from object to object if necessary. Best Regards, Hermann --

Re: [Zope-dev] who wants to maintain Zope 3?

2009-04-15 Thread Hermann Himmelbauer
Am Mittwoch 15 April 2009 09:24:23 schrieb Martijn Faassen: > Hey, > > Tim Hoffman wrote: > > I thhink just dropping zmi is ploblematical > > without a management ui alternative. How would you propose managing > > things like per instance pluggable auth components. zcml is not enough > > and nor is

Re: [Zope-dev] who wants to maintain the Zope 3 ZMI?

2009-04-14 Thread Hermann Himmelbauer
Am Dienstag 14 April 2009 19:31:32 schrieb Martijn Faassen: > Hey Fabio, > > Fabio Tranchitella wrote: > > * 2009-04-14 18:35, Martijn Faassen wrote: > >> So, who finds the Zope 3 ZMI useful? What parts of it do you find > >> useful? Are you interested in helping maintain it? > > > > We use the ZMI

Re: [Zope-dev] who wants to maintain Zope 3?

2009-04-14 Thread Hermann Himmelbauer
Am Dienstag 14 April 2009 19:32:20 schrieb Fabio Tranchitella: > Hello, > > * 2009-04-14 19:25, Martijn Faassen wrote: > > Do you use the Zope 3 ZMI a lot? > > It depends on your meaning of "a lot": we do not use it as main UI, not > even for the back-end, nevertheless we often use it for managing

Re: [Zope-dev] who wants to maintain Zope 3?

2009-04-14 Thread Hermann Himmelbauer
Am Montag 13 April 2009 16:33:02 schrieb Lennart Regebro: > On Mon, Apr 13, 2009 at 12:49, Hermann Himmelbauer wrote: > > I personally find it interesting that people are that fast with turning > > around and killing off things. I personally based my decision for Zope 3 > > o

Re: [Zope-dev] who wants to maintain Zope 3?

2009-04-13 Thread Hermann Himmelbauer
Am Samstag 11 April 2009 15:05:31 schrieb Hanno Schlichting: > Roger Ineichen wrote: > >> Betreff: [Zope-dev] who wants to maintain Zope 3? > >> Is anyone interested in maintaining Zope 3? > > /me is certainly not > > >> With Zope 3 I mean: > > > > I think we should take a look if we can build a mi

Re: [Zope-dev] the Zope Framework project

2009-03-05 Thread Hermann Himmelbauer
Am Mittwoch 04 März 2009 19:00:12 schrieb Baiju M: > On Wed, Mar 4, 2009 at 9:55 PM, Martijn Faassen > wrote: > > [snip] > > > The steering group isn't intended to take a responsibility for the > > entirety of the Zope software. Zope 2, Grok and the Zope 3 app server > > (which would be a distinct

Re: [Zope-dev] the Zope Framework project

2009-03-05 Thread Hermann Himmelbauer
Am Mittwoch 04 März 2009 17:48:37 schrieb Martijn Faassen: > Hi there, > > Lennart Regebro wrote: > [snip] > > > And it is in any case in no way even remotely connected to the group > > Martijn proposed and has been discussed in this thread. > > - Attracting newbies to web development is not a task

Re: [Zope-dev] the Zope Framework project

2009-03-05 Thread Hermann Himmelbauer
Am Mittwoch 04 März 2009 18:03:17 schrieb Lennart Regebro: > On Wed, Mar 4, 2009 at 17:48, Martijn Faassen wrote: > > Note that the Zope Steering group is not about > > packages that are not in the framework, so if lovely.remotetask isn't > > there, it can say little. > > Which is exactly my poin

Re: [Zope-dev] the Zope Framework project

2009-03-04 Thread Hermann Himmelbauer
Am Mittwoch 04 März 2009 10:25:19 schrieb Lennart Regebro: > On Wed, Mar 4, 2009 at 10:04, Hermann Himmelbauer wrote: > > What I don't see in your proposal is, how these subset-groups would be > > coordinated, which leads to the following: > > - How does some forei

Re: [Zope-dev] the Zope Framework project

2009-03-04 Thread Hermann Himmelbauer
Am Mittwoch 04 März 2009 08:16:26 schrieb Lennart Regebro: > On Wed, Mar 4, 2009 at 07:52, Chris McDonough wrote: > > Tather than reply in kind here, let me summarize:  I'm glad we agree more > > than we disagree, and I apologize if I've attributed to you beliefs that > > you don't have.  It's hea

Re: [Zope-dev] the Zope Framework project

2009-03-04 Thread Hermann Himmelbauer
Am Mittwoch 04 März 2009 07:52:09 schrieb Chris McDonough: > Tather than reply in kind here, let me summarize: I'm glad we agree more > than we disagree, and I apologize if I've attributed to you beliefs that > you don't have. It's heartening to hear that you're in favor of most of > the things I

Re: [Zope-dev] the Zope Framework project

2009-03-03 Thread Hermann Himmelbauer
Am Dienstag 03 März 2009 08:19:37 schrieb Lennart Regebro: > On Tue, Mar 3, 2009 at 01:51, Martijn Faassen wrote: > > Can you stop using the word "committee"? I didn't use it. A committee is > > a bunch of people who has regular meetings, behind closed doors, to make > > decisions. That's not wha

Re: [Zope-dev] the Zope Framework project

2009-03-03 Thread Hermann Himmelbauer
Am Dienstag 03 März 2009 00:48:38 schrieb Lennart Regebro: > On Tue, Mar 3, 2009 at 00:16, Martijn Faassen wrote: > > Who is going to make that decision to encourage this? Allow this? You? > > Me? Who? Right now, *nobody* is making such decisions and nobody can > > properly get away with saying t

Re: [Zope-dev] the Zope Framework project

2009-03-03 Thread Hermann Himmelbauer
Am Montag 02 März 2009 19:34:11 schrieb Tres Seaver: > Adam GROSZER wrote: > > I think we need some sort of stering group (or person(s)). > > Without rules and decisions to follow we're going to end up like headless > > chicken running around in the kitchen. Noone knows the direction. > > > > Yes s

Re: [Zope-dev] the Zope Framework project

2009-03-03 Thread Hermann Himmelbauer
Am Montag 02 März 2009 18:49:43 schrieb Adam GROSZER: > Hello, > > I think we need some sort of stering group (or person(s)). > Without rules and decisions to follow we're going to end up like headless > chicken running around in the kitchen. Noone knows the direction. Exactly. And if we look at o

Re: [Zope-dev] the Zope Framework project

2009-03-03 Thread Hermann Himmelbauer
Am Montag 02 März 2009 18:11:59 schrieb Chris McDonough: > Martijn Faassen wrote: > > The Zope Framework project > > == > > > > :Author: Martijn Faassen > > :Date: 2009-03-02 > > > > Introduction > > > > > > This document offers suggestions to reorganize our com

Re: [Zope-dev] Planning for Zope 3.5

2009-02-08 Thread Hermann Himmelbauer
Am Sonntag 01 Februar 2009 07:51:43 schrieb Stephan Richter: > Hi all, > > now that we have Zope 3.4.0 finally behind us, let's look forward. As I > said in the release notes, I am really willing to switch to a 6 months > release cycle again. > > I think there are three areas that we can work on: >

[Zope-dev] Strange session behaviour (persistent session data container + Page Reloads)

2009-01-05 Thread Hermann Himmelbauer
Hi, I experience a strange behavior of persistent session data container here. I configured the container as described in various sources, and, what I do next, is something like that: sess = ISession(self.request)['mykey'] print id(sess) This outputs an arbitrary ID of the session object. Inter

Re: [Zope-dev] z3c.form 2.0 release

2008-12-10 Thread Hermann Himmelbauer
Am Mittwoch 10 Dezember 2008 13:02:02 schrieb Roger Ineichen: > Hi Herman > > > Betreff: Re: [Zope-dev] z3c.form 2.0 release > > > > Am Dienstag 09 Dezember 2008 16:24:41 schrieb Roger Ineichen: > > > Hi Brian > > > > > > > Betreff: Re: [Zope-dev] z3c.form 2.0 release > > > > > > > > On Sun, Dec 07

Re: [Zope-dev] z3c.form 2.0 release

2008-12-10 Thread Hermann Himmelbauer
Am Dienstag 09 Dezember 2008 16:24:41 schrieb Roger Ineichen: > Hi Brian > > > Betreff: Re: [Zope-dev] z3c.form 2.0 release > > > > On Sun, Dec 07, 2008 at 11:27:01PM -0800, Stephan Richter wrote: > > > On Friday 05 December 2008, Martin Aspeli wrote: > > > > Is there any indication on when we'll s

[Zope-dev] zope.sqlalchemy: Decoupling Zope3 and SQLAlchemy commit - how? Should I?

2008-11-02 Thread Hermann Himmelbauer
Hi, In one of my Zope3 projects, I use lovely.remotetask to run specific tasks in background. These tasks do lengthy database operations via zope.sqlalchemy. Currently, lovely.remotetask seems to do a Zope3 commit() at the end of the task, which also does the SQLAlchemy commit. However, some ta

Re: [Zope-dev] ZopePublication Competing writes/reads

2008-10-24 Thread Hermann Himmelbauer
Am Donnerstag 23 Oktober 2008 15:31:05 schrieb Zvezdan Petkovic: > On Oct 23, 2008, at 5:27 AM, Hermann Himmelbauer wrote: > > Am Mittwoch 22 Oktober 2008 16:44:58 schrieb Satchidanand Haridas: > >> What version of zope.session are you using? > >> > >> A fix (u

Re: [Zope-dev] ZopePublication Competing writes/reads

2008-10-23 Thread Hermann Himmelbauer
Am Mittwoch 22 Oktober 2008 16:44:58 schrieb Satchidanand Haridas: > What version of zope.session are you using? > > A fix (using zope.minmax) for ConflictErrors related to the update of > access time on sessionData object was committed into zope.session in > rev76899. Not sure if that solves this

Re: [Zope-dev] ZopePublication Competing writes/reads

2008-10-22 Thread Hermann Himmelbauer
Am Mittwoch 22 Oktober 2008 00:03:51 schrieb Marius Gedminas: > On Mon, Oct 20, 2008 at 06:56:39PM +0200, Hermann Himmelbauer wrote: > > Just by chance, I pressed the reload button of my browser for quite some > > time, so that my Zope3-based site was reloaded over and over. I was &

[Zope-dev] ZopePublication Competing writes/reads

2008-10-20 Thread Hermann Himmelbauer
Hi, Just by chance, I pressed the reload button of my browser for quite some time, so that my Zope3-based site was reloaded over and over. I was surprised to find the following in the logs: 2008-10-20T18:45:15 WARNING ZopePublication Competing writes/reads at /BSPSite/act/s/info: database confl

Re: [Zope-dev] Errors / Warnings in Zope log - what to do?

2008-10-20 Thread Hermann Himmelbauer
Am Sonntag 19 Oktober 2008 09:28:25 schrieb Dieter Maurer: > Hermann Himmelbauer wrote at 2008-10-17 23:04 +0200: > >During testing, I found the following warnings/errors in my zope log: > > > >--- > >2008-10-17T17:56:50 WARNING ZopePublication Competing write

Re: [Zope-dev] Double usage of vocabulary in z3c.form seems to fail

2008-10-17 Thread Hermann Himmelbauer
Am Freitag 17 Oktober 2008 18:06:34 schrieb Hermann Himmelbauer: > Hi, > I currently have two schema.Choice() fields in my z3c.form - based form, > that references the same vocabulary. Aeh, sorry, forget about it - I had a mistake in my page template, which referenced the same widge

[Zope-dev] Errors / Warnings in Zope log - what to do?

2008-10-17 Thread Hermann Himmelbauer
Hi, During testing, I found the following warnings/errors in my zope log: --- 2008-10-17T17:56:50 WARNING ZopePublication Competing writes/reads at ???: database conflict error (oid 0x06d3, class zc.queue._queue.BucketQueue, serial this txn started with 0x0379451cbf5d7bdd 2008-10-17 15:56:44

[Zope-dev] Double usage of vocabulary in z3c.form seems to fail

2008-10-17 Thread Hermann Himmelbauer
Hi, I currently have two schema.Choice() fields in my z3c.form - based form, that references the same vocabulary. runjobs = Choice( title = u'Job', vocabulary=('cronjobsVocabulary'), required = False) cronjobs = Choice( title = u'Periodic Jobs', vo

[Zope-dev] Cron jobs with lovely.remotetask - how to start?

2008-10-15 Thread Hermann Himmelbauer
Hi, In my application, I'd like to run a service once a day that does some processing. It seems that lovely.remotetask can do that. In my scenario, I have multiple sites, whereas each one should have such a cron job. What I do is the following: In zope.conf: autostart [EMAIL PR

[Zope-dev] z3c.form: Customer errors for Converter errors

2008-09-23 Thread Hermann Himmelbauer
Hi, I'm currently trying to modify the error message for converter errors in z3c.form. For instance, if I have an Int() field and input characters there, the message is: The entered value is not a valid integer literal. So, I'd like to write a message such as "Please enter numbers only". I tri

[Zope-dev] zope.i18n/z3c.form: Date localizing problems

2008-09-23 Thread Hermann Himmelbauer
Hi, I'm currently implementing a simple date widget/field (birth date) in my z3c.form - based form. My two main languages are Englisch and German. In German, I'd like to write the date such as dd.mm. And in English, something suitable would be something like mm/dd/. However, that does no

Re: [Zope-dev] Where to put custom schemas for z3c.form that depend onspecific libraries?

2008-09-20 Thread Hermann Himmelbauer
Am Samstag 20 September 2008 03:37:00 schrieb Roger Ineichen: > Hi Hermann > > > Betreff: [Zope-dev] Where to put custom schemas for z3c.form > > that depend onspecific libraries? > > > > Hi, > > I need to create a specific schema for international bank > > account numbers (IBAN). I'd like to contr

[Zope-dev] Where to put custom schemas for z3c.form that depend on specific libraries?

2008-09-19 Thread Hermann Himmelbauer
Hi, I need to create a specific schema for international bank account numbers (IBAN). I'd like to contribute this widget (maybe someone has use for it). However, this schema needs a specific library for validation, therefore I wonder where to put it? If I put it in z3c.schema (e.g. z3c.schema.ib

Re: [Zope-dev] zope.sqlalchemy locks up transaction

2008-09-19 Thread Hermann Himmelbauer
Am Freitag 19 September 2008 11:59:55 schrieb Laurence Rowe: > 2008/9/19 Hermann Himmelbauer <[EMAIL PROTECTED]>: > > Am Donnerstag 18 September 2008 07:08:56 schrieb Dieter Maurer: > >> Brian Sutherland wrote at 2008-9-17 12:33 +0200: > >> >On Tue, Sep 16, 200

Re: [Zope-dev] zope.sqlalchemy locks up transaction

2008-09-19 Thread Hermann Himmelbauer
Am Donnerstag 18 September 2008 07:08:56 schrieb Dieter Maurer: > Brian Sutherland wrote at 2008-9-17 12:33 +0200: > >On Tue, Sep 16, 2008 at 02:01:07PM +0100, Laurence Rowe wrote: > >> Brian Sutherland wrote: > >> > Hi, > >> > > >> > I've recently seen a situation where zope.sqlalchemy locked up t

Re: [Zope-dev] Call for translating z3c.form

2008-09-06 Thread Hermann Himmelbauer
Am Freitag 05 September 2008 17:09:16 schrieb Christophe Combelles: > Dan Korostelev a écrit : > > Hello, fellow users and developers of zope components! > > > > I just added support for i18n in z3c.form, so it can be now translated > > to many languages. If you want to contribute to z3c.form > > i

Re: [Zope-dev] Idea: Create SQL-Alchemy tables via interfaces

2008-09-04 Thread Hermann Himmelbauer
Am Donnerstag 04 September 2008 12:49:17 schrieb Martijn Faassen: > Hermann Himmelbauer wrote: > [snip] > > > - The real reason I need the interfaces is that I have to include them in > > my configure.zcml in order to make the underlying objects read/writeable. > >

Re: [Zope-dev] Idea: Create SQL-Alchemy tables via interfaces

2008-09-04 Thread Hermann Himmelbauer
Am Donnerstag 04 September 2008 09:10:22 schrieb Brian Sutherland: > On Wed, Sep 03, 2008 at 05:18:50PM +0200, Hermann Himmelbauer wrote: > > Am Mittwoch 03 September 2008 16:02:17 schrieb Brian Sutherland: > > > On Wed, Sep 03, 2008 at 02:43:31PM +0200, Hermann Himmelbauer

Re: [Zope-dev] Idea: Create SQL-Alchemy tables via interfaces

2008-09-03 Thread Hermann Himmelbauer
Am Mittwoch 03 September 2008 17:30:23 schrieb Martijn Faassen: > Hi there, > > On Wed, Sep 3, 2008 at 4:34 PM, Hermann Himmelbauer <[EMAIL PROTECTED]> wrote: > [snip] > > >> In megrok.rdb we've sketched out the reverse of your approach: derive > >>

Re: [Zope-dev] Idea: Create SQL-Alchemy tables via interfaces

2008-09-03 Thread Hermann Himmelbauer
Am Mittwoch 03 September 2008 16:02:17 schrieb Brian Sutherland: > On Wed, Sep 03, 2008 at 02:43:31PM +0200, Hermann Himmelbauer wrote: > > Hi, > > In my current SQLAlchemy / Zope-based design, I need the following: > > > > - SQLAlchemy table definitions > &g

Re: [Zope-dev] Idea: Create SQL-Alchemy tables via interfaces

2008-09-03 Thread Hermann Himmelbauer
Am Mittwoch 03 September 2008 15:14:22 schrieb Martijn Faassen: > Hey Hermann, > > Hermann Himmelbauer wrote: > > In my current SQLAlchemy / Zope-based design, I need the following: > > > > - SQLAlchemy table definitions > > - classes + mappers > > - Zope i

[Zope-dev] Idea: Create SQL-Alchemy tables via interfaces

2008-09-03 Thread Hermann Himmelbauer
Hi, In my current SQLAlchemy / Zope-based design, I need the following: - SQLAlchemy table definitions - classes + mappers - Zope interfaces The problem with this design is that much data has to be defined twice, e.g. the datatype "varchar(50)" should be represented by an interface with TextLin

Re: [Zope-dev] z3c.form - extraction from sequence widget

2008-08-29 Thread Hermann Himmelbauer
Am Donnerstag 28 August 2008 17:45:58 schrieb Marius Gedminas: > On Thu, Aug 28, 2008 at 05:26:20PM +0200, Hermann Himmelbauer wrote: > > Am Donnerstag 28 August 2008 10:14:11 schrieb Martin Aspeli: > > > What about the case when you have a list of options of which you need >

Re: [Zope-dev] z3c.form - extraction from sequence widget

2008-08-29 Thread Hermann Himmelbauer
Am Donnerstag 28 August 2008 23:55:24 schrieb Martin Aspeli: > Hermann Himmelbauer wrote: > > Am Donnerstag 28 August 2008 02:35:28 schrieb Marius Gedminas: > >> On Wed, Aug 27, 2008 at 05:15:48PM -0700, Stephan Richter wrote: > >>> On Wednesday 27 August 2008, Ma

Re: [Zope-dev] z3c.form - extraction from sequence widget

2008-08-28 Thread Hermann Himmelbauer
Am Donnerstag 28 August 2008 10:14:11 schrieb Martin Aspeli: > Marius Gedminas wrote: > > On Wed, Aug 27, 2008 at 05:15:48PM -0700, Stephan Richter wrote: > >> On Wednesday 27 August 2008, Martin Aspeli wrote: > >>> This means that if the request contains the empty-marker only (no > >>> selection w

Re: [Zope-dev] z3c.form - extraction from sequence widget

2008-08-28 Thread Hermann Himmelbauer
Am Donnerstag 28 August 2008 02:35:28 schrieb Marius Gedminas: > On Wed, Aug 27, 2008 at 05:15:48PM -0700, Stephan Richter wrote: > > On Wednesday 27 August 2008, Martin Aspeli wrote: > > > This means that if the request contains the empty-marker only (no > > > selection was made) for a checkbox wi

[Zope-dev] Problems with schema Date field - year is truncated

2008-08-27 Thread Hermann Himmelbauer
Hi, I'm somehow stuck on the following problem: I defined a Date() schema field in one of my interfaces. I currently have a de-AT locale, so I'd like to enter the value of my date as e.g. "dd.MM.", e.g. "01.02.1980" in my z3c.form based form. What happens is, that the locale silently assume

[Zope-dev] Possible bug in zope.sqlalchemy - missing commit()

2008-08-27 Thread Hermann Himmelbauer
Hi, I'm experiencing some possible bug with sqlalchemy here: - I query for some data - Update some data - Make no flush (autoflush is set to False) Then no commit is issued, hence my data is not updated in the database. At least, I looked at the function "tpc_vote" and put some print statement

Re: [Zope-dev] How to put "<", ">" in HTML attributes?

2008-08-21 Thread Hermann Himmelbauer
Am Mittwoch 20 August 2008 19:59:37 schrieb Christian Theune: > On Wed, 2008-08-20 at 19:34 +0200, Hermann Himmelbauer wrote: > > Hi, > > I have a page template, that should have the characters "<" and ">" in > > the resulting HTML code, e.g.: >

[Zope-dev] How to put "<", ">" in HTML attributes?

2008-08-20 Thread Hermann Himmelbauer
Hi, I have a page template, that should have the characters "<" and ">" in the resulting HTML code, e.g.: Zope3 makes a < / &rt; out of the "<>" characters: But this makes no difference. Any clues? Best Regards, Hermann P.S.: I know, this seems to make no sense, but the page is a template

Re: [Zope-dev] Re: [Plone-developers] PAULA: bringing Zope 3's authentication to Plone and beyond

2008-07-18 Thread Hermann Himmelbauer
Am Freitag, 18. Juli 2008 03:55 schrieb Florian Friesdorf: > On Wed, Jul 16, 2008 at 10:20:58AM +0200, Hermann Himmelbauer wrote: > > Am Mittwoch, 16. Juli 2008 05:48 schrieb Florian Friesdorf: > > > InternalPrincipal is a persistent object used to store the data of >

Re: [Zope-dev] Re: [Plone-developers] PAULA: bringing Zope 3's authentication to Plone and beyond

2008-07-16 Thread Hermann Himmelbauer
Am Mittwoch, 16. Juli 2008 05:48 schrieb Florian Friesdorf: > On Mon, Jul 14, 2008 at 09:50:25AM +0200, Hermann Himmelbauer wrote: > > (..) > > 1) No way to pass PAU-related information to form-code: In PAU, the > > (..) > > 2) Lack of documentation: The entities &q

Re: [Zope-dev] Re: [Plone-developers] PAULA: bringing Zope 3's authentication to Plone and beyond

2008-07-14 Thread Hermann Himmelbauer
Am Samstag, 12. Juli 2008 03:04 schrieb Florian Friesdorf: > On Thu, Jul 10, 2008 at 10:56:19PM +0200, Wichert Akkerman wrote: > > Previously Florian Friesdorf wrote: > > > Hi *, > > PAS works fine and covers a lot more functionality than PAU and there are > > more PAS plugins than PAU plugins. > >

Re: [Zope-dev] Zope3 installation on windows - how?

2008-07-09 Thread Hermann Himmelbauer
Am Mittwoch, 9. Juli 2008 11:14 schrieb Hermann Himmelbauer: > Hi, > I currently try to install Zope3-4.0c1 on a windows machine, without any > success for now. What I need is an installation that includes basically > all packages that are in the tarball into the python path.

[Zope-dev] Zope3 installation on windows - how?

2008-07-09 Thread Hermann Himmelbauer
Hi, I currently try to install Zope3-4.0c1 on a windows machine, without any success for now. What I need is an installation that includes basically all packages that are in the tarball into the python path. I tried the following: 1) Tarball: Here, install.py fails due to some compiler problems

Re: [Zope-dev] Re: created z3c.saconfig

2008-06-24 Thread Hermann Himmelbauer
Am Freitag, 20. Juni 2008 13:59 schrieb Martijn Faassen: > Hey, > > Hermann Himmelbauer wrote: > [snip] > > > 1) Why do you need to specify what interface the factory provides, such > > as here: > > > > component.provideUtility(engine_factory, provides=IEngi

Re: [Zope-dev] Re: created z3c.saconfig

2008-06-19 Thread Hermann Himmelbauer
Am Freitag, 20. Juni 2008 00:14 schrieb Martijn Faassen: > Hey, > > Martijn Faassen wrote: > > I intend to add support for a local utility soon, > > inspired by some code sent to me by Hermann Himmelbauer. > > This is now in there. It only looks faintly like Hermann'

Re: [Zope-dev] created z3c.saconfig

2008-06-19 Thread Hermann Himmelbauer
Am Donnerstag, 19. Juni 2008 20:51 schrieb Martijn Faassen: > Hi there, > > I'd like to announce my contribution for the expanding list of options > for SQLAlchemy integration for Zope 3. > > I've just implemented a package called z3c.saconfig which implements a > utility-based way to set up SQLAlc

Re: [Zope-dev] Re: SQLAlchemy (zope.sqlalchemy) integration

2008-06-06 Thread Hermann Himmelbauer
Am Donnerstag, 5. Juni 2008 19:38 schrieb Laurence Rowe: > Hermann Himmelbauer wrote: > > Am Mittwoch, 4. Juni 2008 22:09 schrieb Laurence Rowe: > >> Hermann Himmelbauer wrote: > >>> In my application, I then use getSASession() to retrieve my session. > >>&g

Re: [Zope-dev] Re: SQLAlchemy (zope.sqlalchemy) integration

2008-06-05 Thread Hermann Himmelbauer
Am Mittwoch, 4. Juni 2008 22:09 schrieb Laurence Rowe: > Hermann Himmelbauer wrote: > > In my application, I then use getSASession() to retrieve my session. > > > > However, what I think is not that beautiful is the "s.bind = engine" > > part. Are there any sug

[Zope-dev] SQLAlchemy (zope.sqlalchemy) integration

2008-06-04 Thread Hermann Himmelbauer
Hi, Regarding to the discussion some days ago with the SQLAlchemy Zope3 integration, I still have problems with retrieving the session. I currently use a utility for the engine, which seems to work well. However, for retrieving the session, I tried to use the following pattern (many thanks to M

Re: [Zope-dev] Re: Strange serializing error when commiting -> zope.sqlalchemy

2008-06-03 Thread Hermann Himmelbauer
Am Dienstag, 3. Juni 2008 12:21 schrieb Laurence Rowe: > Laurence Rowe wrote: > >> I found it by myself: I registered a zope.sqlalchemy related utility, > >> which stores an engine (self.engine = create_engine(DSN,...)) and a > >> scoped session (self.Session = scoped_session(sessionmaker...)). The

Re: [Zope-dev] Strange serializing error when commiting -> zope.sqlalchemy

2008-06-02 Thread Hermann Himmelbauer
Am Montag, 2. Juni 2008 20:04 schrieb Hermann Himmelbauer: > Hi, > In my zope3 tests, I set up some basic test data. After that, I'm calling > transaction.commit(). However, I get the following traceback: > > > --- snip --- > File "copy_

  1   2   >