$
**
--
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
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
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
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
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
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
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
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
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
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
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.
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
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
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)
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 =
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
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:
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
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
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
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
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
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
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
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
... 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
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
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
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
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 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,
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 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
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
--
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
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
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
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
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
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
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
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
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
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
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 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
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.
(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
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
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 =
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)
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
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.
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
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 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)
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
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
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
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,
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
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
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 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
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 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
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
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
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.
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
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
[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
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
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
74 matches
Mail list logo