Problems with pylons
George A. Dowding
pyrios at gmail.com
Thu Oct 25 18:35:49 PDT 2007
Hi,
I am trying to use pylons and am having problems with py-pylons and
py25-pylons.
With py-pylons, it looks like there is a dependency issue with
WebHelpers.
gdowding-home:~/pylons george$ paster create -t pylons helloworld
Traceback (most recent call last):
File "/opt/local/bin/paster", line 7, in ?
sys.exit(
File "/opt/local/lib/python2.4/site-packages/paste/script/
command.py", line 76, in run
invoke(command, command_name, options, args[1:])
File "/opt/local/lib/python2.4/site-packages/paste/script/
command.py", line 115, in invoke
exit_code = runner.run(args)
File "/opt/local/lib/python2.4/site-packages/paste/script/
command.py", line 210, in run
result = self.command()
File "/opt/local/lib/python2.4/site-packages/paste/script/
create_distro.py", line 69, in command
self.extend_templates(templates, tmpl_name)
File "/opt/local/lib/python2.4/site-packages/paste/script/
create_distro.py", line 233, in extend_templates
tmpl = entry.load()(entry.name)
File "/opt/local/lib/python2.4/site-packages/pkg_resources.py",
line 1911, in load
if require: self.require(env, installer)
File "/opt/local/lib/python2.4/site-packages/pkg_resources.py",
line 1924, in require
working_set.resolve(self.dist.requires(self.extras),env,installer))
File "/opt/local/lib/python2.4/site-packages/pkg_resources.py",
line 528, in resolve
raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (WebHelpers 0.2.1 (/opt/local/lib/
python2.4/site-packages), Requirement.parse('WebHelpers>=0.2.2'))
When trying to install py25-pylons, it fails when trying to install
py25-myghty, it fails when trying to download.
gdowding-home:~/pylons george$ sudo port install py25-pylonsPassword:
---> Building py25-myghtyutils with target build
Error: Target org.macports.build returned: shell command " cd "/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_
py25-myghtyutils/work/MyghtyUtils-0.52" && /opt/local/bin/python2.5
setup.py build " returned error 1
Command output: you may need to enable firewall access for this
script first.
I will start the download in 15 seconds.
(Note: if this machine does not have network access, please obtain
the file
http://cheeseshop.python.org/packages/2.5/s/setuptools/
setuptools-0.6c1-py2.5.egg
and place it in this directory before rerunning this script.)
------------------------------------------------------------------------
---
Downloading http://cheeseshop.python.org/packages/2.5/s/setuptools/
setuptools-0.6c1-py2.5.egg
Traceback (most recent call last):
File "setup.py", line 2, in <module>
use_setuptools()
File "/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_
py25-myghtyutils/work/MyghtyUtils-0.52/ez_setup.py", line 72, in
use_setuptools
egg = download_setuptools(version, download_base, to_dir,
download_delay)
File "/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_
py25-myghtyutils/work/MyghtyUtils-0.52/ez_setup.py", line 126, in
download_setuptools
src = urllib2.urlopen(url)
File "/opt/local/lib/python2.5/urllib2.py", line 121, in urlopen
return _opener.open(url, data)
File "/opt/local/lib/python2.5/urllib2.py", line 380, in open
response = meth(req, response)
File "/opt/local/lib/python2.5/urllib2.py", line 491, in
http_response
'http', request, response, code, msg, hdrs)
File "/opt/local/lib/python2.5/urllib2.py", line 418, in error
return self._call_chain(*args)
File "/opt/local/lib/python2.5/urllib2.py", line 353, in _call_chain
result = func(*args)
File "/opt/local/lib/python2.5/urllib2.py", line 499, in
http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found
Error: The following dependencies failed to build: py25-beaker py25-
myghtyutils py25-cheetah py25-formencode py25-myghty py25-nose py25-
paste py25-pastedeploy py25-pastescript py25-routes py25-simplejson
Error: Status 1 encountered during processing.
More information about the macports-users
mailing list