[Zope] repozo problem
Hi, I have some problems with repozo. I have setup repozo for backup of our Data.fs about two years ago and it worked without problem until 4 weeks ago. Since than it behaves very strange. I am running repozo with den follwing parameters. /usr/local/bin/python /usr/local/www/Zope/bin/repozo.py -v -z -B -f /data/zope/zeo/var/Data.fs -r /data/share/backup/data.fs/ and I get the following error. looking for files between last full backup and 2006-01-23-03-43-40... files needed to recover state as of 2006-01-23-03-43-40: /data/share/backup/data.fs/2006-01-22-03-44-01.fsz Traceback (most recent call last): File /usr/local/www/Zope/bin/repozo.py, line 501, in ? main() File /usr/local/www/Zope/bin/repozo.py, line 494, in main do_backup(options) File /usr/local/www/Zope/bin/repozo.py, line 431, in do_backup reposz, reposum = concat(repofiles) File /usr/local/www/Zope/bin/repozo.py, line 248, in concat bytesread += dofile(func, ifp) File /usr/local/www/Zope/bin/repozo.py, line 192, in dofile data = fp.read(todo) File /usr/local/lib/python2.3/gzip.py, line 224, in read self._read(readsize) File /usr/local/lib/python2.3/gzip.py, line 289, in _read self._read_eof() File /usr/local/lib/python2.3/gzip.py, line 308, in _read_eof raise IOError, CRC check failed IOError: CRC check failed when I run it without compression the backup works but it doesn't do incremental. reprozo is run by cron ever 2 hours and the Data.fs is packed only once a day. Repozo reports looking for files b/w last full backup and 2006-01-10-11-47-49... files needed to recover state as of 2006-01-10-11-47-49: /data/share/backup/data.fs/2006-01-10-09-47-27.fs repository state: 3283188277 bytes, md5: 1ea3199aa1f6be3dafccc5d63ed7f4a1 current state : 3337668930 bytes, md5: 57a964c569e06f6125eda24c74aab079 backed up state : 3283188277 bytes, md5: 17f9b380d5b1ad33deb99942a20545f5 file changed, possibly because of a pack (full backup) writing full backup: 3339094688 bytes to /data/share/backup/data.fs/2006-01-10-11-56-03.fs everytime it's started. I have suspected an inconsitency in the Data.fs but i've done a fsrecover twice since the problems started and it came out without errors. The Zope systems and the daily pack are working without Problems. Our Data.fs is 2.6G at the moment (fresh packed) Bye Estartu Gerhard Schmidt| Nick : estartu IRC : Estartu | Fischbachweg 3 || PGP Public Key 86856 Hiltenfingen | EMail: [EMAIL PROTECTED] | on request Germany|| pgp7sVdJVHtCm.pgp Description: PGP signature ___ 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] TinyMCE
Hi all, Are there any open source efforts in integrating TinyMCE with Zope similar to Kupu? If not, I might actually give it a go. -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ 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] returning list from PythonScript
Slobodan Jovcic wrote: tal:block tal:define=whatever python: container.myExtMethod ( container.myScript() ) / This kind of logic has no business being in a page template... 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] Class instances changing address?
Gabriel Genellina wrote: - Never store a reference to a persistent object inside another persistent object; use its id or path to retrieve it when needed. I suspect storing the aq_base of an object will mitigate any problems you have here... - Never store a reference to a persistent object inside a non-persistent object. I don't think this is a useful warning. - If a persistent object owns some other persistent objects, make the first an ObjectManager. ...and this is bordering on rubbish ;-) - Let Zope manage transactions, and avoid bare try/excepts Aha, now this is a good one :-) 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 )
[Zope] exUserFolder Product Install Problems in Windows XP
Hello I have downloaded the exUserFolder Product and copy the folder into my directory Products of Zope but when restar my zope i found this error:: File C:\Archivos de programa\Zope-2.8.4-final\lib\python\Products\exUserFolder\AuthSources\etcAuthSource\etcAuthSource.py, line 124, in ? from Products.exUserFolder.fcrypt.fcrypt import crypt ImportError: No module named fcrypt.fcrypt anyone know why this is happening? . there is a folder CryptoSources whit the module fcrypt into, in the exUserFolder Product folder. I have install Zope 2.8.4-final, python 2.3.5, win32 I´m working in Windows XP SP2. Thanks. ___ 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] Class instances changing address?
On 1/23/06, Chris Withers [EMAIL PROTECTED] wrote: - Never store a reference to a persistent object inside a non-persistent object. I don't think this is a useful warning. Unless you expect to retrieve it after a server restart. ;) -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ 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] TinyMCE
Peter Bengtsson escribió: Hi all, Are there any open source efforts in integrating TinyMCE with Zope similar to Kupu? If not, I might actually give it a go. -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ 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 ) If you create a easy to install and use product and we could use it like epoz (as easy) I will use it Don't like kupu because is very difficult to install and very very difficult to use Don't like epoz because is incomplete Thanks! -- Mis Cosas http://blogs.sistes.net/Garito/ ___ 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] Can not authenticate witn zope http server - SOLVED
I created the access file and was able to get to the main page and from there to the ZMI to make my backup. Thanks a lot. Miguelpapi mac [EMAIL PROTECTED] wrote: Jens;Jens Vagelpohl [EMAIL PROTECTED] wrote: Does the user account that originally created those objects exist on the new server? [Yes, I'm really talking about the original server where I can not authenticate.] There is no corruption, no. You will always be able to repair this using the emergency user. See SECURITY.txt in the Zope source code for how to create it. inituser is something different and will not help you. [Ok, I'll have a ccess to the machine on Monday and see what turns up. What I don't understanda is why Zope would suddenly want to authenticate access to a page that was always available to anyone. I'll post back after checking the results.] jens___Zope maillist - Zope@zope.orghttp://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 ) Yahoo! Photos Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.___Zope maillist - Zope@zope.orghttp://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 ) Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.___ 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] nxmldocument product and zope 2.8.1
I am transitioning to zope 2.8.1 and python 2.3.5 and I would like to use the nxmldocument product: http://www.zope.org/Members/philh/nXMLDocument (I am also using Mark Hammond's Win32 extensions, and Microsoft's MSXML 4.0 parser on a windows 2003 server). However, upon startup, I received the following error with the nxmldocument product: Traceback (most recent call last): File E:\Program Files\Zope-2.8.1-final\lib\python\OFS\Application.py, line 695, in import_product product=__import__(pname, global_dict, global_dict, silly) File E:\Program Files\Zope\Products\nXMLDocument\__init__.py, line 4, in ? import nXMLDocument File E:\Program Files\Zope\Products\nXMLDocument\nXMLDocument.py, line 8, in ? import pythoncom File E:\Python23\lib\site-packages\pythoncom.py, line 3, in ? pywintypes.__import_pywin32_system_module__(pythoncom, globals()) File E:\Python23\lib\site-packages\win32\lib\pywintypes.py, line 42, in __import_pywin32_system_module__ mod = imp.load_module(modname, None, found, ('.dll', 'rb', imp.C_EXTENSION)) ImportError: DLL load failed: The specified procedure could not be found. Thanks in advance! John Tynan - webmaster KJZZ.org / KBAQ.org 480.774.8462 ___ 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] CMF 2.0.0-alpha released
This is very cool!! I have been really looking forward to working with this!! Many thanks to those that are making this happen and are pushing Zope2 to the next level! Regards, David Jens Vagelpohl wrote: The CMF developer community and Zope Corporation are pleased to announce the release of version 2.0.0-alpha of the Zope Content Management Framework (CMF). This release is intended for testing purposes only; we do not recommend deploying it to production servers. What's new in this release? This alpha represents a first preview of all the changes and features you will see in CMF version 2.0. Some of the highlights are... - GenericSetup-integration as the replacement for the CMFSetup technology started in the CMF 1.5-series - the use of Zope 3-style interfaces throughout, bridged back to Zope 2-interfaces where needed for backwards compatibility - widespread integration with Zope 3/Five technologies, and the folding-in of the previous CMFonFive addon-product - pluggable TypeInformation objects - new-style Actions ... and of course countless bug fixes and other improvements. What is the CMF? The Zope Content Management Framework provides a set of services and content objects useful for building highly dynamic, content-oriented portal sites. As packaged, the CMF generates a site much like the Zope.org site. The CMF is intended to be easily customizable, in terms of both the types of content used and the policies and services it provides. Where do I get it? Download it from http://zope.org/Products/CMF/CMF-2.0.0-alpha Points of interest include: - Windows ZIP file, http://zope.org/Products/CMF/CMF-2.0.0-alpha/CMF-2.0.0-alpha.zip - Unix tar/gzip archive, http://zope.org/Products/CMF/CMF-2.0.0-alpha/CMF-2.0.0- alpha.tar.gz - Release notes, http://zope.org/Products/CMF/CMF-2.0.0-alpha/README.txt - Change history, http://zope.org/Products/CMF/CMF-2.0.0-alpha/CHANGES.txt - Installation instructions, http://zope.org/Products/CMF/CMF-2.0.0-alpha/INSTALL.txt Where do I go to learn more? The CMF mailing list ([EMAIL PROTECTED]) has many participants who are active in supporting the CMF. ...to report bugs? The CMF Collector:http://zope.org/Collectors/CMF is the place to report bugs (please search for existing reports of your issue first!) - Jens Vagelpohl [EMAIL PROTECTED] ___ 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 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] Security issue with manage_page_header
I have patched the Navigation and Management so the drop-down containing 'Set Preferences' and 'Logout' is displayed in the menu frame. The 'Set Preferences' displays a customized page to the user to set a unique set of options for my application. My product consists of several additional roles and relies heavily on a nested structure of folders and acl_users for granting access. Previously, under 2.7 I set default security for every store, which is a top level container, and the entire site consists of several stores. I have now upgraded to 2.8, created each store as a separate mount point so it has its own ZODB, and security is set at the root level. However, now if a 'Custodian' with an account nested inside of a store chooses to go to 'Set Preferences' they recieve an Unauthorized error. Zope complains on the RESPONSE.setHeader() call contained in manage_page_header. I have gone as far as to set __roles__=None on the manage_page_header and preferences page in my Navigation patch. Only those users with an account established at the root can gain access to the preferences. Otherwise, they recieve an error. If I allow Anonymous all permissions in the Security Tab (BiG bad no no in my case) then users below the root level can gain access to the preferences page. In my understanding of Security, I thought declaring __roles__=None would also allow users to access an object without needing to pass security. What could I possibly be missing My site, including the bug, is currently public and to be demoed in two days. Any assistance or guidance is greatly appreciated. ___ 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] TinyMCE
Yes, that would rock! I just started using TinyMCE a few months back, it works beautifully. It's a little bulky, but you can slim it down with less features needed. Having an integrated Zope product with this would be wonderful. I hope you follow through with that! GregOn 1/23/06, Peter Bengtsson [EMAIL PROTECTED] wrote: Hi all,Are there any open source efforts in integrating TinyMCE with Zopesimilar to Kupu?If not, I might actually give it a go.--Peter Bengtsson,work www.fry-it.com home www.peterbe.comhobby www.issuetrackerproduct.com___Zope maillist- Zope@zope.orghttp://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 )-- Greg Fischer1st Byte Solutionshttp://www.1stbyte.com ___ 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] [ANN] mechagen 1.0.beta1 released
Mechagen is a tool for generating automatic Zope2 (and Plone) functional tests for the mechanize framework. The mechanize framework can be used to write Zope2 functional tests in a flexible way and is getting also used in Plone products. However, it lacks support for automatic generation of tests. Mechagen is a tool that adds this support. (zope.testbrowser, zope.testrecorder also offer such a framework. Mechagen was not influenced by them and integration with these libraries will be done only later.) The followings characterize the generation process: - All the tests will be ZopeTestCase based python code, so the integration between traditional (non-functional) and functional tests are complete. There is no need for a separate test runner but the same runner runs all the tests, both functional and traditional ones. - The generator automatically records a given interactive series of requests, and generates a test method from it. Although the generated code can be used as a test without any modification, it should rather be thought of as a template to be edited prior to usage. - The generated tests run in the sandbox provided by the ZopeTestCase framework, which ensures that each test runs independently in the custom environment set up for it. - The interactive recording will go forth in exactly the same sandbox that is designated to run the test later. - The generation process should be easy to use, no extra tools should be necessary and the entire process should be easily manageable from within the test runner environment. You cannot test javascript in your pages with this method, but everything until that. So mechagen cannot replace Selenium but you can do much richer functional testing with it and you can complement these tests with Selenium generated ones. It fully supports Plone. It has a plugin mechanism for extending the generation of checks for your custom page types. The code is beta quality, error reports and comments are welcome. For more information, please visit http://www.zope.org/Members/ree/mechagen . -- Balazs Ree, ree at ree.hu ___ 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-Checkins] CVS: Packages/ZODB - config.py:1.13.4.1.38.4
Update of /cvs-repository/Packages/ZODB In directory cvs.zope.org:/tmp/cvs-serv23417 Modified Files: Tag: jim-test-storage config.py Log Message: Fixed bug in as-of handling. === Packages/ZODB/config.py 1.13.4.1.38.3 = 1.13.4.1.38.4 === --- Packages/ZODB/config.py:1.13.4.1.38.3 Fri Jan 20 17:15:22 2006 +++ Packages/ZODB/config.py Mon Jan 23 16:32:51 2006 @@ -133,6 +133,7 @@ y, m, d = map(int, d.split('-')) as_of = ZODB.TimeStamp.TimeStamp(y, m, d, *map(int, t.split(':'))) +as_of = `as_of` read_only = True else: as_of = None ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
Re: [Zope-dev] Re: [Zope3-dev] December release post-mortem
Jim Fulton wrote: If Python had and used a packaging system, like eggs, this wouldn't be necessary. Someday. *grinz* The irony that python is so successfuly _because_ of it's batteries included nature isn't lost on me ;-) 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 )
Re: [Zope-dev] [ZPublisher] specifiying 'charset' for the content-type header
Andreas Jung wrote: A cool :-) Where's the code that checks if this header is present so I can take a look? ZPublisher/HTTPResponse.py (where else :-)) Oh :-S I was expecting a different patch... so this only affects content returned as XML? How come? huh? Sorry, my mistake, looking at the wrong diff... 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 )
Re: [Zope-dev] Re: [Zope3-dev] December release post-mortem
Chris Withers wrote: Jim Fulton wrote: If Python had and used a packaging system, like eggs, this wouldn't be necessary. Someday. *grinz* The irony that python is so successfuly _because_ of it's batteries included nature isn't lost on me ;-) I would argue that it is successful despite it. 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 ___ 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: 8 OK
Summary of messages to the zope-tests list. Period Sun Jan 22 12:01:01 2006 UTC to Mon Jan 23 12:01:01 2006 UTC. There were 8 messages: 8 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux From: Zope Unit Tests Date: Sun Jan 22 21:03:13 EST 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-January/004074.html Subject: OK : Zope-2_6-branch Python-2.3.5 : Linux From: Zope Unit Tests Date: Sun Jan 22 21:04:43 EST 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-January/004075.html Subject: OK : Zope-2_7-branch Python-2.3.5 : Linux From: Zope Unit Tests Date: Sun Jan 22 21:06:14 EST 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-January/004076.html Subject: OK : Zope-2_7-branch Python-2.4.2 : Linux From: Zope Unit Tests Date: Sun Jan 22 21:07:44 EST 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-January/004077.html Subject: OK : Zope-2_8-branch Python-2.3.5 : Linux From: Zope Unit Tests Date: Sun Jan 22 21:09:14 EST 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-January/004078.html Subject: OK : Zope-2_8-branch Python-2.4.2 : Linux From: Zope Unit Tests Date: Sun Jan 22 21:10:44 EST 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-January/004079.html Subject: OK : Zope-2_9-branch Python-2.4.2 : Linux From: Zope Unit Tests Date: Sun Jan 22 21:12:14 EST 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-January/004080.html Subject: OK : Zope-trunk Python-2.4.2 : Linux From: Zope Unit Tests Date: Sun Jan 22 21:13:44 EST 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-January/004081.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] Zope 2.8.6 and 2.9.1 schedule
I am plan to release Zope 2.8.6 and 2.9.1 in the middle of February (around Feb, 15th). Cheers, Andreas pgp4CgZl6DpmQ.pgp Description: PGP signature ___ 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 )
Re: [ZWeb] new zope.org: zope newsletter
Hey, Sorry it took a bit to reply to this. Andrew Sawyers wrote: I asked this in IRC, but don't think I got an answer: Should I work on setting up something on one of the current zope.org app servers or do we have another place where this work will be done. I started something awhile back when Sidnei and I got into a conversation about zope.org salvation and didn't comeplete it. I can work with Mark at Zope Corp for us to hace something to show... I don't care about writing text as the rest of the group. If there's no plan, I'll see if Mark can help with enabling us to get some progress to that end. While we definitely need to change zope.org eventually and it's great you have the interest and the access to set stuff up on it, I think we should focus first on structure, text and presentation, then worry about the technology. For now, I'd like to stick with a bunch of restructured text files that, if we want to see it in some presentation, can convert with some scripts. Once we actually know what we want to host on zope.org in more detail, we can start wondering about what the technical infrastructure should be. Regards, Martijn ___ Zope-web maillist - Zope-web@zope.org http://mail.zope.org/mailman/listinfo/zope-web
Re: [Zope-DB] Warnings from mxODBC in 2.8.5
Charlie Clark wrote: Hi Chris, are you using Zope 2.8.5 or Zope 2.9.0 or are they the same thing? 2.8.5. I find the fact that you ask if 2.8.5 and 2.9.0 are the same thing quite scary... Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
Re: [Zope-DB] Warnings from mxODBC in 2.8.5
M.-A. Lemburg wrote: The warning filter should work for any Python code which issues these warnings, regardless of where and how it is defined. However, you'd have to register the filter early during Zope startup in order for it to be active by the time OFS.Application.py is imported. I'm using the warning filter stuff that zope.conf provides, it works for all other products ,just not mxODBC. I wonder why? Anyway, I guess this is mainly aimed at the eGenix people: is there a version of mxODBC available which has these problems fixed? No. The reason is that the mxODBC Zope DA supports many old Zope versions (starting with Zope 2.3). *sigh* Our next version will only be available for Zope 2.7 onwards and will remove much of the old-style interface logic which we still have to keep around for backwards compatibility reasons. When's this due to land? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
Re: [Zope-DB] Warnings from mxODBC in 2.8.5
On Mon, 23 Jan 2006 10:24:04 +0100, Chris Withers [EMAIL PROTECTED] wrote: Charlie Clark wrote: Hi Chris, are you using Zope 2.8.5 or Zope 2.9.0 or are they the same thing? 2.8.5. I find the fact that you ask if 2.8.5 and 2.9.0 are the same thing quite scary... You shouldn't worry too much! I'd just installed the FreeBSD port for 2.9.0 which was actually 2.8.5! Charlie ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
Re: [Zope-DB] Warnings from mxODBC in 2.8.5
Charlie Clark wrote: You shouldn't worry too much! I'd just installed the FreeBSD port for 2.9.0 which was actually 2.8.5! Haha... okay, that just makes me even more scared of FreeBSD... cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
Re: [Zope-DB] Warnings from mxODBC in 2.8.5
On Mon, 23 Jan 2006 11:53:41 +0100, Chris Withers [EMAIL PROTECTED] wrote: Charlie Clark wrote: You shouldn't worry too much! I'd just installed the FreeBSD port for 2.9.0 which was actually 2.8.5! Haha... okay, that just makes me even more scared of FreeBSD... Oh, it shouldn't! FreeBSD's ports are excellent and really easy to use. It was my mistake as I should have read the package information. I have reported the mislabelling to the maintainer. The current breakneck pace of Zope releases doesn't make it easy for companies like us providing Zope add-ons. The last couple of releases have all had minor changes in the architecture which have required changes to the mxODBCZopeDA for compatability. We are still waiting for the Windows binary version of Zope 2.9 before we release anything for it. Charlie ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
Re: [Zope-DB] Warnings from mxODBC in 2.8.5
Chris Withers wrote: M.-A. Lemburg wrote: The warning filter should work for any Python code which issues these warnings, regardless of where and how it is defined. However, you'd have to register the filter early during Zope startup in order for it to be active by the time OFS.Application.py is imported. I'm using the warning filter stuff that zope.conf provides, it works for all other products ,just not mxODBC. I wonder why? Well, given that in Zope 2.9.0 it also doesn't catch the following warning that you get on startup: /home/lemburg/zope/Zope-2.9.0/lib/python/App/ImageFile.py:21: DeprecationWarning: Using OFS.content_types is deprecated (will be removed in Zope 2.11). Instead use zope.app.contenttypes. from OFS.content_types import guess_content_type this doesn't sound surprising. Perhaps there's a bug in the Zope filter code ?! Anyway, I guess this is mainly aimed at the eGenix people: is there a version of mxODBC available which has these problems fixed? No. The reason is that the mxODBC Zope DA supports many old Zope versions (starting with Zope 2.3). *sigh* Our next version will only be available for Zope 2.7 onwards and will remove much of the old-style interface logic which we still have to keep around for backwards compatibility reasons. When's this due to land? Sorry, but we don't have an ETA yet. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Jan 23 2006) Python/Zope Consulting and Support ...http://www.egenix.com/ mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ mxODBC, mxDateTime, mxTextTools ...http://python.egenix.com/ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
Re: [Zope-DB] Warnings from mxODBC in 2.8.5
On Fri, 20 Jan 2006 08:27:25 +0100, Chris Withers [EMAIL PROTECTED] wrote: DeprecationWarning: __init__.py of Products.mxODBCZopeDA has a long deprecated 'methods' attribute. 'methods' will be ignored by install_product in Zope 2.10. Please use registerClass instead. DeprecationWarning) FWIW this also effects ZpsycopgDA (at least using 1.1.21) Charlie ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db