[Ns-developers] Bug 538 solution
tomh at tomh.org
Wed May 27 06:50:58 PDT 2009
Faker Moatamri wrote:
> Tom Henderson wrote:
>> Faker.Moatamri at sophia.inria.fr wrote:
>>> Hi All,
>>> Please find attached the loc_info.py that solves the bug 538. It allows
>>> the display and generation of post script graph that can be used as a
>>> cronjob to generate automatically the graph on the first page of
>>> For usage and options you just execute : locinfo.py -h.
>>> I recommand the following usage:
>>> locinfo.py -r /path/to/local/repository -o /path/to/psfile -n
>>> -n option will prevent it from displaying the graph and will only
>>> the file.
>>> Best regards
>> Thanks for doing this, but in the past (and also even now) I can not
>> run this program successfully on any of the machines I test it on.
>> For instance, on www.nsnam.org
>> tomh at nsnam ~]$ ./locinfo.py -h
>> Traceback (most recent call last):
>> File "./locinfo.py", line 8, in <module>
>> from mercurial import error
>> ImportError: cannot import name error
>> Can you get it to run on www.nsnam.org?
>> - Tom
> Well this program needs two modules at least to be installed for python:
> mercurial module and gnuplot-py module.
> Download and install on the machine gnuplot:
> Download and install mercurial python support:
I think you may be suggesting that perhaps the default mercurial package
installation lacks enough python support; presently, there is a
mercurial 1.1.1 package installed. If so, we can try to install
mercurial from source.
> I think I don't have access to www.nsnam.org.
it is the same as code.nsnam.org
More information about the Ns-developers