Closed Bug 1062653 Opened 10 years ago Closed 10 years ago

'module' object has no attribute 'wireprotocommand' error when trying to import reviewboard extension

Categories

(MozReview Graveyard :: General, defect)

Production
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: botond, Unassigned)

Details

Not sure if this is the right component for this bug, but after enabling the |reviewboard| extension via |mach mercurial-setup|, I get the following error every time I run an hg command:

*** failed to import extension reviewboard from /home/botond/.mozbuild/version-control-tools/hgext/reviewboard/client.py: 'module' object has no attribute 'wireprotocommand'
abort: No module named exchange!

(Note: I have the same issue with 'firefoxtree', but not with 'bzpost' or 'bzexport'.)
(In reply to Botond Ballo [:botond] from comment #0)
> (Note: I have the same issue with 'firefoxtree', but not with 'bzpost' or
> 'bzexport'.)

Er, sorry, I *am* having an issue with 'bzpost': the second line, 'abort: No module named exchange' seems to be caused by that, not by 'reviewboard'.
Upgrade to Mercurial 3.0+ and reopen if that doesn't work.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
(In reply to Gregory Szorc [:gps] (away Sep 10 through 27) from comment #2)
> Upgrade to Mercurial 3.0+ and reopen if that doesn't work.

Heh. I had upgraded to 3.1 prior to installing the extensions, but the shell where I was actually trying the extensions still had 2.7 in the PATH. Sorry for the noise.
Product: bugzilla.mozilla.org → Developer Services
Product: Developer Services → MozReview
You need to log in before you can comment on or make changes to this bug.