[Zope3-Users] Installation Erros

2005-07-08 Thread Tim Cook
$ ** -- Tim Cook, Consultant CHASE Health Informatics, Inc. GPG Key is on key servers everywhere. signature.asc Description: This is a digitally signed message part ___ Zope3-users mailing list Zope3-users

Re: [Zope3-Users] Installation Erros

2005-07-14 Thread Tim Cook
On Sat, 2005-07-09 at 09:49 -0400, Tim Peters wrote: [Tim Cook] Installing Zope-3.1.0b1 on Fedora Core 4 gcc (GCC) 4.0.0 20050519 (Red Hat 4.0.0-8) ... This is the only interesting part. It might help if you posted again, skipping all the compiler warnings (which aren't interesting

Re: [Zope3-Users] Installation Erros

2005-07-14 Thread Tim Cook
fine and I now a bright shiny instance of Zope3 running. Still had the gcc4 warnings but no biggie there. Sorry for the hassle and certainly for the big leap to tarball judgement. Cheers, -- Tim Cook signature.asc Description: This is a digitally signed message part

Re: [Zope3-Users] problems with installation of zope3

2005-07-20 Thread Tim Cook
references to Python 2.3.4 and that error... But, my suggestion is to install Python 2.3.5 and Zope 3.1.0b unless you have some burning reason to install the experimental version. Cheers, -- Tim Cook, Consultant CHASE Health Informatics, Inc. GPG Key is on key servers everywhere

Re: [Zope3-Users] at sea with basic setup

2005-11-05 Thread Tim Cook
is to read this: http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/FrontPage/Zope3Book Then go out and buy a hard copy. Cheers, -- Tim Cook, Consultant CHASE Health Informatics, Inc. GnuPG Key is available at http://www.chasehealthinformatics.com/Members/twcook signature.asc Description

[Zope3-Users] Convention Question

2007-07-19 Thread Tim Cook
Does z3c stand for Zope 3 Component? Thanks, Tim signature.asc Description: This is a digitally signed message part ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Convention Question

2007-07-19 Thread Tim Cook
Does z3c stand for Zope 3 Component? Thanks, Tim ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Convention Question

2007-07-19 Thread Tim Cook
to answer it. Though they carry no semantic significance, namespaces do always have a root. Cheers, Tim On Thu, 2007-07-19 at 11:28 -0400, Benji York wrote: Tim Cook wrote: Does z3c stand for Zope 3 Component? It stands for Zope 3 community, but (IMO), name space package names, while

[Zope3-Users] zopeproject install failure

2007-09-17 Thread Tim Cook
Linux x86_64 Python 2.5.1 (r251:54863, Sep 17 2007, 10:13:22) [GCC 4.1.2 20070626 (Red Hat 4.1.2-13)] on linux2 There are numerous warning: initialization from incompatible pointer type when compiling the .c modules. When I built Python 2.5.1 I had to use the CFLAG -fwrapv Is this the same

Python 2.5.1 on x86_64 was: [Zope3-Users] Re: zopeproject install failure

2007-09-17 Thread Tim Cook
On Mon, 2007-09-17 at 14:01 +0200, Philipp von Weitershausen wrote: There are numerous warning: initialization from incompatible pointer type when compiling the .c modules. Yup. Mostly if not only from the ZODB. There and from BTree/* When I built Python 2.5.1 I had to use the CFLAG

[Zope3-Users] An Interesting Podcast

2007-12-19 Thread Tim Cook
For all of you that know (or don't know) Rob Page this is an interesting podcast: http://itc.conversationsnetwork.org/shows/detail3464.html Cheers, Tim -- Timothy Cook, MSc Health Informatics Research Development Services LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook

[Zope3-Users] Schema Fields

2008-05-17 Thread Tim Cook
Hi All, I am having a problem creating new schema fields. I believe my answer may lie with classImplements in defining my interfaces but I've tried several things and had no success. I have posted an example of the issue and a description at: http://zope.pastey.net/87968 Thanks for any help.

[Zope3-Users] Re: Schema Fields

2008-05-18 Thread Tim Cook
On Sat, 2008-05-17 at 13:40 -0300, Tim Cook wrote: Hi All, I am having a problem creating new schema fields. I believe my answer may lie with classImplements in defining my interfaces but I've tried several things and had no success. Answering myself.. Never mind. It was just ONE

[Zope3-Users] Python/ZCA Healthcare Project Announcement

2008-05-21 Thread Tim Cook
that for us. We just need to finish the implementation and some top-level ZCA specific docs. Thank you very much for your kind attention to this project that holds such a deep passion for me. Sincerely, --Tim Cook -- Timothy Cook, MSc Health Informatics Research Development Services LinkedIn

[Zope3-Users] Best Practices - Zopeproject Deployment

2008-05-24 Thread Tim Cook
Hi All, I have a Zope3 project that I started using 'zopeproject'. I now want to deploy this to an SVN server so other developers can checkout and work on the project. After reviewing the zopeproject and buildout docs as well as some examples like z3hello I still cannot decide the correct

Re: [Zope3-Users] Best Practices - Zopeproject Deployment

2008-05-24 Thread Tim Cook
Hi Christophe, Thanks for your reply. Maybe my question is naive? For background my original zopeproject looked like this below the virtualenv dir: oship-- bin develop-eggs log parts src-- oship (where all the good stuff is located)

Re: [Zope3-Users] Best Practices - Zopeproject Deployment

2008-05-27 Thread Tim Cook
Hi Kevin, On Mon, 2008-05-26 at 16:58 -0700, Kevin Teague wrote: You can avoid storing user specific information in your buildout.cfg by creating a ~/.buildout/default.cfg file in your home directory that contains user specific information: [buildout] eggs-directory =

[Zope3-Users] ANN: Open Source Health Information Platform (OSHIP)

2008-05-30 Thread Tim Cook
The wiki announcing the initial source code release of OSHIP is available at: http://www.openehr.org/wiki/display/dev/Python+developer%27s+page Including links to installation and initial startup. There is a news release on Linux Medical News that contains more background and project

[Zope3-Users] z3cformdemo w/zopeproject

2008-05-31 Thread Tim Cook
In the zopeproject instructions for adding dependencies the indication is that (once the egg is installed) I would just have to add it to the configure.zcml But ... !-- Add your own component registrations here -- include package=z3c.formdemo / yields this configuration error:

[Zope3-Users] Python Package Construction

2008-06-19 Thread Tim Cook
Hi All, I would like feedback on the proper/best 'Pythonic' approach. This is a rather subjective question. Where is the trade-off between package name lengths and faithfulness to the specifications? [Discussion follows] I am implementing a set of specifications for healthcare IT for Python

[Zope3-Users] zope.interface.exceptions.InvalidInterface: Concrete attribute, existence

2008-07-03 Thread Tim Cook
Hi All, [Zope3 on Linux, Python 2.4.4] I've been chasing a problem for a couple of days and I just can't figure out what the error is telling me. Thanks for any pointers. Google hasn't been much help as it mostly returns the source for the error or one conversation from 2004 discussing

Re: [Zope3-Users] zope.interface.exceptions.InvalidInterface: Concrete attribute, existence

2008-07-03 Thread Tim Cook
On Thu, 2008-07-03 at 14:08 -0400, Benji York wrote: On Thu, Jul 3, 2008 at 1:34 PM, Tim Cook [EMAIL PROTECTED] wrote: I've been chasing a problem for a couple of days and I just can't figure out what the error is telling me. Thanks for any pointers. It looks like the immediate problem

Re: [Zope3-Users] zope.interface.exceptions.InvalidInterface: Concrete attribute, existence

2008-07-03 Thread Tim Cook
On Thu, 2008-07-03 at 14:37 -0400, Benji York wrote: The last bit of user code in the traceback is attempting to define ICAttribute, I looked at it, noticed it had three attributes, one of which was referred to in the traceback (existence). The only bit of user code there was Interval, so I

[Zope3-Users] zope.schema Question

2008-07-06 Thread Tim Cook
I have a class attribute defined in an interface as such: description=Object( title=_(uDescription), description=_(uDescription of the activity.), required=True, ) I used Object because this attribute can be one of several different class instances. But I get

Re: [Zope3-Users] Re: zope.schema Question

2008-07-07 Thread Tim Cook
On Mon, 2008-07-07 at 00:46 +0200, Philipp von Weitershausen wrote: description=Object( schema=IFoo, ... ) So the zope.schema.Object field is really about specifying objects that provide a certain schema. It's not for *arbitrary* objects (use

Re: [Zope3-Users] Re: zope.schema Question

2008-07-07 Thread Tim Cook
On Mon, 2008-07-07 at 09:56 +0200, Philipp von Weitershausen wrote: Now I want to allow description to be any descendant of ItemStructure. So I had hoped that: description=Object( schema=IItemStructure, title=_(uDescription), description=_(uDescription of

Re: [Zope3-Users] Re: zope.schema Question

2008-07-07 Thread Tim Cook
Answering my own questions: On Mon, 2008-07-07 at 10:20 -0300, Tim Cook wrote: All of my source files have the unicode declaration: # -*- coding: utf-8 -*- as the first line. Do those strings inside the list have to be marked as unicode? for example: [([u'include', ([([u'archetype_id

Re: [Zope3-Users] Re: zope.schema Question

2008-07-07 Thread Tim Cook
On Mon, 2008-07-07 at 16:55 +0200, Philipp von Weitershausen wrote: What does ItemTree.items field have to do with Activity.description field? I thought we're talking about the Object(schema=IItemTree) field inside IActivity here? An ItemTree instance is what is being assigned to

SOLVED! Re: [Zope3-Users] Re: zope.schema Question

2008-07-07 Thread Tim Cook
... and I've learned a lot thanks to you patience. On Mon, 2008-07-07 at 12:41 -0300, Tim Cook wrote: I've been Googling for a script I can run against all of my source to test characters for unicode just in case there are more of those that I copied into title or description fields. If you

Not Really SOLVED! Re: [Zope3-Users] Re: zope.schema Question

2008-07-07 Thread Tim Cook
On Mon, 2008-07-07 at 13:58 -0300, Tim Cook wrote: ... and I've learned a lot thanks to you patience. On Mon, 2008-07-07 at 12:41 -0300, Tim Cook wrote: I've been Googling for a script I can run against all of my source to test characters for unicode just in case there are more of those

Re: Not Really SOLVED! Re: [Zope3-Users] Re: zope.schema Question

2008-07-07 Thread Tim Cook
-07 at 14:03 -0300, Tim Cook wrote: On Mon, 2008-07-07 at 13:58 -0300, Tim Cook wrote: ... and I've learned a lot thanks to you patience. On Mon, 2008-07-07 at 12:41 -0300, Tim Cook wrote: I've been Googling for a script I can run against all of my source to test characters for unicode

Re: Not Really SOLVED! Re: [Zope3-Users] Re: zope.schema Question

2008-07-07 Thread Tim Cook
On Mon, 2008-07-07 at 13:34 -0400, Benji York wrote: On Mon, Jul 7, 2008 at 1:28 PM, Tim Cook [EMAIL PROTECTED] wrote: Okay, the problem is defined but it really isn't a solution for me. It seems that Zope has defined 'description' as a keyword not allowed in schema definitions

Re: Not Really SOLVED! Re: [Zope3-Users] Re: zope.schema Question

2008-07-07 Thread Tim Cook
On Mon, 2008-07-07 at 13:34 -0400, Benji York wrote: On Mon, Jul 7, 2008 at 1:28 PM, Tim Cook [EMAIL PROTECTED] wrote: Okay, the problem is defined but it really isn't a solution for me. It seems that Zope has defined 'description' as a keyword not allowed in schema definitions

[Zope3-Users] OOBtrees ZODB

2008-07-08 Thread Tim Cook
I am building a platform where I want to initialize the ZODB (that will be running under Zope) with three folders with sitemanagers. If I use Folders like this: if 'AR' not in root['Application']: root['Application']['AR']=folder.Folder() sm = LocalSiteManager(root['Application']['AR'])

Re: [Zope3-Users] OOBtrees ZODB

2008-07-08 Thread Tim Cook
On Tue, 2008-07-08 at 09:31 -0700, Shailesh Kumar wrote: BTreeContainer doesn't support site managers. Folder is a subclass of SiteManagerContainer which is a subclass of BTreeContainer. You can happily use Folder here. Thanks. I hadn't noticed that. In the earlier days of Zope2,

[Zope3-Users] zopeproject Translations

2008-07-08 Thread Tim Cook
I have a project that is based on zopeproject. There are several people working on translations on this domain via Launchpad translation services. The project is in a directory called oship. I have initially put the translations in a directory: oship/src/oship/locales But I was wondering if

Re: [Zope3-Users] OOBtrees ZODB

2008-07-09 Thread Tim Cook
On Wed, 2008-07-09 at 08:39 -0500, Randy Crafton wrote: Folder uses an OOBTree to store it's data, so it should be ok. Thanks. I believe that solves my issue. :-) But if you want to use BTreeContainer and have it work as a Site, you just have the mix the two together in a custom container

[Zope3-Users] Set List constraints

2008-07-10 Thread Tim Cook
When constraining the membership of zope.schema List and Set; is it valid to say that this will work: value=List( title=uValue, constraint=classProvides(IMyClass) ) where IMyClass defines the schema for the MyClass and is the only objects allowed in the List? Thanks, Tim --

Re: [Zope3-Users] Set List constraints

2008-07-10 Thread Tim Cook
On Thu, 2008-07-10 at 16:59 +0200, Markus Kemmerling wrote: I would rather say: value=List( title=uValue, value_type=Object(schema=IMyClass) ) Can you elaborate why? Anyhow, such a constraint is of limited use only, since it does not prevent you from adding any object you

Re: [Zope3-Users] Set List constraints

2008-07-11 Thread Tim Cook
I appreciate the list members time and patience. I used Zope heavily 2000-2003 but after not writing any code for almost five years this is like starting over. :-) On Fri, 2008-07-11 at 06:48 +0200, Markus Kemmerling wrote: You want to restrict the elements of a list to instances that provide

[Zope3-Users] Interface confusion (still)

2008-07-15 Thread Tim Cook
If interface B inherits from interface A and class B implements interface B; do I need to explicitly state that class B provides interface A? Concrete example: class IElement(Interface): value = Object( schema=IDataValue, title=_(uvalue), description=_(uData value of

Re: [Zope3-Users] Interface confusion (still)

2008-07-15 Thread Tim Cook
The purpose of this question is related to an earlier question I had about using the best/correct schema field choice. It was pointed out that I should use 'Object' and set the schema to the interface of the class(es) that I wanted that attribute to accept. Since I did not point out that all of

Re: [Zope3-Users] Interface confusion (still)

2008-07-15 Thread Tim Cook
On Tue, 2008-07-15 at 18:56 -0400, Benji York wrote: On Tue, Jul 15, 2008 at 6:31 PM, Tim Cook [EMAIL PROTECTED] wrote: Note: classes *implement* interfaces, their instances *provide* them. ... and I am still confused about a use case for classProvides. When one says that a class

Re: [Zope3-Users] Interface confusion (still)

2008-07-15 Thread Tim Cook
On Tue, 2008-07-15 at 19:27 -0400, Fred Drake wrote: On Tue, Jul 15, 2008 at 6:56 PM, Benji York [EMAIL PROTECTED] wrote: When one says that a class *provides* an interface they're saying that instances of that class *implements* the interface. Sorry, you got that backwards. Instances

[Zope3-Users] Copying Objects from/in the ZODB

2008-07-27 Thread Tim Cook
Hi All, Another basic question but I can't seem to find the easy way to do this. I have a group of instances stored in the ZODB. They are basically skeletons that I want to copy, edit and store as new instances elsewhere in the ZODB. In Zope2.x this was fairly obvious to me. Using the ZCA it

[Zope3-Users] Configuration Problems?

2008-08-01 Thread Tim Cook
Hi All, I've read all the books and readme's as well as most of the source. I also went through as many tutorials as I could find. I just can't seem to 'get' the configuration process for the ZCA. I used Paul Carduner's ZContact tutorial. I had no problem with it. I have a rather large

Re: [Zope3-Users] Configuration Problems?

2008-08-03 Thread Tim Cook
Marius, Thanks for the feedback. On Fri, 2008-08-01 at 21:13 +0300, Marius Gedminas wrote: The traceback shows you the WHERE, but that's not interesting. The WHY is interesting, Very true. and I could make a guess. Your form schema contains a plain Field() field. Zope has no widgets

Re: [Zope3-Users] Configuration Problems?

2008-08-03 Thread Tim Cook
On Sun, 2008-08-03 at 19:52 -0300, Tim Cook wrote: I tried changing the display form to: class ArchetypeDisplayForm(form.Form): A simple display form for archetypes. #fields = field.Fields(IArchetype).omit('__name__', '__parent__') fields=['adlVersion'] I've been staring

[Zope3-Users] Windows Vista, Buildout python-cjson

2008-09-18 Thread Tim Cook
This isn't a buildout question nor even really a python-cjson question. I used zopeproject to startup my OSHIP project https://launchpad.net/oship/ and then added most of the Zope3.4 packages (avoiding lxml due to incompatibility hell) so this is why I'm posting it to the Zope3 Users list. It

Re: [Zope3-Users] thoughts about z3c.form-package

2008-10-08 Thread Tim Cook
On Wed, 2008-10-08 at 06:25 +0200, Roger Ineichen wrote: Adam Groszer is working on a ObjectWidget implementation. What is the proposed functionality of ObjectWidget? Thanks, Tim -- Timothy Cook, MSc Health Informatics Research Development Services LinkedIn

Re: [Zope3-Users] thoughts about z3c.form-package

2008-10-08 Thread Tim Cook
On Wed, 2008-10-08 at 15:32 +0200, Roger Ineichen wrote: What is the proposed functionality of ObjectWidget? The ObjectWidget is a widget for an IObject field. This field is used for attributes which provide a own schema and hold a refenece to a pyton instance providing this schema.

Re: [Zope3-Users] thoughts about z3c.form-package

2008-10-08 Thread Tim Cook
(Thanks Roger and Adam for your earlier replies.) On Wed, 2008-10-08 at 16:59 +0200, Hermann Himmelbauer wrote: Moreover, z3c.form is complex, but it isn't hard if one knows what to do/how to do - which leads me back to my WIKI idea... Hermann, This is a very good point. For those of us

[Zope3-Users] ZCML Layout Decision?

2008-10-08 Thread Tim Cook
Hi All, What are your thoughts on the best way to implement the configure.zcml files for this application framework? The framework is a nested structure up to five levels deep in places of approximately 150 classes. Would it be better/more efficient to create a configure.zcml in each package

[Zope3-Users] WrongContainedType

2008-10-09 Thread Tim Cook
I am having difficulty understanding this error. It occurs in the call: ontObj.parentArchetype = ObjectRef(oid,u'openehr',u'ARCHETYPE') The first parameter for ObjectRef is declared in the schema as: refId = Object( schema=IObjectId, title = _(u'Id'), description =

Re: [Zope3-Users] WrongContainedType

2008-10-10 Thread Tim Cook
On Fri, 2008-10-10 at 11:07 +0200, Roger Ineichen wrote: What do you think about a validateSchema=True/False option or something like that? Maybe it's just a requirement to fix the code? The code at around line 466 in _field.py says errors = _validate_fields(self.schema, value)

Re: [Zope3-Users] WrongContainedType

2008-10-10 Thread Tim Cook
On Fri, 2008-10-10 at 12:38 -0300, Tim Cook wrote: Maybe it's just a requirement to fix the code? The code at around line 466 in _field.py says errors = _validate_fields(self.schema, value) if errors: raise WrongContainedType(errors) errors is an empty list

Re: [Zope3-Users] WrongContainedType

2008-10-10 Thread Tim Cook
On Fri, 2008-10-10 at 17:46 +0200, Roger Ineichen wrote: I guess not, normaly such an error has an empty representation and the list is not empty. Try to do errors[0] or type(errors[0]) and you probably see something. If not I'm confused Well, I'm confused anyway, but that isn't difficult.

Re: [Zope3-Users] ZCML Layout Decision?

2008-10-10 Thread Tim Cook
On Thu, 2008-10-09 at 09:28 -0700, Marius Gedminas wrote: Have you considered Grok? I looked at Grok when I first started this project about a yer ago. I didn't really see much help there at the time so I used zopeproject to kickstart a foundation and started building from that. Well, at

Re: [Zope3-Users] WrongContainedType

2008-10-10 Thread Tim Cook
Thanks for your help Roger, On Fri, 2008-10-10 at 18:19 +0200, Roger Ineichen wrote: The error (probably, not sure) means that the object you like to store has a missing value. Can you check the schema of this object and set required=False in all fields? Did that in both schemas on my

[Zope3-Users] Grok and Permissions was: ZCML Layout Decision?

2008-10-10 Thread Tim Cook
On Fri, 2008-10-10 at 10:30 -0700, John de la Garza wrote: I much prefer configuring permissions outside of my python code and having the app server handle it than checking if a person is authenticated before a method's main body. Hmmm, It is my impression so far (and that isn't very far)

Re: [Zope3-Users] WrongContainedType

2008-10-10 Thread Tim Cook
On Fri, 2008-10-10 at 14:01 -0300, Tim Cook wrote: The code for these are quite verbose and will certainly obscure the commentary so I hope it's okay that I post links to the SVN within the comments? Well, that isn't very helpful I just discovered that the svn servers will be down all

Re: [Zope3-Users] WrongContainedType

2008-10-10 Thread Tim Cook
On Fri, 2008-10-10 at 21:17 +0200, Roger Ineichen wrote: I do not fully understand what the codes does but this does not work: ontObj.parentArchetype = '' Because it will set an empty string but an IObjectRef is needed. Thats' not valid, just let it be, don't set anything else then an

Re: [Zope3-Users] WrongContainedType

2008-11-23 Thread Tim Cook
wrote: On Thu, Oct 09, 2008 at 08:42:21AM -0300, Tim Cook wrote: I am having difficulty understanding this error. It occurs in the call: ontObj.parentArchetype = ObjectRef(oid,u'openehr',u'ARCHETYPE') The first parameter for ObjectRef is declared in the schema as: refId = Object

Re: [Zope3-Users] Next Step to Bug Resolution???

2008-12-18 Thread Tim Cook
Hi Dan, Thanks for taking a look. On Thu, 2008-12-18 at 20:06 +0300, Dan Korostelev wrote: Hi, Tim. I builded out your application and took a quick look at the error. It looks like you're mis-using the zope.schema.Field class and its interface. It should be only used in schema definition,

Re: [Zope3-Users] [Zope-dev] Next Step to Bug Resolution???

2008-12-19 Thread Tim Cook
Hi Chris, On Fri, 2008-12-19 at 10:06 +, Chris Withers wrote: Tim Cook wrote: As I said before I may have miss-diagnosed the problem and may fix may break other things? This is what a full-coverage unit and functional test suit is for. You have got automated tests for all

Re: [Zope3-Users] [Zope-dev] Next Step to Bug Resolution???

2008-12-19 Thread Tim Cook
Thanks Dieter, On Fri, 2008-12-19 at 19:41 +0100, Dieter Maurer wrote: I often approach situations like this with so called Monkey Patches: I replace or enhance classes or methods during startup (triggered by some startup event). This may not be optimal but allows me to solve my problems

Re: [Zope3-Users] [Zope-dev] Next Step to Bug Resolution???

2009-01-10 Thread Tim Cook
On Fri, 2009-01-09 at 11:02 +, Chris Withers wrote: Hi Chris, Thanks for the opportunity to address these issues. Hang on, you're making out this project of yours is some big deal, Well, it is kind of a big deal in healthcare. Simplistix (and others) may be interested in the fact that the

Re: [Zope3-Users] [Zope-dev] Next Step to Bug Resolution???

2009-01-16 Thread Tim Cook
Thanks for all the assistance. On Fri, 2009-01-16 at 18:05 +0100, Martijn Faassen wrote: Yes, you do create new schema fields by subclassing from Field. It's just that we saw you putting a field not in a schema but in what looked like a concrete object. This has given me a BIG pause while

Re: [Zope3-Users] [Zope-dev] Next Step to Bug Resolution???

2009-01-16 Thread Tim Cook
Hi Shane, On Tue, 2009-01-13 at 14:10 -0700, Shane Hathaway wrote: Sorry, but the patch doesn't make any sense. Your version of _validate_fields quietly skips validation entirely by default. First of all that is why I asked for others to look at it. :-) But I DID test it by inserting an

Re: [Zope3-Users] [Zope-dev] Next Step to Bug Resolution???

2009-01-16 Thread Tim Cook
Thanks All, On Fri, 2009-01-16 at 21:55 +0100, Carsten Senger wrote: Sure you can have specialized fields that subclass from Field, TextLine, or another base class. E.g. RegistrationNumber(TextLine) that takes care to validate the input for a special format. But you use them in an

Re: [Zope3-Users] [Zope-dev] Next Step to Bug Resolution???

2009-01-18 Thread Tim Cook
Hi Dan, On Sat, 2009-01-17 at 01:28 +0300, Dan Korostelev wrote: Hi Tim. Unfortunately I didn't follow the discussion lately, so may be the problem is no more, but... There has been a tremendous amount of help from folks like you. However there is still not a solution. I have been asked

Re: [Zope3-Users] Next Step to Bug Resolution???

2009-01-18 Thread Tim Cook
On Sun, 2009-01-18 at 15:18 +0100, Roger Ineichen wrote: class DataStructure(Persistence): abstract class What is Persistence? Where does is come from? Sorry, I was just typing in a hurry. In reality it inherits from an openEHR class called Locatable but that gets into another whole

[Zope3-Users] Reusing Widgets

2009-02-04 Thread Tim Cook
If I have an interface (IDvText) and a class DvText (shown below). and I want it to act exactly as a zope.schema Textline (with some additional attributes) then is this correct and how do I (where do I find how to) register/add to the TextLine widget? Apologies for the line wraps.

Re: [Zope3-Users] Astonishing Error: Import Error: No module named interfacce

2009-02-05 Thread Tim Cook
On Wed, 2009-02-04 at 23:53 +0100, Massimiliano della Rovere wrote: After restarting the zope istance I receive the following error: ImportError: No module named interfacce (from mabon.interfacce import IScheda) If you cpoy/pasted that error (and it looks the same in two places in your

Re: [Zope3-Users] Selecting a Vocabulary for a Choice field upon the value of another field

2009-05-01 Thread Tim Cook
On Fri, 2009-05-01 at 13:57 +0200, Massimiliano della Rovere wrote: 2) split the schema into two pages: in the first page, and thus stage, you define the wine colour, in the second the associated vocabulary is used. I do not like it because I want all the data describing the degustative

Re: [Zope3-Users] Selecting a Vocabulary for a Choice field upon the value of another field

2009-05-01 Thread Tim Cook
[talking to myself again] :-) On Fri, 2009-05-01 at 09:28 -0300, Tim Cook wrote: Unfortunately they haven't published it yet but if you have a login on grok.zope.org I think I can share it with you. I just discovered that I can share it with all logged in users. http://grok.zope.org

[Zope3-Users] ComponentLookupError

2009-05-17 Thread Tim Cook
I'm getting this traceback: == serving on http://127.0.0.1:8080 2009-05-17 11:56:42,332 ERROR [SiteError] http://localhost:8080 Traceback (most recent call last): File

Re: [Zope3-Users] Z3ext 1.0 Beta3 Released

2009-08-23 Thread Tim Cook
I have the same problem on Ubuntu. Besides the fact it is a weird datetime format it simply doesn't work with any format. --Tim On Mon, 2009-08-24 at 09:26 +1000, George Wright wrote: OK Nikolay It worked this time. New problem: I am unable to satisfy the date format requirement on an edit