Re: [Zope3-Users] z3c.traverser and stackinfo

2009-10-21 Thread Dan Korostelev
umer.py?rev=95983&view=auto): > > TypeError: ('Could not adapt', instance > URL=http://localhost:9060/++skin++Adama/mysite/@@stackinfo.html>, > ) Did you not include z3c.traverser.stackinfo configure.zcml file? -- WBR, Dan Korostelev

Re: [Zope3-Users] zope.app.container importing problem

2009-09-14 Thread Dan Korostelev
zope.app.container.constraints >>>> print dir(container) >['__builtins__', '__doc__', '__file__', '__name__', '__path__', > 'constraints', 'i18n', 'interfaces'] > > > > Can an

Re: [Zope3-Users] Eclipse + PyDev + deferred imports

2009-08-10 Thread Dan Korostelev
> Zope3-users mailing list > Zope3-users@zope.org > http://mail.zope.org/mailman/listinfo/zope3-users > -- WBR, Dan Korostelev ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] test writing with z3c.testsetup

2009-03-17 Thread Dan Korostelev
there, however, I add the url to the package directly as a find-link. It would be cool if the original PIL package download worked out of box. -- WBR, Dan Korostelev ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] problem adding localsitemanager in a subscriber with 3.5dev KGS

2009-02-28 Thread Dan Korostelev
2009/2/28 Dan Korostelev : >> >> changing the assignment in >> zope.site.site.changeSiteConfigurationAfterMove (line 254) to >> >>        site.getSiteManager().__bases__ = (next, ) if next else () >> >> should do it. > > Well, it should be set to g

Re: [Zope3-Users] problem adding localsitemanager in a subscriber with 3.5dev KGS

2009-02-27 Thread Dan Korostelev
2009/2/28 Jens W. Klein : > Am Sat, 28 Feb 2009 00:28:38 +0300 schrieb Dan Korostelev: > [...] >> It assumes that the root folder has its own component registry, but the >> rootFolder factory doesn't create one, so it returns none as the next >> site manager. So, yo

Re: [Zope3-Users] problem adding localsitemanager in a subscriber with 3.5dev KGS

2009-02-27 Thread Dan Korostelev
ting it. However, I guess this case should be handled by zope.site's event handler. I'll take a look at that tomorrow. -- WBR, Dan Korostelev ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] TextIndexNG question...

2009-02-22 Thread Dan Korostelev
tindexng3 that fixes a core dump with python 2.5 at last? It does work with python 2.4 and exactly the same patch was applied for normalizers before. https://sourceforge.net/tracker/index.php?func=detail&aid=2111923&group_id=50052&atid=458418 -- WBR, Dan Korostelev

Re: [Zope3-Users] Run starup code with zope 3.

2009-02-12 Thread Dan Korostelev
Just adapt your site object to IPrincipalRoleManager or to IPrincipalPermissionManager (defined in zope.security.interfaces) and use its methods to allow/deny roles/permissions to some principal ID. It will handle the actual storing work. Child objects will inherit parent's settings until they have their own local settings. -- WBR, Dan Korostelev ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Zope security and inheritance

2009-02-08 Thread Dan Korostelev
me checkers. -- WBR, Dan Korostelev ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Question about menu.py

2009-02-04 Thread Dan Korostelev
7;t currently have time to analyze your code as I must go, but the thing I can say right now is that the interface should provide the IMenuItemType, not implement it. -- WBR, Dan Korostelev ___ Zope3-users mailing list Zope3-users@zope.org http://mail

Re: [Zope3-Users] Question about menu.py

2009-02-03 Thread Dan Korostelev
utility is the interface that the menu item adapters are registered as providing. It works as intended here in plain zope3. Can you provide some more info? -- WBR, Dan Korostelev ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/ma

Re: [Zope3-Users] Users as Content

2009-01-17 Thread Dan Korostelev
ne with membrane. > > Anyone got any pointers in how to do this? > > Thanks > > Ben > ___ > Zope3-users mailing list > Zope3-users@zope.org > http://mail.zope.org/mailman/listinfo/zope3-users > -- WBR, Dan Korostele

Re: [Zope3-Users] [Zope-dev] Next Step to Bug Resolution???

2009-01-16 Thread Dan Korostelev
quired=True) description = Text(title=u'Description', required=False) class Item(Persistent): implements(IItem) title = FieldProperty(IItem['title']) description = FieldProperty(IItem['description']) ...and use them as base for your objects. Hope this

Re: [Zope3-Users] Getting permissions for a class

2009-01-15 Thread Dan Korostelev
/> >> >> >> How can I get the list of permissions declared for my LegislativePeriod. >> >> Thanks, >> >> sagblmi > > ___ > Zope3-users mailing list > Zope3-users@zope.org > http://mail.zope.org/mailman/listinfo/zope3-users > -- WBR, Dan Korostelev ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Is zope3 dead?

2008-12-22 Thread Dan Korostelev
f the slowdown? Or maybe I just misinterpret the > symptoms? > > Warm Regards, > Alek > > ___ > Zope3-users mailing list > Zope3-users@zope.org > http://mail.zope.org/mailman/listinfo/zope3-users > > -- WBR, Dan Korostelev ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Is zope3 dead?

2008-12-21 Thread Dan Korostelev
ls? > What are the causes of the slowdown? Or maybe I just misinterpret the > symptoms? > > Warm Regards, > Alek > > _______ > Zope3-users mailing list > Zope3-users@zope.org > http://mail.zope.org/mailman/listinfo/zope3-users > > -- WBR, Dan Korostelev ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Next Step to Bug Resolution???

2008-12-18 Thread Dan Korostelev
d it works okay. :-) Or, it might be that I don't fully understand your code and application architecture, so I would like to hear more about it. It looks quite over-engeneered to me. -- WBR, Dan Korostelev ___ Zope3-users mailing list Zope3

Re: [Zope3-Users] resource-directories

2008-12-02 Thread Dan Korostelev
__ > Zope3-users mailing list > Zope3-users@zope.org > http://mail.zope.org/mailman/listinfo/zope3-users > -- WBR, Dan Korostelev ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] SimpleComponentTraverser flaw

2008-09-24 Thread Dan Korostelev
rRequest is provided - lookup IBrowserView, if IXMLRPCRequest provided - lookup IXMLRPCView). Or probably some other way? Also, is there any things to note when fixing that issue? Thanks in advance for any comments on this. -- WBR, Dan Korostelev ___ Zope

[Zope3-Users] Call for translating z3c.form

2008-09-04 Thread Dan Korostelev
guage, then send back to me or commit to the repo, if you are a committer. Thanks! -- WBR, Dan Korostelev ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Bug in z3c.form.browser.orderedselect

2008-08-06 Thread Dan Korostelev
Thanks! PS Is there any bug tracking system for z3c.form package (like zope's general one on launchpad)? -- WBR, Dan Korostelev ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Versions policy for KGS

2008-04-21 Thread Dan Korostelev
should go in the KGS. Thanks in advance. -- WBR, Dan Korostelev ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Catalog add menu item permission.

2007-11-15 Thread Dan Korostelev
erstand something? Right now I just redefine that addMenuItem in my site configuration, but if it's a bug, I really want to see it fixed in Zope3 itself. Does anyone knows about this issue? Thanks! -- WBR, Dan Korostelev ___ Zope3-users mai