Re: [Zope3-Users] Windows binary psycopgda-1.0.0.tgz
> And I created a Zope Home Instance at > > C:\PyZope\ZopeHome > > I could NOT find "package-includes" so I created it at > C:\PyZope\ZopeHome\packages-includes and copied > psycopg-configure.zcml into it. Did you look for package-includes at: C:\PyZope\ZopeHome\etc I think that's where it should be. package-includes seems to have about 30 *-configure.zcml files in it in a default instance. Hope that helps, James ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] How is sending a HTTP POST in Zope3 supposed to work ?
While i had no problems performing GET, PUT, DELETE and OPTIONS requests from httplib, i found no way to change an objects content through a POST. Posting to the object itself equals a GET request. Posting to the @@edit.html view of the object results in a >>> UserError: The character set specified in the content type ($charset) does not match file content. error, even with charset set in the request headers. Are there any functional tests existing for the HTTP POST method ? Aside: how would i create a default view for a POST request for a certain object ? Any help appreciated. Michael -- http://zope.org/Members/d2m http://planetzope.org ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: Products
Hello, How to add self made products in ZOPE 3? Best regards. Jean Tinguely. ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Re: Products
On Thursday 27 October 2005 08:34, [EMAIL PROTECTED] wrote: > > How to add self made products in ZOPE 3? First I'll note that the Zope 2 products do not work in Zope 3. Secondly, they are not called products anymore; they are just Python packages. Now, you can add any Python package you want anywhere you like, as long as it is in the Python path. In order to hook up the ZCML to the startup process, please look at packages like zope.app.preference to see how they implemented it; the files you are interested in are SETUP.cfg and preference-configure.zcml. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] No module named formlib...
Joshua Burvill wrote: I think the way it reads is: (to paraphrase) Thanks, Josh. I've reworded the intro to be clearer. I appreciate the feedback. Hope this helps, Josh Very much, and thanks again! -- Benji York Senior Software Engineer Zope Corporation ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Re: Products
Hello, I'm a new user of zope 3. What is the zcml? Where can I find documentation about zope 3? Is there already some books? Best regards. Jean Tinguely. Stephan Richter a écrit : On Thursday 27 October 2005 08:34, [EMAIL PROTECTED] wrote: How to add self made products in ZOPE 3? First I'll note that the Zope 2 products do not work in Zope 3. Secondly, they are not called products anymore; they are just Python packages. Now, you can add any Python package you want anywhere you like, as long as it is in the Python path. In order to hook up the ZCML to the startup process, please look at packages like zope.app.preference to see how they implemented it; the files you are interested in are SETUP.cfg and preference-configure.zcml. Regards, Stephan ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Re: Products
Hello, Is there a development environment for Python? Best regards. Jean Tinguely. [EMAIL PROTECTED] a écrit : Hello, I'm a new user of zope 3. What is the zcml? Where can I find documentation about zope 3? Is there already some books? Best regards. Jean Tinguely. Stephan Richter a écrit : On Thursday 27 October 2005 08:34, [EMAIL PROTECTED] wrote: How to add self made products in ZOPE 3? First I'll note that the Zope 2 products do not work in Zope 3. Secondly, they are not called products anymore; they are just Python packages. Now, you can add any Python package you want anywhere you like, as long as it is in the Python path. In order to hook up the ZCML to the startup process, please look at packages like zope.app.preference to see how they implemented it; the files you are interested in are SETUP.cfg and preference-configure.zcml. Regards, Stephan ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Re: Products
Hi Jean, The Zope 3 documentation page is at: http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/Documentation You can access a PDF of Stephan's "Zope 3 Book" there, as well as an introductory tutorial from Jim. You could also check out this blog post that points in the direction of a number of beginners tutorials: http://griddlenoise.blogspot.com/2005/10/some-zope-3-quick-starts-and-resources.html Most of those should give you an overview of what ZCML is - in short it's the configuration language for Zope 3, and it's a flavour of XML. As well as Stephan's book, there's currently one other Z3 book in print - Web Component Development in Zope 3 by Philipp von Weitershausen. I've found they complement each other quite well. Hope that helps, James On 27/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello, > I'm a new user of zope 3. What is the zcml? Where can I find > documentation about zope 3? Is there already some books? > Best regards. > Jean Tinguely. > > Stephan Richter a écrit : > > >On Thursday 27 October 2005 08:34, [EMAIL PROTECTED] wrote: > > > > > >>> How to add self made products in ZOPE 3? > >>> > >>> > > > >First I'll note that the Zope 2 products do not work in Zope 3. Secondly, > >they > >are not called products anymore; they are just Python packages. > > > >Now, you can add any Python package you want anywhere you like, as long as it > >is in the Python path. In order to hook up the ZCML to the startup process, > >please look at packages like zope.app.preference to see how they implemented > >it; the files you are interested in are SETUP.cfg and > >preference-configure.zcml. > > > >Regards, > >Stephan > > > > > ___ > Zope3-users mailing list > Zope3-users@zope.org > http://mail.zope.org/mailman/listinfo/zope3-users > ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Re: Products
On Thursday 27 October 2005 09:23, [EMAIL PROTECTED] wrote: > Is there a development environment for Python? WingIDE is really good. There are others, like Boa Constructor, Eric plugins, etc. Most core developers use Emacs, some use VIM. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Re: Products
Googling for "development environment Python" (no quotes) points you to this: http://www.python.org/idle/ "IDLE - an Integrated DeveLopment Environment for Python A stable version of IDLE is now being distributed with each Python distribution" Personally, on Windows, I'm using SciTE ( http://www.scintilla.org/SciTE.html ) as a Text Editor. Regards, James On 27/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello, >Is there a development environment for Python? > Best regards. > Jean Tinguely. > > [EMAIL PROTECTED] a écrit : > > > Hello, > > I'm a new user of zope 3. What is the zcml? Where can I find > > documentation about zope 3? Is there already some books? > > Best regards. > > Jean Tinguely. > > > > Stephan Richter a écrit : > > > >> On Thursday 27 October 2005 08:34, [EMAIL PROTECTED] wrote: > >> > >> > How to add self made products in ZOPE 3? > > >>> > >> > >> First I'll note that the Zope 2 products do not work in Zope 3. > >> Secondly, they are not called products anymore; they are just Python > >> packages. > >> > >> Now, you can add any Python package you want anywhere you like, as > >> long as it is in the Python path. In order to hook up the ZCML to the > >> startup process, please look at packages like zope.app.preference to > >> see how they implemented it; the files you are interested in are > >> SETUP.cfg and preference-configure.zcml. > >> > >> Regards, > >> Stephan > >> > >> > > ___ > > Zope3-users mailing list > > Zope3-users@zope.org > > http://mail.zope.org/mailman/listinfo/zope3-users > > > > > ___ > Zope3-users mailing list > Zope3-users@zope.org > http://mail.zope.org/mailman/listinfo/zope3-users > ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] make check
Sorry, where are you looking at this. In the release, the permissions are correct. In an installation created with Python 2.4, the bits are not. What version of Python are you using? Jim Paul Dumais wrote: Sent this using the wrong account: On 10/26/05, Paul Dumais <[EMAIL PROTECTED]> wrote: Hi Jim, The execute bit seems OK: -rwxr-xr-x 1 root root59 2005-10-02 12:48 donothing.sh I get more errors if I run as root (the above one included). Ubuntu does something tricky to the root account so that you cannot su root. You have to sudo 'command' to do root tasks. I suspect this difference is why I get more errors when I do sudo make check. Since I am running make check as a user on the system, I though I would try chown 'user' donothing.sh. Doing this gives the same error when I run 'make check'. I guess this begs the question: should I be looking to chown 'user' a bunch of files and directories (since I plan to run everything as a user)? Should I be looking to get rid of the su root lockout feature of Ubuntu? Hopefully none of this should be necessary since my 'user' is a superuser. I guess this is not a major problem, since Steve is safely ignoring the error. Thanks for the quick replies! I read some posts from August that mentioned that it may just be an issue of a slower machine (my machine has a few other processes running on it). Increasing the error threshold to something higher may be what's needed? Paul On 10/26/05, Jim Fulton <[EMAIL PROTECTED]> wrote: Jim Fulton wrote: Stephan Richter wrote: On Wednesday 26 October 2005 16:26, Jim Fulton wrote: AssertionError: spawned process failed to start in a minute Is this serious? How could I get this test to pass? Don't run the tests as root. I see this error sporatically using a non-root user as well. I just never worry about it. :-) Right. This is not what I thought it was. This is something that I diagnosed and thought I fixed a few weeks ago. I'll look at it. OK, Tim helped me remember what was going on with this. I predict you can make this test pass by setting the execute bit on the script donothing.sh in zdaemon/tests in the installation. This test is trying to execute this script and can't because the execute bits got cleared in the release process. The test really should be rewritten to write the shell script itself and set the permissions to whatever it wants. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Re: Products
Thank you everybody for all your answer! Best regards. Jean Tinguely. James Allwyn a écrit : Googling for "development environment Python" (no quotes) points you to this: http://www.python.org/idle/ "IDLE - an Integrated DeveLopment Environment for Python A stable version of IDLE is now being distributed with each Python distribution" Personally, on Windows, I'm using SciTE ( http://www.scintilla.org/SciTE.html ) as a Text Editor. Regards, James On 27/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hello, Is there a development environment for Python? Best regards. Jean Tinguely. [EMAIL PROTECTED] a écrit : Hello, I'm a new user of zope 3. What is the zcml? Where can I find documentation about zope 3? Is there already some books? Best regards. Jean Tinguely. Stephan Richter a écrit : On Thursday 27 October 2005 08:34, [EMAIL PROTECTED] wrote: How to add self made products in ZOPE 3? First I'll note that the Zope 2 products do not work in Zope 3. Secondly, they are not called products anymore; they are just Python packages. Now, you can add any Python package you want anywhere you like, as long as it is in the Python path. In order to hook up the ZCML to the startup process, please look at packages like zope.app.preference to see how they implemented it; the files you are interested in are SETUP.cfg and preference-configure.zcml. Regards, Stephan ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Freeze approaching quickly
Hi everyone, with October winding down, the freeze on the trunk is coming quickly. So, if you have any outstanding work, now is the time to get it done. During the last week I have monitored the proposals and branches a bit and I think most people are done with their work. After Michael told me that WebDAV has to wait until 3.3., the only outstanding projects are: - Dimitry (hdima): Merge the password manager branch. I know he is close, so I am not worried. - Jim (J1m): Merge the new zope.testing framework. I am not worried about this either. - Stephan and other interested parties (srichter): Finish the static apidoc generator script. I don't know whether I will get done, because I have other things to do. The worst case scenario will be that there is no static apidoc for 3.2. - Roger (projekt01): He mentioned to me that he will fix the Boston skin to the new content provider and viewlet APIs. Since I think that the Boston skin is very pretty and a good show case of the new APIs, I want to include it into the release, if the work is done on Tuesday. Did I miss anyone? Now is the time to speak up! Once the feature freeze is complete, I would like to keep the trunk frozen for about a month, so that the contribution bar for bug fixes remains as low as possible. And bugs we have plenty. As people start using Zope 3, we have had quiet a number of reports, some of which are really serious, like i18nextract being broken. Thus I propose two bug days: - Firday, November 4, 2005 - Friday, December 2, 2005 What do you guys think? Would people commit time on those days to the effort? Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Re: Products
Hi Jean You are not THE Jean Tinguely, I guess ;-) I use Eclipse with PyDev for all my Python development and occasionaly IDLE for just experimenting with a few lines of code. http://www.eclipse.org/ http://pydev.sourceforge.net/ kind regards André [EMAIL PROTECTED] wrote: Thank you everybody for all your answer! Best regards. Jean Tinguely. James Allwyn a écrit : Googling for "development environment Python" (no quotes) points you to this: http://www.python.org/idle/ "IDLE - an Integrated DeveLopment Environment for Python A stable version of IDLE is now being distributed with each Python distribution" Personally, on Windows, I'm using SciTE ( http://www.scintilla.org/SciTE.html ) as a Text Editor. Regards, James On 27/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hello, Is there a development environment for Python? Best regards. Jean Tinguely. [EMAIL PROTECTED] a écrit : Hello, I'm a new user of zope 3. What is the zcml? Where can I find documentation about zope 3? Is there already some books? Best regards. Jean Tinguely. Stephan Richter a écrit : On Thursday 27 October 2005 08:34, [EMAIL PROTECTED] wrote: How to add self made products in ZOPE 3? First I'll note that the Zope 2 products do not work in Zope 3. Secondly, they are not called products anymore; they are just Python packages. Now, you can add any Python package you want anywhere you like, as long as it is in the Python path. In order to hook up the ZCML to the startup process, please look at packages like zope.app.preference to see how they implemented it; the files you are interested in are SETUP.cfg and preference-configure.zcml. Regards, Stephan ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Re: Products
Hello, I'm only the reincarnation. Have a nice day. Andre Meyer a écrit : Hi Jean You are not THE Jean Tinguely, I guess ;-) I use Eclipse with PyDev for all my Python development and occasionaly IDLE for just experimenting with a few lines of code. http://www.eclipse.org/ http://pydev.sourceforge.net/ kind regards André [EMAIL PROTECTED] wrote: Thank you everybody for all your answer! Best regards. Jean Tinguely. James Allwyn a écrit : Googling for "development environment Python" (no quotes) points you to this: http://www.python.org/idle/ "IDLE - an Integrated DeveLopment Environment for Python A stable version of IDLE is now being distributed with each Python distribution" Personally, on Windows, I'm using SciTE ( http://www.scintilla.org/SciTE.html ) as a Text Editor. Regards, James On 27/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hello, Is there a development environment for Python? Best regards. Jean Tinguely. [EMAIL PROTECTED] a écrit : Hello, I'm a new user of zope 3. What is the zcml? Where can I find documentation about zope 3? Is there already some books? Best regards. Jean Tinguely. Stephan Richter a écrit : On Thursday 27 October 2005 08:34, [EMAIL PROTECTED] wrote: How to add self made products in ZOPE 3? First I'll note that the Zope 2 products do not work in Zope 3. Secondly, they are not called products anymore; they are just Python packages. Now, you can add any Python package you want anywhere you like, as long as it is in the Python path. In order to hook up the ZCML to the startup process, please look at packages like zope.app.preference to see how they implemented it; the files you are interested in are SETUP.cfg and preference-configure.zcml. Regards, Stephan ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: [Zope3-dev] Freeze approaching quickly
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephan Richter wrote: > with October winding down, the freeze on the trunk is coming quickly. So, if > you have any outstanding work, now is the time to get it done. During the > last week I have monitored the proposals and branches a bit and I think most > people are done with their work. [...] > Did I miss anyone? Now is the time to speak up! yes, I'd like to see the "Better XML support for PT" proposal as well : http://svn.zope.org/Zope3/branches/fdrake-anguenot_better_xml_support_for_pt/ http://www.zope.org/DevHome/Wikis/DevSite/Projects/ComponentArchitecture/BetterXMLSupportForPageTemplates I'll take time to finish the remaining issues around this in the following days and we'll be able to discuss it after this. Is it ok for everybody ? > Once the feature freeze is complete, I would like to keep the trunk frozen > for > about a month, so that the contribution bar for bug fixes remains as low as > possible. And bugs we have plenty. As people start using Zope 3, we have had > quiet a number of reports, some of which are really serious, like i18nextract > being broken. > > Thus I propose two bug days: > > - Firday, November 4, 2005 > > - Friday, December 2, 2005 > > What do you guys think? Great. > Would people commit time on those days to the effort? I will. J. - -- Julien Anguenot | Nuxeo R&D (Paris, France) CPS Platform : http://www.cps-project.org Zope3 / ECM : http://www.z3lab.org mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFDYOUvGhoG8MxZ/pIRAmjtAJ9rsJnsBEwRUQUu2id5KhM+c0xAaQCfa/00 JFa1CKgLK5cDVm1gKN4pCEM= =xFqD -END PGP SIGNATURE- ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: Products
Jean, I use Wing IDE for my python / zope development. http://www.wingware.com At home the $35 personal edition, at work the more expensive professional edition. You can really get to edge with it: Zope Debugging, code folding, easy access to library documentation, in app python shell, customizable. I do not have shares in this product :) It's just very suitable to program python with. Hope it is any help to you. Greetings, Robert-Reinder -- ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: [Zope3-dev] Freeze approaching quickly
On Thursday 27 October 2005 10:33, Julien Anguenot wrote: > Is it ok for everybody ? Yep, since another core developer was involved in the proposal, this is fine. I assume Jim had something to say about this already too. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Problems with archive Zope-3.1.0.tgz
Hi there! I've played a bit with the Zope3 install on my OpenBSD and i've found and interesting thing. The tar (and pax) of OpenBSD has some problems with some of the files as the extracted files have wrong file name: testi18nfileresource.py644 class_index.pt644 ... and some more ... That 644 reminds me a protection mask but I haven't checked what's inside the archive. The filename problem results in the following exception when I try to execute the make command: /usr/local/bin/python install.py -q build Traceback (most recent call last): File "install.py", line 28, in ? context.initialize() File "/usr/home/tiz/Zope-3.1.0/Support/zpkgsetup/setup.py", line 103, in initialize self.scan(depname, pkgdir, reldir) File "/usr/home/tiz/Zope-3.1.0/Support/zpkgsetup/setup.py", line 191, in scan self.scan_package(name, directory, reldir) File "/usr/home/tiz/Zope-3.1.0/Support/zpkgsetup/setup.py", line 202, in scan_package pkginfo = package.loadPackageInfo(name, directory, reldir) File "/usr/home/tiz/Zope-3.1.0/Support/zpkgsetup/package.py", line 100, in loadPackageInfo pkginfo = read_package_info(directory, reldir) File "/usr/home/tiz/Zope-3.1.0/Support/zpkgsetup/package.py", line 157, in read_package_info data_files[:] = expand_globs(directory, reldir, data_files) File "/usr/home/tiz/Zope-3.1.0/Support/zpkgsetup/package.py", line 294, in expand_globs raise ValueError( ValueError: filename pattern '*-configure.zcml' doesn't match any files *** Error code 1 Stop in /home/tiz/Zope-3.1.0 (line 18 of Makefile). Environment: - OpenBSD 3.7, regular user without root privileges - the md5 of the archive matches to the one published on zope.org - tried tar and pax included with the operating system, both did it wrong I unpacked the very same archive on my Windows machine with Total Commander built-in unpacker and it worked well, no nasty filename modifications and make ran without errors. :) bye, tiz ps: is there a bug tracker or a bug mail list i can send messages like this? ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Re: [Zope3-dev] Freeze approaching quickly
Julien Anguenot wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephan Richter wrote: with October winding down, the freeze on the trunk is coming quickly. So, if you have any outstanding work, now is the time to get it done. During the last week I have monitored the proposals and branches a bit and I think most people are done with their work. [...] Did I miss anyone? Now is the time to speak up! yes, I'd like to see the "Better XML support for PT" proposal as well : http://svn.zope.org/Zope3/branches/fdrake-anguenot_better_xml_support_for_pt/ http://www.zope.org/DevHome/Wikis/DevSite/Projects/ComponentArchitecture/BetterXMLSupportForPageTemplates I'll take time to finish the remaining issues around this in the following days and we'll be able to discuss it after this. Is it ok for everybody ? I think this is too risky for this release: 1. This change seems to be pretty controversial. There is a lot of fear that this will cause browser compatability problems. I think this fear can only be addressed by an alpha release and it's too late for that for the december Zope releases. 2. I get the impression from talking to Fred that there is still a lot of work required to land this and that a significant amount of his time would likely be required. I'm worrid that this could be a major source of instability and I think we have enough of those already. I suggest the following: - You keep working on your branch and get it to the point that it is *stable* and ready to merge. - Soon after the 3.2 release branch is made in early November, you merge your stable branch to the trunk and we'll make a 3.3 alpha release that people can use to try out this change. We'll let it be known that the change will be included in 3.3 unless people discover serious client-compatibility problems created by the change. You could use this release or the trunk for your xmlforms experiments. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Problems with archive Zope-3.1.0.tgz
Tóth, István Zoltán wrote: I've played a bit with the Zope3 install on my OpenBSD and i've found and interesting thing. The tar (and pax) of OpenBSD has some problems with some of the files as the extracted files have wrong file name: The last time I used OpenBSD was 3.6, but I believe the system tar was not GNU tar, try using GNU tar to do the extract and see what you get. -- Benji York Senior Software Engineer Zope Corporation ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: apache
just as a followup, Benji helped me fix the rewrite issue I was having before. If anyone else comes across the same issue, a workaround is to do the following: ServerAdmin [EMAIL PROTECTED] ErrorLog logs/fcwkstn.thig.com-error_log CustomLog logs/fcwkstn.thig.com-access_log common RewriteEngine On RewriteRule ^//(.*css|.*png|.*js) \ http://:8080/++vh++http::80/++/$1 \ [P,L] RewriteRule ^/(/?.*) \ http://:8080//++vh++http:localhost:80//++$1 \ [P,L] this should first redirect all browser:resource stuff (well, the css, png, and js since that's all i've got... you can add others) to a resource path that zope can traverse correctly. then it will redirect all site content as you'd expect, based on the second match rule. I haven't tried it with the rewrite rules in the other order, but I'd imagine apache matches rules in the order they're given, and i'm too lazy to troubleshoot things that i can forestall from happening in the first place ;) Thanks to everyone on zope3-dev for always listening to my questions, and offering solutions. Thanks esp to Benji on this one for the suggestion. Pete ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] make check
That was at: /usr/local/Zope-3.1.0/lib/python/zdaemon/tests/ The one at: /home/paul/Zope-3.1.0/build/lib.linux-i686-2.4/zdaemon/tests/donothing.sh did not have the permissions set. I changed it, ran the tests and all passed! Ran 6991 tests in 263.891s OK So it seems that the -x bits are are set correctly in the installation but not the release (opposite of what you said? - not sure), but it is the release version that is run, so it is there that it needs to be set properly. Thanks! On 10/27/05, Jim Fulton <[EMAIL PROTECTED]> wrote: > Sorry, where are you looking at this. > > In the release, the permissions are correct. > > In an installation created with Python 2.4, the bits are not. > > What version of Python are you using? > > Jim > ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Re: [Zope3-dev] Freeze approaching quickly
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: >>> with October winding down, the freeze on the trunk is coming quickly. >>> So, if you have any outstanding work, now is the time to get it done. >>> During the last week I have monitored the proposals and branches a >>> bit and I think most people are done with their work. >> >> >> [...] >> >>> Did I miss anyone? Now is the time to speak up! >> >> >> >> yes, I'd like to see the "Better XML support for PT" proposal as well : >> >> http://svn.zope.org/Zope3/branches/fdrake-anguenot_better_xml_support_for_pt/ >> >> http://www.zope.org/DevHome/Wikis/DevSite/Projects/ComponentArchitecture/BetterXMLSupportForPageTemplates >> >> >> I'll take time to finish the remaining issues around this in the >> following days and we'll be able to discuss it after this. >> >> Is it ok for everybody ? > > > I think this is too risky for this release: > > 1. This change seems to be pretty controversial. There is a lot of >fear that this will cause browser compatability problems. I think >this fear can only be addressed by an alpha release and it's too >late for that for the december Zope releases. We did think hard on browser issues (especially IE ones) avoiding to require the XML processing header for PT XML processing using a new 'IE problem aware' sniffer that detects a PT as an XML document with different approaches. I think, it was the only serious thread related to browser compatibility around this work. Behavior in the branch : - .xpt extension -> XML processing (to avoid sniffing and thus be quicker) (this may be controversial as well) - xmlns declarations -> XML processing (for IE) - XML processing header -> XML processing (current trunk behavior) The more controversial point is the deprecation of HTML 4 as *input* for PT. xhtml will be required so that we can avoid all this HTML processing mess and especially all the iencoding ssues around. It will simplify the page template machinery big time and avoid costly internal operations at the same time. The compatibility will be kept for 2 major releases (as usual) As well, the *output* will be xhtml (at least) in every case after this changes. > > 2. I get the impression from talking to Fred that there is still a lot >of work required to land this and that a significant amount of >his time would likely be required. I'm worrid that this could >be a major source of instability and I think we have enough of >those already. We're having mostly encoding issues at this time 'cause of the HTML processing. I already started to address this problem o Fred, what is the status of the bytecode generation ? Is there more that only encoding problems left ? > > I suggest the following: > > - You keep working on your branch and get it to the point that it is > *stable* and ready to merge. ok > > - Soon after the 3.2 release branch is made in early November, you > merge your stable branch to the trunk and we'll make a 3.3 alpha release > that people can use to try out this change. We'll let it be known > that the change will be included in 3.3 unless people discover serious > client-compatibility problems created by the change. You could use this > release or the trunk for your xmlforms experiments. > right. I'm fine with this. We will be more on the safe side :) J. - -- Julien Anguenot | Nuxeo R&D (Paris, France) CPS Platform : http://www.cps-project.org Zope3 / ECM : http://www.z3lab.org mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFDYPHJGhoG8MxZ/pIRAjlJAJ9uwj5YDTuxhErfgwpf1SsDv04nigCeNs/J 11YknMwiS47Rcrwv8krdUiM= =4fn1 -END PGP SIGNATURE- ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] which psycopg works with Zope3?
At 6:13 PM +0400 10/26/05, Dmitry Vasiliev wrote: - The tarball version is for use with ZopeX3-3.0.0 and psycopg v1.0; - The svn version works with Zope 3.1 (and should work with Zope 3.2) and still psycopg v1.0; - Psycopg v2.0 is not supported for now; Thanks for your help on this, Dmitry. ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] make check
Paul Dumais wrote: That was at: /usr/local/Zope-3.1.0/lib/python/zdaemon/tests/ The one at: /home/paul/Zope-3.1.0/build/lib.linux-i686-2.4/zdaemon/tests/donothing.sh did not have the permissions set. I changed it, ran the tests and all passed! Ran 6991 tests in 263.891s OK So it seems that the -x bits are are set correctly in the installation but not the release (opposite of what you said? - not sure), but it is the release version that is run, so it is there that it needs to be set properly. Actually, this is neither the release nor the installation. This is the "build", which is an intermediate thing. :/ The bottom line is that this test needs to be rewritten. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Re: [Zope3-dev] Freeze approaching quickly
On 10/27/05, Julien Anguenot <[EMAIL PROTECTED]> wrote: > We did think hard on browser issues (especially IE ones) avoiding to > require the XML processing header for PT XML processing using a new 'IE > problem aware' sniffer that detects a PT as an XML document with > different approaches. I think, it was the only serious thread related to > browser compatibility around this work. Julien and I are in agreement on this point. What we haven't done that needs to be done, at least in terms of getting community approval, is making sure this is acceptable for the Zope 2 community, where the hope is that the Zope 3 page templates implementation will be used for Zope 2.10 as well. The Zope 2 community may remain more interested in the SGML-based HTML markup. The proposal has not been presented in the Zope 2 community at all. > The more controversial point is the deprecation of HTML 4 as *input* for > PT. xhtml will be required so that we can avoid all this HTML processing > mess and especially all the iencoding ssues around. It will simplify the > page template machinery big time and avoid costly internal operations at > the same time. The compatibility will be kept for 2 major releases (as > usual) After talking with Jim, this seems less important, and it also seems like it is a separate concern from the rest of these changes. This could be evaluated as a separate proposal after the implementation of the rest is complete. > We're having mostly encoding issues at this time 'cause of the HTML > processing. I already started to address this problem o Are there issues remaining there? Please detail them; I don't know what they are. > Fred, what is the status of the bytecode generation ? Is there more that > only encoding problems left ? The output still isn't right; most of this is bytecode generation. I've not been able to squeeze any time for this in yet. :-( > right. I'm fine with this. We will be more on the safe side :) Same here. Stability is definately key. -Fred -- Fred L. Drake, Jr. "Society attacks early, when the individual is helpless." --B.F. Skinner ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Re: Interface tests: NotImplemented or NotImplementedError
On 10/24/05, Chris Withers <[EMAIL PROTECTED]> wrote: > Well, if we're all in agreement, what's required for it to actually > change? ;-) Someone with time, motivation, a detailed plan, and the ability to convince Guido. Most of the difficulty is in actually removing the NotImplemented name from __builtin__, since that can break too much. The rest is likely just editing. And agreeing on a new name. :-) -Fred -- Fred L. Drake, Jr. "Society attacks early, when the individual is helpless." --B.F. Skinner ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: make check
On Wed, Oct 26, 2005 at 08:39:41PM -0600, Paul Dumais wrote: | Sent this using the wrong account: | | On 10/26/05, Paul Dumais <[EMAIL PROTECTED]> wrote: [...] | > I get more errors if I run as root (the above one included). One of the additional errors you will get is the test that verifies that file access works correctly. The test fails as root because root is granted access when the test expects to be denied access. | > Ubuntu | > does something tricky to the root account so that you cannot su root. | > You have to sudo 'command' to do root tasks. I suspect this difference | > is why I get more errors when I do sudo make check. Have you ever tried 'sudo su'? Also try 'sudo passwd', if you want. Ubuntu doesn't have you set a root password during installation. I think there is no valid password for root. That certainly avoids any potential for someone to brute-force attack it. Instead, they set up the first user to be able to run any command, as root, via 'sudo'. This includes, of course, su and bash. Thus you can get a root shell quite easily (once you're logged in). I suspect, though haven't actually verified, that if you set a password for root you will then be able to 'su' without sudo. -D -- Whoever gives heed to instruction prospers, and blessed is he who trusts in the Lord. Proverbs 16:20 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Re: make check
Derrick Hudson wrote: I suspect, though haven't actually verified, that if you set a password for root you will then be able to 'su' without sudo. You are correct. -- Benji York Senior Software Engineer Zope Corporation ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] i18n of an image
Hi: I want to show an image depends on the localization of the final user. I dizzy try with: """ """ In my .po files I have: """ msgid "Refresh-Button" msgstr "context/++resource++images/BtnRefreshEn.gif" """ and """ msgid "Refresh-Button" msgstr "context/++resource++images/BtnRefresh.gif" """ for to diferents localizations. When I get the page I don't get the imagen. The final HTML for user is: """ """ Instead of: """ http://localhost:8080/@@/images/BtnRefresh.gif";> """ How can change an image depend on the user location? Thanks in advance. Leticia ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] i18n of an image
--On 27. Oktober 2005 13:43:01 -0500 Leticia Larrosa <[EMAIL PROTECTED]> wrote: """ Instead of: """ http://localhost:8080/@@/images/BtnRefresh.gif";> """ i18n:attributes just replaces the attributes with content from the catalog file. How can change an image depend on the user location? how about i18n:attributes="src python: test(your_condition, 'someurl1', 'someurl2')" ? -aj pgpBIrvM3ui2W.pgp Description: PGP signature ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] How to publicly add object to Zope component
Hello This is my first post. I am working on a Zope3 project in which anonymous user /zope.anybody should be able to add objects (register for a conference) themselves but should not be able to view or edit them once their added (with exception of a confirmation page and email). My problem is, using ZMI's localhost:8080/+/AddConferenceGoer.html= always prompt me for a username and password below is my browser/configure.zcml How do I make /+/AddConferenceGoer.html= publicly available without being prompted for a password? Is there a configuration file somewhere I can set this up? Another point: I have tried granting zope.anybody Zope.ManageContent permission and /+/AddConferenceGoer.html is now available but the user can manipulate the URL to go in and modify other people's info. How do I separate the permission to edit object and one to add object? Thanks in advance Martin ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
RE: [Zope3-Users] No module named formlib...
No worries Benji, and thanks to everyone who helped solve my problem so quickly. Josh ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Windows binary psycopgda-1.0.0.tgz
Thanks for your help. However I am still not able to install the database adapter. I copied the file psycopg-configure.zcml into "package-includes" and folder psycopgda into .\lib\python C:\PyZope\ZopeHome├───bin├───etc│ └───package-includes├───lib│ └───python│ └───psycopgda├───log└───var I get the following errors. ==> ConfigurationError: ('Invalid value for', 'class', "Couldn't import psycopgda.adapter, No module named psycopg") == LAST FEW LINES = File "C:\PyZope\Python24\Lib\site-packages\zope\configuration\config.py", line 1393, in toargs args[str(name)] = field.fromUnicode(s) File "C:\PyZope\Python24\Lib\site-packages\zope\configuration\fields.py", line 141, in fromUnicode raise schema.ValidationError(v)zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "C:\PyZope\ZopeHome\etc\site.zcml", line 7.2-7.55 ZopeXMLConfigurationError: File "C:\PyZope\ZopeHome\etc\package-includes\psy copgda-configure.zcml", line 1.0-1.31 ZopeXMLConfigurationError: File "C:\PyZope\ZopeHome\lib\python\psycopgda\configure.zcml", line 6.2 ConfigurationError: ('Invalid value for', 'class', "Couldn't import psycopgd a.adapter, No module named psycopg") == LAST FEW LINES = So do I have to install "psycopg" as well? PHP+Postgres+Apache was a piece of cake. Why am I having so much trouble with this.I guess I need to spend more time on this. Zopehead. On 10/27/05, James Allwyn <[EMAIL PROTECTED]> wrote: > And I created a Zope Home Instance at>> C:\PyZope\ZopeHome>> I could NOT find "package-includes" so I created it at > C:\PyZope\ZopeHome\packages-includes and copied> psycopg-configure.zcml into it.Did you look for package-includes at:C:\PyZope\ZopeHome\etcI think that's where it should be. package-includes seems to have about 30 *-configure.zcml files in it in a default instance.Hope that helps,James ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Any document for use ZopeDatabaseAdapter?
Hi, Is there any document or examples for ZopeDatabaseAdapter? I need to do some sql query in my content object. Thanks, Simon ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Windows binary psycopgda-1.0.0.tgz
On Oct 27, 2005, at 9:45 PM, Bobby Brewster wrote: Thanks for your help. However I am still not able to install the database adapter. I copied the file psycopg-configure.zcml into "package-includes" and folder psycopgda into .\lib\python C:\PyZope\ZopeHome ├───bin ├───etc │ └───package-includes ├───lib │ └───python │ └───psycopgda ├───log └───var I get the following errors. ==>ConfigurationError: ('Invalid value for', 'class', "Couldn't import psycopgd a.adapter, No module named psycopg") == LAST FEW LINES= File "C:\PyZope\Python24\Lib\site-packages\zope\configuration\config.py", line 1393, in toargs args[str(name)] = field.fromUnicode(s) File "C:\PyZope\Python24\Lib\site-packages\zope\configuration\fields.py", line 141, in fromUnicode raise schema.ValidationError(v) zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "C:\PyZope\ZopeHome \etc\site.zcml", line 7.2-7.55 ZopeXMLConfigurationError: File "C:\PyZope\ZopeHome\etc\package-includes\psy copgda-configure.zcml", line 1.0-1.31 ZopeXMLConfigurationError: File "C:\PyZope\ZopeHome\lib\python\psycopgda\con figure.zcml", line 6.2 ConfigurationError: ('Invalid value for', 'class', "Couldn't import psycopgd a.adapter, No module named psycopg") == LAST FEW LINES= So do I have to install "psycopg" as well? PHP+Postgres+Apache was a piece of cake. Why am I having so much trouble with this. I guess I need to spend more time on this. First question: did you install psycopg? Second question: which python did you install it for? Because it doesn't look like it's been installed for the python that is running your z3 instance. My bet is that you have more than one python binary (and thus different python site-packages directories), and the one that you used to install psycopg is not the one that runs z3. d ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Windows binary psycopgda-1.0.0.tgz
Oh my god! Finally managed to install it. For those interested. 1) Copy folder "psycopgda" to YOUR ZOPE "INSTANCE_HOME/lib/python" 2) Copy psycopg-configure.zcml` to YOUR ZOPE "INSTANCE_HOME/etc/package-includes" 3) Download and install "egenix-mx-base-2.0.6.win32-py2.4.exe" 4) Download "win-psycopg24-pg8.0.zip" AND extract files "libpq.dll" and "psycopg.pyd" TO $(PYTHONDIR)\DLLs directory5) Restart Zope This is how it is going to be for now if you want to enjoy Zope3+PostgreSQL in WIn32. Until a new versions of psycopgda and psycopg2 are available. Enjoy!!! Zopehead. On 10/28/05, Duncan McGreggor <[EMAIL PROTECTED]> wrote: On Oct 27, 2005, at 9:45 PM, Bobby Brewster wrote:> Thanks for your help. However I am still not able to install the > database adapter.>> I copied the file psycopg-configure.zcml into "package-includes"> and folder psycopgda into .\lib\python>> C:\PyZope\ZopeHome> ├───bin> ├───etc > │ └───package-includes> ├───lib> │ └───python> │ └───psycopgda> ├───log> └───var>> I get the following errors. ==>ConfigurationError: ('Invalid value > for', 'class', "Couldn't import psycopgd> a.adapter, No module named psycopg")>> == LAST FEW LINES=> File> "C:\PyZope\Python24\Lib\site-packages\zope\configuration\config.py", > line> 1393, in toargs> args[str(name)] = field.fromUnicode(s)> File> "C:\PyZope\Python24\Lib\site-packages\zope\configuration\fields.py",> line> 141, in fromUnicode > raise schema.ValidationError(v)> zope.configuration.xmlconfig.ZopeXMLConfigurationError: File> "C:\PyZope\ZopeHome> \etc\site.zcml", line 7.2-7.55> ZopeXMLConfigurationError: File > "C:\PyZope\ZopeHome\etc\package-includes\psy> copgda-configure.zcml", line 1.0-1.31> ZopeXMLConfigurationError: File> "C:\PyZope\ZopeHome\lib\python\psycopgda\con> figure.zcml ", line 6.2> ConfigurationError: ('Invalid value for', 'class', "Couldn't> import psycopgd> a.adapter, No module named psycopg")> == LAST FEW LINES= > So do I have to install "psycopg" as well?>> PHP+Postgres+Apache was a piece of cake. Why am I having so much> trouble with this.> I guess I need to spend more time on this. First question: did you install psycopg?Second question: which python did you install it for? Because itdoesn't look like it's been installed for the python that is runningyour z3 instance.My bet is that you have more than one python binary (and thus different python site-packages directories), and the one that you used to installpsycopg is not the one that runs z3.d___Zope3-users mailing list Zope3-users@zope.orghttp://mail.zope.org/mailman/listinfo/zope3-users ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users