Re: [Zope-dev] Re: Additional locales for zope.i18n.locales.data?
On Tuesday 27 November 2007, Nathan Yergler wrote: So unfortunately it's going to require some more work to fix up the loader; I'll probably create a branch to work on this some... Great! Let me know if you have questions. I have once updated the XML definitions and it was not too bad. It's pretty mechanical. Regards, Stephan -- Stephan Richter CBU Physics Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ 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: AW: [Checkins] SVN: z3c.jbot/ Initial import.
Philipp von Weitershausen wrote: btw, I think since we use buildout, it's not possible to implement mixed Zope3/Five packages bacause setup has to define the Five packages too. right? In general, it makes the reuse of a package difficult if it depends on Zope 2 stuff (incl. Five). As Malthe explains, the implementation does not depend on Five, the tests do. Is he supposed to put the Five dependent tests into a different package? I think there's little to gain from that, and the added burden of having two packages. And, I don't see why patching a base class that both Zope 3 and Zope 2 share is a magic dependency. Daniel ___ 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] Zope Tests: 5 OK
Summary of messages to the zope-tests list. Period Wed Nov 28 13:00:00 2007 UTC to Thu Nov 29 13:00:00 2007 UTC. There were 5 messages: 5 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.7 Python-2.3.6 : Linux From: Zope Unit Tests Date: Wed Nov 28 20:53:07 EST 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-November/008716.html Subject: OK : Zope-2.8 Python-2.3.6 : Linux From: Zope Unit Tests Date: Wed Nov 28 20:54:37 EST 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-November/008717.html Subject: OK : Zope-2.9 Python-2.4.4 : Linux From: Zope Unit Tests Date: Wed Nov 28 20:56:07 EST 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-November/008718.html Subject: OK : Zope-2.10 Python-2.4.4 : Linux From: Zope Unit Tests Date: Wed Nov 28 20:57:37 EST 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-November/008719.html Subject: OK : Zope-trunk Python-2.4.4 : Linux From: Zope Unit Tests Date: Wed Nov 28 20:59:08 EST 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-November/008720.html ___ 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] release checker results...
Sorry, I dont have the summary stuff automated... Begin forwarded message: From: [EMAIL PROTECTED] (Cron Daemon) Date: November 29, 2007 1:02:48 AM EST To: [EMAIL PROTECTED] Subject: Cron [EMAIL PROTECTED] $HOME/bin/releasechecker.py Products.GenericSetup OK (1 dependencies) Products.PluggableAuthService FAILED (error: /tmp/easy_install-9zE-Xs/ Products.PluggableAuthService-1.5.2/Products/PluggableAuthService/ version.txt: No such file or directory) Products.PluginRegistry FAILED (error: /tmp/easy_install-KU49XH/ Products.PluginRegistry-1.1.3/Products/PluginRegistry/version.txt: No such file or directory) RestrictedPython OK (1 dependencies) ZODB3 OK (6 dependencies) ZODB4 FAILED (error: Could not find suitable distribution for Requirement.parse('ZODB4')) ZopeX3 FAILED (error: Could not find suitable distribution for Requirement.parse('ZopeX3')) fcgiapp OK (1 dependencies) five.customerize OK (1 dependencies) jquery.javascript OK (80 dependencies) jquery.jsonform OK (63 dependencies) jquery.layer OK (80 dependencies) jquery.widget OK (66 dependencies) psycopgda OK (1 dependencies) z3c.breadcrumb OK (60 dependencies) z3c.coverage OK (1 dependencies) z3c.csvvocabulary OK (5 dependencies) z3c.currency OK (17 dependencies) z3c.form OK (63 dependencies) z3c.formdemo OK (77 dependencies) z3c.formjs OK (71 dependencies) z3c.formjsdemo OK (82 dependencies) z3c.formui OK (68 dependencies) z3c.i18n OK (78 dependencies) z3c.layer OK (81 dependencies) z3c.macro OK (79 dependencies) z3c.macroviewlet OK (64 dependencies) z3c.menu OK (82 dependencies) z3c.optionstorage OK (78 dependencies) z3c.pagelet OK (80 dependencies) z3c.recipe.runscript OK (2 dependencies) z3c.referercredentials OK (60 dependencies) z3c.rml OK (8 dependencies) z3c.skin.pagelet OK (94 dependencies) z3c.template OK (78 dependencies) z3c.testing OK (78 dependencies) z3c.traverser OK (80 dependencies) z3c.viewlet OK (80 dependencies) z3c.viewtemplate OK (79 dependencies) z3c.widget FAILED (error: Could not find suitable distribution for Requirement.parse('z3c.schema')) z3c.zalchemy OK (80 dependencies) z3c.zrtresource OK (78 dependencies) z3hello FAILED (error: Could not find suitable distribution for Requirement.parse('zope.app')) zc.authorizedotnet FAILED (error: Could not find suitable distribution for Requirement.parse('ssl-for-setuptools')) zc.catalog OK (82 dependencies) zc.copy OK (78 dependencies) zc.creditcard OK (2 dependencies) zc.datetimewidget OK (80 dependencies) zc.displayname OK (1 dependencies) zc.freeze OK (83 dependencies) zc.i18n OK (78 dependencies) zc.queue OK (7 dependencies) zc.relationship OK (81 dependencies) zc.resourcelibrary OK (78 dependencies) zc.shortcut OK (2 dependencies) zc.sourcefactory OK (80 dependencies) zc.sshtunnel OK (1 dependencies) zc.ssl OK (3 dependencies) zc.table OK (79 dependencies) zc.testbrowser OK (9 dependencies) zc.vault OK (87 dependencies) zdaemon OK (2 dependencies) zodbcode OK (7 dependencies) zope.annotation OK (77 dependencies) zope.app.annotation OK (78 dependencies) zope.app.apidoc OK (86 dependencies) zope.app.applicationcontrol OK (77 dependencies) zope.app.appsetup OK (77 dependencies) zope.app.authentication OK (77 dependencies) zope.app.basicskin OK (77 dependencies) zope.app.boston OK (81 dependencies) zope.app.broken OK (77 dependencies) zope.app.cache OK (78 dependencies) zope.app.catalog OK (81 dependencies) zope.app.component OK (77 dependencies) zope.app.container OK (77 dependencies) zope.app.content OK (77 dependencies) zope.app.dav OK (79 dependencies) zope.app.debug OK (77 dependencies) zope.app.debugskin OK (79 dependencies) zope.app.dependable OK (77 dependencies) zope.app.dtmlpage OK (80 dependencies) zope.app.error FAILED (error: Download error for http://pypi.python.org/packages/source/z/zope.location/zope.location-3.4.0.tar.gz : (104, 'Connection reset by peer')) zope.app.exception OK (77 dependencies) zope.app.externaleditor OK (79 dependencies) zope.app.file OK (78 dependencies) zope.app.folder OK (77 dependencies) zope.app.form OK (77 dependencies) zope.app.ftp OK (78 dependencies) zope.app.generations OK (77 dependencies) zope.app.homefolder OK (78 dependencies) zope.app.http OK (77 dependencies) zope.app.i18n OK (77 dependencies) zope.app.i18nfile OK (79 dependencies) zope.app.interface OK (77 dependencies) zope.app.interpreter OK (78 dependencies) zope.app.intid OK (79 dependencies) zope.app.keyreference OK (13 dependencies) zope.app.layers OK (2 dependencies) zope.app.locales OK (77 dependencies) zope.app.locking OK (79 dependencies) zope.app.module OK (78 dependencies) zope.app.onlinehelp OK (79 dependencies) zope.app.pagetemplate OK (77 dependencies) zope.app.pluggableauth OK (78 dependencies) zope.app.preference OK (80 dependencies) zope.app.preview OK (1 dependencies) zope.app.principalannotation OK (77 dependencies) zope.app.publication OK (77 dependencies) zope.app.publisher OK (77 dependencies) zope.app.pythonpage OK (79
[Zope-dev] Re: Additional locales for zope.i18n.locales.data?
Tres Seaver wrote: Please separate out the dependency problem from NIH: in this case, zope.i18n predates the NIH package by *years* (the i18n support was the topic of the *first* extra-mural Zope3 sprint, in January of 2002). Actually no, if I understand Philipp's comment correctly, the NIH problem *they* suffered from was because of the dependency problem that zope.i18n suffered from. Given they have a solution without the dependency problems, maybe we should use it? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ 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] Re: Portal catalog not always finding my content type
Tres Seaver, on 2007-11-29: One of the overrides in the CMF catalog tool (and inherited in the Plone version, AFAIK) is filtering out content which the user wouldn't be permitted to view if she did find it. Are you sure that your School object is in an appropriate workflow state for the user to find? D'oh! That sounds entirely plausible. I should have thought of that. Trying it now. Yes, that's it. :) You should be able to look at the content of the catalog (on its Catalog tab) and find your School object. Look at the content of the 'allowedRolesAndUsers' index for that object: does it say something like '(Manager,)? Yes, Manager and some other roles. I published the item and now Anonymous is in that list. And that makes my PAS plugin work. Phew! Thanks! -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ Do not worry about your difficulties in computers, I can assure you mine are still greater. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: Frustrated with Python and Frameworks. Zope, Grok, , Django, CherryPy
Hey, On Nov 28, 2007 11:18 PM, Tres Seaver [EMAIL PROTECTED] wrote: Martijn Faassen wrote: Hey, On Nov 28, 2007 12:16 AM, Martijn Jacobs [EMAIL PROTECTED] wrote: We could also consider putting them in some kind of collective-like SVN repository so that people can make changes when they need to. I think this is a great idea as it works with the Plone collective this way as well. Just to make it utterly clear: this stuff won't happen by itself. We need a bunch of self-driven volunteers to do this work: look up the relevant codebases, contact their authors, check them into a SVN if they look orphaned (if they aren't of course don't fork them!) and make an index page describing what is going on. This can be done independently from zope.org, and should later become part of the zope.org website. You will need a SVN repository somewhere. svn.zope.org could be used if you have committer access, but it would be somewhat restricted as GPL-ed products can't be placed in there. Anyway, all these questions I'm thinking of now someone else should take the lead on, as it won't be me. :) For clarity, nobody but a ZC employee (at present) is supposed to be checking in any code with any license other than the ZPL; in the future, such a checkin will need to be approved by some agent / organ of the Zope Foundation. Thanks, I had forgotten about that. Anyway, it could be any SVN repository - and this project will only happen if one or two volunteers do the work of collecting interesting Zope 2 products, contacting the authors (not strictly necessary but always a good thing to do) and checking them in, possibly cleaning things up here and there. I know for one Formulator could be a candidate. I haven't been doing much with it for quite a while now. Needs to be squared with Infrae, which is doing some low-level maintenance on it, and it's safe in the Infrae SVN, but should there be a good new home and enough volunteers to help maintain it, it's quite possible Infrae would be interested in having it most. I'm not speaking for Infrae here, just as the original author of Formulator. Regards, Martijn ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: Frustrated with Python and Frameworks. Zope, Grok, , Django, CherryPy
Hey, On Nov 29, 2007 12:53 AM, Philipp von Weitershausen [EMAIL PROTECTED] wrote: Tres Seaver wrote: [snip] For clarity, nobody but a ZC employee (at present) is supposed to be checking in any code with any license other than the ZPL; in the future, such a checkin will need to be approved by some agent / organ of the Zope Foundation. It's actually even more restrictive than that: If I read paragraph 5 of the contributor agreement [1] right, then whoever checks things in must have the intellectual property over the code, otherwise s/he would not be able to donate half of it to ZC. So effectively you can't check in somebody else's code, even if it's covered by the ZPL. All right. Good point too! The svn.zope.org repository doesn't sound like a good place then for this project. If anyone wants to pick this project up, we should arrange something else. I'm sure that's quite doable, however. Regards, Martijn ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Response to Matijn Faassen Grok/Zope 2 question.
Hello, Thanks very much for your feedback! I'm cc-ing this discussion to grok-dev, as I want to make sure that Grok developers see this. Future discussion should continue on grok-dev, I think, as this is all pretty grok specific by now. On Nov 29, 2007 2:29 AM, Rene B [EMAIL PROTECTED] wrote: Thanks for the feed back. I didn't expect the responses i got from a post placed. I think it's good you started this discussion. I like some of the suggestions. Some one mentioned he used Zope 2 as a container for his Python scripts. He used Python as much as possible for logic and sparingly used DTML and ZPT to view the results. i like this approach. I'll stick with Zope 2 to continue the learning curve. This is a reasonable approach to manage complexity, indeed. The drawbacks to the this ZMI-driven approach is that distribution of software becomes somewhat harder, and development tools, especially team development tools, can't work with the code. That said, in many smaller projects this is not a major objection. I wanted to answer some questions asked by Martijn Fassen regarding grok and what I liked about Zope 2. I do like the Zope 2 ZMI. It helps organize visually your MVC. I do like coding TTW and seeing a template file or controller all organized in a project directory and testing live just by clicking the link. Yes, it's very direct, and more direct than Grok is right now, as development still requires frequent restarts of the server. I think there is room for a project that adds through the web development to Grok, Grok-style. It'd be very different and entirely incompatible to Zope 2, but it would allow writing simple Python code and templates in a web interface. Jim Fulton (the architect of Zope) and I had a debate back in may on whether the through the web approach is really something that adds to it, or whether you could get quite far in replicating the experience on the filesystem. I thought the filesystem could get quite far, and I'd certainly like to explore it further, but he does have a strong point. In any Grok TTW development environment, it'd be very important that it would be possible to take TTW code directly to the filesystem, without having to change it. Just press a button, and boom, you have the equivalent code on the filesystem. This could help combine the benefits of TTW development and rapid prototyping with that of team-development tools. I also like the ADD feature. It list all the products/components you can add. It would be nice to have this in Grok since i don't know what is out there to add and what they do. And add feature with a description/docs and simple code example would be nice. Example would be the the formlib. a database connection(relational) helper would be helpful too. That's a good point: the add list is very helpful in exploring what is available. One thing that Zope 3 (and Grok) is missing is coarse-grained components, like you have in Zope 2. There are a lot of components, but they're very programmer oriented and using them requires calling the right API calls. They're not typically content-style components though like in Zope 2, so it's hard to see how these would be in an add list. Perhaps we could create a special kind of code-content component (like a python method or a page template) that is addable. All this bears more thinking too. You know, I really have to thank you for starting this discussion, as I'm getting all kinds of ideas for Grok that might keep us busy for a while! :) I don't think i'll be diving into the ZODB right now for 2 reasons. There isn't a whole lot of ZODB docs and what happens if i create a project at work ( i,e, asset tracking ) and the other programmers in the office only know SQL . If i have all me data is in ZODB how will they be able to get at it? If the asset tracking app grows i know these other programmers will wont to get to the data to do some adhoc report. I'll be cooked if they can't get to it via SQL. Unless there is a way i have not read about yet! Maybe someone should write some reverse ORM to translate SQL and query a ZODB database!!! stupid i know. query languages like SQL do have important benefits that are missing in the ZODB. The ZODB has benefits too, of course. Making SQL work on the ZODB is not a project I'd like to start. It's certainly possible to design custom query languages for querying ZODB content however, and several people have written things like this in the past (including myself, in the hurry.query ZODB extension). Anyway, it's not a stupid idea, but also not a near-term project. I do know some of the ZODB developers are thinking quite seriously about such things however. I understand perfectly why the ZODB is not the right choice for all projects. I don't think the Zope community should be in the business of always telling everybody that they should be using the ZODB. We started Grok with ZODB and the tutorial is about the ZODB, but
Re: [Zope] AssertionError
Thanks Martijin. Zope 2.10.4-final, python 2.4.4, win32, mysql 5.0, ZMySQLDA 2.0.9 kamal iginal Message - From: Martijn Jacobs To: kamal hamzat Cc: zope@zope.org Sent: Wednesday, November 28, 2007 4:09 PM Subject: Re: [Zope] AssertionError Can you provide some more information? Which version of zope, python, ZMySQLDA and mysql? Hi, Please i need help on this. Thx Site Error An error was encountered while publishing this resource. thread.error Sorry, a site error occurred. Traceback (innermost last): Module ZPublisher.Publish, line 202, in publish_module_standard Module ZPublisher.Publish, line 161, in publish Module Zope2.App.startup, line 241, in abort Module transaction._manager, line 107, in abort Module transaction._transaction, line 569, in abort Module transaction._transaction, line 642, in abort Module Shared.DC.ZRDB.TM, line 64, in abort Module Products.ZMySQLDA.db, line 389, in _abort error: release unlocked lock Error Type: AssertionError Error Value: newInteraction called while another interaction is active: File D:\DailyMirror\zope\Zope\lib\python\ZServer\PubCore\ZServerPublisher.py, line 25, in __init__ response=b) File D:\DailyMirror\zope\Zope\lib\python\ZPublisher\Publish.py, line 401, in publish_module environ, debug, request, response) File D:\DailyMirror\zope\Zope\lib\python\ZPublisher\Publish.py, line 202, in publish_module_standard response = publish(request, module_name, after_list, debug=debug) File D:\DailyMirror\zope\Zope\lib\python\ZPublisher\Publish.py, line 79, in publish newInteraction() File D:\DailyMirror\zope\Zope\lib\python\zope\security\management.py, line 91, in newInteraction interaction._newInteraction_called_from = traceback.extract_stack() ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB Arnhem NL kvk: 09162137 | btw: 8161.22.234.B01 e-mail: [EMAIL PROTECTED] | web: http://www.fourdigits.nl tel: +31 (0)26 44 22 700 | fax: +31 (0)84 22 06 117 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: Frustrated with Python and Frameworks. Zope, Grok, , Django, CherryPy
Martijn Faassen wrote: the work of collecting interesting Zope 2 products, contacting the authors (not strictly necessary but always a good thing to do) and checking them in, possibly cleaning things up here and there. Well, I think is is fine for products where the original maintainer has gone away and the original repository is no longer available, but I think that having multiple forks on products with active repositories is asking for trouble. I would have thought the key thing would be to build something like the cheeseshop but for zope products. But that's really one of the key things that zope.org should be, no? Maybe http://products.zope.org would be a simpler thing to build and get running? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] HTML forms inside a Zsearch method
I'm not quite sure what you mean by a selection button but as far as a checkbox the value will exist or not. that is to say that if the box is checked then the value and variable will exist. if the box is not checked then there is nothing. At least this is what I have found with forms and Zope. I try to avoid checkboxes and use radio buttons and have a default selected, that way there is always a variable and value. I created a document on my server called formtest and it only contains dtml-var REQUEST You may want to do the same and set your action for that page to see test results of your form, what is passed and what isn't. Thomas On Thursday 29 November 2007 01:03, sujitha mary wrote: Hi, I would like to know how to set action for a selection button and checkbox inside the table that displays the data from the database.I have created a checkbox and selection button inside the template generated by Zsearch method uisng HTML code.I don't know how to set the value of the check box to the value that is fetched from database.Plz provide some help - Why delete messages? Unlimited storage is just a click away. -- Thomas McMillan Grant Bennett Appalachian State University Operations Systems AnalystP O Box 32026 University Library Boone, North Carolina 28608 (828) 262 6587 They say a picture is worth a thousand words. As videos could be 25 pictures per second and might last several minutes, how many words is that? - Linux Journal, July 2007 Library Systems Help Desk: http://www.library.appstate.edu/help/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Five 1.5.5 and menuItem - problem with 'filter' parameter
Hi, Am I doing anything wrong or filter parameter of browser:menuItem is just ignored? I have that problem in Plone but I suspect CMF ActionsTool if not Five itself. browser:menuItem for=Products.Archetypes.interfaces.IBaseObject menu=object title=synchronize action=synchronizeObject permission=cmf.ModifyPortalContent filter=string: object/whatever / I tried whatever Python Script, registered page view, etc. No success. Pawel ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )