all dirs is not longer working in 4.3.2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

all dirs is not longer working in 4.3.2

Uwe Brauer
Hi

Anybody uses this extension? For me hg 4.3.2 crashes when I try to use
the extension. I just downgraded to 4.2-rec.
The author's email seems not to work, there is no possible to open a
issue in his bitbucket repo.

Anybody has an idea or similar experience?

Regards

Uwe Brauer

_______________________________________________
Mercurial mailing list
[hidden email]
https://www.mercurial-scm.org/mailman/listinfo/mercurial
Reply | Threaded
Open this post in threaded view
|

Re: all dirs is not longer working in 4.3.2

Marcin Kasperski-2
>
> Anybody uses this extension?

Well, I wrote it and use. Albeit haven't tested on 4.3 yet

> The author's email seems not to work,

Which mail did you try? I seem to be getting email daily so believe it
works…

> there is no possible to open a
> issue in his bitbucket repo.

Forgot to enable issues, feel free to raise the issue now (and please do
it, I won't be able to work on the issue this week and having it in
tracker makes it more likely I won't forget about it)

PS Written in assumption you mean
https://bitbucket.org/Mekk/mercurial-all_dirs/overview

_______________________________________________
Mercurial mailing list
[hidden email]
https://www.mercurial-scm.org/mailman/listinfo/mercurial
Reply | Threaded
Open this post in threaded view
|

Re: all dirs is not longer working in 4.3.2

Uwe Brauer
>>> "Marcin" == Marcin Kasperski <[hidden email]> writes:

   >>
   >> Anybody uses this extension?


   > Well, I wrote it and use. Albeit haven't tested on 4.3 yet

Good!!
   >> The author's email seems not to work,

   > Which mail did you try? I seem to be getting email daily so believe it
   > works…

Here is what I got back



** Address not found **

Your message wasn't delivered to [hidden email] because
the address couldn't be found. Check for typos or unnecessary spaces
and try again.



The response from the remote server was:
550 5.1.1 <[hidden email]>: Recipient address rejected:
User unknown in local recipient table






   >> there is no possible to open a
   >> issue in his bitbucket repo.

   > Forgot to enable issues, feel free to raise the issue now (and please do
   > it, I won't be able to work on the issue this week and having it in
   > tracker makes it more likely I won't forget about it)

Here is my message and the error I obtain in 4.3. I downgraded to 4.2
since I use your extension on a daily base.

Hi

Unfortunately I cannot find the bitbucket issue button in the repo any
more (they changed the  interface), so I don't know who to send a issue.
Using mercurial 4.3.2 in ubuntu 16.04 I obtain

Commenting out the alldirs extension everyting works as expected.

** Python 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609]
** Mercurial Distributed SCM (version 4.3.2)
** Extensions loaded: blackbox, strip, mq, journal, churn, notify, artemis, share, evolve, eol, hgk, rebase, shelve, purge, pager, convert, fetch, histedit, hggit, record, keyword
Traceback (most recent call last):
  File "/usr/bin/hg", line 45, in <module>
    mercurial.dispatch.run()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 81, in run
    status = (dispatch(req) or 0) & 255
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 162, in dispatch
    ret = _runcatch(req)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 302, in _runcatch
    return _callcatch(ui, _runcatchfu nc)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 310, in _callcatch
    return scmutil.callcatch(ui, func)
  File "/usr/lib/python2.7/dist-packages/mercurial/scmutil.py", line 150, in callcatch
    return func()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 292, in _runcatchfunc
    return _dispatch(req)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 770, in _dispatch
    cmd, func, args, options, cmdoptions = _parse(lui, args)
  File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 322, in closure
    return func(*(args + a), **kw)
  File "/usr/lib/python2.7/dist-packages/hgext/keyword.py", line 713, in kwdispatch_parse
    cmd, func, args, options, cmdoptions = orig(ui, args)
  File "/home/oub/ALLES/src/mercurial-all_dirs/mercurial_all_dirs.py", line 174, in _parse
    except error.CommandError as e:
AttributeError: 'NoneType' object has no attribute 'CommandError'


Thanks and regards


Uwe Brauer

_______________________________________________
Mercurial mailing list
[hidden email]
https://www.mercurial-scm.org/mailman/listinfo/mercurial
Reply | Threaded
Open this post in threaded view
|

Re: all dirs is not longer working in 4.3.2

Uwe Brauer
In reply to this post by Marcin Kasperski-2
>>> "Marcin" == Marcin Kasperski <[hidden email]> writes:

   >>
   >> Anybody uses this extension?

   > Well, I wrote it and use. Albeit haven't tested on 4.3 yet

   >> The author's email seems not to work,

I just saw that in the address I used
a 'y' was added
[hidden email]

I don't know why, strange

_______________________________________________
Mercurial mailing list
[hidden email]
https://www.mercurial-scm.org/mailman/listinfo/mercurial
Reply | Threaded
Open this post in threaded view
|

Re: all dirs is not longer working in 4.3.2

Marcin Kasperski-2
In reply to this post by Uwe Brauer

I briefly tested all_dirs on hg 4.3.2 and it seems to work (well, I ran
automated tests, and they passed). Moreover, if we look at the
backtrace,

    File "/home/oub/ALLES/src/mercurial-all_dirs/mercurial_all_dirs.py", line 174, in _parse
      except error.CommandError as e:
    AttributeError: 'NoneType' object has no attribute 'CommandError'

and note that this „error” is result of

    from mercurial import error

there really is no reason for this line to crash.


There is something special in your environment. Either some other
extension messes up, or mayhaps you have multiple mercurials installed,
and they conflict somehow, or mayhaps some specific command does
something specific.

Could you try bisecting it a bit? At the very least, try disabling other
extensions and test whether it changes anything (and if some specific
causes the problem, let me know which one). And please make sure it's
indeed mercurial 4.3.2 in your python path…

PS What command you issue to see the crash?


_______________________________________________
Mercurial mailing list
[hidden email]
https://www.mercurial-scm.org/mailman/listinfo/mercurial
Reply | Threaded
Open this post in threaded view
|

Re: all dirs is not longer working in 4.3.2

Uwe Brauer
>>> "Marcin" == Marcin Kasperski <[hidden email]> writes:


   > Could you try bisecting it a bit? At the very least, try disabling other
   > extensions and test whether it changes anything (and if some specific
   > causes the problem, let me know which one). And please make sure it's
   > indeed mercurial 4.3.2 in your python path…


I can't install 4.3.2 the ppa has changed to 4.4-rc

Bad news, I deactivated all extensions and

Hg --version

Works

I pull your latest commits (to be sure) activate the extension and
obtain when running

 hg --version
g --version
*** failed to import extension mercurial_all_dirs from ~/ALLES/src/mercurial-all_dirs/mercurial_all_dirs.py: <mercurial.cmdutil.command object at 0xb6d2ceac> is not a Python function
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.6 (default, Oct 26 2016, 20:32:47) [GCC 4.8.4]
** Mercurial Distributed SCM (version 4.4-rc)
** Extensions loaded:
Traceback (most recent call last):
  File "/usr/bin/hg", line 41, in <module>
    dispatch.run()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 85, in run
    status = (dispatch(req) or 0) & 255
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 173, in dispatch
    ret = _runcatch(req)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 313, in _runcatch
    return _callcatch(ui, _runcatchfunc)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 321, in _callcatch
    return scmutil.callcatch(ui, func)
  File "/usr/lib/python2.7/dist-packages/mercurial/scmutil.py", line 154, in callcatch
    return func()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 303, in _runcatchfunc
    return _dispatch(req)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 813, in _dispatch
    cmd, func, args, options, cmdoptions = _parse(lui, args)
  File "/home/oub/ALLES/src/mercurial-all_dirs/mercurial_all_dirs.py", line 174, in _parse
    except error.CommandError as e:
AttributeError: 'NoneType' object has no attribute 'CommandError'


_______________________________________________
Mercurial mailing list
[hidden email]
https://www.mercurial-scm.org/mailman/listinfo/mercurial