[Zope-dev] PW reset failing on zope.org
Attempted to reset password on zope.org and got an error. Can someone help out? -- Alan Runyan Skype/Twitter:: runyaga Office:: 713.942.2377 ext 111 http://ploud.com/ Plone site in less than 10 seconds ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] [ZODB-Dev] RFC: release persistent as a standalone package
> I would like to release a '4.0.0' version of the package, and switch > the ZODB trunk to pull it in as a dependency (deleting the currently > included (older) copy of persistent). One possible issue is that I > have not (yet) made the C extensions work under Python 3.2: I don't > know whether that should be a blocker for a release. I do not believe its a blocker. That is a "feature" that could be added. > Comments? You rock. -- Alan Runyan Skype/Twitter:: runyaga Office:: 713.942.2377 ext 111 http://ploud.com/ Plone site in less than 10 seconds ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Who has access to wineggbuilder was Re: zope.interface 3.8 win eggs
Thanks everyone!! On Sat, Sep 24, 2011 at 12:59 PM, Adam Groszer wrote: > Great! > > On Sat, Sep 24, 2011 at 5:47 PM, Hanno Schlichting wrote: >> On Sat, Sep 24, 2011 at 4:25 PM, Adam Groszer wrote: >>> Something is totally borked there. >>> http://winbot.zope.org/builders/wineggbuilder/builds/13939/steps/release%20eggs/logs/stdio >> >> I took a look and fixed the problem. It came down to a missing version >> pin for BeautifulSoup and a new backwards incompatible 4.0b version of >> it. >> >> The missing binary eggs are build and uploaded as we speak. >> >> Adam: I also installed all the latest Windows security updates and >> restarted the server once for that. >> >> Hanno >> > > > > -- > Best regards, > Adam > ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Who has access to wineggbuilder was Re: zope.interface 3.8 win eggs
On Fri, Sep 23, 2011 at 1:35 PM, Chris McDonough wrote: > On Fri, 2011-09-23 at 13:05 -0500, Alan Runyan wrote: >> please, >> can someone create 32/64bit eggs for windows > > I think someone needs to kick the "wineggbuilder", or at least diagnose > why it's having trouble building eggs for z.i. I'm not sure who's meant > to be running it. Who has access to the wineggbuilder? ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] zope.interface 3.8 win eggs
please, can someone create 32/64bit eggs for windows ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] How to install a ZEORaid storage.....
> what are other options for mysql database redundancy on windows ? http://dev.mysql.com/doc/refman/5.0/en/innodb-and-mysql-replication.html use the google, luke mysql replication innodb ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] How to install a ZEORaid storage.....
> I am new to MySQL and relStorage. I am not sure whether this is the > right place to ask this question or not. > I used relStorage with mySQL cluster. But MySql cluster replicates the > tables only with engine=ndbcluster, while relStorage creates tables > having engine=InnoDB. I manually altered the tables engine from InnoDB > to ndbcluster, but after doing this relStorage throws exception, > "object_state table should have engine=InnoDB, it has engine > =ndbcluster". Do anyone have any idea about to make mysql cluster > working with relStorage. do not use ndbcluster engine. ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope 2.12 20% slower than Zope 2.9?!
> Try with a smaller "batch" (whatever you are doing) and profile it. > I 100% agree with what ajung says. post a profile of your batch run that takes ~30 minutes. I would suspect its probably something inside framework you are using which is constantly querying ZCA. -alan ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] adapter registry in other systems
> i've read martin's article > http://www.martinaspeli.net/articles/a-java-component-architecture, > where he mentions that java doesn't have an equivalent of zca's adapter > registry. The article was written in 2007, so I was wondering if this > still holds true? What about other platforms, maybe .NET? jure, my understanding is that OSGi comes pretty close to the ZCA in spirit. http://en.wikipedia.org/wiki/OSGi cheers alan ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope 2.12/trunk on Windows
On Tue, Sep 28, 2010 at 6:09 AM, Martin Aspeli wrote: > What bugs? We're seeing problems running zope as Windows services. > Wondering if this is related. Nikolay can give more detail. Zcatalog and acquisition need to be re-released (changes were applied yesterday) to fix overflow errors. alan ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Zope 2.12/trunk on Windows
Hi guys, we have 4 new builders coming online. zope-2.12 win32/amd64 zope-trunk win32/amd64 https://hudson.enfoldsystems.com/ We found some bugs 64bit zope/windows bugs and patches will be applied by tomorrow. cheers alan ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] ZODB Book Project
http://zodbdocs.blogspot.com/ - ZODB Book Project Hello zope-dev, I wanted to provide a status update for the upcoming ZODB book. We have achieved our initial financial goal to get an advance to Carlos de la Guardia. He will begin planning and writing. We need more money. Please take this opportunity to goto the blog, review the book outline, provide feedback and click on the paypal link and add to the pot. I will be contacting companies who are absent from the donor roster. Please contribute. Both individuals and companies can contribute by becoming authors on the blog and writing articles. I've gotten a fairly luke-warm reception from the community on writing articles. If you have any experience - let me know. Email me an article, I will put it up and credit you. This project will succeed only by pulling the resources together from our communities. http://zodbdocs.blogspot.com/ - ZODB Book Project cheers, alan runyan ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] ZODB Documentation Fundraising
> "So if you want to donate. Send us some money. You can use Paypal or send > us a check." > > I don't do Paypal and I couldn't send you a cheque if I wanted to. IBAN, > please. Let's see how many other people want to do IBAN/wires xfers. We could offer it. ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] ZODB Documentation Fundraising
The blog: http://zodbdocs.blogspot.com/ I am coordinating an effort to have a ZODB book written by one of our Zope clan, Carlos de la Guardia. He has completed a recent book for Packt publishing on Grok. He showed interested in writing a ZODB book if it were under Creative Commons. I have set up a blog and focused on behind-the-scenes coordination required to make the book happen. We are now at a point where: - There is an initial outline of topics to cover. - There is a way to contribute financially on the ZODB Docs Blog (through paypal). - If you can contribute to the book with written material and experience. Let me know. I will make a contributor on the blog and you can post articles. Carlos is more than happy to consolidate/pinch material (and of course give the original author credit) and put it into the final book. One of the thoughts would be to write ZODB mini-howtos/articles on the blog. Some initial ideas: transaction module (datamanagers, aftercommithook, etc), debugging scenarios (how to debug a record being mutated accidentally), conflict resolution (writing your own custom impl, btree bucket splits, etc), concurrency, any benchmarking information you have, relstorage, writing your own persistence format (keas.pbpersist?), or query strategies for ZODB. There is a lot of material to cover in this book. - There are also contribution/funding levels available which correlate to recognition of your donation in the book. That is right. Give money and you go down in history in the documentation *wink* We will have a revised outline of the book by Monday evening from Carlos. If you want to contribute material to the Blog -- let me know. You have a channel to voice your experience. More information is on the blog and will be updated as more progress is made. Again the blog is at, http://zodbdocs.blogspot.com/ -- please sign up and subscribe to the RSS feed. I am open for any feedback. I desperately want to get the larger community support and feedback early as possible. Please feel free to send comments, concerns, criticisms. cheers, alan runyan ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] NEO High Performance Distributed Fault Tolerant ZODB Storage
On Wed, Mar 31, 2010 at 3:32 AM, Vincent Pelletier wrote: > Hi, > > I would like to present you the NEOPPOD project, aiming at improving ZODB > Storage scalability. The implementation is in a rather good shape, although > it > fails at a few ZODB tests at the moment (they are currently being worked > on). > Scalability is achieved by distributing data over multiple servers > (replication and load balancing) with the ability to extend/reduce cluster > on-line. > Congrats! A few questions that you may want to add in a FAQ. - NEO replaces FileStorage? Maybe typo? - What is the gain of using NEO over relstorage + mysql replication? - Why not include ZODB 3.10/Python 2.6 as a goal of the project? - I understand *today* the technologies use python 2.4 but ZODB 3.10/Plone 4/Zope 2.12 use python 2.6 - NEO is a different protocol than ZEO? - What is the Blob story with NEO? - Any issues with 32bit vs 64bit - Backup/restore strategy of NEO Other notes: - Maybe explain the goal of the project clearer: """ NEO provides distributed, redundant and transactional storage designed for petabytes of persistent (python?) objects. """ - A buildout for NEO would lower bar for evaluation - How do you plan on storing petabytes in a single MySQL server? since that is the data structure backend for NEO? Looking forward to reading the petrinet article - please send update when it comes out. cheers alan ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Uses of the ZTK and how it relates to management
> > One thing that makes problems like this really hard is that email is such > a terrible tool for much of the needed communication. It would be nice > if we could do something more sprinty. I don't want to help if it involves > drawn out email discussions, but, FWIW, I'd be willing to allocate some > concentrated blocks of time for high-bandwidth discussion and work. Fortunately there are all sorts of free/cheap ways for high bandwidth communication. Maybe a free conference call + screen sharing. If there was an agenda -- I would be more than willing to schedule, ensure technology is working, and coordinate people being there. Some people in the plone community have been doing weekly sprints. They just completed their 27th weekly sprint. They spend 6 hours or so on a set of bugs in the issue tracker. They do it over #irc. By this is still lowbandwidth communications. Nothing better than voice + supporting visuals to increase effectiveness. Again if someone wants to setup agenda I can help w/ logistics and ensure voice/screen sharing will work for, say, 20-40 people. Unfortunately I know very little about ZTK and the dependency issues. I would not be good person to setup an agenda. cheers alan ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] ContainerOrderModifiedEvent
It looks like zope.container.contained.notifyContainerModified is the event that is sent when *any* container modification occurs. Maybe this is too coarse grain? I would like to be able to differentiate when Ordering changes take place on a container. Are there any complaints against having ordering signal a more specific event? i.e. ContainerOrderModifiedEvent? It would inherient from ContainerModifiedEvent. specifically in: - zope.container.ordered.updateOrder - OFS.Folder.OrderSupport The problem is that it is very difficult to know if the Order has changed vs. some other container attribute has been changed. -- Alan Runyan Enfold Systems, Inc. http://www.enfoldsystems.com/ phone: +1.713.942.2377x111 fax: +1.832.201.8856 ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Remove 'Add Product' in Control_Panel
While we are talking about removing zclasses (or rather.. ignoring them). Can we remove the "Add Product" button in the Control Panel? Removing buttons in the ZMI is a good thing ;) -- Alan Runyan Enfold Systems, Inc. http://www.enfoldsystems.com/ phone: +1.713.942.2377x111 fax: +1.832.201.8856 ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] catalog performance: query plan
I agree with Tres. A lot more can be done with Indexes and Catalog without caching. The most exiciting development in Catalog optimizations comes out Jarn. Helge Tesdal (iirc) did a buncha work at a RDBMS company when he was in college. He has a protoype of a query plan for ZCatalog. http://www.jarn.com/blog/catalog-query-plan I would like to ask Roche and others to look at the Query Plan. Caching is a total PITA because invalidation machinery becomes overwhelming complex and unwieldly quickly in production. -- Alan Runyan Enfold Systems, Inc. http://www.enfoldsystems.com/ phone: +1.713.942.2377x111 fax: +1.832.201.8856 ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Bounty for Breaking RestrictedPython?
So maybe we could crowd source the RestrictedPython problem? If we could create a pool of money from various people/organizations. And offer someone 50$ per scenario where they can break Restricted Python? Then it turns into sort of a game. Not only do you get "bragging rights" but some money (or something from Amazon). -- Alan Runyan Enfold Systems, Inc. http://www.enfoldsystems.com/ phone: +1.713.942.2377x111 fax: +1.832.201.8856 ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: [Plone-developers] Re: Five and 2.9
>> Alan, does that address your concerns? > > Just understand that the Five approach is still being developed, so > there's nothing to "adopt" yet. :) But I certainly encourage folks to > participate and help Martijn figure out what the approach should be. Raphael, I think its great that Jim responded. Now we (collectively) need to get some usage out of Five. Jim, Thanks for explaining ZC's position re: FrankenZope or backporting CA into Zope2. One of the big questions that I believe is open is how to use more of zope.app in Zope 2 - specifically Schema/Widgets. I heard that Zope Corp. is using this in some projects. So - I asked if people to do some CMF/Plone implementation of Views in certain aspects. I am up for creating a Supplement to Plone to bolts on some of the technologies and uses it. Maybe specifically using it for doing in-place versioning. I urge the communities to use Plone or maybe a fork of it (or the CMF) to be a playground. Like Idle forked to land some major features for Python. Then it can be integrated back into subsequent projects. -- Alan Runyan Enfold Systems, LLC. - Principal Plone/Zope Training, Products, and Consulting http://www.enfoldsystems.com/ p. +1.713.942.2377 f. +1.832.201.8856 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Transcience getId() KeyError
Using Zope2.6.0 final on FreeBSD; Python 2.1.3 this is at iMeme. Question: I thought I read Tim squashed most (all?) of the known bugs in BTree's in 2.6. Is this true? Has anyone seen this? in a Product i'm using/wrote... we try to get the SESSION.getId() and get a KeyError. Here is the traceback. I would appreciate any feedback. Many thanks. # gc the stale buckets at the "beginning" of _data ("garbage collect") # iterate over the keys in data that have no minimum value and # a maximum value of delete_end (note: ordered set) # XXX- fixme. range search doesn't always work (btrees bug) I believe it is the line after this that is throwing the exception for k in list(data.keys(None, delete_end)): here was the exception: Site Error An error was encountered while publishing this resource. KeyError Sorry, a site error occurred. Traceback (innermost last): *Module ZPublisher.Publish, line 150, in publish_module *Module ZPublisher.Publish, line 114, in publish *Module Zope, line 171, in zpublisher_exception_hook *Module ZPublisher.Publish, line 98, in publish *Module ZPublisher.mapply, line 88, in mapply *Module ZPublisher.Publish, line 39, in call_object *Module Shared.DC.Scripts.Bindings, line 252, in __call__ *Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec *Module Products.PageTemplates.ZopePageTemplate, line 228, in _exec *Module Products.PageTemplates.PageTemplate, line 95, in pt_render *Module TAL.TALInterpreter, line 186, in __call__ *Module TAL.TALInterpreter, line 230, in interpret *Module TAL.TALInterpreter, line 689, in do_useMacro *Module TAL.TALInterpreter, line 230, in interpret *Module TAL.TALInterpreter, line 459, in do_setLocal_tal *Module Products.PageTemplates.TALES, line 217, in evaluate URL: /cmf/main_template Line 104, Column 4 Expression: standard:'here/portal_commerce/getShoppingCartFor' Names: {'container': , 'default': , 'here': , 'loop': , 'modules': , 'nothing': None, 'options': {'args': ()}, 'repeat': , 'request': http://www.dstoys.com/index_html>, 'root': , 'template': , 'traverse_subpath': [], 'user': Anonymous User} *Module Products.PageTemplates.Expressions, line 206, in __call__ *Module Products.PageTemplates.Expressions, line 201, in _eval *Module Products.PageTemplates.Expressions, line 108, in render *Module Products.CMFCommerce.CommerceTool, line 260, in getShoppingCartFor *Module Products.CMFCommerce.ShoppingCartManagement, line 113, in getShoppingCartFor *Module ZPublisher.HTTPRequest, line 1189, in __getattr__ *Module ZPublisher.HTTPRequest, line 1149, in get *Module Products.Sessions.SessionDataManager, line 93, in getSessionData *Module Products.Sessions.SessionDataManager, line 180, in _getSessionDataObject *Module Products.Transience.Transience, line 175, in new_or_existing *Module Products.Transience.Transience, line 786, in get *Module Products.Transience.Transience, line 599, in _getCurrentBucket *Module Products.Transience.Transience, line 688, in _housekeep KeyError: 1045356900 (Also, an error occurred while attempting to render the standard error message.) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Plone, PageTemplates and Zope2.6
using chrism-install-branch and caring much less than I have in my past life - I have run ab against Plone in Zope2.6. It appears that Zope2.6 is significantly slower than Zope2.5.1. I ran ab from my Windows XP machine on a local network. 300Mhz Celeron w/ 256MB RAM Zope2.5.1 Python 2.1.3 ab -n 10 http://mysite/plone 1.30 Requests per second Zope2.6 Python 2.1.3 ab -n 10 http://mysite/plone 0.87 Requests per second I ran the tests a few times and picked the highest number. In both 2.5.1 and 2.6 the "target cache" setting is higher than 4000 (and I am only requesting the first plone page). Also Andy McKay did some quick benchmarks using a simplified PageTemplate skin and he is getting ugly results (he is migrating from DTML to PageTempaltes). cheers, ~runyaga ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] plone.org - chrism_installer_branch
i dont believe so.. its plone.org thats doomed. I cant reproduce the madness on my local boxen ;-( its all very frustrating .. but I am learning to care less which is a good thing ;-) ~runyaga - Original Message - From: "Chris McDonough" <[EMAIL PROTECTED]> To: "alan runyan" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, September 17, 2002 5:25 AM Subject: Re: [Zope-dev] plone.org - chrism_installer_branch > Alan, > > You mentioned that you thought the chrism-install-branch was slow... do > you see the slowness and the leakage when using the tip of the 2.6 branch? > > - C > > > alan runyan wrote: > > Hi. > > > > just wanted to drop you guys a line and say that > > chrism_installer_branch will save the world. > > But I have some questions: > > > > Chris said its based on HEAD. Whats the > > difference between HEAD and Zope-2_6-branch? > > I probably shouldnt be running HEAD in production? > > I am having severe leakage here are some refoucnts: > > > > DateTime - 62263 > > IOBucket - 32641 > > PloneFolder - 22766 > > User - 22196 > > PersistentMapping - 12846 > > CMFDefault.Document.Document - 12820 > > > > I have have the python security machinery turned on. > > > > should I move to Zope2.6 branch instead of trying to > > fight? what would I look at next? > > > > ~runyaga > > > > > > > > > > ___ > > Zope-Dev maillist - [EMAIL PROTECTED] > > http://lists.zope.org/mailman/listinfo/zope-dev > > ** No cross posts or HTML encoding! ** > > (Related lists - > > http://lists.zope.org/mailman/listinfo/zope-announce > > http://lists.zope.org/mailman/listinfo/zope ) > > -- > Chris McDonoughZope Corporation > http://www.zope.org http://www.zope.com > "Killing hundreds of birds with thousands of stones" > ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] plone.org - chrism_installer_branch
Hi. just wanted to drop you guys a line and say that chrism_installer_branch will save the world. But I have some questions: Chris said its based on HEAD. Whats the difference between HEAD and Zope-2_6-branch? I probably shouldnt be running HEAD in production? I am having severe leakage here are some refoucnts: DateTime - 62263 IOBucket - 32641 PloneFolder - 22766 User - 22196 PersistentMapping - 12846 CMFDefault.Document.Document - 12820 I have have the python security machinery turned on. should I move to Zope2.6 branch instead of trying to fight? what would I look at next? ~runyaga ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] How long below the radar?
I couldnt resist jumping in. I have been playing w/ ZOPE and BEA Weblogic for over two years. I would say I know more about Weblogic than ZOPE, but I am more productive w/ ZOPE. thus my 'love' for ZOPE. I believe that before ZOPE can truely take off it will need a miniVend like solution to get the PHP/CF/ASPers to ZOPE. Why? Because everyone needs this functionality - Now. In fact, I want it, but not enough to put the time into either of the two existing solutions. When you come to Zope, its almost impossible to build something like this the first day, even if you are somewhat fluent with Python. Why? Tools/Experience from other systems are not out-of-the-box. Sessions _are_ fundamental in keeping state in a shopping cart application. You can not easily embed logic w/ presentation (please dont flame me.) -- all other systems do it. ZOPE is the only one that *forces* you to be correct. people dont want correct, they want it to work, Now. After using resin, http://www.caucho.com/ for over a year, the dynamically loaded classes, form based authentication (i hear this at least 4-5 times a week on #zope), jsp, easy configuration xml file (?environment variable explosion?), sessions, and clear API documentation. I'm not saying make ZOPE - servlet/jsp like I'm just pointing out what I find **incredibly** useful for large scale ecommerce projects, http://www.skyauction.com/ Redhat's solution is a evolved minivend - http://interchange.redhat.com/cgi-bin/ic/index.html I was on #zope for the talk about creating pay modules for ZOPE. I am a fan of this idea. I think having a 100% Zope Certified Product could lead to more consistent configurations/out-of-the-box products -- how many products besides the DC released ones would you give a 100% Zope Certified Product label to? I havent seen that many at all. With some work they could get it, but very few out-of-the-box. The last thing people want is to have to download 3 different products to get another product working. It would be different if these dependancies were on products like PageTemplates in that they are 100% Zope Certified. Seeing that there are over 300 products, its about time the 'truely drop-in products' are seperated from the almost drop-in workable products. I would like to see a Roadmap for ZOPE. A option to purchase 100% Zope Certified Products (I dont believe this was in the survey sent out to the community) that Work Now. I would like to have a clearer way of development path, a Best Practices. ZEO is a huge secret, if you can get the average ASP/PHPer to be able to use ZEO and get interactive debugging working in the a few hours (or out of the box!! ;) -- you will see a new tune sung about 'ease of use'. I think with the right tools coming out of the box w/ ZOPE in the future it will be gain even more popularity. Preserving quality with a 100% Zope Certified label will give people confidance in the testing/reliability of their Products. And with the option of purchasing modules maybe some people can make some(quite a few?) bucks on the side ;). cheers, ~runyaga ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] proxy roles dont jive w/ new security model
ok. thanks for a nudge from Martijn I whipped out the trusty debugger and confirmed my worse fears. I have a DTML Method that is a view of a object. I'm using CMF and dont want the person to have to log in to submit content. so what I did was.. say ok. I will create 2 Script (Pythons) that are Proxied at a Management Role, A) creates a new content object, then displays the edit_form, B) submits the edit_form and updates the new instances ;). This is a valid use-case of the CMF. How I think this should be done is creating a PUBLIC user where unreviewed objects go, when they are submitted they are set to review_status of pending. when they are published they are moved into another folder. My Script (Python) -- which is Proxied w/ all roles: creates the new object and then calls a method, getEditView (which is accessible by Public) on my instance, which returns the edit_form, DTML Method called with the instance as the client and the current REQUEST. Now when this DTML Method is called it gets a new SecurityContext. and the new SecurityContext doesnt care about my Proxied roles. (it takes in 0 consideration of this, and this should be noted in the developer guide). Because the Context only cares about *who is calling*, which isnt the Proxy role but the actual user, Anonymous User. ** Thus when its rendering the DTML Method its rendering as Anonymous not as my Proxied Script (Python) and when it hits a this() it horks with a Not Authorized.** <- I'm quite sure how True this is. It appears that when i'm going through the security machinery the 'anExecutableObject' (which is the DTML Method) *has* my proxies roles. BTW: I cant call manage_proxy on the DTML Method, because that also only cares about *who is calling* and the Anonymous Role doesnt do much good for me (if I try 'Manager' or something it correctly complains that I do not have that proxy role). It appears that my DTML Method needs a _customSecurityPolicy. It seems the publishing machinery publishes: Script (Python), then MyDTMLMethod, then the header that MyDTMLMethod uses. do I need a customSecurityPolicy to attach to my DTMLMethods so that they can run in the same security context (which I would like to be, God -- remember they are submitting to a Script(Python) which is doing all the heavy lifting, the rendering is being returned by the Script(Python), so it would be fine if I had a "lets this Publishing Event occur as God" Q: when my header says _.hasattr(this(), 'someAttr') <- this() is the dtml_method(client, request) client reference, correct? this has caused me very much heartache. ;( and emotional damage ;'( I'm very confused and discourgaged right now. If I told you how long i've spent on this you would cringe. My end goal is to make a CMF product where peopel submit resumes/job postings (this works just fine w/ members logged in). but I need people who are not members to be able to submit job postings. ( so they need to be able to create and edit the entry for it to be pushed to a review status. ) I am trying to do this w/o changing my Objects because I want to be able to come up w/ a idiom of doing this for all CMF objects (since you may want people who are not members to submit Calendar Events, for instance). if im not giving enough information please help. I'm willing to spend time doing this. I am so far down this road and I've committed to someone i would have it done. any help would be appreciated, ~runyaga ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Proxy not Propagating - could be FSDTMLMethod
> > > Since Zope 2.2, proxie roles are no longer propagated. > > You need to give the object that makes the access a proxie role, too. Yes I heard about this. the object is a FSDTMLMethod, it has no proxy ability (that I'm aware of). I made it a DTMLMethod (by 'customize' in the CMF) and added it a appropriate proxy role, and it still gripes. can i Programatically assign a obj a proxie role? any examples? ~runyaga ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Proxy not Propagating - could be FSDTMLMethod
this is in the context of CMF, but its a ZOPE Security issue. I have a Script (Python), createJobPosting which is: from DateTime import DateTime path = ('', 'virtual_hosts', 'thecommode', 'Members', 'PUBLIC') PUBLIC = context.restrictedTraverse(path) id = str(DateTime().millis()) PUBLIC.invokeFactory(type_name='Job Posting', id=id) obj = getattr(PUBLIC,id) view = getattr(obj,'job_edit_form') return obj.getEditView() that is Proxied as Manager/Member/Reviewer.it creates a object just fine (in Members/PUBLIC) so then the script then calls obj.getEditView() which is: security.declarePublic('getEditView') def getEditView(self): skins = getToolByName(self, 'portal_skins') if hasattr(skins, 'job_edit_form'): self.editView = getattr(skins, 'job_edit_form') return self.editView(self, self.REQUEST) # i assume this gets a new security context? when its being 'published', how can i proxy this as Manager/Member/Reviewer? I need to render the job_edit_form (filesystem DTML Method) in the same Security Proxy context (as Manager/Member/Reviewer), but upon its publishing it encounters as _.hasattr(this(), 'myAttribute') and says I dont have access to this(). Zope2.3.3, CMF1.1, Linux, Python 1.52 Traceback (innermost last): File /home/zope/ZopeInstallation/ZopeSoftwareHome/lib/python/ZPublisher/Publish.p y, line 223, in publish_module File /home/zope/ZopeInstallation/ZopeSoftwareHome/lib/python/ZPublisher/Publish.p y, line 187, in publish File /home/zope/ZopeInstallation/ZopeSoftwareHome/lib/python/ZPublisher/Publish.p y, line 171, in publish File /home/zope/ZopeInstallation/ZopeSoftwareHome/lib/python/ZPublisher/mapply.py , line 160, in mapply (Object: createJobPosting) File /home/zope/ZopeInstallation/ZopeSoftwareHome/lib/python/ZPublisher/Publish.p y, line 112, in call_object (Object: createJobPosting) File /home/zope/ZopeInstallation/ZopeSoftwareHome/lib/python/Shared/DC/Scripts/Bi ndings.py, line 324, in __call__ (Object: createJobPosting) File /home/zope/ZopeInstallation/ZopeSoftwareHome/lib/python/Shared/DC/Scripts/Bi ndings.py, line 354, in _bindAndExec (Object: createJobPosting) File /home/zope/ZopeInstallation/ZopeSoftwareHome/lib/python/Products/PythonScrip ts/PythonScript.py, line 336, in _exec (Object: createJobPosting) (Info: ({'script': , 'context': , 'container': , 'traverse_subpath': []}, (), {}, None)) File Script (Python), line 11, in createJobPosting (Object: DateTime) File /home/zope/ZopeInstallation/InstanceHome/Products/CMFEmployment/JobPosting.p y, line 255, in getEditView (Object: DynamicType) File /home/zope/ZopeInstallation/ZopeSoftwareHome/lib/python/Products/CMFCore/FSD TMLMethod.py, line 180, in __call__ (Object: job_edit_form) File /home/zope/ZopeInstallation/ZopeSoftwareHome/lib/python/DocumentTemplate/DT_ String.py, line 540, in __call__ (Object: job_edit_form) File /home/zope/ZopeInstallation/ZopeSoftwareHome/lib/python/Products/CMFCore/FSD TMLMethod.py, line 175, in __call__ (Object: standard_html_header) File /home/zope/ZopeInstallation/ZopeSoftwareHome/lib/python/DocumentTemplate/DT_ String.py, line 540, in __call__ (Object: standard_html_header) File /home/zope/ZopeInstallation/ZopeSoftwareHome/lib/python/DocumentTemplate/DT_ Util.py, line 333, in eval (Object: _.hasattr(this(),'isEffective') and not isEffective(ZopeTime() )) (Info: this) File /home/zope/ZopeInstallation/ZopeSoftwareHome/lib/python/Products/CMFCore/FSD TMLMethod.py, line 198, in validate (Object: job_edit_form) File /home/zope/ZopeInstallation/ZopeSoftwareHome/lib/python/AccessControl/Securi tyManager.py, line 144, in validate File /home/zope/ZopeInstallation/ZopeSoftwareHome/lib/python/AccessControl/ZopeSe curityPolicy.py, line 225, in validate Unauthorized: (see above) I think quite a few people could run into this, when trying to Proxy content manipulation to non-logged into user, i.e. allowing people who are not logged into submitContent (but proxying them off as if they were a logged in Member -- in this case PUBLIC) .. I am going about this the correct way, I believe. ? I also tried to 'customize' the FSDTMLMethod and proxy it as Manager/Reviewer/Member and it still gives me the same error ;'( thanks, ~runyaga ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )