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 ed
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
"/home/tim/.buildout/eggs/zope.publisher-3.7.
[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:/
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 ex
Hi Christian,
Thanks for the tips.
On Thu, 2009-02-05 at 08:30 -0600, Christian Lück wrote:
> But before, you should think about your schema again. It looks very
> complicated to me.
Many here and on the Grok list have suggested that I simplify the
schema. However, the class and attribute n
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 em
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.
**
All,
I have many places where I have used this in a schema.
class IAbc
attr1 = Object(schema=IAbc)
class Abc(object):
"""does some stuff but is usually an abstract class"""
implements (IAbc)
Where IAbc is actually meant to represent that any one of (let's say)
three different sub-classes of Abc
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 a
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 aske
On Thu, 2008-12-18 at 13:00 -0200, Tim Cook wrote:
> This issue is such a huge frustration for me that I am offering a bounty
> of 100USD out of my personal pocket to the first person that solves the
> issue, gets it committed to a published zope.schema egg and included in
> the s
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
> i
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
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 wh
On Fri, 2009-01-16 at 15:55 +0100, Martijn Faassen wrote:
> I don't think a wiki page with a chronicle is necessary or even
> helpful; you need to give us the information necessary to find the
> bug, but no distracting surrounding information.
Okay.
> To debug this
> problem, a developer will n
On Mon, 2009-01-12 at 22:05 +0100, Martijn Faassen wrote:
> Okay, I'll take another look then and look at ObjectRef. Ah, yes, Dan
> pointed out to you that you are using a zope.schema.Field in a class
> instead of in a schema (an interface). That isn't right, and since the
> direct use of that
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
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 probl
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
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 definiti
OOOPS! I forgot to provide the link to the installation instructions:
http://www.openehr.org/wiki/display/dev/OSHIP+Installation
--Tim
On Thu, 2008-12-18 at 13:00 -0200, Tim Cook wrote:
> Based on private responses I have received I would like to clarify some
> things.
>
> I f
08-12-18 at 08:35 -0200, Tim Cook wrote:
> Hi All,
>
> I have had an issue on the table for months. I started a dialog about
> it here:
>
> http://mail.zope.org/pipermail/zope3-users/2008-October/008215.html
>
> The thread was interesting, helpful and did lead me to f
Hi All,
I have had an issue on the table for months. I started a dialog about
it here:
http://mail.zope.org/pipermail/zope3-users/2008-October/008215.html
The thread was interesting, helpful and did lead me to find an error in
some schema definitions because of a misunderstanding of the requi
minas 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')
> >
> >
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
>
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 serve
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
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
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 yo
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 diffic
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(er
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)
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 =
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
(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
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 sc
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 Profile:http://www.linkedin.co
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
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('__nam
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
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 healt
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
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. Inst
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 class
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
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=_(u"value"),
description=_(u"""Data valu
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
On Thu, 2008-07-10 at 16:59 +0200, Markus Kemmerling wrote:
> I would rather say:
>
> value=List(
>title=u"Value",
>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 ob
When constraining the membership of zope.schema List and Set; is it
valid to say that this will work:
value=List(
title=u"Value",
constraint=classProvides(IMyClass)
)
where IMyClass defines the schema for the MyClass and is the only
objects allowed in the List?
Thanks,
Tim
--
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 contain
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
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 Z
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'])
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
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
Thanks,
Tim
On Mon, 2008-07-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 fo
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
... 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 desc
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 Activit
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:
On Mon, 2008-07-07 at 07:07 -0300, Tim Cook wrote:
> So once I remove all those characters I can get back to the task at
> hand.
H, well those characters were a problem. However, I still get the
File
"/home/tim/buildout-eggs/zope.schema-3.4.0-py2.4.egg/zope/schema/_bootstr
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=_(u"Description"),
> >description=_(u"
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
> zope.sch
I have a class attribute defined in an interface as such:
description=Object(
title=_(u"Description"),
description=_(u"Description of the activity."),
required=True,
)
I used Object because this attribute can be one of several different
class instances.
But I ge
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,
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 an
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 implemen
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
pro
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 ...
yields this configuration error:
ZopeXMLConfigurationError: File
"/home/tim/buildout-eggs/z3c.formdemo-1.5.1-py2.
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 justifica
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 = /Users/ktea
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)
osh
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 se
eady complete. The openEHR specifications do 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 In
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..
Neve
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.
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
***
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 t
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
to be able 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",
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
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
e pointers.
Best tip 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/Mem
ogle the "OSError: [Errno 10] No child processes" you'll find
more 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, Consult
on the commandline the file extracted 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: T
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 c
--
Ran 6408 tests in 466.171s
FAILED (failures=3, errors=19)
make: *** [check] Error 1
bash-3.00$
**
--
Tim Cook, Consultant
CHASE Health Informatics, Inc.
GPG Key is on key servers everywhe
87 matches
Mail list logo