2014-07-16 9:56 GMT+02:00 Raimon Esteve <[email protected]>:

> 2014-07-16 9:48 GMT+02:00 Jesús Martín Jiménez <[email protected]>:
> > Hola,
> >
> >
> > ¿Podría alguien orientarme sobre cómo resolver este problema para subir
> > codereviews a tryton-erp.es?
> >
> > $ hg review -m "account_move_party_required: Assign a party in write off
> > move lines without it"
> > Server used http://codereview.tryton-erp.es
> > Password for [email protected]:
> > abort: HTTP Error 404: NOT FOUND
>
> Debes usar el hgreview de nan. no de pypi. Para combivir los dos,
> puedes crear un virtualenv sin packages del sistema y a cada máquina
> tienes un hgreview
>
> http://wiki.tryton-erp.es/Codereview
>

Sip. Tengo un entorno aislado creado expresamente para ello. Pero desde la
última vez que lo utilicé me ha dejado de funcionar -_-'

$ hg review -m "account_move_party_required: Assign a party in write off
move lines without it"
** Unknown exception encountered with possibly-broken third-party extension
hgreview
** which supports versions unknown of Mercurial.
** Please disable hgreview and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 2.7.3 (default, Feb 27 2014, 19:58:35) [GCC 4.6.3]
** Mercurial Distributed SCM (version 2.9.1)
** Extensions loaded: hgreview
Traceback (most recent call last):
  File "/home/jmartin/workspace/codereview_es/bin/hg", line 5, in <module>
    pkg_resources.run_script('mercurial==2.9.1', 'hg')
  File
"/home/jmartin/workspace/codereview_es/local/lib/python2.7/site-packages/pkg_resources.py",
line 534, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File
"/home/jmartin/workspace/codereview_es/local/lib/python2.7/site-packages/pkg_resources.py",
line 1434, in run_script
    execfile(script_filename, namespace, namespace)
  File
"/home/jmartin/workspace/codereview_es/lib/python2.7/site-packages/mercurial-2.9.1-py2.7-linux-x86_64.egg/EGG-INFO/scripts/hg",
line 38, in <module>
    mercurial.dispatch.run()
  File
"/home/jmartin/workspace/codereview_es/lib/python2.7/site-packages/mercurial-2.9.1-py2.7-linux-x86_64.egg/mercurial/dispatch.py",
line 28, in run
    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
  File
"/home/jmartin/workspace/codereview_es/lib/python2.7/site-packages/mercurial-2.9.1-py2.7-linux-x86_64.egg/mercurial/dispatch.py",
line 69, in dispatch
    ret = _runcatch(req)
  File
"/home/jmartin/workspace/codereview_es/lib/python2.7/site-packages/mercurial-2.9.1-py2.7-linux-x86_64.egg/mercurial/dispatch.py",
line 134, in _runcatch
    return _dispatch(req)
  File
"/home/jmartin/workspace/codereview_es/lib/python2.7/site-packages/mercurial-2.9.1-py2.7-linux-x86_64.egg/mercurial/dispatch.py",
line 806, in _dispatch
    cmdpats, cmdoptions)
  File
"/home/jmartin/workspace/codereview_es/lib/python2.7/site-packages/mercurial-2.9.1-py2.7-linux-x86_64.egg/mercurial/dispatch.py",
line 586, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File
"/home/jmartin/workspace/codereview_es/lib/python2.7/site-packages/mercurial-2.9.1-py2.7-linux-x86_64.egg/mercurial/dispatch.py",
line 897, in _runcommand
    return checkargs()
  File
"/home/jmartin/workspace/codereview_es/lib/python2.7/site-packages/mercurial-2.9.1-py2.7-linux-x86_64.egg/mercurial/dispatch.py",
line 868, in checkargs
    return cmdfunc()
  File
"/home/jmartin/workspace/codereview_es/lib/python2.7/site-packages/mercurial-2.9.1-py2.7-linux-x86_64.egg/mercurial/dispatch.py",
line 803, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File
"/home/jmartin/workspace/codereview_es/lib/python2.7/site-packages/mercurial-2.9.1-py2.7-linux-x86_64.egg/mercurial/util.py",
line 511, in check
    return func(*args, **kwargs)
  File "build/bdist.linux-x86_64/egg/hgreview/__init__.py", line 152, in
review

  File "build/bdist.linux-x86_64/egg/hgreview/__init__.py", line 79, in
_get_list

AttributeError: 'tuple' object has no attribute 'split'

-- 

Jesús Martín

Zikzakmedia SL
Dr. Fleming, 28, baixos
08720 Vilafranca del Penedès
☏ 93 890 21 08

Responder a