Am 01.08.2013 um 14:10 schrieb christophe petit :
[…]
> @adapter(ISearchz, IObjectAddedEvent)
> def creationCatalog(event):
[…]
> Could you see what's wrong at first sight ?
You define two arguments in the adapter decorator, but your function accepts
only one.
Yours sincerel
ver. There needs to be a wrapper script somewhere (maybe in `bin`) which
sets the path correctly 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) · ge
.4.0c1/lib/python/ZEO/runzeo.py", line 244, in
> loop_forever
>import ThreadedAsync.LoopCallback
> ImportError: No module named ThreadedAsync.LoopCallback
Zope 3.4 requires Python 2.4 to run, Python 2.6 is too new.
Yours sincerely,
--
Michael Howitz · m...@gocept.com · softwa
in whatever if y}\n'))
>
> SyntaxError: ('invalid syntax',
> ('/home/david/sampleproject/eggs/tmpwTJ7tk/RestrictedPython-3.6.0-py2.6.egg/RestrictedPython/tests/security_in_syntax27.py',
> 6, 13, '{y: y for _restricted_name in x}\n'))
These error
z3c:layout in zcml ?
Did 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 1
age that you are trying to access is not available"
Hi,
put a Pdb into the __call__ method of your views to see whether they
are called and do not raise an exception. (Which later on gets masked
by the message you get displayed.)
Mit freundlichen Grüßen
--
Michael Howitz · m...@gocept.
em. Some people used URLs starting with 'svn://' as
home page oder download URL in pypi, which buildout can't use.
> but buildout claimed that it "Got" versions of each of the 3
> packages i specified (and several dependencies as well).
Yours sincerely,
--
Mi
wing line:
>> extends = http://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
following (without the indentation):
[versions]
zope.app.apidoc = 3.6.3
Run bin/buildout to install the new packages.
Yours sincerely,
--
Michael Howitz · m...@gocept.com · software developer
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com ·
but does not
> appear 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 sincere
enough.
>
> I wish to find out my mistake, correct 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
irectory
Google finds this:
http://www.mail-archive.com/plone...@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 ha
You might 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 Pl
property, as 'test' is your class, you
called the instance 'test_class'.
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
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
.
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 develop
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 develop
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
r ToolCode objects."""
def renderCode(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
___
ust be integers
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
__
the german 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
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
_
David Walker wrote:
[...]
> The referenced line in zope.conf is:
> formatter zope.exceptions.log.Formatter
[...]
> I’m running Windows XP and have installed Zope-3.2.1.win32-py2.4.
[...]
> Any ideas?
Looks like Issue 719: http://www.zope.org/Collectors/Zope3-dev/719
It says that this problem
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
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, w
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 "", line 1, in -toplevel-
print MyForm(None, request)()
File "", line 6, in __call__
widgets = form.setUpWidgets(self.form_fields, 'fo
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 gene
Florian Lindner wrote:
Am Mittwoch, 12. April 2006 08:39 schrieb Michael Howitz:
reg = site.UtilityRegistration(name, interface, utility)
Thanks for the code. One question: Of what type is site?
Sorry i forgot one import:
from zope.app.component import site
--
Mit freundlichen Grüßen
)
# do the pau things
finally:
zope.app.component.hooks.setSite(old_site)
Where root_folder is the object providing ISite (the site containing
your PAU).
HTH
--
Michael Howitz
gocept gmbh & co. kg · forsterstrasse 29 · 06112 halle/saale
www.gocept.com · fon: +49 345 1229
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
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 tru
Am Mittwoch, den 05.04.2006, 09:36 -0500 schrieb Jeff Rush:
> I know that Zope3 dropped 'implicit' acquisition, but is there any support
> for
> *explicit* acquisition that walks the __parent__ containment hierarchy.
> Something that follows the same rules as traverse() to look up a name, but
>
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
> impleme
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:
>
>
> Which generates the follow exception:
> ForbiddenAttribute: ('__float_
this to zcml:
>
>
You can only do a grantAll for users defined via ZCML.
All other users you have to do
zope.app.securitypolicy.principalpermission \
import principalPermissionManager
principalPermissionManager.grantAllPermissionsToPrincipal("mpgsite.test")
--
Mit freundl
Am Mittwoch, den 29.03.2006, 12:22 -0500 schrieb Pete Taylor:
> That worked immediately... Thank you sir.
>
> other than "being really smart", how did you know to look at that?
I had the same problem some time ago. ;)
> I
> guess I don't understand some of the implied permissions, esp when
>
Am Mittwoch, den 29.03.2006, 01:56 -0500 schrieb Pete Taylor:
> Hi all (yet again ;) ),
> I ran into this issue on a project I worked on before, but I ended up
> changing the design before it became a significant issue. this time
> around, i don't see a way by it.
>
> i have a class that derives
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 need
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
>
s, intid)
> reg_manager.addRegistration(intids_reg)
> intids_reg.status = ActiveStatus
The shorter way is:
zope.app.appsetup.bootstrap.ensureUtility(
context, IIntIds, '', IntIds, copy_to_zlog=False)
--
Mit freundlichen Grüßen
Michael How
ling
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
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
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
On Tue, 2005-12-06 at 18:44 -0500, Paul Winkler wrote:
> Hi,
>
> Is it possible to register an adapter for a builtin type
> such as str? All the adapter examples I see use an interface for the
> "for" attribute.
>
> Something like:
>
>provides=".interfaces.IHTTPConnection"
> factory
44 matches
Mail list logo