[Zope3-Users] How to best include Zope3-based code in Zope3 unrelated Python projects?

2007-09-21 Thread Hermann Himmelbauer
Hi, I have the problem that I cannot include parts of my Zope3 project in external, Zope3-unrelated projects due to import errors. For instance, I currently build a LaTeX converter that automatically converts SQL-Alchemy table definitions into nicely formatted LaTeX that I can then include in m

[Zope3-Users] Re: How to best include Zope3-based code in Zope3 unrelated Python projects?

2007-09-21 Thread Philipp von Weitershausen
Hermann Himmelbauer wrote: Hi, I have the problem that I cannot include parts of my Zope3 project in external, Zope3-unrelated projects due to import errors. You have problem and cause mixed up. You get import errors due to the fact that the Zope 3 libraries aren't on your PYTHONPATH. For i

[Zope3-Users] Interfaces with circular references

2007-09-21 Thread Hermann Himmelbauer
Hi, Does someone know how to create interfaces with circular references? E.g.: class IHusband(Interface): wife = Object(schema=IWife) class IWife(Interface): husband = Object(schema=IHusband) What's the suggested solution to this problem? Perhaps I should modify the classes after they ar

Re: [Zope3-Users] Interfaces with circular references

2007-09-21 Thread Markus Kemmerling
Hi Hermann, Am 21.09.2007 um 14:03 schrieb Hermann Himmelbauer: Hi, Does someone know how to create interfaces with circular references? E.g.: class IHusband(Interface): wife = Object(schema=IWife) class IWife(Interface): husband = Object(schema=IHusband) What's the suggested solution

Re: [Zope3-Users] help using openflow

2007-09-21 Thread Andreas Jung
--On 21. September 2007 10:13:23 -0400 Aryeh Katz <[EMAIL PROTECTED]> wrote: I've installed openflow into a USER's zope instance, and I'm unable to see the Product from within the zope web pages. Don't see any errors, but the openflow product simply doesn't show up anywhere. I tried installi

[Zope3-Users] help using openflow

2007-09-21 Thread Aryeh Katz
I've installed openflow into a USER's zope instance, and I'm unable to see the Product from within the zope web pages. Don't see any errors, but the openflow product simply doesn't show up anywhere. I tried installing into $USER//lib/python/Products and $USER//lib/python and it still doesn't show u

Re: [Zope3-Users] how to use invariant/validator? (z3c.form=1.6 and z3c.formui=1.3)

2007-09-21 Thread Kai Krackler
> Hi, can you please include a complete traceback to see where the > exception occurres? > > -- > Yours sincerely, > Michael Howitz > > gocept gmbh & co. kg · forsterstrasse 29 · 06112 halle/saale > www.gocept.com · fon: +49 345 12298898 · fax: +49 345 12298891 > Hi Michael, thank you for y

[Zope3-Users] Vocabularies and deleted values

2007-09-21 Thread Douglas Cerna
Hi everyone. I have setup a SimpleVocabulary that extracts its values from a Persistent object with a List attribute (kind like Philip's book example in Chapter 17). I also defined other object that uses the vocabulary in Choice field. It works. I can add and delete values from the Persistent obj

[Zope3-Users] Trouble installing DocumentLibrary

2007-09-21 Thread John Goerzen
Hi, I am trying to install DocumentLibrary 1.2b2 from http://www.infrae.com/products/documentlibrary My system has Python 2.4 and is running Debian. The box I am attempting to install it on does not now, nor has it ever, had any Zope components. DocumentLibrary is shipped using the buildout sys

[Zope3-Users] Several points about z3c.form internationalization

2007-09-21 Thread Yuan HOng
Hi, list I stumbled upon several problems with i18n of z3c.form and z3c.formui and would like to have advice from the more experienced. 1. I have a schema field: gender = Choice( title=_(u'Gender'), values=(_(u'male'), _(u'female')), required=False) When rendered, th