From jsjacobsen at lbl.gov Thu Jul 2 21:29:03 2009 From: jsjacobsen at lbl.gov (Janet Jacobsen) Date: Thu, 02 Jul 2009 12:29:03 -0700 Subject: [Psycopg] user's process shows as "idle in transaction" In-Reply-To: <1246343253.4577.3.camel@erin> References: <4A49157E.2090509@lbl.gov> <1246343253.4577.3.camel@erin> Message-ID: <4A4D0A7F.3060302@lbl.gov> Hi. I wanted to let you know that the user added a rollback() to his code, and now things are working much better. Prior to his adding the rollback(), deleting as few as 60 rows from the table (which has 12 M rows) that his script queries took as long as 4 minutes. If I tried to create an index on that table, ps aux showed me that the process was always "waiting". The only way I could create indexes - or delete more than 60 rows at a time - was to kill the user's postgres process. Now that he has added the rollback() to his code, his postgres process per "ps aux" no longer shows that it is "idle in transaction", but instead just "idle". And I just tried creating an index on the table with 12.5M rows, and it took less than one minute. Much, much better. Thank you for your help, Janet Federico Di Gregorio wrote: > Il giorno lun, 29/06/2009 alle 12.26 -0700, Janet Jacobsen ha scritto: > [snip] > >> The user told me that he does not close the database connection >> after the fetchall - instead he has a Python sleep command, so that >> he is checking the database every 60 s to see whether new entries >> have been added to a given table >> His code is part of an analysis pipeline, whereas the part of the >> database that I work on is loading processed data into the >> database. >> Is there something missing from his code sample, like a commit or >> a set_isolation_level, that if added would prevent the "idle in >> transaction" from happening? >> > > The user is wrong and you're right, the "idle in transaction" can be > avoided by both a commit() (or rollback()) before going to sleep or by > setting the transaction mode to "autocommit": > > conn.set_isolation_level(psycopg2.extensions.ISOLATION_LEVEL_AUTOCOMMIT) > > Hope this helps, > federico > > From rhires at earthlink.net Tue Jul 7 17:27:33 2009 From: rhires at earthlink.net (Russell Hires) Date: Tue, 7 Jul 2009 11:27:33 -0400 Subject: [Psycopg] Trying to install psycopg2 into zope/plone Message-ID: <4ADAC977-3F5A-40FF-AC11-AAA15481AC0C@earthlink.net> Hello all. I'm trying to install psycopg2 into plone, using buildout, but I keep getting an error: Getting distribution for 'psycopg2'. error: Setup script exited with error: No such file or directory An error occured when trying to install psycopg2 2.0.11.Look above this message for any errors thatwere output by easy_install. While: Installing zopeskel. Getting distribution for 'psycopg2'. Error: Couldn't install: psycopg2 2.0.11 And I have no idea why. Below is a copy of my buildout.cfg. I've been all over this issue w/ the #plone people on irc, and no one has any advice they can offer about why it won't install properly, or how to fix this error. Any advice or direction is appreciated. Running plone 3.2 on OSX 10.4 Intel. Russell ############################################ # # Buildout Configuration File for Standalone Plone # ------------------------------------------------ # $LastChangedDate: 2009-03-03 16:13:01 -0800 (Tue, 03 Mar 2009) $ $LastChangedRevision: 25091M $ # # After making changes in this configuration file, # you should run bin/buildout to update the components. # # ALWAYS back up all Plone/Zope data and components # before changing configuration. # # Running "bin/buildout" will update your installation, # installing missing components as necessary. # # Use "bin/buildout -n" to update all components, # including Plone, to the newest available releases. # Generally, you only want to do that as part # of a planned migration. # # Tutorial instructions for using zc.buildout for # configuration management are available at: # http://plone.org/documentation/tutorial/buildout # Full details at http://pypi.python.org/pypi/zc.buildout # ############################################ [buildout] ############################################ # Plone Component Versions # ------------------------ # This version of the Unified Installer has the components # of Plone 3.2.2 preloaded so that it can install without # an Internet connection. # If you want to update, uncomment the "extends = http://..." below, # edit it to point to the current version URL, # comment out the "extends = versions.cfg" line # and run bin/buildout -n # while attached to the Internet. # # extends = http://dist.plone.org/release/3.2.2/versions.cfg extends = versions.cfg versions = versions ############################################ # Ports # ----- # Specify the port on which your Zope installation # will listen: http-address = 8080 ############################################ # Eggs # ---- # Add an indented line to the eggs section for any Python # eggs or packages you wish to include. # eggs = Plone # Optional Functionality # ---------------------- # Uncomment the indented lines to include these products. # Documentation on all of them, along with many more products, # is available at # http://plone.org/products/ # # Commonly used products: # * LinguaPlone provides tools for building multi-lingual sites # * Products.CacheSetup adds the "CacheFu" Plone speedup kit # * PloneHelpCenter is a simple knowledge base # * PloneFormGen provides through-the-web form building # # Products.LinguaPlone # Products.CacheSetup # Products.PloneHelpCenter # Products.PloneFormGen # # Commonly used development tools: # * Clouseau uses AJAX to provide a Python prompt inside Plone # * DocFinderTab puts an object documentation inspector in the Zope Management Interface # * Gloworm is a Firebug-like viewlet inspector and customizer # * plone.reload allows you to refresh Python code and ZCML configuration # without restarting Zope. Note that to use plone.reload, you'll also # need to uncomment the "zcml" entry for it below. # # Products.Clouseau # Products.DocFinderTab # Products.Gloworm # plone.reload ############################################ # ZCML Slugs # ---------- # Some eggs need ZCML slugs to tell Zope to # use them. Eggs with names beginning with "Products." # usually don't need this. zcml = # plone.reload ############################################ # Development Eggs # ---------------- # You can use paster to create "development eggs" to # develop new products/themes. Put these in the src/ # directory. # You will also need to add the egg names in the # eggs section above, and may also need to add them # to the zcml section. # # Provide the *paths* to the eggs you are developing here: develop = # src/my.package ############################################ # Debug Mode # ---------- # Change debug-mode to "on" to run in development mode. # debug-mode = off ############################################ ############################################ # Buildout instructions beyond this point are # usually only changed by experienced developers. # # Beyond here there be dragons! eggs-directory=/Applications/Plone/buildout-cache/eggs download-cache=/Applications/Plone/buildout-cache/downloads newest = false parts = zope2 productdistros instance zopepy zopeskel precompile chown unifiedinstaller # Add additional egg download sources here. dist.plone.org contains archives # of Plone packages. find-links = http://dist.plone.org http://download.zope.org/ppix/ http://download.zope.org/distribution/ http://effbot.org/downloads http://initd.org/pub/software/psycopg/ # unzip all eggs for easier debugging unzip = true # let's share our Zope install zope-directory = /Applications/Plone # This section installs the components of Zope 2. # Zope operating instances are created elsewhere. # For options see http://pypi.python.org/pypi/plone.recipe.zope2install [zope2] recipe = plone.recipe.zope2install # update zope by updating this URL: url = http://www.zope.org/Products/Zope/2.10.7/Zope-2.10.7-final.tgz # fake eggs are required to satisfy Zope dependencies while # zope is not yet eggified. fake-zope-eggs = true additional-fake-eggs = ZConfig pytz # Use this section to download additional old-style products. # List any number of URLs for product tarballs under URLs (separate # with whitespace, or break over several lines, with subsequent lines # indented). If any archives contain several products inside a top-level # directory, list the archive file name (i.e. the last part of the URL, # normally with a .tar.gz suffix or similar) under 'nested-packages'. # If any archives extract to a product directory with a version suffix, list # the archive name under 'version-suffix-packages'. # For options see http://pypi.python.org/pypi/plone.recipe.distros [productdistros] recipe = plone.recipe.distros urls = nested-packages = version-suffix-packages = # Use this section to install and configure a Zope operating # instance. # For options see http://pypi.python.org/pypi/plone.recipe.zope2instance [instance] recipe = plone.recipe.zope2instance zope2-location = ${zope2:location} # The line below sets only the initial password. It will not change an # existing password. user = admin:varsis6 http-address = ${buildout:http-address} # change debug-mode to "on" to run in development mode debug-mode = ${buildout:debug-mode} # change verbose-security to "on" for detailed security # errors while developing verbose-security = off # change deprecation-warnings to "on" to get log warnings # for deprecated usages. deprecation-warnings = off # If you want Zope to know about any additional eggs, list them here. # e.g. eggs = ${buildout:eggs} my.package eggs = ${buildout:eggs} # If you want to register ZCML slugs for any packages, list them here. # e.g. zcml = my.package my.other.package zcml = ${buildout:zcml} products = ${buildout:directory}/products ${productdistros:location} # You may also control the environment variables for the instance. environment-vars = PYTHON_EGG_CACHE ${buildout:directory}/var/.python-eggs # installs a zopepy python interpreter that runs with your # full Zope environment [zopepy] recipe = zc.recipe.egg eggs = ${instance:eggs} interpreter = zopepy extra-paths = ${instance:zope2-location}/lib/python scripts = zopepy # installs paster and Zopeskel [zopeskel] recipe = zc.recipe.egg eggs = ${instance:eggs} PasteScript ZopeSkel psycopg2 # compiles .py files in ./parts and ./products so that they don't # need to be compiled by the daemon # For options see http://pypi.python.org/pypi/plone.recipe.precompiler [precompile] recipe = plone.recipe.precompiler # This recipe is used to set permissions -- and ownership for root mode installs # For options see http://pypi.python.org/pypi/plone.recipe.command [chown] recipe = plone.recipe.command command =chmod 600 .installed.cfg update-command = ${chown:command} # This recipe installs the plonectl script and a few other convenience # items. # For options see http://pypi.python.org/pypi/ plone.recipe.unifiedinstaller [unifiedinstaller] recipe = plone.recipe.unifiedinstaller user = ${instance:user} primary-port = ${instance:http-address} sudo-command = From jonathan.ballet at securactive.net Tue Jul 7 19:28:54 2009 From: jonathan.ballet at securactive.net (Jonathan Ballet) Date: Tue, 7 Jul 2009 19:28:54 +0200 Subject: [Psycopg] Trying to install psycopg2 into zope/plone In-Reply-To: <4ADAC977-3F5A-40FF-AC11-AAA15481AC0C@earthlink.net> References: <4ADAC977-3F5A-40FF-AC11-AAA15481AC0C@earthlink.net> Message-ID: On Tue, Jul 7, 2009 at 5:27 PM, Russell Hires wrote: > Hello all. I'm trying to install psycopg2 into plone, using buildout, but I > keep getting an error: > > Getting distribution for 'psycopg2'. > error: Setup script exited with error: No such file or directory > An error occured when trying to install psycopg2 2.0.11.Look above this > message for any errors thatwere output by easy_install. > While: > ?Installing zopeskel. > ?Getting distribution for 'psycopg2'. > Error: Couldn't install: psycopg2 2.0.11 Can you post the output of buildout with logs enabled as well ? Something like "buildout -o buildout:log-level=DEBUG -v" (this can be very long, maybe you should try to remove the uninteresting output) From rhires at earthlink.net Tue Jul 7 20:02:17 2009 From: rhires at earthlink.net (Russell Hires) Date: Tue, 7 Jul 2009 14:02:17 -0400 Subject: [Psycopg] Trying to install psycopg2 into zope/plone In-Reply-To: References: <4ADAC977-3F5A-40FF-AC11-AAA15481AC0C@earthlink.net> Message-ID: This is everything. Not sure what's "uninteresting" but it's not too too long... Thanks! bin/buildout -o buildout:log-level=DEBUG -v Installing 'plone.recipe.zope2install'. We have the distribution that satisfies 'plone.recipe.zope2install==2.6'. Installing 'plone.recipe.distros'. Picked: plone.recipe.distros = 1.5 Installing 'plone.recipe.zope2instance'. We have the distribution that satisfies 'plone.recipe.zope2instance==2.7'. Adding required 'zc.recipe.egg==1.1.0' We have the distribution that satisfies 'zc.recipe.egg==1.1.0'. Installing 'plone.recipe.precompiler'. Picked: plone.recipe.precompiler = 0.3 Installing 'plone.recipe.command'. Picked: plone.recipe.command = 1.0 Installing 'plone.recipe.unifiedinstaller'. Picked: plone.recipe.unifiedinstaller = 0.9 Configuration data: [zope2] additional-fake-eggs = %(__buildout_space_n__)sZConfig pytz executable = /Applications/Plone/Python-2.4/bin/python fake-zope-eggs = true location = /Applications/Plone/Zope-2.10.7-final-py2.4 recipe = plone.recipe.zope2install shared-zope = true url = http://www.zope.org/Products/Zope/2.10.7/Zope-2.10.7-final.tgz [buildout] bin-directory = /Applications/Plone/zinstance/bin debug-mode = off develop = develop-eggs-directory = /Applications/Plone/zinstance/develop-eggs directory = /Applications/Plone/zinstance download-cache = /Applications/Plone/buildout-cache/downloads eggs = %(__buildout_space_n__)sPlone eggs-directory = /Applications/Plone/buildout-cache/eggs executable = /Applications/Plone/Python-2.4/bin/python find-links = %(__buildout_space_n__)shttp://dist.plone.org http://download.zope.org/ppix/ http://download.zope.org/distribution/ http://effbot.org/downloads http://initd.org/pub/software/psycopg/ http-address = 8080 installed = /Applications/Plone/zinstance/.installed.cfg log-format = log-level = DEBUG newest = false offline = true parts = %(__buildout_space_n__)szope2 productdistros instance zopepy zopeskel precompile chown unifiedinstaller parts-directory = /Applications/Plone/zinstance/parts python = buildout unzip = true verbosity = 10 versions = versions zcml = zope-directory = /Applications/Plone [productdistros] location = /Applications/Plone/zinstance/parts/productdistros nested-packages = prefix = /Applications/Plone/zinstance/parts/productdistros recipe = plone.recipe.distros urls = version-suffix-packages = [versions] Plone = 3.2.2 Products.ATContentTypes = 1.2.7 Products.ATReferenceBrowserWidget = 2.0.3 Products.AdvancedQuery = 3.0 Products.Archetypes = 1.5.10 Products.CMFActionIcons = 2.1.2 Products.CMFCalendar = 2.1.2 Products.CMFCore = 2.1.2 Products.CMFDefault = 2.1.2 Products.CMFDiffTool = 0.4 Products.CMFDynamicViewFTI = 3.0.2 Products.CMFEditions = 1.1.8 Products.CMFFormController = 2.1.2 Products.CMFPlacefulWorkflow = 1.4.0 Products.CMFQuickInstallerTool = 2.1.6 Products.CMFTestCase = 0.9.8b4 Products.CMFTopic = 2.1.2 Products.CMFUid = 2.1.2 Products.DCWorkflow = 2.1.2 Products.ExtendedPathIndex = 2.4.1 Products.ExternalEditor = 1.0a1 Products.GenericSetup = 1.4.2.2 Products.GroupUserFolder = 3.55.1 Products.Marshall = 1.2.0 Products.MimetypesRegistry = 1.6.1 Products.NuPlone = 1.0b3 Products.PasswordResetTool = 1.1 Products.PlacelessTranslationService = 1.4.13 Products.PloneLanguageTool = 2.0.3 Products.PlonePAS = 3.7 Products.PloneTestCase = 0.9.8b4 Products.PluggableAuthService = 1.6 Products.PluginRegistry = 1.1.3.1 Products.PortalTransforms = 1.6.1 Products.ResourceRegistries = 1.4.3 Products.SecureMailHost = 1.1.1 Products.ZopeVersionControl = 1.0a1 Products.i18ntestcase = 1.2 Products.kupu = 1.4.12.1 Products.statusmessages = 3.0.3 Products.validation = 1.6.1 archetypes.kss = 1.4.3 borg.localrole = 2.0.1 buildout.eggtractor = 0.6 five.customerize = 0.3 five.localsitemanager = 0.4 kss.core = 1.4.5 plone.app.content = 1.3 plone.app.contentmenu = 1.1.6 plone.app.contentrules = 1.1.5 plone.app.controlpanel = 1.1.2 plone.app.customerize = 1.1.2 plone.app.form = 1.1.6 plone.app.i18n = 1.0.5 plone.app.iterate = 1.2.3 plone.app.kss = 1.4.4 plone.app.layout = 1.1.7 plone.app.linkintegrity = 1.0.11 plone.app.locales = 3.2.0 plone.app.openid = 1.1 plone.app.portlets = 1.1.5.1 plone.app.redirector = 1.0.9 plone.app.viewletmanager = 1.2.1 plone.app.vocabularies = 1.0.6 plone.app.workflow = 1.1.5 plone.browserlayer = 1.0.0 plone.contentrules = 1.1.0 plone.fieldsets = 1.0.3 plone.i18n = 1.0.7 plone.intelligenttext = 1.0.2 plone.keyring = 1.2 plone.locking = 1.0.5 plone.memoize = 1.0.4 plone.openid = 1.2 plone.portlet.collection = 1.1.3 plone.portlet.static = 1.1.5 plone.portlets = 1.1.0 plone.protect = 1.1 plone.recipe.zope2install = 2.6 plone.recipe.zope2instance = 2.7 plone.session = 2.1 plone.theme = 1.0 setuptools = 0.6c9 wicked = 1.1.6 zc.buildout = 1.1.1 zc.recipe.egg = 1.1.0 zope2-url = http://www.zope.org/Products/Zope/2.10.7/Zope-2.10.7- final.tgz [instance] _b = /Applications/Plone/zinstance/bin _d = /Applications/Plone/zinstance/develop-eggs _e = /Applications/Plone/buildout-cache/eggs bin-directory = /Applications/Plone/zinstance/bin debug-mode = off deprecation-warnings = off develop-eggs-directory = /Applications/Plone/zinstance/develop-eggs eggs = %(__buildout_space_n__)s%(__buildout_space_n__)sPlone eggs-directory = /Applications/Plone/buildout-cache/eggs environment-vars = %(__buildout_space_n__)sPYTHON_EGG_CACHE / Applications/Plone/zinstance/var/.python-eggs executable = /Applications/Plone/Python-2.4/bin/python find-links = http://dist.plone.org http://download.zope.org/ppix/ http://download.zope.org/distribution/ http://effbot.org/downloads http://initd.org/pub/software/psycopg/ http-address = 8080 location = /Applications/Plone/zinstance/parts/instance products = %(__buildout_space_n__)s/Applications/Plone/zinstance/ products /Applications/Plone/zinstance/parts/productdistros recipe = plone.recipe.zope2instance scripts = user = admin:varsis6 verbose-security = off zcml = %(__buildout_space_n__)s zope2-location = /Applications/Plone/Zope-2.10.7-final-py2.4 [chown] command = chmod 600 .installed.cfg recipe = plone.recipe.command update-command = chmod 600 .installed.cfg [zopepy] _b = /Applications/Plone/zinstance/bin _d = /Applications/Plone/zinstance/develop-eggs _e = /Applications/Plone/buildout-cache/eggs bin-directory = /Applications/Plone/zinstance/bin develop-eggs-directory = /Applications/Plone/zinstance/develop-eggs eggs = %(__buildout_space_n__)s%(__buildout_space_n__)sPlone eggs-directory = /Applications/Plone/buildout-cache/eggs executable = /Applications/Plone/Python-2.4/bin/python extra-paths = /Applications/Plone/Zope-2.10.7-final-py2.4/lib/python find-links = http://dist.plone.org http://download.zope.org/ppix/ http://download.zope.org/distribution/ http://effbot.org/downloads http://initd.org/pub/software/psycopg/ interpreter = zopepy recipe = zc.recipe.egg scripts = zopepy [precompile] _b = /Applications/Plone/zinstance/bin _d = /Applications/Plone/zinstance/develop-eggs _e = /Applications/Plone/buildout-cache/eggs bin-directory = /Applications/Plone/zinstance/bin develop-eggs-directory = /Applications/Plone/zinstance/develop-eggs dirs = %(__buildout_space_n__)s/Applications/Plone/zinstance/products /Applications/Plone/zinstance/parts/productdistros eggs-directory = /Applications/Plone/buildout-cache/eggs executable = /Applications/Plone/Python-2.4/bin/python find-links = http://dist.plone.org http://download.zope.org/ppix/ http://download.zope.org/distribution/ http://effbot.org/downloads http://initd.org/pub/software/psycopg/ recipe = plone.recipe.precompiler rx = /\. scripts = skip = tests skins doc kupu_plone_layer Extensions .svn [zopeskel] _b = /Applications/Plone/zinstance/bin _d = /Applications/Plone/zinstance/develop-eggs _e = /Applications/Plone/buildout-cache/eggs bin-directory = /Applications/Plone/zinstance/bin develop-eggs-directory = /Applications/Plone/zinstance/develop-eggs eggs = %(__buildout_space_n__)s%(__buildout_space_n__)s% (__buildout_space_n__)sPlone PasteScript ZopeSkel psycopg2 eggs-directory = /Applications/Plone/buildout-cache/eggs executable = /Applications/Plone/Python-2.4/bin/python find-links = http://dist.plone.org http://download.zope.org/ppix/ http://download.zope.org/distribution/ http://effbot.org/downloads http://initd.org/pub/software/psycopg/ recipe = zc.recipe.egg [unifiedinstaller] _b = /Applications/Plone/zinstance/bin _d = /Applications/Plone/zinstance/develop-eggs _e = /Applications/Plone/buildout-cache/eggs bin-directory = /Applications/Plone/zinstance/bin clients = instance develop-eggs-directory = /Applications/Plone/zinstance/develop-eggs eggs-directory = /Applications/Plone/buildout-cache/eggs executable = /Applications/Plone/Python-2.4/bin/python fileStorage = /Applications/Plone/zinstance/var/filestorage/Data.fs fileStorageDir = /Applications/Plone/zinstance/var/filestorage find-links = http://dist.plone.org http://download.zope.org/ppix/ http://download.zope.org/distribution/ http://effbot.org/downloads http://initd.org/pub/software/psycopg/ location = /Applications/Plone/zinstance parts-directory = /Applications/Plone/zinstance/parts primary-port = 8080 recipe = plone.recipe.unifiedinstaller scripts = shell-command = /bin/sh start-command = plonectl start stop-command = plonectl stop sudo-command = user = admin:varsis6 Updating zope2. Updating fake eggs Updating productdistros. Updating instance. Installing 'Plone'. We have the distribution that satisfies 'Plone==3.2.2'. Adding required 'Products.PloneTestCase==0.9.8b4' We have the distribution that satisfies 'Products.PloneTestCase==0.9.8b4'. Adding required 'Products.NuPlone==1.0b3' We have the distribution that satisfies 'Products.NuPlone==1.0b3'. Adding required 'five.localsitemanager==0.4' We have the distribution that satisfies 'five.localsitemanager==0.4'. Adding required 'five.customerize==0.3' We have the distribution that satisfies 'five.customerize==0.3'. Adding required 'wicked==1.1.6' We have the distribution that satisfies 'wicked==1.1.6'. Adding required 'plone.portlet.static==1.1.5' We have the distribution that satisfies 'plone.portlet.static==1.1.5'. Adding required 'plone.portlet.collection==1.1.3' We have the distribution that satisfies 'plone.portlet.collection==1.1.3'. Adding required 'plone.theme==1.0' We have the distribution that satisfies 'plone.theme==1.0'. Adding required 'plone.session==2.1' We have the distribution that satisfies 'plone.session==2.1'. Adding required 'plone.protect==1.1' We have the distribution that satisfies 'plone.protect==1.1'. Adding required 'plone.portlets==1.1.0' We have the distribution that satisfies 'plone.portlets==1.1.0'. Adding required 'plone.openid==1.2' We have the distribution that satisfies 'plone.openid==1.2'. Adding required 'plone.memoize==1.0.4' We have the distribution that satisfies 'plone.memoize==1.0.4'. Adding required 'plone.locking==1.0.5' We have the distribution that satisfies 'plone.locking==1.0.5'. Adding required 'plone.intelligenttext==1.0.2' We have the distribution that satisfies 'plone.intelligenttext==1.0.2'. Adding required 'plone.i18n==1.0.7' We have the distribution that satisfies 'plone.i18n==1.0.7'. Adding required 'plone.fieldsets==1.0.3' We have the distribution that satisfies 'plone.fieldsets==1.0.3'. Adding required 'plone.contentrules==1.1.0' We have the distribution that satisfies 'plone.contentrules==1.1.0'. Adding required 'plone.browserlayer==1.0.0' We have the distribution that satisfies 'plone.browserlayer==1.0.0'. Adding required 'plone.app.workflow==1.1.5' We have the distribution that satisfies 'plone.app.workflow==1.1.5'. Adding required 'plone.app.vocabularies==1.0.6' We have the distribution that satisfies 'plone.app.vocabularies==1.0.6'. Adding required 'plone.app.viewletmanager==1.2.1' We have the distribution that satisfies 'plone.app.viewletmanager==1.2.1'. Adding required 'plone.app.redirector==1.0.9' We have the distribution that satisfies 'plone.app.redirector==1.0.9'. Adding required 'plone.app.portlets==1.1.5.1' We have the distribution that satisfies 'plone.app.portlets==1.1.5.1'. Adding required 'plone.app.openid==1.1' We have the distribution that satisfies 'plone.app.openid==1.1'. Adding required 'plone.app.locales==3.2.0' We have the distribution that satisfies 'plone.app.locales==3.2.0'. Adding required 'plone.app.linkintegrity==1.0.11' We have the distribution that satisfies 'plone.app.linkintegrity==1.0.11'. Adding required 'plone.app.layout==1.1.7' We have the distribution that satisfies 'plone.app.layout==1.1.7'. Adding required 'plone.app.kss==1.4.4' We have the distribution that satisfies 'plone.app.kss==1.4.4'. Adding required 'plone.app.iterate==1.2.3' We have the distribution that satisfies 'plone.app.iterate==1.2.3'. Adding required 'plone.app.i18n==1.0.5' We have the distribution that satisfies 'plone.app.i18n==1.0.5'. Adding required 'plone.app.form==1.1.6' We have the distribution that satisfies 'plone.app.form==1.1.6'. Adding required 'plone.app.customerize==1.1.2' We have the distribution that satisfies 'plone.app.customerize==1.1.2'. Adding required 'plone.app.controlpanel==1.1.2' We have the distribution that satisfies 'plone.app.controlpanel==1.1.2'. Adding required 'plone.app.contentrules==1.1.5' We have the distribution that satisfies 'plone.app.contentrules==1.1.5'. Adding required 'plone.app.content==1.3' We have the distribution that satisfies 'plone.app.content==1.3'. Adding required 'plone.app.contentmenu==1.1.6' We have the distribution that satisfies 'plone.app.contentmenu==1.1.6'. Adding required 'kss.core==1.4.5' We have the distribution that satisfies 'kss.core==1.4.5'. Adding required 'borg.localrole==2.0.1' We have the distribution that satisfies 'borg.localrole==2.0.1'. Adding required 'archetypes.kss==1.4.3' We have the distribution that satisfies 'archetypes.kss==1.4.3'. Adding required 'Products.statusmessages==3.0.3' We have the distribution that satisfies 'Products.statusmessages==3.0.3'. Adding required 'Products.SecureMailHost==1.1.1' We have the distribution that satisfies 'Products.SecureMailHost==1.1.1'. Adding required 'Products.ResourceRegistries==1.4.3' We have the distribution that satisfies 'Products.ResourceRegistries==1.4.3'. Adding required 'Products.PortalTransforms==1.6.1' We have the distribution that satisfies 'Products.PortalTransforms==1.6.1'. Adding required 'Products.PluginRegistry==1.1.3.1' We have the distribution that satisfies 'Products.PluginRegistry==1.1.3.1'. We have the distribution that satisfies 'setuptools==0.6c9'. Adding required 'Products.PluggableAuthService==1.6' We have the distribution that satisfies 'Products.PluggableAuthService==1.6'. Adding required 'Products.PlonePAS==3.7' We have the distribution that satisfies 'Products.PlonePAS==3.7'. Adding required 'Products.PloneLanguageTool==2.0.3' We have the distribution that satisfies 'Products.PloneLanguageTool==2.0.3'. Adding required 'Products.PlacelessTranslationService==1.4.13' We have the distribution that satisfies 'Products.PlacelessTranslationService==1.4.13'. Adding required 'Products.PasswordResetTool==1.1' We have the distribution that satisfies 'Products.PasswordResetTool==1.1'. Adding required 'Products.MimetypesRegistry==1.6.1' We have the distribution that satisfies 'Products.MimetypesRegistry==1.6.1'. Adding required 'Products.GroupUserFolder==3.55.1' We have the distribution that satisfies 'Products.GroupUserFolder==3.55.1'. Adding required 'Products.GenericSetup==1.4.2.2' We have the distribution that satisfies 'Products.GenericSetup==1.4.2.2'. Adding required 'Products.ExternalEditor==1.0a1' We have the distribution that satisfies 'Products.ExternalEditor==1.0a1'. Adding required 'Products.ExtendedPathIndex==2.4.1' We have the distribution that satisfies 'Products.ExtendedPathIndex==2.4.1'. Adding required 'Products.DCWorkflow==2.1.2' We have the distribution that satisfies 'Products.DCWorkflow==2.1.2'. Adding required 'Products.CMFUid==2.1.2' We have the distribution that satisfies 'Products.CMFUid==2.1.2'. Adding required 'Products.CMFTopic==2.1.2' We have the distribution that satisfies 'Products.CMFTopic==2.1.2'. Adding required 'Products.CMFQuickInstallerTool==2.1.6' We have the distribution that satisfies 'Products.CMFQuickInstallerTool==2.1.6'. Adding required 'Products.CMFPlacefulWorkflow==1.4.0' We have the distribution that satisfies 'Products.CMFPlacefulWorkflow==1.4.0'. Adding required 'Products.CMFFormController==2.1.2' We have the distribution that satisfies 'Products.CMFFormController==2.1.2'. Adding required 'Products.CMFEditions==1.1.8' We have the distribution that satisfies 'Products.CMFEditions==1.1.8'. Adding required 'Products.CMFDynamicViewFTI==3.0.2' We have the distribution that satisfies 'Products.CMFDynamicViewFTI==3.0.2'. Adding required 'Products.CMFDiffTool==0.4' We have the distribution that satisfies 'Products.CMFDiffTool==0.4'. Adding required 'Products.CMFDefault==2.1.2' We have the distribution that satisfies 'Products.CMFDefault==2.1.2'. Adding required 'Products.CMFCore==2.1.2' We have the distribution that satisfies 'Products.CMFCore==2.1.2'. Adding required 'Products.CMFCalendar==2.1.2' We have the distribution that satisfies 'Products.CMFCalendar==2.1.2'. Adding required 'Products.CMFActionIcons==2.1.2' We have the distribution that satisfies 'Products.CMFActionIcons==2.1.2'. Adding required 'Products.ATContentTypes==1.2.7' We have the distribution that satisfies 'Products.ATContentTypes==1.2.7'. Adding required 'Products.ATReferenceBrowserWidget==2.0.3' We have the distribution that satisfies 'Products.ATReferenceBrowserWidget==2.0.3'. Adding required 'Products.Archetypes==1.5.10' We have the distribution that satisfies 'Products.Archetypes==1.5.10'. Adding required 'Products.AdvancedQuery==3.0' We have the distribution that satisfies 'Products.AdvancedQuery==3.0'. Adding required 'Products.kupu==1.4.12.1' We have the distribution that satisfies 'Products.kupu==1.4.12.1'. Adding required 'elementtree' required by Plone 3.2.2. Picked: elementtree = 1.2.7-20070827-preview Adding required 'plone.keyring==1.2' We have the distribution that satisfies 'plone.keyring==1.2'. Adding required 'python-openid>=2.2.1,<2.3dev' required by plone.openid 1.2. Picked: python-openid = 2.2.4 Adding required 'zope.testing' required by Products.CMFPlacefulWorkflow 1.4.0. We have a develop egg: zope.testing 0.0 Adding required 'zope.i18nmessageid' required by Products.CMFPlacefulWorkflow 1.4.0. required by Products.kupu 1.4.12.1. We have a develop egg: zope.i18nmessageid 0.0 Adding required 'zope.interface' required by Products.CMFDiffTool 0.4. required by Products.CMFEditions 1.1.8. required by Products.ATContentTypes 1.2.7. required by Products.CMFPlacefulWorkflow 1.4.0. required by Products.kupu 1.4.12.1. We have a develop egg: zope.interface 0.0 Adding required 'zope.component' required by Products.ATContentTypes 1.2.7. required by Products.CMFPlacefulWorkflow 1.4.0. We have a develop egg: zope.component 0.0 Adding required 'Products.ZopeVersionControl==1.0a1' We have the distribution that satisfies 'Products.ZopeVersionControl==1.0a1'. Adding required 'Products.CMFTestCase==0.9.8b4' We have the distribution that satisfies 'Products.CMFTestCase==0.9.8b4'. Adding required 'zope.app.container' required by Products.ATContentTypes 1.2.7. We have a develop egg: zope.app.container 0.0 Adding required 'zope.tal' required by Products.ATContentTypes 1.2.7. We have a develop egg: zope.tal 0.0 Adding required 'Products.validation==1.6.1' We have the distribution that satisfies 'Products.validation==1.6.1'. Adding required 'Products.Marshall==1.2.0' We have the distribution that satisfies 'Products.Marshall==1.2.0'. Adding required 'Products.i18ntestcase==1.2' We have the distribution that satisfies 'Products.i18ntestcase==1.2'. Adding required 'zope.i18n' required by Products.kupu 1.4.12.1. We have a develop egg: zope.i18n 0.0 Adding required 'zope.schema' required by Products.kupu 1.4.12.1. We have a develop egg: zope.schema 0.0 Updating zopepy. Installing 'Plone'. We have the distribution that satisfies 'Plone==3.2.2'. Adding required 'Products.PloneTestCase==0.9.8b4' We have the distribution that satisfies 'Products.PloneTestCase==0.9.8b4'. Adding required 'Products.NuPlone==1.0b3' We have the distribution that satisfies 'Products.NuPlone==1.0b3'. Adding required 'five.localsitemanager==0.4' We have the distribution that satisfies 'five.localsitemanager==0.4'. Adding required 'five.customerize==0.3' We have the distribution that satisfies 'five.customerize==0.3'. Adding required 'wicked==1.1.6' We have the distribution that satisfies 'wicked==1.1.6'. Adding required 'plone.portlet.static==1.1.5' We have the distribution that satisfies 'plone.portlet.static==1.1.5'. Adding required 'plone.portlet.collection==1.1.3' We have the distribution that satisfies 'plone.portlet.collection==1.1.3'. Adding required 'plone.theme==1.0' We have the distribution that satisfies 'plone.theme==1.0'. Adding required 'plone.session==2.1' We have the distribution that satisfies 'plone.session==2.1'. Adding required 'plone.protect==1.1' We have the distribution that satisfies 'plone.protect==1.1'. Adding required 'plone.portlets==1.1.0' We have the distribution that satisfies 'plone.portlets==1.1.0'. Adding required 'plone.openid==1.2' We have the distribution that satisfies 'plone.openid==1.2'. Adding required 'plone.memoize==1.0.4' We have the distribution that satisfies 'plone.memoize==1.0.4'. Adding required 'plone.locking==1.0.5' We have the distribution that satisfies 'plone.locking==1.0.5'. Adding required 'plone.intelligenttext==1.0.2' We have the distribution that satisfies 'plone.intelligenttext==1.0.2'. Adding required 'plone.i18n==1.0.7' We have the distribution that satisfies 'plone.i18n==1.0.7'. Adding required 'plone.fieldsets==1.0.3' We have the distribution that satisfies 'plone.fieldsets==1.0.3'. Adding required 'plone.contentrules==1.1.0' We have the distribution that satisfies 'plone.contentrules==1.1.0'. Adding required 'plone.browserlayer==1.0.0' We have the distribution that satisfies 'plone.browserlayer==1.0.0'. Adding required 'plone.app.workflow==1.1.5' We have the distribution that satisfies 'plone.app.workflow==1.1.5'. Adding required 'plone.app.vocabularies==1.0.6' We have the distribution that satisfies 'plone.app.vocabularies==1.0.6'. Adding required 'plone.app.viewletmanager==1.2.1' We have the distribution that satisfies 'plone.app.viewletmanager==1.2.1'. Adding required 'plone.app.redirector==1.0.9' We have the distribution that satisfies 'plone.app.redirector==1.0.9'. Adding required 'plone.app.portlets==1.1.5.1' We have the distribution that satisfies 'plone.app.portlets==1.1.5.1'. Adding required 'plone.app.openid==1.1' We have the distribution that satisfies 'plone.app.openid==1.1'. Adding required 'plone.app.locales==3.2.0' We have the distribution that satisfies 'plone.app.locales==3.2.0'. Adding required 'plone.app.linkintegrity==1.0.11' We have the distribution that satisfies 'plone.app.linkintegrity==1.0.11'. Adding required 'plone.app.layout==1.1.7' We have the distribution that satisfies 'plone.app.layout==1.1.7'. Adding required 'plone.app.kss==1.4.4' We have the distribution that satisfies 'plone.app.kss==1.4.4'. Adding required 'plone.app.iterate==1.2.3' We have the distribution that satisfies 'plone.app.iterate==1.2.3'. Adding required 'plone.app.i18n==1.0.5' We have the distribution that satisfies 'plone.app.i18n==1.0.5'. Adding required 'plone.app.form==1.1.6' We have the distribution that satisfies 'plone.app.form==1.1.6'. Adding required 'plone.app.customerize==1.1.2' We have the distribution that satisfies 'plone.app.customerize==1.1.2'. Adding required 'plone.app.controlpanel==1.1.2' We have the distribution that satisfies 'plone.app.controlpanel==1.1.2'. Adding required 'plone.app.contentrules==1.1.5' We have the distribution that satisfies 'plone.app.contentrules==1.1.5'. Adding required 'plone.app.content==1.3' We have the distribution that satisfies 'plone.app.content==1.3'. Adding required 'plone.app.contentmenu==1.1.6' We have the distribution that satisfies 'plone.app.contentmenu==1.1.6'. Adding required 'kss.core==1.4.5' We have the distribution that satisfies 'kss.core==1.4.5'. Adding required 'borg.localrole==2.0.1' We have the distribution that satisfies 'borg.localrole==2.0.1'. Adding required 'archetypes.kss==1.4.3' We have the distribution that satisfies 'archetypes.kss==1.4.3'. Adding required 'Products.statusmessages==3.0.3' We have the distribution that satisfies 'Products.statusmessages==3.0.3'. Adding required 'Products.SecureMailHost==1.1.1' We have the distribution that satisfies 'Products.SecureMailHost==1.1.1'. Adding required 'Products.ResourceRegistries==1.4.3' We have the distribution that satisfies 'Products.ResourceRegistries==1.4.3'. Adding required 'Products.PortalTransforms==1.6.1' We have the distribution that satisfies 'Products.PortalTransforms==1.6.1'. Adding required 'Products.PluginRegistry==1.1.3.1' We have the distribution that satisfies 'Products.PluginRegistry==1.1.3.1'. We have the distribution that satisfies 'setuptools==0.6c9'. Adding required 'Products.PluggableAuthService==1.6' We have the distribution that satisfies 'Products.PluggableAuthService==1.6'. Adding required 'Products.PlonePAS==3.7' We have the distribution that satisfies 'Products.PlonePAS==3.7'. Adding required 'Products.PloneLanguageTool==2.0.3' We have the distribution that satisfies 'Products.PloneLanguageTool==2.0.3'. Adding required 'Products.PlacelessTranslationService==1.4.13' We have the distribution that satisfies 'Products.PlacelessTranslationService==1.4.13'. Adding required 'Products.PasswordResetTool==1.1' We have the distribution that satisfies 'Products.PasswordResetTool==1.1'. Adding required 'Products.MimetypesRegistry==1.6.1' We have the distribution that satisfies 'Products.MimetypesRegistry==1.6.1'. Adding required 'Products.GroupUserFolder==3.55.1' We have the distribution that satisfies 'Products.GroupUserFolder==3.55.1'. Adding required 'Products.GenericSetup==1.4.2.2' We have the distribution that satisfies 'Products.GenericSetup==1.4.2.2'. Adding required 'Products.ExternalEditor==1.0a1' We have the distribution that satisfies 'Products.ExternalEditor==1.0a1'. Adding required 'Products.ExtendedPathIndex==2.4.1' We have the distribution that satisfies 'Products.ExtendedPathIndex==2.4.1'. Adding required 'Products.DCWorkflow==2.1.2' We have the distribution that satisfies 'Products.DCWorkflow==2.1.2'. Adding required 'Products.CMFUid==2.1.2' We have the distribution that satisfies 'Products.CMFUid==2.1.2'. Adding required 'Products.CMFTopic==2.1.2' We have the distribution that satisfies 'Products.CMFTopic==2.1.2'. Adding required 'Products.CMFQuickInstallerTool==2.1.6' We have the distribution that satisfies 'Products.CMFQuickInstallerTool==2.1.6'. Adding required 'Products.CMFPlacefulWorkflow==1.4.0' We have the distribution that satisfies 'Products.CMFPlacefulWorkflow==1.4.0'. Adding required 'Products.CMFFormController==2.1.2' We have the distribution that satisfies 'Products.CMFFormController==2.1.2'. Adding required 'Products.CMFEditions==1.1.8' We have the distribution that satisfies 'Products.CMFEditions==1.1.8'. Adding required 'Products.CMFDynamicViewFTI==3.0.2' We have the distribution that satisfies 'Products.CMFDynamicViewFTI==3.0.2'. Adding required 'Products.CMFDiffTool==0.4' We have the distribution that satisfies 'Products.CMFDiffTool==0.4'. Adding required 'Products.CMFDefault==2.1.2' We have the distribution that satisfies 'Products.CMFDefault==2.1.2'. Adding required 'Products.CMFCore==2.1.2' We have the distribution that satisfies 'Products.CMFCore==2.1.2'. Adding required 'Products.CMFCalendar==2.1.2' We have the distribution that satisfies 'Products.CMFCalendar==2.1.2'. Adding required 'Products.CMFActionIcons==2.1.2' We have the distribution that satisfies 'Products.CMFActionIcons==2.1.2'. Adding required 'Products.ATContentTypes==1.2.7' We have the distribution that satisfies 'Products.ATContentTypes==1.2.7'. Adding required 'Products.ATReferenceBrowserWidget==2.0.3' We have the distribution that satisfies 'Products.ATReferenceBrowserWidget==2.0.3'. Adding required 'Products.Archetypes==1.5.10' We have the distribution that satisfies 'Products.Archetypes==1.5.10'. Adding required 'Products.AdvancedQuery==3.0' We have the distribution that satisfies 'Products.AdvancedQuery==3.0'. Adding required 'Products.kupu==1.4.12.1' We have the distribution that satisfies 'Products.kupu==1.4.12.1'. Adding required 'elementtree' required by Plone 3.2.2. Picked: elementtree = 1.2.7-20070827-preview Adding required 'plone.keyring==1.2' We have the distribution that satisfies 'plone.keyring==1.2'. Adding required 'python-openid>=2.2.1,<2.3dev' required by plone.openid 1.2. Picked: python-openid = 2.2.4 Adding required 'zope.testing' required by Products.CMFPlacefulWorkflow 1.4.0. We have a develop egg: zope.testing 0.0 Adding required 'zope.i18nmessageid' required by Products.CMFPlacefulWorkflow 1.4.0. required by Products.kupu 1.4.12.1. We have a develop egg: zope.i18nmessageid 0.0 Adding required 'zope.interface' required by Products.CMFDiffTool 0.4. required by Products.CMFEditions 1.1.8. required by Products.ATContentTypes 1.2.7. required by Products.CMFPlacefulWorkflow 1.4.0. required by Products.kupu 1.4.12.1. We have a develop egg: zope.interface 0.0 Adding required 'zope.component' required by Products.ATContentTypes 1.2.7. required by Products.CMFPlacefulWorkflow 1.4.0. We have a develop egg: zope.component 0.0 Adding required 'Products.ZopeVersionControl==1.0a1' We have the distribution that satisfies 'Products.ZopeVersionControl==1.0a1'. Adding required 'Products.CMFTestCase==0.9.8b4' We have the distribution that satisfies 'Products.CMFTestCase==0.9.8b4'. Adding required 'zope.app.container' required by Products.ATContentTypes 1.2.7. We have a develop egg: zope.app.container 0.0 Adding required 'zope.tal' required by Products.ATContentTypes 1.2.7. We have a develop egg: zope.tal 0.0 Adding required 'Products.validation==1.6.1' We have the distribution that satisfies 'Products.validation==1.6.1'. Adding required 'Products.Marshall==1.2.0' We have the distribution that satisfies 'Products.Marshall==1.2.0'. Adding required 'Products.i18ntestcase==1.2' We have the distribution that satisfies 'Products.i18ntestcase==1.2'. Adding required 'zope.i18n' required by Products.kupu 1.4.12.1. We have a develop egg: zope.i18n 0.0 Adding required 'zope.schema' required by Products.kupu 1.4.12.1. We have a develop egg: zope.schema 0.0 Installing zopeskel. Installing 'Plone', 'PasteScript', 'ZopeSkel', 'psycopg2'. We have the distribution that satisfies 'Plone==3.2.2'. Picked: PasteScript = 1.7.3 We have the distribution that satisfies 'setuptools==0.6c9'. Picked: ZopeSkel = 2.11.1 We have no distributions for psycopg2 that satisfies 'psycopg2'. We have the distribution that satisfies 'setuptools==0.6c9'. Running easy_install: /Applications/Plone/Python-2.4/bin/python "-c" "from setuptools.command.easy_install import main; main()" "-mUNxd" "/tmp/ tmprnw6uW" "-Z" "/Applications/Plone/buildout-cache/downloads/dist/ psycopg2-2.0.11.tar.gz" path=/Applications/Plone/buildout-cache/eggs/setuptools-0.6c9-py2.4.egg Processing psycopg2-2.0.11.tar.gz Running psycopg2-2.0.11/setup.py -q bdist_egg --dist-dir /tmp/ easy_install-1DlQri/psycopg2-2.0.11/egg-dist-tmp-_HxSdz error: Setup script exited with error: No such file or directory An error occured when trying to install psycopg2 2.0.11.Look above this message for any errors thatwere output by easy_install. While: Installing zopeskel. Getting distribution for 'psycopg2'. Error: Couldn't install: psycopg2 2.0.11 russell-hires-computer:/Applications/Plone/zinstance rusty$ On Jul 7, 2009, at 1:28 PM, Jonathan Ballet wrote: > On Tue, Jul 7, 2009 at 5:27 PM, Russell Hires > wrote: >> Hello all. I'm trying to install psycopg2 into plone, using >> buildout, but I >> keep getting an error: >> >> Getting distribution for 'psycopg2'. >> error: Setup script exited with error: No such file or directory >> An error occured when trying to install psycopg2 2.0.11.Look above >> this >> message for any errors thatwere output by easy_install. >> While: >> Installing zopeskel. >> Getting distribution for 'psycopg2'. >> Error: Couldn't install: psycopg2 2.0.11 > > Can you post the output of buildout with logs enabled as well ? > > Something like "buildout -o buildout:log-level=DEBUG -v" (this can be > very long, maybe you should try to remove the uninteresting output) > _______________________________________________ > Psycopg mailing list > Psycopg at lists.initd.org > http://lists.initd.org/mailman/listinfo/psycopg From rhires at earthlink.net Thu Jul 16 05:47:03 2009 From: rhires at earthlink.net (Russell Hires) Date: Wed, 15 Jul 2009 23:47:03 -0400 Subject: [Psycopg] Trying to install psycopg2 into zope/plone In-Reply-To: References: <4ADAC977-3F5A-40FF-AC11-AAA15481AC0C@earthlink.net> Message-ID: <2C983814-BFAB-4D83-80CA-AEEF38EFB664@earthlink.net> I'm guessing no one has any ideas on this. Where else is a good place to get more information or assistance with this? TIA Russell On Jul 7, 2009, at 2:02 PM, Russell Hires wrote: > This is everything. Not sure what's "uninteresting" but it's not > too too long... > > Thanks! > > > bin/buildout -o buildout:log-level=DEBUG -v > Installing 'plone.recipe.zope2install'. > We have the distribution that satisfies > 'plone.recipe.zope2install==2.6'. > Installing 'plone.recipe.distros'. > Picked: plone.recipe.distros = 1.5 > Installing 'plone.recipe.zope2instance'. > We have the distribution that satisfies > 'plone.recipe.zope2instance==2.7'. > Adding required 'zc.recipe.egg==1.1.0' > We have the distribution that satisfies 'zc.recipe.egg==1.1.0'. > Installing 'plone.recipe.precompiler'. > Picked: plone.recipe.precompiler = 0.3 > Installing 'plone.recipe.command'. > Picked: plone.recipe.command = 1.0 > Installing 'plone.recipe.unifiedinstaller'. > Picked: plone.recipe.unifiedinstaller = 0.9 > > Configuration data: > [zope2] > additional-fake-eggs = %(__buildout_space_n__)sZConfig > pytz > executable = /Applications/Plone/Python-2.4/bin/python > fake-zope-eggs = true > location = /Applications/Plone/Zope-2.10.7-final-py2.4 > recipe = plone.recipe.zope2install > shared-zope = true > url = http://www.zope.org/Products/Zope/2.10.7/Zope-2.10.7-final.tgz > [buildout] > bin-directory = /Applications/Plone/zinstance/bin > debug-mode = off > develop = > develop-eggs-directory = /Applications/Plone/zinstance/develop-eggs > directory = /Applications/Plone/zinstance > download-cache = /Applications/Plone/buildout-cache/downloads > eggs = %(__buildout_space_n__)sPlone > eggs-directory = /Applications/Plone/buildout-cache/eggs > executable = /Applications/Plone/Python-2.4/bin/python > find-links = %(__buildout_space_n__)shttp://dist.plone.org > http://download.zope.org/ppix/ > http://download.zope.org/distribution/ > http://effbot.org/downloads > http://initd.org/pub/software/psycopg/ > http-address = 8080 > installed = /Applications/Plone/zinstance/.installed.cfg > log-format = > log-level = DEBUG > newest = false > offline = true > parts = %(__buildout_space_n__)szope2 > productdistros > instance > zopepy > zopeskel > precompile > chown > unifiedinstaller > parts-directory = /Applications/Plone/zinstance/parts > python = buildout > unzip = true > verbosity = 10 > versions = versions > zcml = > zope-directory = /Applications/Plone > [productdistros] > location = /Applications/Plone/zinstance/parts/productdistros > nested-packages = > prefix = /Applications/Plone/zinstance/parts/productdistros > recipe = plone.recipe.distros > urls = > version-suffix-packages = > [versions] > Plone = 3.2.2 > Products.ATContentTypes = 1.2.7 > Products.ATReferenceBrowserWidget = 2.0.3 > Products.AdvancedQuery = 3.0 > Products.Archetypes = 1.5.10 > Products.CMFActionIcons = 2.1.2 > Products.CMFCalendar = 2.1.2 > Products.CMFCore = 2.1.2 > Products.CMFDefault = 2.1.2 > Products.CMFDiffTool = 0.4 > Products.CMFDynamicViewFTI = 3.0.2 > Products.CMFEditions = 1.1.8 > Products.CMFFormController = 2.1.2 > Products.CMFPlacefulWorkflow = 1.4.0 > Products.CMFQuickInstallerTool = 2.1.6 > Products.CMFTestCase = 0.9.8b4 > Products.CMFTopic = 2.1.2 > Products.CMFUid = 2.1.2 > Products.DCWorkflow = 2.1.2 > Products.ExtendedPathIndex = 2.4.1 > Products.ExternalEditor = 1.0a1 > Products.GenericSetup = 1.4.2.2 > Products.GroupUserFolder = 3.55.1 > Products.Marshall = 1.2.0 > Products.MimetypesRegistry = 1.6.1 > Products.NuPlone = 1.0b3 > Products.PasswordResetTool = 1.1 > Products.PlacelessTranslationService = 1.4.13 > Products.PloneLanguageTool = 2.0.3 > Products.PlonePAS = 3.7 > Products.PloneTestCase = 0.9.8b4 > Products.PluggableAuthService = 1.6 > Products.PluginRegistry = 1.1.3.1 > Products.PortalTransforms = 1.6.1 > Products.ResourceRegistries = 1.4.3 > Products.SecureMailHost = 1.1.1 > Products.ZopeVersionControl = 1.0a1 > Products.i18ntestcase = 1.2 > Products.kupu = 1.4.12.1 > Products.statusmessages = 3.0.3 > Products.validation = 1.6.1 > archetypes.kss = 1.4.3 > borg.localrole = 2.0.1 > buildout.eggtractor = 0.6 > five.customerize = 0.3 > five.localsitemanager = 0.4 > kss.core = 1.4.5 > plone.app.content = 1.3 > plone.app.contentmenu = 1.1.6 > plone.app.contentrules = 1.1.5 > plone.app.controlpanel = 1.1.2 > plone.app.customerize = 1.1.2 > plone.app.form = 1.1.6 > plone.app.i18n = 1.0.5 > plone.app.iterate = 1.2.3 > plone.app.kss = 1.4.4 > plone.app.layout = 1.1.7 > plone.app.linkintegrity = 1.0.11 > plone.app.locales = 3.2.0 > plone.app.openid = 1.1 > plone.app.portlets = 1.1.5.1 > plone.app.redirector = 1.0.9 > plone.app.viewletmanager = 1.2.1 > plone.app.vocabularies = 1.0.6 > plone.app.workflow = 1.1.5 > plone.browserlayer = 1.0.0 > plone.contentrules = 1.1.0 > plone.fieldsets = 1.0.3 > plone.i18n = 1.0.7 > plone.intelligenttext = 1.0.2 > plone.keyring = 1.2 > plone.locking = 1.0.5 > plone.memoize = 1.0.4 > plone.openid = 1.2 > plone.portlet.collection = 1.1.3 > plone.portlet.static = 1.1.5 > plone.portlets = 1.1.0 > plone.protect = 1.1 > plone.recipe.zope2install = 2.6 > plone.recipe.zope2instance = 2.7 > plone.session = 2.1 > plone.theme = 1.0 > setuptools = 0.6c9 > wicked = 1.1.6 > zc.buildout = 1.1.1 > zc.recipe.egg = 1.1.0 > zope2-url = http://www.zope.org/Products/Zope/2.10.7/Zope-2.10.7- > final.tgz > [instance] > _b = /Applications/Plone/zinstance/bin > _d = /Applications/Plone/zinstance/develop-eggs > _e = /Applications/Plone/buildout-cache/eggs > bin-directory = /Applications/Plone/zinstance/bin > debug-mode = off > deprecation-warnings = off > develop-eggs-directory = /Applications/Plone/zinstance/develop-eggs > eggs = %(__buildout_space_n__)s%(__buildout_space_n__)sPlone > eggs-directory = /Applications/Plone/buildout-cache/eggs > environment-vars = %(__buildout_space_n__)sPYTHON_EGG_CACHE / > Applications/Plone/zinstance/var/.python-eggs > executable = /Applications/Plone/Python-2.4/bin/python > find-links = http://dist.plone.org > http://download.zope.org/ppix/ > http://download.zope.org/distribution/ > http://effbot.org/downloads > http://initd.org/pub/software/psycopg/ > http-address = 8080 > location = /Applications/Plone/zinstance/parts/instance > products = %(__buildout_space_n__)s/Applications/Plone/zinstance/ > products > /Applications/Plone/zinstance/parts/productdistros > recipe = plone.recipe.zope2instance > scripts = > user = admin:varsis6 > verbose-security = off > zcml = %(__buildout_space_n__)s > zope2-location = /Applications/Plone/Zope-2.10.7-final-py2.4 > [chown] > command = chmod 600 .installed.cfg > recipe = plone.recipe.command > update-command = chmod 600 .installed.cfg > [zopepy] > _b = /Applications/Plone/zinstance/bin > _d = /Applications/Plone/zinstance/develop-eggs > _e = /Applications/Plone/buildout-cache/eggs > bin-directory = /Applications/Plone/zinstance/bin > develop-eggs-directory = /Applications/Plone/zinstance/develop-eggs > eggs = %(__buildout_space_n__)s%(__buildout_space_n__)sPlone > eggs-directory = /Applications/Plone/buildout-cache/eggs > executable = /Applications/Plone/Python-2.4/bin/python > extra-paths = /Applications/Plone/Zope-2.10.7-final-py2.4/lib/python > find-links = http://dist.plone.org > http://download.zope.org/ppix/ > http://download.zope.org/distribution/ > http://effbot.org/downloads > http://initd.org/pub/software/psycopg/ > interpreter = zopepy > recipe = zc.recipe.egg > scripts = zopepy > [precompile] > _b = /Applications/Plone/zinstance/bin > _d = /Applications/Plone/zinstance/develop-eggs > _e = /Applications/Plone/buildout-cache/eggs > bin-directory = /Applications/Plone/zinstance/bin > develop-eggs-directory = /Applications/Plone/zinstance/develop-eggs > dirs = %(__buildout_space_n__)s/Applications/Plone/zinstance/products > /Applications/Plone/zinstance/parts/productdistros > eggs-directory = /Applications/Plone/buildout-cache/eggs > executable = /Applications/Plone/Python-2.4/bin/python > find-links = http://dist.plone.org > http://download.zope.org/ppix/ > http://download.zope.org/distribution/ > http://effbot.org/downloads > http://initd.org/pub/software/psycopg/ > recipe = plone.recipe.precompiler > rx = /\. > scripts = > skip = tests > skins > doc > kupu_plone_layer > Extensions > .svn > [zopeskel] > _b = /Applications/Plone/zinstance/bin > _d = /Applications/Plone/zinstance/develop-eggs > _e = /Applications/Plone/buildout-cache/eggs > bin-directory = /Applications/Plone/zinstance/bin > develop-eggs-directory = /Applications/Plone/zinstance/develop-eggs > eggs = %(__buildout_space_n__)s%(__buildout_space_n__)s% > (__buildout_space_n__)sPlone > PasteScript > ZopeSkel > psycopg2 > eggs-directory = /Applications/Plone/buildout-cache/eggs > executable = /Applications/Plone/Python-2.4/bin/python > find-links = http://dist.plone.org > http://download.zope.org/ppix/ > http://download.zope.org/distribution/ > http://effbot.org/downloads > http://initd.org/pub/software/psycopg/ > recipe = zc.recipe.egg > [unifiedinstaller] > _b = /Applications/Plone/zinstance/bin > _d = /Applications/Plone/zinstance/develop-eggs > _e = /Applications/Plone/buildout-cache/eggs > bin-directory = /Applications/Plone/zinstance/bin > clients = instance > develop-eggs-directory = /Applications/Plone/zinstance/develop-eggs > eggs-directory = /Applications/Plone/buildout-cache/eggs > executable = /Applications/Plone/Python-2.4/bin/python > fileStorage = /Applications/Plone/zinstance/var/filestorage/Data.fs > fileStorageDir = /Applications/Plone/zinstance/var/filestorage > find-links = http://dist.plone.org > http://download.zope.org/ppix/ > http://download.zope.org/distribution/ > http://effbot.org/downloads > http://initd.org/pub/software/psycopg/ > location = /Applications/Plone/zinstance > parts-directory = /Applications/Plone/zinstance/parts > primary-port = 8080 > recipe = plone.recipe.unifiedinstaller > scripts = > shell-command = /bin/sh > start-command = plonectl start > stop-command = plonectl stop > sudo-command = > user = admin:varsis6 > > Updating zope2. > Updating fake eggs > Updating productdistros. > Updating instance. > Installing 'Plone'. > We have the distribution that satisfies 'Plone==3.2.2'. > Adding required 'Products.PloneTestCase==0.9.8b4' > We have the distribution that satisfies > 'Products.PloneTestCase==0.9.8b4'. > Adding required 'Products.NuPlone==1.0b3' > We have the distribution that satisfies 'Products.NuPlone==1.0b3'. > Adding required 'five.localsitemanager==0.4' > We have the distribution that satisfies 'five.localsitemanager==0.4'. > Adding required 'five.customerize==0.3' > We have the distribution that satisfies 'five.customerize==0.3'. > Adding required 'wicked==1.1.6' > We have the distribution that satisfies 'wicked==1.1.6'. > Adding required 'plone.portlet.static==1.1.5' > We have the distribution that satisfies 'plone.portlet.static==1.1.5'. > Adding required 'plone.portlet.collection==1.1.3' > We have the distribution that satisfies > 'plone.portlet.collection==1.1.3'. > Adding required 'plone.theme==1.0' > We have the distribution that satisfies 'plone.theme==1.0'. > Adding required 'plone.session==2.1' > We have the distribution that satisfies 'plone.session==2.1'. > Adding required 'plone.protect==1.1' > We have the distribution that satisfies 'plone.protect==1.1'. > Adding required 'plone.portlets==1.1.0' > We have the distribution that satisfies 'plone.portlets==1.1.0'. > Adding required 'plone.openid==1.2' > We have the distribution that satisfies 'plone.openid==1.2'. > Adding required 'plone.memoize==1.0.4' > We have the distribution that satisfies 'plone.memoize==1.0.4'. > Adding required 'plone.locking==1.0.5' > We have the distribution that satisfies 'plone.locking==1.0.5'. > Adding required 'plone.intelligenttext==1.0.2' > We have the distribution that satisfies > 'plone.intelligenttext==1.0.2'. > Adding required 'plone.i18n==1.0.7' > We have the distribution that satisfies 'plone.i18n==1.0.7'. > Adding required 'plone.fieldsets==1.0.3' > We have the distribution that satisfies 'plone.fieldsets==1.0.3'. > Adding required 'plone.contentrules==1.1.0' > We have the distribution that satisfies 'plone.contentrules==1.1.0'. > Adding required 'plone.browserlayer==1.0.0' > We have the distribution that satisfies 'plone.browserlayer==1.0.0'. > Adding required 'plone.app.workflow==1.1.5' > We have the distribution that satisfies 'plone.app.workflow==1.1.5'. > Adding required 'plone.app.vocabularies==1.0.6' > We have the distribution that satisfies > 'plone.app.vocabularies==1.0.6'. > Adding required 'plone.app.viewletmanager==1.2.1' > We have the distribution that satisfies > 'plone.app.viewletmanager==1.2.1'. > Adding required 'plone.app.redirector==1.0.9' > We have the distribution that satisfies 'plone.app.redirector==1.0.9'. > Adding required 'plone.app.portlets==1.1.5.1' > We have the distribution that satisfies 'plone.app.portlets==1.1.5.1'. > Adding required 'plone.app.openid==1.1' > We have the distribution that satisfies 'plone.app.openid==1.1'. > Adding required 'plone.app.locales==3.2.0' > We have the distribution that satisfies 'plone.app.locales==3.2.0'. > Adding required 'plone.app.linkintegrity==1.0.11' > We have the distribution that satisfies > 'plone.app.linkintegrity==1.0.11'. > Adding required 'plone.app.layout==1.1.7' > We have the distribution that satisfies 'plone.app.layout==1.1.7'. > Adding required 'plone.app.kss==1.4.4' > We have the distribution that satisfies 'plone.app.kss==1.4.4'. > Adding required 'plone.app.iterate==1.2.3' > We have the distribution that satisfies 'plone.app.iterate==1.2.3'. > Adding required 'plone.app.i18n==1.0.5' > We have the distribution that satisfies 'plone.app.i18n==1.0.5'. > Adding required 'plone.app.form==1.1.6' > We have the distribution that satisfies 'plone.app.form==1.1.6'. > Adding required 'plone.app.customerize==1.1.2' > We have the distribution that satisfies > 'plone.app.customerize==1.1.2'. > Adding required 'plone.app.controlpanel==1.1.2' > We have the distribution that satisfies > 'plone.app.controlpanel==1.1.2'. > Adding required 'plone.app.contentrules==1.1.5' > We have the distribution that satisfies > 'plone.app.contentrules==1.1.5'. > Adding required 'plone.app.content==1.3' > We have the distribution that satisfies 'plone.app.content==1.3'. > Adding required 'plone.app.contentmenu==1.1.6' > We have the distribution that satisfies > 'plone.app.contentmenu==1.1.6'. > Adding required 'kss.core==1.4.5' > We have the distribution that satisfies 'kss.core==1.4.5'. > Adding required 'borg.localrole==2.0.1' > We have the distribution that satisfies 'borg.localrole==2.0.1'. > Adding required 'archetypes.kss==1.4.3' > We have the distribution that satisfies 'archetypes.kss==1.4.3'. > Adding required 'Products.statusmessages==3.0.3' > We have the distribution that satisfies > 'Products.statusmessages==3.0.3'. > Adding required 'Products.SecureMailHost==1.1.1' > We have the distribution that satisfies > 'Products.SecureMailHost==1.1.1'. > Adding required 'Products.ResourceRegistries==1.4.3' > We have the distribution that satisfies > 'Products.ResourceRegistries==1.4.3'. > Adding required 'Products.PortalTransforms==1.6.1' > We have the distribution that satisfies > 'Products.PortalTransforms==1.6.1'. > Adding required 'Products.PluginRegistry==1.1.3.1' > We have the distribution that satisfies > 'Products.PluginRegistry==1.1.3.1'. > We have the distribution that satisfies 'setuptools==0.6c9'. > Adding required 'Products.PluggableAuthService==1.6' > We have the distribution that satisfies > 'Products.PluggableAuthService==1.6'. > Adding required 'Products.PlonePAS==3.7' > We have the distribution that satisfies 'Products.PlonePAS==3.7'. > Adding required 'Products.PloneLanguageTool==2.0.3' > We have the distribution that satisfies > 'Products.PloneLanguageTool==2.0.3'. > Adding required 'Products.PlacelessTranslationService==1.4.13' > We have the distribution that satisfies > 'Products.PlacelessTranslationService==1.4.13'. > Adding required 'Products.PasswordResetTool==1.1' > We have the distribution that satisfies > 'Products.PasswordResetTool==1.1'. > Adding required 'Products.MimetypesRegistry==1.6.1' > We have the distribution that satisfies > 'Products.MimetypesRegistry==1.6.1'. > Adding required 'Products.GroupUserFolder==3.55.1' > We have the distribution that satisfies > 'Products.GroupUserFolder==3.55.1'. > Adding required 'Products.GenericSetup==1.4.2.2' > We have the distribution that satisfies > 'Products.GenericSetup==1.4.2.2'. > Adding required 'Products.ExternalEditor==1.0a1' > We have the distribution that satisfies > 'Products.ExternalEditor==1.0a1'. > Adding required 'Products.ExtendedPathIndex==2.4.1' > We have the distribution that satisfies > 'Products.ExtendedPathIndex==2.4.1'. > Adding required 'Products.DCWorkflow==2.1.2' > We have the distribution that satisfies 'Products.DCWorkflow==2.1.2'. > Adding required 'Products.CMFUid==2.1.2' > We have the distribution that satisfies 'Products.CMFUid==2.1.2'. > Adding required 'Products.CMFTopic==2.1.2' > We have the distribution that satisfies 'Products.CMFTopic==2.1.2'. > Adding required 'Products.CMFQuickInstallerTool==2.1.6' > We have the distribution that satisfies > 'Products.CMFQuickInstallerTool==2.1.6'. > Adding required 'Products.CMFPlacefulWorkflow==1.4.0' > We have the distribution that satisfies > 'Products.CMFPlacefulWorkflow==1.4.0'. > Adding required 'Products.CMFFormController==2.1.2' > We have the distribution that satisfies > 'Products.CMFFormController==2.1.2'. > Adding required 'Products.CMFEditions==1.1.8' > We have the distribution that satisfies 'Products.CMFEditions==1.1.8'. > Adding required 'Products.CMFDynamicViewFTI==3.0.2' > We have the distribution that satisfies > 'Products.CMFDynamicViewFTI==3.0.2'. > Adding required 'Products.CMFDiffTool==0.4' > We have the distribution that satisfies 'Products.CMFDiffTool==0.4'. > Adding required 'Products.CMFDefault==2.1.2' > We have the distribution that satisfies 'Products.CMFDefault==2.1.2'. > Adding required 'Products.CMFCore==2.1.2' > We have the distribution that satisfies 'Products.CMFCore==2.1.2'. > Adding required 'Products.CMFCalendar==2.1.2' > We have the distribution that satisfies 'Products.CMFCalendar==2.1.2'. > Adding required 'Products.CMFActionIcons==2.1.2' > We have the distribution that satisfies > 'Products.CMFActionIcons==2.1.2'. > Adding required 'Products.ATContentTypes==1.2.7' > We have the distribution that satisfies > 'Products.ATContentTypes==1.2.7'. > Adding required 'Products.ATReferenceBrowserWidget==2.0.3' > We have the distribution that satisfies > 'Products.ATReferenceBrowserWidget==2.0.3'. > Adding required 'Products.Archetypes==1.5.10' > We have the distribution that satisfies 'Products.Archetypes==1.5.10'. > Adding required 'Products.AdvancedQuery==3.0' > We have the distribution that satisfies 'Products.AdvancedQuery==3.0'. > Adding required 'Products.kupu==1.4.12.1' > We have the distribution that satisfies 'Products.kupu==1.4.12.1'. > Adding required 'elementtree' > required by Plone 3.2.2. > Picked: elementtree = 1.2.7-20070827-preview > Adding required 'plone.keyring==1.2' > We have the distribution that satisfies 'plone.keyring==1.2'. > Adding required 'python-openid>=2.2.1,<2.3dev' > required by plone.openid 1.2. > Picked: python-openid = 2.2.4 > Adding required 'zope.testing' > required by Products.CMFPlacefulWorkflow 1.4.0. > We have a develop egg: zope.testing 0.0 > Adding required 'zope.i18nmessageid' > required by Products.CMFPlacefulWorkflow 1.4.0. > required by Products.kupu 1.4.12.1. > We have a develop egg: zope.i18nmessageid 0.0 > Adding required 'zope.interface' > required by Products.CMFDiffTool 0.4. > required by Products.CMFEditions 1.1.8. > required by Products.ATContentTypes 1.2.7. > required by Products.CMFPlacefulWorkflow 1.4.0. > required by Products.kupu 1.4.12.1. > We have a develop egg: zope.interface 0.0 > Adding required 'zope.component' > required by Products.ATContentTypes 1.2.7. > required by Products.CMFPlacefulWorkflow 1.4.0. > We have a develop egg: zope.component 0.0 > Adding required 'Products.ZopeVersionControl==1.0a1' > We have the distribution that satisfies > 'Products.ZopeVersionControl==1.0a1'. > Adding required 'Products.CMFTestCase==0.9.8b4' > We have the distribution that satisfies > 'Products.CMFTestCase==0.9.8b4'. > Adding required 'zope.app.container' > required by Products.ATContentTypes 1.2.7. > We have a develop egg: zope.app.container 0.0 > Adding required 'zope.tal' > required by Products.ATContentTypes 1.2.7. > We have a develop egg: zope.tal 0.0 > Adding required 'Products.validation==1.6.1' > We have the distribution that satisfies 'Products.validation==1.6.1'. > Adding required 'Products.Marshall==1.2.0' > We have the distribution that satisfies 'Products.Marshall==1.2.0'. > Adding required 'Products.i18ntestcase==1.2' > We have the distribution that satisfies 'Products.i18ntestcase==1.2'. > Adding required 'zope.i18n' > required by Products.kupu 1.4.12.1. > We have a develop egg: zope.i18n 0.0 > Adding required 'zope.schema' > required by Products.kupu 1.4.12.1. > We have a develop egg: zope.schema 0.0 > Updating zopepy. > Installing 'Plone'. > We have the distribution that satisfies 'Plone==3.2.2'. > Adding required 'Products.PloneTestCase==0.9.8b4' > We have the distribution that satisfies > 'Products.PloneTestCase==0.9.8b4'. > Adding required 'Products.NuPlone==1.0b3' > We have the distribution that satisfies 'Products.NuPlone==1.0b3'. > Adding required 'five.localsitemanager==0.4' > We have the distribution that satisfies 'five.localsitemanager==0.4'. > Adding required 'five.customerize==0.3' > We have the distribution that satisfies 'five.customerize==0.3'. > Adding required 'wicked==1.1.6' > We have the distribution that satisfies 'wicked==1.1.6'. > Adding required 'plone.portlet.static==1.1.5' > We have the distribution that satisfies 'plone.portlet.static==1.1.5'. > Adding required 'plone.portlet.collection==1.1.3' > We have the distribution that satisfies > 'plone.portlet.collection==1.1.3'. > Adding required 'plone.theme==1.0' > We have the distribution that satisfies 'plone.theme==1.0'. > Adding required 'plone.session==2.1' > We have the distribution that satisfies 'plone.session==2.1'. > Adding required 'plone.protect==1.1' > We have the distribution that satisfies 'plone.protect==1.1'. > Adding required 'plone.portlets==1.1.0' > We have the distribution that satisfies 'plone.portlets==1.1.0'. > Adding required 'plone.openid==1.2' > We have the distribution that satisfies 'plone.openid==1.2'. > Adding required 'plone.memoize==1.0.4' > We have the distribution that satisfies 'plone.memoize==1.0.4'. > Adding required 'plone.locking==1.0.5' > We have the distribution that satisfies 'plone.locking==1.0.5'. > Adding required 'plone.intelligenttext==1.0.2' > We have the distribution that satisfies > 'plone.intelligenttext==1.0.2'. > Adding required 'plone.i18n==1.0.7' > We have the distribution that satisfies 'plone.i18n==1.0.7'. > Adding required 'plone.fieldsets==1.0.3' > We have the distribution that satisfies 'plone.fieldsets==1.0.3'. > Adding required 'plone.contentrules==1.1.0' > We have the distribution that satisfies 'plone.contentrules==1.1.0'. > Adding required 'plone.browserlayer==1.0.0' > We have the distribution that satisfies 'plone.browserlayer==1.0.0'. > Adding required 'plone.app.workflow==1.1.5' > We have the distribution that satisfies 'plone.app.workflow==1.1.5'. > Adding required 'plone.app.vocabularies==1.0.6' > We have the distribution that satisfies > 'plone.app.vocabularies==1.0.6'. > Adding required 'plone.app.viewletmanager==1.2.1' > We have the distribution that satisfies > 'plone.app.viewletmanager==1.2.1'. > Adding required 'plone.app.redirector==1.0.9' > We have the distribution that satisfies 'plone.app.redirector==1.0.9'. > Adding required 'plone.app.portlets==1.1.5.1' > We have the distribution that satisfies 'plone.app.portlets==1.1.5.1'. > Adding required 'plone.app.openid==1.1' > We have the distribution that satisfies 'plone.app.openid==1.1'. > Adding required 'plone.app.locales==3.2.0' > We have the distribution that satisfies 'plone.app.locales==3.2.0'. > Adding required 'plone.app.linkintegrity==1.0.11' > We have the distribution that satisfies > 'plone.app.linkintegrity==1.0.11'. > Adding required 'plone.app.layout==1.1.7' > We have the distribution that satisfies 'plone.app.layout==1.1.7'. > Adding required 'plone.app.kss==1.4.4' > We have the distribution that satisfies 'plone.app.kss==1.4.4'. > Adding required 'plone.app.iterate==1.2.3' > We have the distribution that satisfies 'plone.app.iterate==1.2.3'. > Adding required 'plone.app.i18n==1.0.5' > We have the distribution that satisfies 'plone.app.i18n==1.0.5'. > Adding required 'plone.app.form==1.1.6' > We have the distribution that satisfies 'plone.app.form==1.1.6'. > Adding required 'plone.app.customerize==1.1.2' > We have the distribution that satisfies > 'plone.app.customerize==1.1.2'. > Adding required 'plone.app.controlpanel==1.1.2' > We have the distribution that satisfies > 'plone.app.controlpanel==1.1.2'. > Adding required 'plone.app.contentrules==1.1.5' > We have the distribution that satisfies > 'plone.app.contentrules==1.1.5'. > Adding required 'plone.app.content==1.3' > We have the distribution that satisfies 'plone.app.content==1.3'. > Adding required 'plone.app.contentmenu==1.1.6' > We have the distribution that satisfies > 'plone.app.contentmenu==1.1.6'. > Adding required 'kss.core==1.4.5' > We have the distribution that satisfies 'kss.core==1.4.5'. > Adding required 'borg.localrole==2.0.1' > We have the distribution that satisfies 'borg.localrole==2.0.1'. > Adding required 'archetypes.kss==1.4.3' > We have the distribution that satisfies 'archetypes.kss==1.4.3'. > Adding required 'Products.statusmessages==3.0.3' > We have the distribution that satisfies > 'Products.statusmessages==3.0.3'. > Adding required 'Products.SecureMailHost==1.1.1' > We have the distribution that satisfies > 'Products.SecureMailHost==1.1.1'. > Adding required 'Products.ResourceRegistries==1.4.3' > We have the distribution that satisfies > 'Products.ResourceRegistries==1.4.3'. > Adding required 'Products.PortalTransforms==1.6.1' > We have the distribution that satisfies > 'Products.PortalTransforms==1.6.1'. > Adding required 'Products.PluginRegistry==1.1.3.1' > We have the distribution that satisfies > 'Products.PluginRegistry==1.1.3.1'. > We have the distribution that satisfies 'setuptools==0.6c9'. > Adding required 'Products.PluggableAuthService==1.6' > We have the distribution that satisfies > 'Products.PluggableAuthService==1.6'. > Adding required 'Products.PlonePAS==3.7' > We have the distribution that satisfies 'Products.PlonePAS==3.7'. > Adding required 'Products.PloneLanguageTool==2.0.3' > We have the distribution that satisfies > 'Products.PloneLanguageTool==2.0.3'. > Adding required 'Products.PlacelessTranslationService==1.4.13' > We have the distribution that satisfies > 'Products.PlacelessTranslationService==1.4.13'. > Adding required 'Products.PasswordResetTool==1.1' > We have the distribution that satisfies > 'Products.PasswordResetTool==1.1'. > Adding required 'Products.MimetypesRegistry==1.6.1' > We have the distribution that satisfies > 'Products.MimetypesRegistry==1.6.1'. > Adding required 'Products.GroupUserFolder==3.55.1' > We have the distribution that satisfies > 'Products.GroupUserFolder==3.55.1'. > Adding required 'Products.GenericSetup==1.4.2.2' > We have the distribution that satisfies > 'Products.GenericSetup==1.4.2.2'. > Adding required 'Products.ExternalEditor==1.0a1' > We have the distribution that satisfies > 'Products.ExternalEditor==1.0a1'. > Adding required 'Products.ExtendedPathIndex==2.4.1' > We have the distribution that satisfies > 'Products.ExtendedPathIndex==2.4.1'. > Adding required 'Products.DCWorkflow==2.1.2' > We have the distribution that satisfies 'Products.DCWorkflow==2.1.2'. > Adding required 'Products.CMFUid==2.1.2' > We have the distribution that satisfies 'Products.CMFUid==2.1.2'. > Adding required 'Products.CMFTopic==2.1.2' > We have the distribution that satisfies 'Products.CMFTopic==2.1.2'. > Adding required 'Products.CMFQuickInstallerTool==2.1.6' > We have the distribution that satisfies > 'Products.CMFQuickInstallerTool==2.1.6'. > Adding required 'Products.CMFPlacefulWorkflow==1.4.0' > We have the distribution that satisfies > 'Products.CMFPlacefulWorkflow==1.4.0'. > Adding required 'Products.CMFFormController==2.1.2' > We have the distribution that satisfies > 'Products.CMFFormController==2.1.2'. > Adding required 'Products.CMFEditions==1.1.8' > We have the distribution that satisfies 'Products.CMFEditions==1.1.8'. > Adding required 'Products.CMFDynamicViewFTI==3.0.2' > We have the distribution that satisfies > 'Products.CMFDynamicViewFTI==3.0.2'. > Adding required 'Products.CMFDiffTool==0.4' > We have the distribution that satisfies 'Products.CMFDiffTool==0.4'. > Adding required 'Products.CMFDefault==2.1.2' > We have the distribution that satisfies 'Products.CMFDefault==2.1.2'. > Adding required 'Products.CMFCore==2.1.2' > We have the distribution that satisfies 'Products.CMFCore==2.1.2'. > Adding required 'Products.CMFCalendar==2.1.2' > We have the distribution that satisfies 'Products.CMFCalendar==2.1.2'. > Adding required 'Products.CMFActionIcons==2.1.2' > We have the distribution that satisfies > 'Products.CMFActionIcons==2.1.2'. > Adding required 'Products.ATContentTypes==1.2.7' > We have the distribution that satisfies > 'Products.ATContentTypes==1.2.7'. > Adding required 'Products.ATReferenceBrowserWidget==2.0.3' > We have the distribution that satisfies > 'Products.ATReferenceBrowserWidget==2.0.3'. > Adding required 'Products.Archetypes==1.5.10' > We have the distribution that satisfies 'Products.Archetypes==1.5.10'. > Adding required 'Products.AdvancedQuery==3.0' > We have the distribution that satisfies 'Products.AdvancedQuery==3.0'. > Adding required 'Products.kupu==1.4.12.1' > We have the distribution that satisfies 'Products.kupu==1.4.12.1'. > Adding required 'elementtree' > required by Plone 3.2.2. > Picked: elementtree = 1.2.7-20070827-preview > Adding required 'plone.keyring==1.2' > We have the distribution that satisfies 'plone.keyring==1.2'. > Adding required 'python-openid>=2.2.1,<2.3dev' > required by plone.openid 1.2. > Picked: python-openid = 2.2.4 > Adding required 'zope.testing' > required by Products.CMFPlacefulWorkflow 1.4.0. > We have a develop egg: zope.testing 0.0 > Adding required 'zope.i18nmessageid' > required by Products.CMFPlacefulWorkflow 1.4.0. > required by Products.kupu 1.4.12.1. > We have a develop egg: zope.i18nmessageid 0.0 > Adding required 'zope.interface' > required by Products.CMFDiffTool 0.4. > required by Products.CMFEditions 1.1.8. > required by Products.ATContentTypes 1.2.7. > required by Products.CMFPlacefulWorkflow 1.4.0. > required by Products.kupu 1.4.12.1. > We have a develop egg: zope.interface 0.0 > Adding required 'zope.component' > required by Products.ATContentTypes 1.2.7. > required by Products.CMFPlacefulWorkflow 1.4.0. > We have a develop egg: zope.component 0.0 > Adding required 'Products.ZopeVersionControl==1.0a1' > We have the distribution that satisfies > 'Products.ZopeVersionControl==1.0a1'. > Adding required 'Products.CMFTestCase==0.9.8b4' > We have the distribution that satisfies > 'Products.CMFTestCase==0.9.8b4'. > Adding required 'zope.app.container' > required by Products.ATContentTypes 1.2.7. > We have a develop egg: zope.app.container 0.0 > Adding required 'zope.tal' > required by Products.ATContentTypes 1.2.7. > We have a develop egg: zope.tal 0.0 > Adding required 'Products.validation==1.6.1' > We have the distribution that satisfies 'Products.validation==1.6.1'. > Adding required 'Products.Marshall==1.2.0' > We have the distribution that satisfies 'Products.Marshall==1.2.0'. > Adding required 'Products.i18ntestcase==1.2' > We have the distribution that satisfies 'Products.i18ntestcase==1.2'. > Adding required 'zope.i18n' > required by Products.kupu 1.4.12.1. > We have a develop egg: zope.i18n 0.0 > Adding required 'zope.schema' > required by Products.kupu 1.4.12.1. > We have a develop egg: zope.schema 0.0 > Installing zopeskel. > Installing 'Plone', 'PasteScript', 'ZopeSkel', 'psycopg2'. > We have the distribution that satisfies 'Plone==3.2.2'. > Picked: PasteScript = 1.7.3 > We have the distribution that satisfies 'setuptools==0.6c9'. > Picked: ZopeSkel = 2.11.1 > We have no distributions for psycopg2 that satisfies 'psycopg2'. > We have the distribution that satisfies 'setuptools==0.6c9'. > Running easy_install: > /Applications/Plone/Python-2.4/bin/python "-c" "from > setuptools.command.easy_install import main; main()" "-mUNxd" "/tmp/ > tmprnw6uW" "-Z" "/Applications/Plone/buildout-cache/downloads/dist/ > psycopg2-2.0.11.tar.gz" > path=/Applications/Plone/buildout-cache/eggs/setuptools-0.6c9- > py2.4.egg > > Processing psycopg2-2.0.11.tar.gz > Running psycopg2-2.0.11/setup.py -q bdist_egg --dist-dir /tmp/ > easy_install-1DlQri/psycopg2-2.0.11/egg-dist-tmp-_HxSdz > error: Setup script exited with error: No such file or directory > An error occured when trying to install psycopg2 2.0.11.Look above > this message for any errors thatwere output by easy_install. > While: > Installing zopeskel. > Getting distribution for 'psycopg2'. > Error: Couldn't install: psycopg2 2.0.11 > russell-hires-computer:/Applications/Plone/zinstance rusty$ > On Jul 7, 2009, at 1:28 PM, Jonathan Ballet wrote: > >> On Tue, Jul 7, 2009 at 5:27 PM, Russell >> Hires wrote: >>> Hello all. I'm trying to install psycopg2 into plone, using >>> buildout, but I >>> keep getting an error: >>> >>> Getting distribution for 'psycopg2'. >>> error: Setup script exited with error: No such file or directory >>> An error occured when trying to install psycopg2 2.0.11.Look >>> above this >>> message for any errors thatwere output by easy_install. >>> While: >>> Installing zopeskel. >>> Getting distribution for 'psycopg2'. >>> Error: Couldn't install: psycopg2 2.0.11 >> >> Can you post the output of buildout with logs enabled as well ? >> >> Something like "buildout -o buildout:log-level=DEBUG -v" (this can be >> very long, maybe you should try to remove the uninteresting output) >> _______________________________________________ >> Psycopg mailing list >> Psycopg at lists.initd.org >> http://lists.initd.org/mailman/listinfo/psycopg > > _______________________________________________ > Psycopg mailing list > Psycopg at lists.initd.org > http://lists.initd.org/mailman/listinfo/psycopg From stuart at stuartbishop.net Thu Jul 16 06:06:04 2009 From: stuart at stuartbishop.net (Stuart Bishop) Date: Thu, 16 Jul 2009 11:06:04 +0700 Subject: [Psycopg] Trying to install psycopg2 into zope/plone In-Reply-To: <2C983814-BFAB-4D83-80CA-AEEF38EFB664@earthlink.net> References: <4ADAC977-3F5A-40FF-AC11-AAA15481AC0C@earthlink.net> <2C983814-BFAB-4D83-80CA-AEEF38EFB664@earthlink.net> Message-ID: <6bc73d4c0907152106r676d63a0pf08d8ccaa364cf0a@mail.gmail.com> On Thu, Jul 16, 2009 at 10:47 AM, Russell Hires wrote: > I'm guessing no one has any ideas on this. Where else is a good place to get > more information or assistance with this? It looks like you are having a buildout problem, so I'd suggest the main Python list or maybe one of the Zope mailing lists - I'm not familiar where buildout discussions occur. -- Stuart Bishop http://www.stuartbishop.net/ From charlie at begeistert.org Thu Jul 16 12:30:12 2009 From: charlie at begeistert.org (Charlie Clark) Date: Thu, 16 Jul 2009 12:30:12 +0200 Subject: [Psycopg] Psycopg Digest, Vol 66, Issue 4 In-Reply-To: References: Message-ID: Am 16.07.2009, 12:00 Uhr, schrieb : > It looks like you are having a buildout problem, so I'd suggest the > main Python list or maybe one of the Zope mailing lists - I'm not > familiar where buildout discussions occur. It's probably worth noting that you don't have to use buildout and eggs and can install the required libraries and Zope Products pretty much the same as always. Charlie -- Charlie Clark Helmholtzstr. 20 D?sseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 From brian at vanguardistas.net Thu Jul 16 12:54:04 2009 From: brian at vanguardistas.net (Brian Sutherland) Date: Thu, 16 Jul 2009 12:54:04 +0200 Subject: [Psycopg] Trying to install psycopg2 into zope/plone In-Reply-To: <4ADAC977-3F5A-40FF-AC11-AAA15481AC0C@earthlink.net> References: <4ADAC977-3F5A-40FF-AC11-AAA15481AC0C@earthlink.net> Message-ID: <20090716105404.GD28033@Boo.lan> On Tue, Jul 07, 2009 at 11:27:33AM -0400, Russell Hires wrote: > Hello all. I'm trying to install psycopg2 into plone, using buildout, > but I keep getting an error: > > Getting distribution for 'psycopg2'. > error: Setup script exited with error: No such file or directory Do you have PostgreSQL installed? This happened to me when the pg_config binary was not on the $PATH. On Debian Lenny, the pg_config binary is in the libpq-dev package. > An error occured when trying to install psycopg2 2.0.11.Look above this > message for any errors thatwere output by easy_install. > While: > Installing zopeskel. > Getting distribution for 'psycopg2'. > Error: Couldn't install: psycopg2 2.0.11 > > And I have no idea why. Below is a copy of my buildout.cfg. I've been > all over this issue w/ the #plone people on irc, and no one has any > advice they can offer about why it won't install properly, or how to fix > this error. > > Any advice or direction is appreciated. Running plone 3.2 on OSX 10.4 > Intel. > > Russell > > ############################################ > # > # Buildout Configuration File for Standalone Plone > # ------------------------------------------------ > # $LastChangedDate: 2009-03-03 16:13:01 -0800 (Tue, 03 Mar 2009) $ > $LastChangedRevision: 25091M $ > # > # After making changes in this configuration file, > # you should run bin/buildout to update the components. > # > # ALWAYS back up all Plone/Zope data and components > # before changing configuration. > # > # Running "bin/buildout" will update your installation, > # installing missing components as necessary. > # > # Use "bin/buildout -n" to update all components, > # including Plone, to the newest available releases. > # Generally, you only want to do that as part > # of a planned migration. > # > # Tutorial instructions for using zc.buildout for > # configuration management are available at: > # http://plone.org/documentation/tutorial/buildout > # Full details at http://pypi.python.org/pypi/zc.buildout > # > ############################################ > > > [buildout] > > ############################################ > # Plone Component Versions > # ------------------------ > # This version of the Unified Installer has the components > # of Plone 3.2.2 preloaded so that it can install without > # an Internet connection. > # If you want to update, uncomment the "extends = http://..." below, > # edit it to point to the current version URL, > # comment out the "extends = versions.cfg" line > # and run bin/buildout -n > # while attached to the Internet. > # > # extends = http://dist.plone.org/release/3.2.2/versions.cfg > extends = versions.cfg > versions = versions > > > ############################################ > # Ports > # ----- > # Specify the port on which your Zope installation > # will listen: > http-address = 8080 > > > ############################################ > # Eggs > # ---- > # Add an indented line to the eggs section for any Python > # eggs or packages you wish to include. > # > eggs = > Plone > > # Optional Functionality > # ---------------------- > # Uncomment the indented lines to include these products. > # Documentation on all of them, along with many more products, > # is available at > # http://plone.org/products/ > # > # Commonly used products: > # * LinguaPlone provides tools for building multi-lingual sites > # * Products.CacheSetup adds the "CacheFu" Plone speedup kit > # * PloneHelpCenter is a simple knowledge base > # * PloneFormGen provides through-the-web form building > # > # Products.LinguaPlone > # Products.CacheSetup > # Products.PloneHelpCenter > # Products.PloneFormGen > # > # Commonly used development tools: > # * Clouseau uses AJAX to provide a Python prompt inside Plone > # * DocFinderTab puts an object documentation inspector in the Zope > Management Interface > # * Gloworm is a Firebug-like viewlet inspector and customizer > # * plone.reload allows you to refresh Python code and ZCML > configuration > # without restarting Zope. Note that to use plone.reload, you'll also > # need to uncomment the "zcml" entry for it below. > # > # Products.Clouseau > # Products.DocFinderTab > # Products.Gloworm > # plone.reload > > > ############################################ > # ZCML Slugs > # ---------- > # Some eggs need ZCML slugs to tell Zope to > # use them. Eggs with names beginning with "Products." > # usually don't need this. > zcml = > # plone.reload > > > ############################################ > # Development Eggs > # ---------------- > # You can use paster to create "development eggs" to > # develop new products/themes. Put these in the src/ > # directory. > # You will also need to add the egg names in the > # eggs section above, and may also need to add them > # to the zcml section. > # > # Provide the *paths* to the eggs you are developing here: > develop = > # src/my.package > > > ############################################ > # Debug Mode > # ---------- > # Change debug-mode to "on" to run in development mode. > # > debug-mode = off > > > ############################################ > ############################################ > # Buildout instructions beyond this point are > # usually only changed by experienced developers. > # > # Beyond here there be dragons! > > > eggs-directory=/Applications/Plone/buildout-cache/eggs > download-cache=/Applications/Plone/buildout-cache/downloads > newest = false > parts = > zope2 > productdistros > instance > zopepy > zopeskel > precompile > chown > unifiedinstaller > > # Add additional egg download sources here. dist.plone.org contains > archives > # of Plone packages. > find-links = > http://dist.plone.org > http://download.zope.org/ppix/ > http://download.zope.org/distribution/ > http://effbot.org/downloads > http://initd.org/pub/software/psycopg/ > > # unzip all eggs for easier debugging > unzip = true > > # let's share our Zope install > zope-directory = /Applications/Plone > > > # This section installs the components of Zope 2. > # Zope operating instances are created elsewhere. > # For options see http://pypi.python.org/pypi/plone.recipe.zope2install > [zope2] > recipe = plone.recipe.zope2install > # update zope by updating this URL: > url = http://www.zope.org/Products/Zope/2.10.7/Zope-2.10.7-final.tgz > # fake eggs are required to satisfy Zope dependencies while > # zope is not yet eggified. > fake-zope-eggs = true > additional-fake-eggs = > ZConfig > pytz > > > # Use this section to download additional old-style products. > # List any number of URLs for product tarballs under URLs (separate > # with whitespace, or break over several lines, with subsequent lines > # indented). If any archives contain several products inside a top-level > # directory, list the archive file name (i.e. the last part of the URL, > # normally with a .tar.gz suffix or similar) under 'nested-packages'. > # If any archives extract to a product directory with a version suffix, > list > # the archive name under 'version-suffix-packages'. > # For options see http://pypi.python.org/pypi/plone.recipe.distros > [productdistros] > recipe = plone.recipe.distros > urls = > nested-packages = > version-suffix-packages = > > > # Use this section to install and configure a Zope operating > # instance. > # For options see http://pypi.python.org/pypi/plone.recipe.zope2instance > [instance] > recipe = plone.recipe.zope2instance > zope2-location = ${zope2:location} > # The line below sets only the initial password. It will not change an > # existing password. > user = admin:varsis6 > http-address = ${buildout:http-address} > # change debug-mode to "on" to run in development mode > debug-mode = ${buildout:debug-mode} > # change verbose-security to "on" for detailed security > # errors while developing > verbose-security = off > # change deprecation-warnings to "on" to get log warnings > # for deprecated usages. > deprecation-warnings = off > > > # If you want Zope to know about any additional eggs, list them here. > # e.g. eggs = ${buildout:eggs} my.package > eggs = > ${buildout:eggs} > > > # If you want to register ZCML slugs for any packages, list them here. > # e.g. zcml = my.package my.other.package > zcml = > ${buildout:zcml} > > > products = > ${buildout:directory}/products > ${productdistros:location} > > > # You may also control the environment variables for the instance. > environment-vars = > PYTHON_EGG_CACHE ${buildout:directory}/var/.python-eggs > > > # installs a zopepy python interpreter that runs with your > # full Zope environment > [zopepy] > recipe = zc.recipe.egg > eggs = ${instance:eggs} > interpreter = zopepy > extra-paths = ${instance:zope2-location}/lib/python > scripts = zopepy > > > # installs paster and Zopeskel > [zopeskel] > recipe = zc.recipe.egg > eggs = > ${instance:eggs} > PasteScript > ZopeSkel > psycopg2 > > # compiles .py files in ./parts and ./products so that they don't > # need to be compiled by the daemon > # For options see http://pypi.python.org/pypi/plone.recipe.precompiler > [precompile] > recipe = plone.recipe.precompiler > > > # This recipe is used to set permissions -- and ownership for root mode > installs > # For options see http://pypi.python.org/pypi/plone.recipe.command > [chown] > recipe = plone.recipe.command > command =chmod 600 .installed.cfg > update-command = ${chown:command} > > > # This recipe installs the plonectl script and a few other convenience > # items. > # For options see http://pypi.python.org/pypi/ > plone.recipe.unifiedinstaller > [unifiedinstaller] > recipe = plone.recipe.unifiedinstaller > user = ${instance:user} > primary-port = ${instance:http-address} > sudo-command = > > _______________________________________________ > Psycopg mailing list > Psycopg at lists.initd.org > http://lists.initd.org/mailman/listinfo/psycopg -- Brian Sutherland From clawsoon at yahoo.com Wed Jul 22 21:53:20 2009 From: clawsoon at yahoo.com (Andrew Klaassen) Date: Wed, 22 Jul 2009 12:53:20 -0700 (PDT) Subject: [Psycopg] table.column in cursor.description? Message-ID: <139153.36721.qm@web65405.mail.ac4.yahoo.com> Hi, Is it possible to get psycopg2 to return full column names (i.e. "table.column" instead of just "column") in cursor.description? This would be handy when executing joins. I.e. >>> cursor.execute("select * from document, element") >>> print cursor.description [('document.id', ...), ('document.name', ...), ('element.id', ...), ('element.text', ...)] ...instead of the current behaviour, which is: >>> print cursor.description [('id', ...), ('name', ...), ('id', ...), ('text', ...)] The SQLite Python module has something like this with "pragma full_column_names=ON;": http://mail.python.org/pipermail/python-bugs-list/2009-January/069202.html Possible? Thanks. Andrew __________________________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com. From james at jamesh.id.au Thu Jul 23 09:18:27 2009 From: james at jamesh.id.au (James Henstridge) Date: Thu, 23 Jul 2009 15:18:27 +0800 Subject: [Psycopg] table.column in cursor.description? In-Reply-To: <139153.36721.qm@web65405.mail.ac4.yahoo.com> References: <139153.36721.qm@web65405.mail.ac4.yahoo.com> Message-ID: <237378990907230018l2033b8c9s243f5df9daa80c75@mail.gmail.com> On Thu, Jul 23, 2009 at 3:53 AM, Andrew Klaassen wrote: > Hi, > > Is it possible to get psycopg2 to return full column names (i.e. "table.column" instead of just "column") in cursor.description? ?This would be handy when executing joins. > > I.e. > >>>> cursor.execute("select * from document, element") >>>> print cursor.description > [('document.id', ...), ('document.name', ...), ('element.id', ...), ('element.text', ...)] > > ...instead of the current behaviour, which is: > >>>> print cursor.description > [('id', ...), ('name', ...), ('id', ...), ('text', ...)] The column names for result sets come directly from PostgreSQL. Psycopg2 isn't adding or removing any information here. I don't know if it is possible to change PostgreSQL's behaviour here, but if you can it is likely that the change would be reflected in Psycopg2 with no extra effort. Perhaps someone on one of the PostgreSQL lists will know the answer? > The SQLite Python module has something like this with "pragma > full_column_names=ON;": > > http://mail.python.org/pipermail/python-bugs-list/2009-January/069202.html That is an example of telling SQLite to provide different column names, which then gets passed through by the Python bindings. So again, it depends on the underlying database rather than the adapter for that database. James. From Karsten.Hilbert at gmx.net Thu Jul 23 13:17:32 2009 From: Karsten.Hilbert at gmx.net (Karsten Hilbert) Date: Thu, 23 Jul 2009 13:17:32 +0200 Subject: [Psycopg] table.column in cursor.description? In-Reply-To: <237378990907230018l2033b8c9s243f5df9daa80c75@mail.gmail.com> References: <139153.36721.qm@web65405.mail.ac4.yahoo.com> <237378990907230018l2033b8c9s243f5df9daa80c75@mail.gmail.com> Message-ID: <20090723111732.GD6005@merkur.hilbert.loc> On Thu, Jul 23, 2009 at 03:18:27PM +0800, James Henstridge wrote: > >>>> cursor.execute("select * from document, element") > >>>> print cursor.description > > [('document.id', ...), ('document.name', ...), ('element.id', ...), ('element.text', ...)] > > > > ...instead of the current behaviour, which is: > > > >>>> print cursor.description > > [('id', ...), ('name', ...), ('id', ...), ('text', ...)] > > The column names for result sets come directly from PostgreSQL. > Psycopg2 isn't adding or removing any information here. I don't know > if it is possible to change PostgreSQL's behaviour here, but if you > can it is likely that the change would be reflected in Psycopg2 with > no extra effort. Sure :-) select a as "foo.a", b as "foo.b" from foo; That probably isn't what the OP wanted, though. One could also define a view create view qualified_foo as select foo.a as "foo.a", foo.b as "foo.b" from foo ; and select from that. Karsten -- GPG key ID E4071346 @ wwwkeys.pgp.net E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346 From stef at ummon.com Thu Jul 30 21:12:53 2009 From: stef at ummon.com (Stef Telford) Date: Thu, 30 Jul 2009 15:12:53 -0400 Subject: [Psycopg] Ability to plug-in/override Decimal Handler ? Message-ID: <4A71F0B5.1050903@ummon.com> Hey Everyone, I haven't ever had much recourse to email the mailing list, as I am mostly one of those ORM folks that uses the upper layer. Apologies in advance for that ;) However, I have noticed that during bulk operations (mostly instantiations) using the ORM that the decimal.Decimal is slow. I mean 400seconds slow, when compared to using gmpy.mpq which ends up running in 50seconds. So, is it possible to overload the pscyopg2 adapter to use gmpy ? Currently, I have changed the psycopgmodule to decimal = PyImport_ImportModule("gmpy"); and decimalType = PyObject_GetAttrString(decimal, "mpq"); Which works great, however, I really don't want to fork an entire library over a two line change. So. Any ideas/thoughts on how I would inform psycopg2 to use gmpy.mpq instead for Decimals in a 'nicer' fashion ? I am sure there is probably something obvious I am missing :D Regards Stef Telford