Discussion:
[Zope3-Users] Bluebream
Albert DURANTON
2010-10-30 07:29:00 UTC
Permalink
I learn bluebream with bluebream documentattion. After chap1 i run bin/paster serve debug.ini. I get :
***@mamachine:/home/albert2/bluebream/ticketcollector# bin/paster serve debug.ini
Traceback (most recent call last):
File "bin/paster", line 116, in
paste.script.command.run()
File "/home/albert2/bluebream/ticketcollector/eggs/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 84, in run
invoke(command, command_name, options, args[1:])
File "/home/albert2/bluebream/ticketcollector/eggs/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 123, in invoke
exit_code = runner.run(args)
File "/home/albert2/bluebream/ticketcollector/eggs/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 218, in run
result = self.command()
File "/home/albert2/bluebream/ticketcollector/eggs/PasteScript-1.7.3-py2.6.egg/paste/script/serve.py", line 276, in command
relative_to=base, global_conf=vars)
File "/home/albert2/bluebream/ticketcollector/eggs/PasteScript-1.7.3-py2.6.egg/paste/script/serve.py", line 313, in loadapp
**kw)
File "/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 204, in loadapp
return loadobj(APP, uri, name=name, **kw)
File "/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 224, in loadobj
global_conf=global_conf)
File "/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 248, in loadcontext
global_conf=global_conf)
File "/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 278, in _loadconfig
return loader.get_context(object_type, name, global_conf)
File "/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 400, in get_context
global_additions=global_additions)
File "/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 474, in _filter_app_context
APP, next_name, global_conf)
File "/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 409, in get_context
section)
File "/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 431, in _context_from_use
object_type, name=use, global_conf=global_conf)
File "/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 361, in get_context
global_conf=global_conf)
File "/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 248, in loadcontext
global_conf=global_conf)
File "/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 285, in _loadegg
return loader.get_context(object_type, name, global_conf)
File "/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 561, in get_context
object_type, name=name)
File "/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 581, in find_egg_entry_point
pkg_resources.require(self.spec)
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 654, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 556, in resolve
raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (mechanize 0.1.11 (/usr/lib/python2.6/dist-packages), Requirement.parse('mechanize>=0.2.0'))
I mechanise 0.2.0 in buildout.cfg, How use mechanize 0.1.11 in my buildout.cfg or other solution ?
Merci d'avance. I am blocked and i can not continue.
Dudu
Thierry Florac
2010-10-30 07:36:20 UTC
Permalink
______________________________________________________________________
Le samedi 30 octobre,
Post by Albert DURANTON
I learn bluebream with bluebream documentattion. After chap1 i run
serve debug.ini Traceback (most recent call last): File "bin/paster",
line 116, in paste.script.command.run()
File
"/home/albert2/bluebream/ticketcollector/eggs/PasteScript-1.7.3-py2.6.egg/paste/script/command.py",
line 84, in run invoke(command, command_name, options, args[1:]) File
"/home/albert2/bluebream/ticketcollector/eggs/PasteScript-1.7.3-py2.6.egg/paste/script/command.py",
line 123, in invoke exit_code = runner.run(args) File
"/home/albert2/bluebream/ticketcollector/eggs/PasteScript-1.7.3-py2.6.egg/paste/script/command.py",
line 218, in run result = self.command() File
"/home/albert2/bluebream/ticketcollector/eggs/PasteScript-1.7.3-py2.6.egg/paste/script/serve.py",
line 276, in command relative_to=base, global_conf=vars) File
"/home/albert2/bluebream/ticketcollector/eggs/PasteScript-1.7.3-py2.6.egg/paste/script/serve.py",
line 313, in loadapp **kw) File
"/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py",
line 204, in loadapp return loadobj(APP, uri, name=name, **kw) File
"/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py",
line 224, in loadobj global_conf=global_conf) File
"/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py",
line 248, in loadcontext global_conf=global_conf) File
"/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py",
line 278, in _loadconfig return loader.get_context(object_type, name,
global_conf) File
"/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py",
line 400, in get_context global_additions=global_additions) File
"/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py",
line 474, in _filter_app_context APP, next_name, global_conf) File
"/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py",
line 409, in get_context section) File
"/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py",
line 431, in _context_from_use object_type, name=use,
global_conf=global_conf) File
"/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py",
line 361, in get_context global_conf=global_conf) File
"/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py",
line 248, in loadcontext global_conf=global_conf) File
"/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py",
line 285, in _loadegg return loader.get_context(object_type, name,
global_conf) File
"/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py",
line 561, in get_context object_type, name=name) File
"/home/albert2/bluebream/ticketcollector/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py",
line 581, in find_egg_entry_point pkg_resources.require(self.spec)
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 654,
in require needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 556,
in resolve raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (mechanize 0.1.11
(/usr/lib/python2.6/dist-packages),
Requirement.parse('mechanize>=0.2.0')) I mechanise 0.2.0 in
buildout.cfg, How use mechanize 0.1.11 in my buildout.cfg or other
solution ? Merci d'avance. I am blocked and i can not continue. Dudu
______________________________________________________________________


Hi,

You probably have a mechanize package (0.1.11) in your default Python
install and another one (0.2.0) in your Buildout eggs directory.
Maybe you should try to create an isolated environment (without site
packages) using Virtualenv ??

Regards,
Thierry

Loading...