Quantcast

Mercurial 1.5.2 released!

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Mercurial 1.5.2 released!

Matt Mackall
This is a regular monthly bugfix release, with numerous minor fixes.
More details at:

http://mercurial.selenic.com/wiki/WhatsNew

Available for download at:

http://mercurial.selenic.com/release/mercurial-1.5.2.tar.gz

--
http://selenic.com : development and support for Mercurial and Linux


_______________________________________________
Mercurial mailing list
[hidden email]
http://selenic.com/mailman/listinfo/mercurial
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mercurial 1.5.2 released!

Dave Brosius
Hello, perhaps i did something stupid, but after upgrading to 1.5.2 on
ubuntu, i get:

hg --version
Traceback (most recent call last):
 File "/usr/bin/hg", line 27, in <module>
   mercurial.dispatch.run()
 File "/usr/share/mercurial/mercurial/dispatch.py", line 16, in run
   sys.exit(dispatch(sys.argv[1:]))
 File "/usr/share/mercurial/mercurial/dispatch.py", line 21, in dispatch
   u = _ui.ui()
 File "/usr/share/mercurial/mercurial/ui.py", line 38, in __init__
   for f in util.rcpath():
 File "/usr/share/mercurial/mercurial/util.py", line 1200, in rcpath
   _rcpath = os_rcpath()
 File "/usr/share/mercurial/mercurial/util.py", line 1174, in os_rcpath
   path = system_rcpath()
 File "/usr/share/mercurial/mercurial/posix.py", line 42, in system_rcpath
   '/../etc/mercurial'))
 File "/usr/share/mercurial/mercurial/posix.py", line 31, in rcfiles
   for f, kind in osutil.listdir(rcdir)
 File "/usr/share/mercurial/mercurial/demandimport.py", line 75, in
__getattribute__
   self._load()
 File "/usr/share/mercurial/mercurial/demandimport.py", line 47, in _load
   mod = _origimport(head, globals, locals)
ImportError: No module named osutil

Matt Mackall wrote:

> This is a regular monthly bugfix release, with numerous minor fixes.
> More details at:
>
> http://mercurial.selenic.com/wiki/WhatsNew
>
> Available for download at:
>
> http://mercurial.selenic.com/release/mercurial-1.5.2.tar.gz
>
>  

_______________________________________________
Mercurial mailing list
[hidden email]
http://selenic.com/mailman/listinfo/mercurial
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mercurial 1.5.2 released!

Benoit Boissinot
On Mon, May 3, 2010 at 1:46 AM, Dave Brosius <[hidden email]> wrote:
> Hello, perhaps i did something stupid, but after upgrading to 1.5.2 on
> ubuntu, i get:

How did you install it?
>
> hg --version
[snip]
> ImportError: No module named osutil
>

regards,

Benoit
_______________________________________________
Mercurial mailing list
[hidden email]
http://selenic.com/mailman/listinfo/mercurial
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mercurial 1.5.2 released!

TK Soh
In reply to this post by Dave Brosius
On Sun, May 2, 2010 at 11:46 PM, Dave Brosius <[hidden email]> wrote:

> Hello, perhaps i did something stupid, but after upgrading to 1.5.2 on
> ubuntu, i get:
>
> hg --version
> Traceback (most recent call last):
> File "/usr/bin/hg", line 27, in <module>
>  mercurial.dispatch.run()
> File "/usr/share/mercurial/mercurial/dispatch.py", line 16, in run
>  sys.exit(dispatch(sys.argv[1:]))
> File "/usr/share/mercurial/mercurial/dispatch.py", line 21, in dispatch
>  u = _ui.ui()
> File "/usr/share/mercurial/mercurial/ui.py", line 38, in __init__
>  for f in util.rcpath():
> File "/usr/share/mercurial/mercurial/util.py", line 1200, in rcpath
>  _rcpath = os_rcpath()
> File "/usr/share/mercurial/mercurial/util.py", line 1174, in os_rcpath
>  path = system_rcpath()
> File "/usr/share/mercurial/mercurial/posix.py", line 42, in system_rcpath
>  '/../etc/mercurial'))
> File "/usr/share/mercurial/mercurial/posix.py", line 31, in rcfiles
>  for f, kind in osutil.listdir(rcdir)
> File "/usr/share/mercurial/mercurial/demandimport.py", line 75, in
> __getattribute__
>  self._load()
> File "/usr/share/mercurial/mercurial/demandimport.py", line 47, in _load
>  mod = _origimport(head, globals, locals)
> ImportError: No module named osutil

If you are running off Mercurial's source directory, make sure you run
'make local'. I saw the same error once.

> Matt Mackall wrote:
>>
>> This is a regular monthly bugfix release, with numerous minor fixes.
>> More details at:
>>
>> http://mercurial.selenic.com/wiki/WhatsNew
>>
>> Available for download at:
>>
>> http://mercurial.selenic.com/release/mercurial-1.5.2.tar.gz
>>
>>
>
> _______________________________________________
> Mercurial mailing list
> [hidden email]
> http://selenic.com/mailman/listinfo/mercurial
>
_______________________________________________
Mercurial mailing list
[hidden email]
http://selenic.com/mailman/listinfo/mercurial
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mercurial 1.5.2 released!

Dave Brosius
In reply to this post by Benoit Boissinot
i deleted my old mercurial directory, and just untar'ed it in the same
place.

Benoit Boissinot wrote:

> On Mon, May 3, 2010 at 1:46 AM, Dave Brosius <[hidden email]> wrote:
>  
>> Hello, perhaps i did something stupid, but after upgrading to 1.5.2 on
>> ubuntu, i get:
>>    
>
> How did you install it?
>  
>> hg --version
>>    
> [snip]
>  
>> ImportError: No module named osutil
>>
>>    
>
> regards,
>
> Benoit
>
>
>  

_______________________________________________
Mercurial mailing list
[hidden email]
http://selenic.com/mailman/listinfo/mercurial
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mercurial 1.5.2 released!

Dave Brosius
Ah, i see, this isn't a binary deployment

tried:

sudo make install /usr/share/mercurial

and getting

python setup.py build
running build
running build_mo
running build_py
running build_ext
building 'mercurial.base85' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c mercurial/base85.c
-o build/temp.linux-i686-2.6/mercurial/base85.o
mercurial/base85.c:12:20: error: Python.h: No such file or directory
mercurial/base85.c: In function ‘b85prep’:
mercurial/base85.c:23: warning: implicit declaration of function ‘memset’
mercurial/base85.c:23: warning: incompatible implicit declaration of
built-in function ‘memset’
mercurial/base85.c: At top level:
mercurial/base85.c:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
mercurial/base85.c:76: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
mercurial/base85.c:147: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘methods’
mercurial/base85.c:156: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘initbase85’
error: command 'gcc' failed with exit status 1
make: *** [build] Error 1


Dave Brosius wrote:

> i deleted my old mercurial directory, and just untar'ed it in the same
> place.
>
> Benoit Boissinot wrote:
>> On Mon, May 3, 2010 at 1:46 AM, Dave Brosius
>> <[hidden email]> wrote:
>>> Hello, perhaps i did something stupid, but after upgrading to 1.5.2 on
>>> ubuntu, i get:
>>
>> How did you install it?
>>> hg --version
>> [snip]
>>> ImportError: No module named osutil
>>>
>>
>> regards,
>>
>> Benoit
>>
>>
>
> _______________________________________________
> Mercurial mailing list
> [hidden email]
> http://selenic.com/mailman/listinfo/mercurial
>

_______________________________________________
Mercurial mailing list
[hidden email]
http://selenic.com/mailman/listinfo/mercurial
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mercurial 1.5.2 released!

Steve Borho
On Sun, May 2, 2010 at 7:47 PM, Dave Brosius <[hidden email]> wrote:

> Ah, i see, this isn't a binary deployment
>
> tried:
>
> sudo make install /usr/share/mercurial
>
> and getting
>
> python setup.py build
> running build
> running build_mo
> running build_py
> running build_ext
> building 'mercurial.base85' extension
> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
> -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c mercurial/base85.c -o
> build/temp.linux-i686-2.6/mercurial/base85.o
> mercurial/base85.c:12:20: error: Python.h: No such file or directory
> mercurial/base85.c: In function ‘b85prep’:
> mercurial/base85.c:23: warning: implicit declaration of function ‘memset’
> mercurial/base85.c:23: warning: incompatible implicit declaration of
> built-in function ‘memset’
> mercurial/base85.c: At top level:
> mercurial/base85.c:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘*’ token
> mercurial/base85.c:76: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘*’ token
> mercurial/base85.c:147: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘methods’
> mercurial/base85.c:156: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘initbase85’
> error: command 'gcc' failed with exit status 1
> make: *** [build] Error 1

You need the python-dev package.

--
Steve Borho
_______________________________________________
Mercurial mailing list
[hidden email]
http://selenic.com/mailman/listinfo/mercurial
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mercurial 1.5.2 released!

Dave Brosius
Thanks, it's working now.



Steve Borho wrote:

> On Sun, May 2, 2010 at 7:47 PM, Dave Brosius <[hidden email]> wrote:
>  
>> Ah, i see, this isn't a binary deployment
>>
>> tried:
>>
>> sudo make install /usr/share/mercurial
>>
>> and getting
>>
>> python setup.py build
>> running build
>> running build_mo
>> running build_py
>> running build_ext
>> building 'mercurial.base85' extension
>> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
>> -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c mercurial/base85.c -o
>> build/temp.linux-i686-2.6/mercurial/base85.o
>> mercurial/base85.c:12:20: error: Python.h: No such file or directory
>> mercurial/base85.c: In function ‘b85prep’:
>> mercurial/base85.c:23: warning: implicit declaration of function ‘memset’
>> mercurial/base85.c:23: warning: incompatible implicit declaration of
>> built-in function ‘memset’
>> mercurial/base85.c: At top level:
>> mercurial/base85.c:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
>> ‘__attribute__’ before ‘*’ token
>> mercurial/base85.c:76: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
>> ‘__attribute__’ before ‘*’ token
>> mercurial/base85.c:147: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
>> ‘__attribute__’ before ‘methods’
>> mercurial/base85.c:156: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
>> ‘__attribute__’ before ‘initbase85’
>> error: command 'gcc' failed with exit status 1
>> make: *** [build] Error 1
>>    
>
> You need the python-dev package.
>
> --
> Steve Borho
> _______________________________________________
> Mercurial mailing list
> [hidden email]
> http://selenic.com/mailman/listinfo/mercurial
>
>
>  

_______________________________________________
Mercurial mailing list
[hidden email]
http://selenic.com/mailman/listinfo/mercurial
Loading...