1st try - no repos found
Neal Becker
ndbecker2 at gmail.com
Wed Mar 25 13:16:02 EDT 2015
Thomas De Schampheleire wrote:
> Hi Neal,
>
> On Wed, Mar 25, 2015 at 4:53 PM, Neal Becker
> <ndbecker2 at gmail.com> wrote:
>> Thomas De Schampheleire wrote:
> [..]
>>
>> I'm running into a problem. I'm using hg-3.3.2, and I have a repo using
>> obsolete markers. When I start kallithea, go to admin page, it says hg
>> is
>> 3.1.2. I can't figure out where that comes from. I mv'd the hg in the
>> venv/bin, so kallithea would hopefully use my hg from /usr/bin, but that
>> didn't help.
>>
>> I get:
>> Abort: parsing obsolete marker: unknown version 1
>
> During the 'python setup.py' step, mercurial is explicitly installed
> in the virtualenv. This will probably have selected 3.1.2. If you use
> 'pip install' to install a specific mercurial into the virtualenv, and
> restart kallithea, I guess things will be as you expect.
>
> Best regards,
> Thomas
Unfortunately that didn't work either. After pip install mercurial:
paster serve my.ini
Traceback (most recent call last):
File "/home/nbecker/kallithea/venv/bin/paster", line 9, in <module>
load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
File "/home/nbecker/kallithea/venv/lib/python2.7/site-
packages/paste/script/command.py", line 104, in run
invoke(command, command_name, options, args[1:])
File "/home/nbecker/kallithea/venv/lib/python2.7/site-
packages/paste/script/command.py", line 143, in invoke
exit_code = runner.run(args)
File "/home/nbecker/kallithea/venv/lib/python2.7/site-
packages/paste/script/command.py", line 238, in run
result = self.command()
File "/home/nbecker/kallithea/venv/lib/python2.7/site-
packages/paste/script/serve.py", line 284, in command
relative_to=base, global_conf=vars)
File "/home/nbecker/kallithea/venv/lib/python2.7/site-
packages/paste/script/serve.py", line 321, in loadapp
**kw)
File "/home/nbecker/kallithea/venv/lib/python2.7/site-
packages/paste/deploy/loadwsgi.py", line 247, in loadapp
return loadobj(APP, uri, name=name, **kw)
File "/home/nbecker/kallithea/venv/lib/python2.7/site-
packages/paste/deploy/loadwsgi.py", line 271, in loadobj
global_conf=global_conf)
File "/home/nbecker/kallithea/venv/lib/python2.7/site-
packages/paste/deploy/loadwsgi.py", line 296, in loadcontext
global_conf=global_conf)
File "/home/nbecker/kallithea/venv/lib/python2.7/site-
packages/paste/deploy/loadwsgi.py", line 320, in _loadconfig
return loader.get_context(object_type, name, global_conf)
File "/home/nbecker/kallithea/venv/lib/python2.7/site-
packages/paste/deploy/loadwsgi.py", line 454, in get_context
section)
File "/home/nbecker/kallithea/venv/lib/python2.7/site-
packages/paste/deploy/loadwsgi.py", line 476, in _context_from_use
object_type, name=use, global_conf=global_conf)
File "/home/nbecker/kallithea/venv/lib/python2.7/site-
packages/paste/deploy/loadwsgi.py", line 406, in get_context
global_conf=global_conf)
File "/home/nbecker/kallithea/venv/lib/python2.7/site-
packages/paste/deploy/loadwsgi.py", line 296, in loadcontext
global_conf=global_conf)
File "/home/nbecker/kallithea/venv/lib/python2.7/site-
packages/paste/deploy/loadwsgi.py", line 328, in _loadegg
return loader.get_context(object_type, name, global_conf)
File "/home/nbecker/kallithea/venv/lib/python2.7/site-
packages/paste/deploy/loadwsgi.py", line 620, in get_context
object_type, name=name)
File "/home/nbecker/kallithea/venv/lib/python2.7/site-
packages/paste/deploy/loadwsgi.py", line 640, in find_egg_entry_point
pkg_resources.require(self.spec)
File "/home/nbecker/kallithea/venv/lib/python2.7/site-
packages/pkg_resources/__init__.py", line 918, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/nbecker/kallithea/venv/lib/python2.7/site-
packages/pkg_resources/__init__.py", line 810, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (mercurial 3.3.2
(/home/nbecker/kallithea/venv/lib/python2.7/site-packages),
Requirement.parse('mercurial<3.2,>=2.8.2'), set(['kallithea']))
--
Those who fail to understand recursion are doomed to repeat it
More information about the kallithea-general
mailing list