[Zope-Annce] Fredericksburg, VA ZPUG June 14: meld3 templating and memcached sessions
Please join us Wed., June 14, 7:30-9:00 PM, for another meeting of the Fredericksburg, VA Zope and Python User Group (ZPUG). We will have two full presentations, and some good snacks. If you plan to attend, an email 24 hours in advance would be appreciated (but last minute attendees are welcome). - Chris McDonough will talk about meld3, a Python HTML/XML templating system in the spirit of PyMeld and other 'push-based' templating systems. (http://www.plope.com/software/meld3) - Tres Seaver will present Using memcached in Python and Zope, including a demo of using his 'mcdutils' product to do shared session management in Zope. Gary General ZPUG information When: second Wednesday of every month, 7:30-9:00. Where: Zope Corporation offices. 513 Prince Edward Street; Fredericksburg, VA 22408 (tinyurl for map is http://tinyurl.com/duoab). Parking: Zope Corporation parking lot; entrance on Prince Edward Street. Topics: As desired (and offered) by participants, within the constraints of having to do with Python or Zope. Mailing list: [EMAIL PROTECTED] Contact: Gary Poster ([EMAIL PROTECTED]) ___ Zope-Announce maillist - Zope-Announce@zope.org http://mail.zope.org/mailman/listinfo/zope-announce Zope-Announce for Announcements only - no discussions (Related lists - Users: http://mail.zope.org/mailman/listinfo/zope Developers: http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope-Annce] Zope Foundation Membership and Board
The Zope Foundation was legally formed in March 2006. We are in the process of building membership and electing the first board of directors. The purpose of the Zope Foundation is to advance the creation, evolution, promotion, adoption and support of the Zope Platform and to cultivate both an open source community and an ecosystem of complementary products, capabilities, and services. The Zope Foundation will provide an independent venue for the safekeeping of the Zope software and related materials. The Zope Foundation is governed by a Board of Directors elected annually to represent the stakeholders in the Zope Community. The Board is composed as follows: * Strategic Developer Directors: Strategic Developers may appoint one (1) Director. * Strategic Consumer Directors: Strategic Consumer Members may elect one Director for every Strategic Director. * Committer Directors: Committer Members will elect one (1) Director for every Strategic Director. * Solution Provider Directors: Solution Providers will elect one (1) Director for every three (3) Strategic Developer Directors. Solution Providers are entitled to elect at least one (1) Director in any event. * Associate Directors: Associate Members will elect one (1) Director to the Board A library of Zope Foundation formation documentation is available on-line at: http://www.zope.org/DevHome/Foundation/ The Zope Foundation will own the copyright to the software and related materials (e.g., documentation) that comprises the Zope Platform. The Zope Foundation will own and operate the Zope website at www.zope.org and related servers, such as mail.zope.org and svn.zope.org. The Board will undertake additional initiatives in its sole discretion (e.g., platform marketing, development coordination, documentation coordination, etc.) The Zope Foundation needs active members to ensure the Zope Platform continues to be successful! Information on the membership classes is described in the by laws: http://www.zope.org/DevHome/Foundation/ZopeFoundationByLaws.pdf and in the membership agreement: http://www.zope.org/DevHome/Foundation/ ZopeFoundationMembershipAgreement.pdf I encourage you to support the Foundation by - Becoming a member - Volunteering your time by: o Participating in the Zope Foundation Mailing list, o Volunteering on Foundation sponsored projects, such as zope.org operation, development projects, etc. Deadlines We are having elections for board directors representing committer, solution-provider, and associate members. We are currently accepting nominations for directors. Members of each class can nominate directors for that class. For the solution-provider and committer members, nominees can only be from that class. For example, only committer members can nominate committer-member directors and those nominees must be committer members. The nomination process closes June 13. Voting begins June 14th and closes June 21st. Obviously, only members can vote. Strategic Developer and Consumer members can appoint directors. These appointments must be made by June 21st. Becoming a member To become a member, you need to fill out and submit a membership agreement: http://www.zope.org/DevHome/Foundation/ ZopeFoundationMembershipAgreement.pdf You can submit a membership agreement by: - Mailing it to: Zope Foundation, Incorporated ATTN: Committer Agreements c/o Zope Corporation 513 Prince Edward Street Fredericksburg, VA USA, 22401 - Faxing it to: +1 703 995 0412 - Emailing a scanned copy to: [EMAIL PROTECTED] To join as a committer member: - You must first be invited. - You must also submit a committer agreement: http://www.zope.org/DevHome/Foundation/ ZopeFoundation_Committer_Agreement.pdf Please submit the membership agreement and the committer agreement together to make less work for volunteers handling the agreements. For other membership classes: - Make sure you satisfy the requirements of the membership class. - Determine your dues and pay them. You can pay in three ways: 1. Send a check made out to the Zope Foundation to The Zope Foundation, c/o Zope Corporation 513 Prince Edward Street, Fredericksburg, VA, USA, 22401. 2. Make a payment using PayPal 3. Make a payment using a wire transfer to the Zope Foundation Bank account. Contact [EMAIL PROTECTED] for PayPal or wire-transfer instructions. General questions should be send to [EMAIL PROTECTED] Questions specific to you should be sent to [EMAIL PROTECTED] Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporationhttp://www.zope.com http://www.zope.org
[Zope-Checkins] SVN: Products.Five/trunk/site/metaconfigure.py zLOG - logging
Log message for revision 68527: zLOG - logging Changed: U Products.Five/trunk/site/metaconfigure.py -=- Modified: Products.Five/trunk/site/metaconfigure.py === --- Products.Five/trunk/site/metaconfigure.py 2006-06-08 17:05:31 UTC (rev 68526) +++ Products.Five/trunk/site/metaconfigure.py 2006-06-08 17:08:43 UTC (rev 68527) @@ -25,12 +25,14 @@ from Products.Five.site.localsite import FiveSite -from zLOG import LOG, WARNING +import logging +LOG = logging.getLogger('Five') + _localsite_monkies = [] def classSiteHook(class_, site_class): if class_ in _localsite_monkies: -LOG('Five', WARNING, Class %s already has a site hook % class_) +LOG.warn(Class %s already has a site hook % class_) else: _localsite_monkies.append(class_) setattr(class_, 'getSiteManager', site_class.getSiteManager.im_func) ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/trunk/ removed deprecated zLOG module
Log message for revision 68528: removed deprecated zLOG module Changed: U Zope/trunk/doc/CHANGES.txt D Zope/trunk/lib/python/zLOG/ -=- Modified: Zope/trunk/doc/CHANGES.txt === --- Zope/trunk/doc/CHANGES.txt 2006-06-08 17:08:43 UTC (rev 68527) +++ Zope/trunk/doc/CHANGES.txt 2006-06-08 17:15:12 UTC (rev 68528) @@ -14,361 +14,13 @@ to the rules for such a type laid out in the Python docs: http://docs.python.org/api/supporting-cycle-detection.html - Zope 2.10.0 beta 2 (unreleased) + Trunk (unreleased) -Bugs Fixed - - - Acquisition wrappers now correctly proxy __contains__. - - - Collector #2116: sequence.sort() did not work properly -locale related comparison methods - - Zope 2.10.0 beta 1 (2006/05/30) - Restructuring - - Zope 2.10+ now includes site.zcml as part of its instance -creation skel directory. As a consequence Five now requires -this file to exist in every instance. If upgrading a site -from Zope 2.9 to 2.10, you will need to copy site.zcml and -package-includes/ from your installed Zope installation -location (skel/etc/) into the etc/ directory of your upgraded -instance. - -The rationale for requiring this new file is to bring Zope 2 -instances closer in consistency to Zope 3 instances. It also -eases use of Zope 3 coding techniques in Zope 2 and removes -some confusion when trying to run pure Zope 3 applications on -Zope 2. + - removed zLOG module which was deprecated since Zope 2.9 - - Products.PageTemplates now uses the Zope 3 ZPT implementation -in zope.pagetemplate. - - - The TAL package has been deprecated in favour of the TAL -engine from zope.tal. - - - Products.PageTemplates.TALES has been deprecated in favour of -the TALES engine from zope.tales. - - - ZTUtils.Iterator has been deprecated in favour of the TALES -iterator implementation in zope.tales.tales. - - - ZCatalog: removed manage_deleteIndex(), manage_delColumns() -which were deprecated since Zope 2.4 - - - deprecated the zLOG module. Use Pythons 'logging' module instead. - - - replaced all zLOG occurences (expect the zLOG module itself) with -the 'logging' module - - - PluginIndexes/TextIndex is deprecated. Use ZCTextIndex instead - - - the 'StructuredText' module is deprecated. Use zope.structuredtext -instead - - - removed ZopeTutorial (Elvis is now really dead) - - - ZClasses are deprecated and should no longer be used. In addition -any code related to the ZClasses (re)distribution mechanism is -removed. - - - ZGadyFlyDA/Gadfly is deprecated - - - deprecated OFS.content_types (to be removed in Zope 2.11) and -replaced all occurences with zope.app.content_types - - - OFS.content_types: moved code to zope.app.content_types and added -method aliases - - - Using FastCGI is offically deprecated. - Features added - - Included Zope 3.3 and corresponding Five 1.5 release. - - - There is now a default favicon.ico. - - - Experimental WSGI and Twisted support for http. -Zope now has a WSGI interface for integration with other -web-servers than ZServer. Most notably Twisted is supported. -The WSGI application is ZPublisher.WSGIPublisher.publish_module - -You can make ZServer use the twisted interface with the -use-wsgi on keyword in the http-server section in zope.conf. - -You can run Twisted by installing Twisted (2.1 recommended) and -replacing the http-server section with a server section in -zope.conf. It is not possible to run a Twisted server together with -a ZServer at the same time. - - server -address 8080 -type Zope2-HTTP - /server - -WSGI: http://www.python.org/dev/peps/pep-0333/ -Twisted: http://twistedmatrix.com/ - - - The traversal has been refactored to take heed of Zope3s -IPublishTraverse adapter interfaces. The ZCML directives -five:traversable and five:defaultViewable are therefore no -longer needed, as everything now is five:traversable and -five:defaultViewable. - -There was a bug in earlier versions of Five that allowed you -to do custom publishing traversal with ITraversable adapters. -This bug has been corrected. Anybody using ITraversable -adapters need to convert them to IPublishTraversal adapters. - - - Testing.makerequest: Added an 'environ' argument so -clients can use mappings other than os.environ. - - - Updated to Docutils 0.4.0 - - - reStructuredText: The default value for the 'stylesheet' -property has been
[Zope-dev] Non-Latin-1 properties
Hi! Sorry to beat a dead horse: the ZMI doesn't allow using non-Latin-1 properties. * properties are stored using the default-zpublisher-encoding (iso-8859-15); * manage_propertiesForm is input--output'ed using management_page_charset (UTF-8) ... * ... but built using join_unicode, which calls PyUnicode_DecodeLatin1. To see the problem: * with the default default-zpublisher-encoding (Latin-9), - set a property's value to '€' (not in Latin-1) - Save Changes: it will be displayed as '¤' (the corresponding character) - Save Changes again: 'charmap' codec can't encode character u'\xa4' in position 0: character maps to undefined (because '¤' is not in (Latin-9). * with default-zpublisher-encoding set to UTF-8 - set a property's value to '€' - Save Changes: it will be displayed as 'â¬' - Save Changes again: it becomes 'â¬' Note that this has repercussions not only on the ZMI but on other products, such as GenericSetup. Some possible fixes: * do nothing. This will please those wishing to deprecate the ZMI, but not the rest of us :-) * rewrite properties.dtml as a ZPT? * change join_unicode to use either default-zpublisher-encoding or yet another setting (which would default to Latin-1 to stay compatible)? Flames, comments? Thanks! Yves ___ 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] Non-Latin-1 properties
--On 8. Juni 2006 15:31:09 +0200 Yves Bastide [EMAIL PROTECTED] wrote: Hi! Sorry to beat a dead horse: the ZMI doesn't allow using non-Latin-1 properties. huh? How about using the utext and ustring properties? -aj -- ZOPYX Ltd. Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376 E-Publishing, Python, Zope Plone development, Consulting pgpW6M9DKjz08.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: [Zope-dev] Non-Latin-1 properties
Andreas Jung schrieb: --On 8. Juni 2006 15:31:09 +0200 Yves Bastide [EMAIL PROTECTED] wrote: Hi! Sorry to beat a dead horse: the ZMI doesn't allow using non-Latin-1 properties. huh? How about using the utext and ustring properties? they (sorry ;) suck :-) And they arent available in manage_page_charset=utf8 (for whatever bd reason ;) Regards Tino ___ 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: Non-Latin-1 properties
Andreas Jung wrote: --On 8. Juni 2006 15:31:09 +0200 Yves Bastide [EMAIL PROTECTED] wrote: Hi! Sorry to beat a dead horse: the ZMI doesn't allow using non-Latin-1 properties. huh? How about using the utext and ustring properties? Er. Yep, of course you're right. Except that lots of products hardwire their properties types. I told this was an ex-horse, anyways :) -aj yves ___ 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] Non-Latin-1 properties
--On 8. Juni 2006 15:40:59 +0200 Tino Wildenhain [EMAIL PROTECTED] wrote: Andreas Jung schrieb: --On 8. Juni 2006 15:31:09 +0200 Yves Bastide [EMAIL PROTECTED] wrote: Hi! Sorry to beat a dead horse: the ZMI doesn't allow using non-Latin-1 properties. huh? How about using the utext and ustring properties? they (sorry ;) suck :-) And they arent available in manage_page_charset=utf8 (for whatever bd reason ;) You have to use 'UTF-8' (everything in uppercase)...the related code in properties.dtml is just horrible and stupid :-/ -aj -- ZOPYX Ltd. Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376 E-Publishing, Python, Zope Plone development, Consulting pgp01tz4miIWE.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 )
[Zope-dev] Re: Non-Latin-1 properties
Yves Bastide wrote: Andreas Jung wrote: --On 8. Juni 2006 15:31:09 +0200 Yves Bastide [EMAIL PROTECTED] wrote: Hi! Sorry to beat a dead horse: the ZMI doesn't allow using non-Latin-1 properties. huh? How about using the utext and ustring properties? Er. Yep, of course you're right. Except that lots of products hardwire their properties types. ... And that string and text properties are encoded using default-zpublisher-encoding, which is not Latin-1. So in practice string and text can't much be used for anything but ASCII. yves ___ 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] Document parameters as part of a URL
Peter Bengtsson wrote: Well, you could maybe create a new type of DTML Method called Clear DTML Method which would in principle look something like this: from zope.somewhere import DTMLMethod class ClearDTMLMethod(DTMLMethod): meta_type = Clear + DTMLMethod.meta_type def __before_publishing_traverse__(...): do your stuff # cross your fingers that it will work But this restricts you to DTML Methods. So if you change to Page Templates one day you'll have to recode the url param stuff. Actually both ZPT and Python Scripts support this kind of thing automatically with the traverse_subpath variable. Anything after the name of the ZPT or PS in the URL gets put as a tuple in that variable. Yet another reason to ditch your suzzy DTM(hel)L ;-) 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] Modification time problem
Hi, all. I'm working in ZMI. When a object created/changed the value in Last Modified column is in future and always the same (2006-07-06 22:40). How to fix it? My system time and hardware time seem ok. Zope Version: (Zope 2.7.8-final, python 2.3.5, linux2) Python Version: 2.3.5 (#1, Jul 6 2006, 13:09:42) [GCC 3.2 20020903 (Red Hat Linux 8.0 3.2-7)] 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] Modification time problem
--On 8. Juni 2006 11:51:48 +0300 Vitaly Lobachevsky [EMAIL PROTECTED] wrote: Hi, all. I'm working in ZMI. When a object created/changed the value in Last Modified column is in future and always the same (2006-07-06 22:40). How to fix it? My system time and hardware time seem ok. Possibly a problem with the time zone? -aj -- ZOPYX Ltd. Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376 E-Publishing, Python, Zope Plone development, Consulting pgp228rOFtGoI.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] Export format documentation
Hello, I have an export file of objects (that come from a Plone 2.0.5 instance). Unfortunately, the products are not compatible with a newer Plone version. I'm building a new version of this product (but it will be quite different from the initial one). I'm wondering if it is possible to load datas for a zexp file without the old product and then build new instances of my new product. That is why I'd like to know if there is a good documentation concerning the internal structure of zexp files. Thanks in advance Sebastien ___ 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] Export format documentation
--On 8. Juni 2006 14:28:31 +0200 Sébastien VINOT [EMAIL PROTECTED] wrote: I'm wondering if it is possible to load datas for a zexp file without the old product and then build new instances of my new product. That is why I'd like to know if there is a good documentation concerning the internal structure of zexp files. The .zexp files are Python pickles. The XML generated through export/import is basically an XML representation of the Python pickle. The most straight forward solution would be to write a migration script for your stuff and not to look into pickles...but you can of course follow the pickle road if you like it the hard way :-) -aj -- ZOPYX Ltd. Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376 E-Publishing, Python, Zope Plone development, Consulting pgpEpdO6Fyo4F.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] Re: Export format documentation
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sébastien VINOT wrote: Hello, I have an export file of objects (that come from a Plone 2.0.5 instance). Unfortunately, the products are not compatible with a newer Plone version. I'm building a new version of this product (but it will be quite different from the initial one). I'm wondering if it is possible to load datas for a zexp file without the old product and then build new instances of my new product. That is why I'd like to know if there is a good documentation concerning the internal structure of zexp files. Thanks in advance If you do the export to XML, rather than the binary pickle format of a zexp file, then you should be able to examine the structure in an editor, and even (in theory, anyway), transform it into a form compatible with your new product version. YMMV as to whether the effort here outweighs writing BBB / migration code in your product. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEiBt3+gerLs4ltQ4RAs2OAJ9/dTJSQnVRm6w0ylmAp85lXS/SGACfa9+e Mnd23flUKTH1nbYihJm3jr0= =sKwl -END 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 )
RE : [Zope] Export format documentation
-Message d'origine- De : Andreas Jung [mailto:[EMAIL PROTECTED] Envoyé : jeudi 8 juin 2006 14:38 À : Sébastien VINOT; zope@zope.org Objet : Re: [Zope] Export format documentation --On 8. Juni 2006 14:28:31 +0200 Sébastien VINOT [EMAIL PROTECTED] wrote: I'm wondering if it is possible to load datas for a zexp file without the old product and then build new instances of my new product. That is why I'd like to know if there is a good documentation concerning the internal structure of zexp files. The .zexp files are Python pickles. The XML generated through export/import is basically an XML representation of the Python pickle. The most straight forward solution would be to write a migration script for your stuff and not to look into pickles...but you can of course follow the pickle road if you like it the hard way :-) -aj You're right, I did not think about XML : thanks for the very good idea ! Sebastien ___ 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: RE : [Zope] Export format documentation
--On 8. Juni 2006 14:44:39 +0200 Sébastien VINOT [EMAIL PROTECTED] wrote: I'm wondering if it is possible to load datas for a zexp file without the old product and then build new instances of my new product. That is why I'd like to know if there is a good documentation concerning the internal structure of zexp files. The .zexp files are Python pickles. The XML generated through export/import is basically an XML representation of the Python pickle. The most straight forward solution would be to write a migration script for your stuff and not to look into pickles...but you can of course follow the pickle road if you like it the hard way :-) -aj You're right, I did not think about XML : thanks for the very good idea ! Possibly my reply wasn't clear enough. The pickle format (binary or XML) appears too low-level in order to write a reasonable migration script. The recommended solution would be to write a reasonable migration on the application level based on your current data... -aj pgpKqUCOBca3Y.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 )
RE : RE : [Zope] Export format documentation
-Message d'origine- De : Andreas Jung [mailto:[EMAIL PROTECTED] Envoyé : jeudi 8 juin 2006 14:48 À : Sébastien VINOT; zope@zope.org Objet : Re: RE : [Zope] Export format documentation --On 8. Juni 2006 14:44:39 +0200 Sébastien VINOT [EMAIL PROTECTED] wrote: I'm wondering if it is possible to load datas for a zexp file without the old product and then build new instances of my new product. That is why I'd like to know if there is a good documentation concerning the internal structure of zexp files. The .zexp files are Python pickles. The XML generated through export/import is basically an XML representation of the Python pickle. The most straight forward solution would be to write a migration script for your stuff and not to look into pickles...but you can of course follow the pickle road if you like it the hard way :-) -aj You're right, I did not think about XML : thanks for the very good idea ! Possibly my reply wasn't clear enough. The pickle format (binary or XML) appears too low-level in order to write a reasonable migration script. The recommended solution would be to write a reasonable migration on the application level based on your current data... -aj That's right I misunderstood your answer. Thanks for your explanations. Sebastien. ___ 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] Modification time problem
Probably the problem is in my Data.fs. I can't pack it. I've got the error: Error Type: FileStorageError Error Value: The database has already been packed to a later time or no changes have been made since the last pack I've tried $ZOPE_HOME/lib/python/ZODB/fsrecover.py but without success. Any suggestions, please? ___ 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] Modification time problem
On Thu, Jun 08, 2006 at 04:08:34PM +0300, Vitaly Lobachevsky wrote: Probably the problem is in my Data.fs. I can't pack it. I've got the error: Error Type: FileStorageError Error Value: The database has already been packed to a later time or no changes have been made since the last pack I've tried $ZOPE_HOME/lib/python/ZODB/fsrecover.py but without success. Any suggestions, please? Sounds like your system clock was set to 2006-07-06 at some time in the past. AFAIK, ZODB can't cope with time going backwards. Worse, somebody may have packed while the time was set incorrectly. Unfortunately I have no suggestions short of exporting everything and importing it into a fresh instance. How painful this will be is directly proportional to the size of your database :-\ -- Paul Winkler http://www.slinkp.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] installing zope2.9.3 attempt
I'll have to say, this is the first Zope that I've had a problem with the install since 1998. The last successful version I installed was 2.92. RedHat Linux 7.3 Python 2.4.3 I've looked at the Troubleshooting info in the INSTALL.txt file and my Makefile for Python 2.4.3 shows CC= gcc -pthread CXX= c++ -pthread and it was a vanilla build. I've searched zope.org and google and haven't found anything relative to this problem except that a change from 2.9.2 to 2.9.3 fixed a make install problem. It looks like to me that not finding a zcml configuration file it quits. Any ideas how I can fix this? Output: [z293]# ./configure --with-python=/usr/local/bin/python2.4 --prefix=/var/z29 Configuring Zope installation Using Python interpreter at /usr/local/bin/python2.4 [z293]# make /usr/local/bin/python2.4 install.py -q build Traceback (most recent call last): File install.py, line 28, in ? context.initialize() File /var/z293/Support/zpkgsetup/setup.py, line 121, in initialize self.scan(depname, pkgdir, reldir) File /var/z293/Support/zpkgsetup/setup.py, line 211, in scan self.scan_package(name, directory, reldir) File /var/z293/Support/zpkgsetup/setup.py, line 225, in scan_package pkginfo = package.loadPackageInfo(name, directory, reldir) File /var/z293/Support/zpkgsetup/package.py, line 101, in loadPackageInfo pkginfo = read_package_info(directory, reldir) File /var/z293/Support/zpkgsetup/package.py, line 166, in read_package_info data_files[:] = expand_globs(directory, reldir, data_files) File /var/z293/Support/zpkgsetup/package.py, line 303, in expand_globs raise ValueError( ValueError: filename pattern '*-configure.zcml' doesn't match any files make: *** [build] Error 1 Thanks, Thomas -- Thomas McMillan Grant Bennett Appalachian State University Computer Consultant III P O Box 32026 University Library Boone, North Carolina 28608 (828) 262 6587 An important measure of effort in coding is the frequency with which you write something that doesn't actually match your mental representation of the problem, and have to backtrack on realizing that what you just typed won't actually tell the language to do what you're thinking. -Eric Raymond Library Systems Help Desk: http://linux.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 )
Re: RE : RE : [Zope] Export format documentation
On Thu, Jun 08, 2006 at 02:54:10PM +0200, S?bastien VINOT wrote: De : Andreas Jung [mailto:[EMAIL PROTECTED] Possibly my reply wasn't clear enough. The pickle format (binary or XML) appears too low-level in order to write a reasonable migration script. The recommended solution would be to write a reasonable migration on the application level based on your current data... actually the XML format can sometimes be quite usable. maybe not for images :) -- Paul Winkler http://www.slinkp.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] installing zope2.9.3 attempt
--On 8. Juni 2006 09:38:40 -0400 Thomas Bennett [EMAIL PROTECTED] wrote: Using Python interpreter at /usr/local/bin/python2.4 [z293]# make /usr/local/bin/python2.4 install.py -q build Traceback (most recent call last): File install.py, line 28, in ? context.initialize() File /var/z293/Support/zpkgsetup/setup.py, line 121, in initialize self.scan(depname, pkgdir, reldir) File /var/z293/Support/zpkgsetup/setup.py, line 211, in scan self.scan_package(name, directory, reldir) File /var/z293/Support/zpkgsetup/setup.py, line 225, in scan_package pkginfo = package.loadPackageInfo(name, directory, reldir) File /var/z293/Support/zpkgsetup/package.py, line 101, in loadPackageInfo pkginfo = read_package_info(directory, reldir) File /var/z293/Support/zpkgsetup/package.py, line 166, in read_package_info data_files[:] = expand_globs(directory, reldir, data_files) File /var/z293/Support/zpkgsetup/package.py, line 303, in expand_globs raise ValueError( ValueError: filename pattern '*-configure.zcml' doesn't match any files make: *** [build] Error 1 I really can't reproduce this issue with the source tarball (on FC4) :-/ -aj -- ZOPYX Ltd. Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376 E-Publishing, Python, Zope Plone development, Consulting pgpWDvqzlC3Jd.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 )
Re: [Zope] REQUEST within a property() getter/setter
Doyon, Jean-Francois wrote at 2006-6-7 17:13 -0400: When executing code within a property getter/setter, I can't seem to get to the REQUEST object. self.REQUEST always seems to return Special Object Used to Force Acquisition ... Anyway around this? No. Python's low level attribute access methods (__getattribute__, __getattr__, __setattr__, property setter/getter) are below the reach of acquisition. Their self is not acquisition wrapped. That's why your self.REQUEST is Acquisition.Acquired (rather then the acquire object). -- Dieter ___ 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] dtml forwarding request
Hello,Is there a way in Zope to forward a request from one page to another. When I say "forward" a request, I want to retain all the GET and POST request parameters. So similar to dtml-call expr="RESPONSE.redirect('...')" but response.redirect loses all the request parameters.I've been looking around and couldn't find it.Any ideas?Thanks in advance! Yahoo! Groups gets better. Check out the new email design. Plus theres much more to come. ___ 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] dtml forwarding request
if you want to go straight from one dtml routine to another just use dtml-var (ie. have dtml method A call dtml method B) - then in dtml method A have: dtml-var methodB This will 'pass' control and the REQUEST space from A to B. Is this is not what you are looking for, then provide some more info as to your use case. Jonathan - Original Message - From: Alric Aneron To: zope@zope.org Sent: Thursday, June 08, 2006 4:22 PM Subject: [Zope] dtml forwarding request Hello,Is there a way in Zope to forward a request from one page to another. When I say "forward" a request, I want to retain all the GET and POST request parameters. So similar to dtml-call expr="RESPONSE.redirect('...')" but response.redirect loses all the request parameters.I've been looking around and couldn't find it.Any ideas?Thanks in advance! Yahoo! Groups gets better. Check out the new email design. Plus theres much more to come. ___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-announcehttp://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 )
Re: [Zope] dtml forwarding request
The dtml_method where I want to forward to is on another server, so your may would be a little hard to do. Sorry, I didn't make myself clear the first time.Thanks, any suggestions?Jonathan [EMAIL PROTECTED] wrote: if you want to go straight from one dtml routine to another just use dtml-var (ie. have dtml method A call dtml method B) - then in dtml method A have: dtml-var methodB This will 'pass' control and the REQUEST space from A to B. Is this is not what you are looking for, then provide some more info as to your use case.Jonathan- Original Message -From:AlricAneronTo: zope@zope.orgSent: Thursday, June 08, 2006 4:22PM Subject: [Zope] dtml forwardingrequest Hello,Is there a way in Zope to forward a request from onepage to another. When I say "forward" a request, I want to retain allthe GET and POST request parameters. So similar to dtml-callexpr="RESPONSE.redirect('...')" but response.redirect loses all therequest parameters.I've been looking around and couldn't find it.Anyideas?Thanks in advance! Yahoo! Groups gets better. Checkout the new email design. Plus there�s much more to come. ___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-announcehttp://mail.zope.org/mailman/listinfo/zope-dev) Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better. ___ 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] dtml forwarding request
You can do a redirect and construct the cgi space from REQUEST. On Thu, 8 Jun 2006, Alric Aneron wrote: The dtml_method where I want to forward to is on another server, so your may would be a little hard to do. Sorry, I didn't make myself clear the first time. Thanks, any suggestions? Jonathan [EMAIL PROTECTED] wrote: if you want to go straight from one dtml routine to another just use dtml-var (ie. have dtml method A call dtml method B) - then in dtml method A have: dtml-var methodB This will 'pass' control and the REQUEST space from A to B. Is this is not what you are looking for, then provide some more info as to your use case. Jonathan - Original Message - From:AlricAneron To: zope@zope.org Sent: Thursday, June 08, 2006 4:22PM Subject: [Zope] dtml forwardingrequest Hello, Is there a way in Zope to forward a request from onepage to another. When I say forward a request, I want to retain allthe GET and POST request parameters. So similar to dtml-call expr=RESPONSE.redirect('...') but response.redirect loses all the request parameters. I've been looking around and couldn't find it. Anyideas? Thanks in advance! - Yahoo! Groups gets better. Checkout the new email design. Plus there�s much more to come. - ___ 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) - Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better. -- ___ 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] zwiki connection error
Hey all, Recently, ZWiki stopped working on my zope 2.9.2 intel mac os x 10.4 box (python 2.4.2). It was working fine until sometime yesterday, when I could no longer access my wiki using the address http://my ip:8080/mywiki This is strange because zope is running, I can get into the zmi, create objects from any other product, view public pages running on the zope server, but whenever I try to view my wiki, I get: Unable to connect Firefox can't establish a connection to the server at my ip:8080. Again, just to be clear, I can view any other zope-hosted page using the same ip and port. Any thoughts? -josh ___ 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] REQUEST within a property() getter/setter
I was afraid of this ... :( Back to using get_request() then! J.F. -Original Message- From: Dieter Maurer [mailto:[EMAIL PROTECTED] Sent: June 8, 2006 12:50 PM To: Doyon, Jean-Francois Cc: 'zope@zope.org' Subject: Re: [Zope] REQUEST within a property() getter/setter Doyon, Jean-Francois wrote at 2006-6-7 17:13 -0400: When executing code within a property getter/setter, I can't seem to get to the REQUEST object. self.REQUEST always seems to return Special Object Used to Force Acquisition ... Anyway around this? No. Python's low level attribute access methods (__getattribute__, __getattr__, __setattr__, property setter/getter) are below the reach of acquisition. Their self is not acquisition wrapped. That's why your self.REQUEST is Acquisition.Acquired (rather then the acquire object). -- Dieter ___ 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] dtml forwarding request
If you are using a zeo serverand both server are zeo clients you could store the info on the zeo server, then do a redirect from serverA/methodA to serverB/methodB. If the servers do not have access to the same zeo server, then you are going to have to 'package-up' all the variables you need and send them to serverB/methodB Depending on what is happening in serverB/methodB you could just do some kind of rpc from serverA/methodA to serverB/methodB (ie. methodA just sends a request to methodB, which does some processing and sends the results back to methodA for final processing/display). It's kind of hard to guess what would be best without knowing more about the application(s). Jonathan - Original Message - From: Alric Aneron To: Jonathan ; zope@zope.org Sent: Thursday, June 08, 2006 4:31 PM Subject: Re: [Zope] dtml forwarding request The dtml_method where I want to forward to is on another server, so your may would be a little hard to do. Sorry, I didn't make myself clear the first time.Thanks, any suggestions?Jonathan [EMAIL PROTECTED] wrote: if you want to go straight from one dtml routine to another just use dtml-var (ie. have dtml method A call dtml method B) - then in dtml method A have: dtml-var methodB This will 'pass' control and the REQUEST space from A to B. Is this is not what you are looking for, then provide some more info as to your use case. Jonathan - Original Message - From: Alric Aneron To: zope@zope.org Sent: Thursday, June 08, 2006 4:22 PM Subject: [Zope] dtml forwarding request Hello,Is there a way in Zope to forward a request from one page to another. When I say "forward" a request, I want to retain all the GET and POST request parameters. So similar to dtml-call expr="RESPONSE.redirect('...')" but response.redirect loses all the request parameters.I've been looking around and couldn't find it.Any ideas?Thanks in advance! Yahoo! Groups gets better. Check out the new email design. Plus there�s much more to come. ___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-announcehttp://mail.zope.org/mailman/listinfo/zope-dev ) Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better. ___ 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] dtml forwarding request
So there is no way to do it through python and DTML?I know Java has something like that.Jonathan [EMAIL PROTECTED] wrote: If you are using a zeo serverand both server are zeo clients you could store the info on the zeo server, then do a redirect from serverA/methodA to serverB/methodB. If the servers do not have access to the same zeo server, then you are going to have to 'package-up' all the variables you need and send them to serverB/methodB Depending on what is happening in serverB/methodB you could just do some kind of rpc from serverA/methodA to serverB/methodB (ie. methodA just sends a request to methodB, which does some processing and sends the results back to methodA for final processing/display). It's kind of hard to guess what would be best without knowing more about the application(s).Jonathan - Original Message -From:AlricAneronTo: Jonathan ; zope@zope.orgSent: Thursday, June 08, 2006 4:31PM Subject: Re: [Zope] dtml forwardingrequest The dtml_method where I want to forward to is on anotherserver, so your may would be a little hard to do. Sorry, I didn't makemyself clear the first time.Thanks, anysuggestions?Jonathan [EMAIL PROTECTED] wrote: if you want to go straight from one dtml routine to another just use dtml-var (ie. have dtml method A call dtml method B) - then in dtml method A have: dtml-var methodB This will 'pass' control and the REQUEST space from A to B. Is this is not what you are looking for, then provide some more info as to your use case.Jonathan-Original Message -From:AlricAneronTo:zope@zope.org Sent:Thursday, June 08, 2006 4:22 PM Subject:[Zope] dtml forwarding request Hello,Is there a way in Zope to forward a request fromone page to another. When I say "forward" a request, I want toretain all the GET and POST request parameters. So similar todtml-call expr="RESPONSE.redirect('...')" but response.redirectloses all the request parameters.I've been looking around and couldn't find it.Any ideas?Thanks in advance! Yahoo! Groups gets better. Checkout the new email design. Plus there�s much more to come. ___Zopemaillist -Zope@zope.orghttp://mail.zope.org/mailman/listinfo/zope**No cross posts or HTML encoding! **(Related lists -http://mail.zope.org/mailman/listinfo/zope-announcehttp://mail.zope.org/mailman/listinfo/zope-dev) Sneak preview the all-newYahoo.com. It's not radically different. Just radically better. Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better. ___ 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] dtml forwarding request
Alric Aneron wrote: So there is no way to do it through python and DTML? I know Java has something like that. *lol* Well you should be sure you know what you do anyways. Forwarding requests means you trust the users browser to do the right thing. Maybe you can instead make a subrequest by means of urllib and friends. Construct url (e.g. GET-parameters) is easy: in a python script: from ZTUtils import make_query targeturl=http://other.server/script?+make_query(**context.REQUEST.form) (untested) should work. To construct form elements there is a similar function in ZTUtils, but I dont remember the name w/o looking at the source. Regards Tino Wildenhain ___ 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] dtml forwarding request
On Thu, Jun 08, 2006 at 11:39:19PM +0200, Tino Wildenhain wrote: Alric Aneron wrote: So there is no way to do it through python and DTML? I know Java has something like that. ZEO is the canonical way to distribute zope stuff. Well you should be sure you know what you do anyways. Forwarding requests means you trust the users browser to do the right thing. Maybe you can instead make a subrequest by means of urllib and friends. If you do that, you're getting into the world of RPC and service-oriented development. There are a zillion ways to do that in zope... urllib/urllib2 as suggested, or you can use the callRemote() features of a sufficiently recent ZSyncer (see the README), or use zope's built-in XMLRPC server and on the client side use python's xmlrpclib. The latter two options are nice because they give you native python objects on both ends of the wire. Pretty much all of these will require you to write some trusted code, i.e. on the filesystem (in a Product or External Method). -- Paul Winkler http://www.slinkp.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] prefix attribute in dtml-in
Using Zope 2.8, I have two nested dtml-in tags that each loop through the results of different SQL methods. I'm trying to use the prefix attribute to differentiate the two, but I can't get it to work. Does anyone have any thoughts? dtml-in expr=getConsulting() prefix=topic fieldset legenddtml-var expr=sequence_var_fulltitle Sub Topics/legend dtml-in expr=getConsultingSub() prefix=subtopic fieldset legendTopic dtml-var subtopic_displayorder: dtml-var subtopic_menutitle/legend /fieldset /dtml-in /fieldset /dtml-in ___ 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-DB] Multiple databases connection
On mer, 2006-06-07 at 18:49 -0700, Infor Gates wrote: Is there anyway where we can have a dynamically database connection to each branch database with only one zope application (instead of multiples of the same application). We are using Zope 2.8.6, Postgresql 8.0.4 with Psycopg-1.1.21 connector. I don't understand what you mean by dynamically database connection, but Zope supports connections to multiple databases by simply creating muiltiple connections objects (Z Psycopg Connection objects in your case). federico -- Federico Di Gregorio http://people.initd.org/fog Debian GNU/Linux Developer[EMAIL PROTECTED] INIT.D Developer [EMAIL PROTECTED] L'unica cosa che riesco a produrre con una certa precisione nella mia vita sono i dubbi. -- Natale Titotto signature.asc Description: This is a digitally signed message part ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
[Fwd: Re: [Zope-DB] Multiple databases connection]
May be dynamically database connection means that we use the same Z SQL Method with different database connections (in the same Zope Instance, of course). So we can change dynamically from one database to another (schema-equal). In other words, is it possible to define database connection property of a Z SQL Method like we do for parameters ? thanks. On mer, 2006-06-07 at 18:49 -0700, Infor Gates wrote: Is there anyway where we can have a dynamically database connection to each branch database with only one zope application (instead of multiples of the same application). We are using Zope 2.8.6, Postgresql 8.0.4 with Psycopg-1.1.21 connector. I don't understand what you mean by dynamically database connection, but Zope supports connections to multiple databases by simply creating muiltiple connections objects (Z Psycopg Connection objects in your case). federico ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db