Re: Couldn't install: psycopg2 2.0.7 when trying to run buildout

23 views
Skip to first unread message

Nate Aune

unread,
Jun 22, 2008, 8:07:46 PM6/22/08
to vu...@googlegroups.com
thanks, i got around this problem but now it appears that the hachoir repo is down, so i'm getting this error:

Got plone.transforms 1.0a2.
Picked: plone.transforms = 1.0a2
Getting required 'hachoir-parser'
  required by vudo.content 0.1.
Download error: (60, 'Operation timed out') -- Some packages may not be found!

and it won't finish the buildout...

Nate

On Fri, Jun 20, 2008 at 9:05 PM, reco <re...@nex9.com> wrote:
hi nate,

if you just use the system python this works fine with the trunk.

reco

On Jun 14, 8:41 pm, Nate Aune <na...@jazkarta.com> wrote:
> i'm trying to run the latest buildout from trunk and getting the
> following error on OSX 10.5. any ideas?
>
> Installing psycopg2.
> Traceback (most recent call last):
>   File "<string>", line 1, in ?
>   File "/Users/nateaune/.buildout/eggs/setuptools-0.6c8-py2.4.egg/
> setuptools/__init__.py", line 2, in ?
>     from setuptools.extension import Extension, Library
>   File "/Users/nateaune/.buildout/eggs/setuptools-0.6c8-py2.4.egg/
> setuptools/extension.py", line 2, in ?
>     from dist import _get_unpatched
>   File "/Users/nateaune/.buildout/eggs/setuptools-0.6c8-py2.4.egg/
> setuptools/dist.py", line 5, in ?
>     from setuptools.command.install import install
>   File "/Users/nateaune/.buildout/eggs/setuptools-0.6c8-py2.4.egg/
> setuptools/command/__init__.py", line 13, in ?
>     from distutils.command.bdist import bdist
>   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
> lib/python2.4/distutils/command/bdist.py", line 29, in ?
>     class bdist (Command):
>   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
> lib/python2.4/distutils/command/bdist.py", line 33, in bdist
>     user_options = [('bdist-base=', 'b',
>   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
> lib/python2.4/distutils/util.py", line 78, in get_platform
>     cfgvars = get_config_vars()
>   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
> lib/python2.4/distutils/sysconfig.py", line 488, in get_config_vars
>     func()
>   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
> lib/python2.4/distutils/sysconfig.py", line 373, in _init_posix
>     raise DistutilsPlatformError(my_msg)
> distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET
> mismatch: now "10.5" but "10.3" during configure
> An error occured when trying to install psycopg2 2.0.7.Look above this
> message for any errors thatwere output by easy_install.
> While:
>   Installing psycopg2.
> Error: Couldn't install: psycopg2 2.0.7



--
Nate Aune - na...@jazkarta.com
blog: http://nateaune.com
company: http://jazkarta.com
twitter: http://twitter.com/natea

Nate Aune

unread,
Jun 25, 2008, 1:38:49 AM6/25/08
to vudo
ok, i got around the hachoir error, but now i'm getting this error:
ImportError: No module named uuid

natemacbook:buildout nateaune$ bin/serve
starting vudo
-----------------------------------------

using paster script : /Users/nateaune/Documents/instances/voodoo/
buildout/bin/paster
using config file : debug.ini
using extfile storage dir : /Users/nateaune/Documents/instances/voodoo/
buildout/var

*** OSX: set DYLD_FORCE_FLAT_NAMESPACE=1 due to lxml

WARNING:root:Developer mode is enabled: this is a security risk and
should NOT be enabled on production servers. Developer mode can be
turned off in etc/zope.conf
Traceback (most recent call last):
File "/Users/nateaune/Documents/instances/voodoo/buildout/bin/
paster", line 145, in ?
paste.script.command.run()
File "/Users/nateaune/.buildout/eggs/tmpHndcKX/PasteScript-1.6.3-
py2.4.egg/paste/script/command.py", line 79, in run
File "/Users/nateaune/.buildout/eggs/tmpHndcKX/PasteScript-1.6.3-
py2.4.egg/paste/script/command.py", line 118, in invoke
File "/Users/nateaune/.buildout/eggs/tmpHndcKX/PasteScript-1.6.3-
py2.4.egg/paste/script/command.py", line 213, in run
File "/Users/nateaune/.buildout/eggs/tmpHndcKX/PasteScript-1.6.3-
py2.4.egg/paste/script/serve.py", line 251, in command
File "/Users/nateaune/.buildout/eggs/tmpHndcKX/PasteScript-1.6.3-
py2.4.egg/paste/script/serve.py", line 276, in loadapp
File "/Users/nateaune/.buildout/eggs/tmpP1FXh8/PasteDeploy-1.3.2-
py2.4.egg/paste/deploy/loadwsgi.py", line 204, in loadapp
File "/Users/nateaune/.buildout/eggs/tmpP1FXh8/PasteDeploy-1.3.2-
py2.4.egg/paste/deploy/loadwsgi.py", line 225, in loadobj
File "/Users/nateaune/.buildout/eggs/tmpP1FXh8/PasteDeploy-1.3.2-
py2.4.egg/paste/deploy/loadwsgi.py", line 625, in create
File "/Users/nateaune/.buildout/eggs/tmpP1FXh8/PasteDeploy-1.3.2-
py2.4.egg/paste/deploy/loadwsgi.py", line 164, in invoke
File "/Users/nateaune/.buildout/eggs/tmpP1FXh8/PasteDeploy-1.3.2-
py2.4.egg/paste/deploy/loadwsgi.py", line 625, in create
File "/Users/nateaune/.buildout/eggs/tmpP1FXh8/PasteDeploy-1.3.2-
py2.4.egg/paste/deploy/loadwsgi.py", line 110, in invoke
File "/Users/nateaune/.buildout/eggs/tmpP1FXh8/PasteDeploy-1.3.2-
py2.4.egg/paste/deploy/util/fixtypeerror.py", line 57, in fix_call
File "/Users/nateaune/.buildout/eggs/tmpYCD1df/ore.wsgiapp-0.3.2-
py2.4.egg/ore/wsgiapp/startup.py", line 29, in application_factory
File "/Users/nateaune/.buildout/eggs/tmpYCD1df/ore.wsgiapp-0.3.2-
py2.4.egg/ore/wsgiapp/wsgi.py", line 98, in getWSGIApplication
File "/Users/nateaune/.buildout/eggs/tmpYCD1df/ore.wsgiapp-0.3.2-
py2.4.egg/ore/wsgiapp/wsgi.py", line 90, in config
File "/Users/nateaune/.buildout/eggs/zope.app.appsetup-3.4.1-
py2.4.egg/zope/app/appsetup/appsetup.py", line 111, in config
context = xmlconfig.file(file, context=context, execute=execute)
File "/Users/nateaune/.buildout/eggs/tmpurSPX7/
zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py",
line 610, in file
File "/Users/nateaune/.buildout/eggs/tmpurSPX7/
zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py",
line 546, in include
File "/Users/nateaune/.buildout/eggs/tmpurSPX7/
zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
lib/python2.4/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
lib/python2.4/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
lib/python2.4/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
lib/python2.4/xml/sax/expatreader.py", line 348, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/Users/nateaune/.buildout/eggs/tmpurSPX7/
zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
File "/Users/nateaune/.buildout/eggs/tmpurSPX7/
zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line
542, in end
File "/Users/nateaune/.buildout/eggs/tmpurSPX7/
zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line
690, in finish
File "/Users/nateaune/.buildout/eggs/tmpurSPX7/
zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py",
line 546, in include
File "/Users/nateaune/.buildout/eggs/tmpurSPX7/
zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
lib/python2.4/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
lib/python2.4/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
lib/python2.4/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
lib/python2.4/xml/sax/expatreader.py", line 348, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/Users/nateaune/.buildout/eggs/tmpurSPX7/
zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
File "/Users/nateaune/.buildout/eggs/tmpurSPX7/
zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line
542, in end
File "/Users/nateaune/.buildout/eggs/tmpurSPX7/
zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line
690, in finish
File "/Users/nateaune/.buildout/eggs/tmpurSPX7/
zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py",
line 546, in include
File "/Users/nateaune/.buildout/eggs/tmpurSPX7/
zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
lib/python2.4/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
lib/python2.4/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
lib/python2.4/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
lib/python2.4/xml/sax/expatreader.py", line 348, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/Users/nateaune/.buildout/eggs/tmpurSPX7/
zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
File "/Users/nateaune/.buildout/eggs/tmpurSPX7/
zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line
542, in end
File "/Users/nateaune/.buildout/eggs/tmpurSPX7/
zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line
689, in finish
File "/Users/nateaune/.buildout/eggs/tmpurSPX7/
zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line
1381, in toargs
File "/Users/nateaune/.buildout/eggs/tmpurSPX7/
zope.configuration-3.4.0-py2.4.egg/zope/configuration/fields.py", line
229, in fromUnicode
File "/Users/nateaune/.buildout/eggs/tmpurSPX7/
zope.configuration-3.4.0-py2.4.egg/zope/configuration/fields.py", line
139, in fromUnicode
File "/Users/nateaune/.buildout/eggs/tmpurSPX7/
zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line
182, in resolve
File "/Users/nateaune/.buildout/eggs/tmpHH2ptr/z3c.dobbin-0.2.9-
py2.4.egg/z3c/dobbin/mapper.py", line 23, in ?
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/Users/
nateaune/Documents/instances/voodoo/buildout/site.zcml", line
11.2-11.32
ZopeXMLConfigurationError: File "/Users/nateaune/Documents/
instances/voodoo/vudo.app/src/vudo/app/configure.zcml", line
11.2-11.34
ZopeXMLConfigurationError: File "/Users/nateaune/.buildout/eggs/
z3c.dobbin-0.2.9-py2.4.egg/z3c/dobbin/configure.zcml", line 3.2-3.41
ImportError: No module named uuid

Tim Terlegård

unread,
Jun 25, 2008, 3:10:33 AM6/25/08
to vu...@googlegroups.com
You need to use python 2.5 for vudo

/Tim

Reply all
Reply to author
Forward
0 new messages