[petsc-users] An error comes up while updating

Satish Balay balay at mcs.anl.gov
Tue Jan 1 19:37:28 CST 2013


looks like your mercurial install is broken [and needs a reinstall?]

My system install of mercurial [2.4.1] has 'osutil' at:

>>>>>>>
asterix:/home/balay>rpm -ql mercurial |grep osutil
/usr/lib64/python2.7/site-packages/mercurial/osutil.so
asterix:/home/balay>
<<<<<<<

Satish

On Tue, 1 Jan 2013, Alan wrote:

> Thanks,
>      However, here I have another little question on the mercurial:
> Traceback (most recent call last):
>   File "/home/zlwei/soft/mercurial/mercurial-1.8.3/hg", line 38, in ?
>     mercurial.dispatch.run()
>   File "/home/zlwei/soft/mercurial/mercurial-1.8.3/mercurial/dispatch.py",
> line 16, in run
>     sys.exit(dispatch(sys.argv[1:]))
>   File "/home/zlwei/soft/mercurial/mercurial-1.8.3/mercurial/dispatch.py",
> line 21, in dispatch
>     u = uimod.ui()
>   File "/home/zlwei/soft/mercurial/mercurial-1.8.3/mercurial/ui.py", line 35,
> in __init__
>     for f in util.rcpath():
>   File "/home/zlwei/soft/mercurial/mercurial-1.8.3/mercurial/util.py", line
> 1346, in rcpath
>     _rcpath = os_rcpath()
>   File "/home/zlwei/soft/mercurial/mercurial-1.8.3/mercurial/util.py", line
> 1320, in os_rcpath
>     path = system_rcpath()
>   File "/home/zlwei/soft/mercurial/mercurial-1.8.3/mercurial/posix.py", line
> 47, in system_rcpath
>     path.extend(rcfiles(os.path.dirname(sys.argv[0]) +
>   File "/home/zlwei/soft/mercurial/mercurial-1.8.3/mercurial/posix.py", line
> 36, in rcfiles
>     rcs.extend([os.path.join(rcdir, f)
>   File "/home/zlwei/soft/mercurial/mercurial-1.8.3/mercurial/demandimport.py",
> line 75, in __getattribute__
>     self._load()
>   File "/home/zlwei/soft/mercurial/mercurial-1.8.3/mercurial/demandimport.py",
> line 47, in _load
>     mod = _origimport(head, globals, locals)
> ImportError: No module named osutil
> 
>     It happens when I'm trying to do 'hg pull -u'.  Do you have any idea on
> this.
> 
> thanks,
> Alan
> > fixed now
> > 
> > satish
> > 
> > On Tue, 1 Jan 2013, Zhenglun (Alan) Wei wrote:
> > 
> > > Dear folks,
> > >       I had a problem when I was trying to update the PETSc. It says that:
> > > *******************************************************************************
> > >           UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for
> > > details):
> > > 
> > > -------------------------------------------------------------------------------
> > > PETSc makefiles contain mistakes or files are missing on filesystem.
> > > Makefile contains directory not on filesystem: src/snes/utils: ['mesh']
> > > Possible reasons:
> > >          1. Files were deleted locally, try "hg update".
> > >          2. Files were deleted from mercurial, but were not removed from
> > > makefile. Send mail to petsc-maint at mcs.anl.gov.
> > >          3. Someone forgot "hg add" new files. Send mail to
> > > petsc-maint at mcs.anl.gov.
> > > *******************************************************************************
> > >        And, here is the configure.log attached.
> > > 
> > > Thank you so much and Happy New Year !!!
> > > Alan
> > > 
> > > 
> 
> 



More information about the petsc-users mailing list