[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

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 McDonoughchr...@plope.com wrote: On 3/2/10 1:09 PM, Martijn Faassen wrote: Hi there, Chris McDonough suggests to ponder further structuring of the

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'] disagree(someone,

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

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 of

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 acl...@aclark.net 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

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 du...@qwer.tk 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 libraries

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 ha...@hannosch.eu wrote: On Thu, Jan 21, 2010 at 3:56 AM, Baiju M mba...@zeomega.com wrote: I would like to get your opinion about this position statement,

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 mba...@zeomega.com wrote: On Thu, Jan 21, 2010 at 10:53 AM, Baiju M mba...@zeomega.com wrote: Please read the sentence once again: BFG evolved around Zope 3, which primarily utilize certain

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 called as

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 acl...@aclark.net 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

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 use for name is

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 a surprise to me. I thought we still supported

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 the support for Python 2.4 was dropped, so I can't

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 du...@qwer.tk 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 offer

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 du...@qwer.tk wrote: Hmmm. Bad luck for me. It would be interesting to know why you have to use Python 2.4. Dropping Python 2.4 support asap for any

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 better

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 supporting

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 type cast?

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 du...@qwer.tk 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 it seems I'm stuck

[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

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 du...@qwer.tk 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 do about this? If you're

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 following warning in my Zope 3 log, which I'd like

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 Competing writes/reads at /BSPSite/act/++vh

[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

[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

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

[Zope-dev] How to include a style media=print.... CSS file?

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: resourceLibrary name=bspskin-lib layer=zbsp.skin.interfaces.IBSPLayer

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

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. I'd like to phrase the

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] 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 (and

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 our

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 minimal setup

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 faas...@startifact.com 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

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 of the

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 faas...@startifact.com 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

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'm

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 chr...@plope.com 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.

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 du...@qwer.tk 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 foreigner know, if a package

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 community so we can

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 other

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 sometimes

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 faas...@startifact.com 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

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 faas...@startifact.com 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.

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.

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 see a 2.0

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, 2008 at 11:27:01PM

[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

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] 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 writes/reads at ???: database conflict error

[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

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

[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

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 widget for two times

[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

[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

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 the transaction

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, 2008 at 02:01:07PM +0100, Laurence Rowe wrote

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

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

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 wrote: Hi, In my

[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

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 interfaces The problem with this design

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 - classes + mappers - Zope interfaces

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 the Zope 3 schemas from the SQLAlchemy table definitions

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, Martin Aspeli wrote: This means

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 to chose one or more

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 widget

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 was made) for

[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 assumes a

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.: input type=hidden, name=xyz, value=ABC / Zope3 makes a lt

[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.: input type=hidden, name=xyz, value=ABC / Zope3 makes a lt; / rt; out of the characters: input type=hidden, name=xyz, value=lt;ABCrt; Is there a way to get around this automatic conversion? I

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 principals in a PrincipalFolder

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 Principal, InternalPrincipal

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

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=IEngineFactory) component.provideUtility(utility

Re: [Zope-dev] created z3c.saconfig

2008-06-20 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 SQLAlchemy's

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

2008-06-20 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's code, but it was still very useful

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. However, what I think is not that beautiful

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 suggestions how to improve this? You have two

[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

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...)). These two

[Zope-dev] Strange serializing error when commiting

2008-06-02 Thread 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 --- Error in test /home/dusty/prog/zope3-inst/lib/python/zbsp/tests/../auth.txt Traceback (most recent call last):

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_reg.py, line 69, in _reduce_ex

Re: [Zope-dev] Zope3 on Google AppEngine

2008-05-30 Thread Hermann Himmelbauer
Am Sonntag, 25. Mai 2008 13:32 schrieb Andreas Jung: --On 24. Mai 2008 15:44:01 +0200 Hermann Himmelbauer [EMAIL PROTECTED] wrote: I currently use SQLAlchemy, but it seems that transactions are managed on the RDB-level only, which means that the object state is not in the transaction

Re: [Zope-dev] Zope3 on Google AppEngine

2008-05-25 Thread Hermann Himmelbauer
Am Freitag, 23. Mai 2008 18:19 schrieb David Pratt: Hi Jodok. I had looked at storm a while back but the zope integration seemed to lack any relationship with zope schemas. I guess it is possible to define a zope schema that is not persisted and create the tables from it. It did not seem to

[Zope-dev] Software developer for a Zope3 project needed

2008-05-13 Thread Hermann Himmelbauer
Hi, We are currently looking out for a Zope3/Python developer for an interesting project lasting approx. 30 to 35 days. I can't give exact details yet, but the following profile should be met: - High Zope3 skills - the project is 100% based on Zope3 technology, moreover, the project may