On Mon, 2005-12-12 at 18:06 -0500, Paul Winkler wrote:
[...]
# toward the end of
# tests/testtests/test_AcceleratedHTTPCacheManager.py #
def test_XXXinterface(self):
url = 'http://www.google.com'
from Products.StandardCacheManagers.interfaces
'_SampleContainer__data'
Any idea?
How about calling
super(Centershock, self).__init__(*args, **kw)
But this will not work because during __init__ you have no context which
is needed by the site manager.
Try to subscribe to the ObjectAddedEvent.
--
Mit freundlichen Grüßen
Michael Howitz
Am Montag, den 27.03.2006, 11:52 +0900 schrieb [EMAIL PROTECTED]:
Hi,
I got a ploblem with SimpleVocabulary/SimpleTerm.
Here is the situation of that.
(1) I used Zope3.2 on Windows XP.
(2) I made :
a vocabulary, and
a Choice field with the vocabulary, and
a
Am Montag, den 27.03.2006, 18:31 +0900 schrieb [EMAIL PROTECTED]:
I'd like to ask one more question.
Why does SimpleVocabulary.fromValues/fromItems() not set 'title' ?
Is there any good reason?
Current implementation is unconvenient for non-ascii people.
Sure. Maybe a new method is needed
defined via ZCML.
All other users you have to do
zope.app.securitypolicy.principalpermission \
import principalPermissionManager
principalPermissionManager.grantAllPermissionsToPrincipal(mpgsite.test)
--
Mit freundlichen Grüßen
Michael Howitz
Am Dienstag, den 04.04.2006, 11:24 -0500 schrieb David Johnson:
I am reading a decimal field from a database and trying to display it
in a page template. What is the TAL to do this?
Among other things, I’ve tried:
div tal:replace=python: u'%f' % (item.price) /
Which generates the follow
Am Mittwoch, den 05.04.2006, 08:48 +0200 schrieb Frank Burkhardt:
Hi,
I've got objects implementing interface
IMyObject
and two adapters:
IMyObject - ISearchable
ISearchable - ISearchableEN
I would like to use a TextIndex to do fulltext search on objects
implementing
Reinhold Strobl wrote:
Hi,
(...)
So can code always access everything, or not?
In Zope 3 there is also the concept of trusted and untrusted code like
in Zope 2
See
http://dev.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/ShortTutorial/short.pdf
pages 88 - 94 (esp. page 94)
In
Florian Lindner wrote:
Hello,
I've a PluggableAuthentication and want to add and register some plugins to
it.
Adding works fine:
principal_folder =
zope.app.authentication.principalfolder.PrincipalFolder(prefix = cs)
pau[PrincipalFolder] = principal_folder
and I think I can select it
Tobias Weber wrote:
Hello!
I try to add a PluggableAuthentication and a PrincipalFolder automatically.
When I add a principal to the PrincipalFolder it works fine, but the
authentification of the User fails. When I add one more
PluggableAuthentication manually and choose the automatically
Stéphane Brault wrote:
Hi,
I can't use formlib, when I run the example in the form.txt I get this error:
Traceback (most recent call last):
File pyshell#29, line 1, in -toplevel-
print MyForm(None, request)()
File pyshell#26, line 6, in __call__
widgets =
Reinhold Strobl wrote:
Hi,
what I am looking for is something like PyChecker for Zope interfaces. I mean
PyChecker aims to address the benefit of static typed languages and their
compile-time checkings.
In Zope, there is no forced interface compliance. But is there a possibility or
program,
Achim Domma wrote:
Hi,
I have a content object I want to set up in a IObjectCreatedEvent event
handler. I want to use the interactive interpreter to play with this,
but it looks like my configure.zcml is not parsed and executed if I use
placefulSetUp.
This is correct, placefulSetUp is used
Am 15.03.2007 um 01:52 schrieb Christophe Combelles:
[...]
Is there a tool or a method to automatically clean or detect unused
imports ?
In your Zope3-Instance there should be a python script called
importchecker which can detect unused imports.
hth, mac
description of the examples says.
--
Yours sincerely,
Michael Howitz
gocept gmbh co. kg · forsterstrasse 29 · 06112 halle/saale
www.gocept.com · fon: +49 345 12298898 · fax: +49 345 12298891
___
Zope3-users mailing list
Zope3-users@zope.org
http
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
___
Zope3-users mailing list
Zope3-users@zope.org
http
(self, data):
return self.context.renderCode(**data)
--
Yours sincerely,
Michael Howitz
gocept gmbh co. kg · forsterstrasse 29 · 06112 halle/saale
www.gocept.com · fon: +49 345 12298898 · fax: +49 345 12298891
___
Zope3-users mailing list
Zope3
a news article.
Do I have to keep track of object referencing in ZODB myself through
events or there are some built-in mechanism in ZODB to take care of
this for me?
Hi,
maybe gocept.reference[1] can help you.
[1] http://pypi.python.org/pypi/gocept.reference/0.2
--
Yours sincerely,
Michael
for this package) here to
volunteer for a release?
Yours sincerely,
--
Michael Howitz · [EMAIL PROTECTED] · software developer
gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1
Zope and Plone consulting and development
?
Yours sincerely,
--
Michael Howitz · [EMAIL PROTECTED] · software developer
gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1
Zope and Plone consulting and development
,
--
Michael Howitz · [EMAIL PROTECTED] · software developer
gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1
Zope and Plone consulting and development
___
Zope3-users
Hi,
some weeks ago a bug in z3c.menu.ready2go was fixed but there was no
new release since then.
I'd like to use this bug-fixed version as the bug has also bitten me,
so I'd like to request a new release of the package.
Thanks in advance.
Yours sincerely,
--
Michael Howitz · m
'.
test_class.number = 'asdf' results in the exception you expect.
Yours sincerely,
--
Michael Howitz · m...@gocept.com · software developer
gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1
Zope and Plone
have a look at http://pypi.python.org/pypi/gocept.reference
Yours sincerely,
--
Michael Howitz · m...@gocept.com · software developer
gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1
Zope and Plone consulting
...@lists.plone.org/msg02411.html
(sounds a bit similar especially because I do not understand
Italian :)
Yours sincerely,
--
Michael Howitz · m...@gocept.com · software developer
gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 8
it and move on.
Did you declare zope.viewlet as an install requirement in the setup.py
of your project? Maybe zopeproject does not do this automatically.
Yours sincerely,
--
Michael Howitz · m...@gocept.com · software developer
gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http
in the bin/paster and other scripts.
KGS only defines the versions of packages which can be used together.
This does not mean that all these packages get installed.
To use one package (aka install it) you have to declare it as install
dependency in setup.py.
Yours sincerely,
--
Michael Howitz
://download.zope.org/zope3.4/3.4.0/versions.cfg
Then this is wrong:
Run bin/buildout to install the new packages.
You should run:
bin/buildout -n
to get all the new packages. Sorry, my fault.
Yours sincerely,
--
Michael Howitz · m...@gocept.com · software developer
gocept gmbh co. kg · forsterstraße 29
you look at z3c.formui.form.Form? This is the pagelet integration
package for z3c.form.
Yours sincerely,
--
Michael Howitz · m...@gocept.com · software developer
gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889
, 13, '{y: y for _restricted_name in x}\n'))
These errors only occur because there are tests for Python 2.7 syntax
constructs which are not yet exising in the Python 2.6 you used. You can safely
ignore this errors.
Mit freundlichen Grüßen
--
Michael Howitz · m...@gocept.com · software
and knows the parameters like the path to the Data.fs.
Yours sincerely,
--
Michael Howitz · m...@gocept.com · software developer
gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1
Zope and Plone consulting
sincerely,
--
Michael Howitz · m...@gocept.com · software developer
gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany
http://gocept.com · Tel +49 345 1229889-8
Python, Pyramid, Plone, Zope · consulting, development, hosting, operations
signature.asc
Description: Message signed
32 matches
Mail list logo