|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
upgraded to 1.3.1 from 1.0.1; now get strange import errorsI'm on Ubuntu 8.10 (have never used the system pkg for hg),
using Python 2.5. I had used hg 1.0.1 for a long time and decided it was time to upgrade -- got 1.3.1 tarball and 'make all / make install'ed, seemed to go fine. Had previous keyword extension but since that's included in 1.3.1 (right?), figured it would be ignored. However, get: --------------------------------------------------------------------------- $ hg version *** failed to import extension hgkw.keyword: No module named hgkw.keyword *** failed to import extension alias: No module named alias Mercurial Distributed SCM (version 1.3.1) Copyright (C) 2005-2009 Matt Mackall <mpm@...> and others This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --------------------------------------------------------------------------- Tried completely removing my old hgkw and extension stuff from site-packages and re-doing make all / make install, but same result. Suggestions? Steve _______________________________________________ Mercurial mailing list Mercurial@... http://selenic.com/mailman/listinfo/mercurial |
|
|
Re: upgraded to 1.3.1 from 1.0.1; now get strange import errorsOn Fri, 2009-11-06 at 10:43 -0500, Stephen Waterbury wrote:
> I'm on Ubuntu 8.10 (have never used the system pkg for hg), > using Python 2.5. I had used hg 1.0.1 for a long time and > decided it was time to upgrade -- got 1.3.1 tarball > and 'make all / make install'ed, seemed to go fine. Had > previous keyword extension but since that's included in 1.3.1 > (right?), figured it would be ignored. However, get: > > --------------------------------------------------------------------------- > $ hg version > *** failed to import extension hgkw.keyword: No module named hgkw.keyword > *** failed to import extension alias: No module named alias > Mercurial Distributed SCM (version 1.3.1) There is indeed no module named alias anymore. That functionality is now built-in, as explained in the release notes. > Tried completely removing my old hgkw and extension stuff from > site-packages and re-doing make all / make install, but same > result. hg showconfig --debug might be enlightening. -- http://selenic.com : development and support for Mercurial and Linux _______________________________________________ Mercurial mailing list Mercurial@... http://selenic.com/mailman/listinfo/mercurial |
|
|
Re: upgraded to 1.3.1 from 1.0.1; now get strange import errors* Stephen Waterbury on Friday, November 06, 2009 at 10:43:51 -0500
> I'm on Ubuntu 8.10 (have never used the system pkg for hg), > using Python 2.5. I had used hg 1.0.1 for a long time and > decided it was time to upgrade -- got 1.3.1 tarball > and 'make all / make install'ed, seemed to go fine. Had > previous keyword extension but since that's included in 1.3.1 > (right?), figured it would be ignored. However, get: > > --------------------------------------------------------------------------- > $ hg version > *** failed to import extension hgkw.keyword: No module named hgkw.keyword The keyword extension is now distributed with Mercurial, so adapt your hgrc files to do just [extensions] hgext.keyword = > *** failed to import extension alias: No module named alias > Mercurial Distributed SCM (version 1.3.1) alias is now part of core Mercurial > Tried completely removing my old hgkw and extension stuff from > site-packages and re-doing make all / make install, but same > result. > > Suggestions? You have to update your hgrc files as well. c -- Was heißt hier Dogma, ich bin Underdogma! [ What the hell do you mean dogma, I am underdogma. ] _F R E E_ _V I D E O S_ --->>> http://www.blacktrash.org/underdogma/ _______________________________________________ Mercurial mailing list Mercurial@... http://selenic.com/mailman/listinfo/mercurial |
|
|
Re: upgraded to 1.3.1 from 1.0.1; now get strange import errorsChristian Ebert wrote:
> The keyword extension is now distributed with Mercurial, so adapt > your hgrc files to do just > > [extensions] > hgext.keyword = > ... > You have to update your hgrc files as well. Matt Mackall wrote: > hg showconfig --debug might be enlightening. Yep -- thanks to both of you! I just needed to update my ~/.hgrc file (which I'd forgotten about). Cheers, Steve _______________________________________________ Mercurial mailing list Mercurial@... http://selenic.com/mailman/listinfo/mercurial |
| Free embeddable forum powered by Nabble | Forum Help |