[Ns-developers] Bug 538 solution
Faker Moatamri
faker.moatamri at sophia.inria.fr
Wed May 27 01:39:19 PDT 2009
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
>> www.nsnam.org.
>> 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
>> generate
>> the file.
>> Best regards
>> Faker
> =
> Faker,
> 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
Hello,
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:
http://sourceforge.net/project/showfiles.php?group_id=17434
Download and install mercurial python support:
http://pypi.python.org/pypi/Mercurial
I think I don't have access to www.nsnam.org.
Here is a latest version of locinfo.py.
Best regards
Faker
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: locinfo.py
Url: http://mailman.isi.edu/pipermail/ns-developers/attachments/20090527/c17b7025/locinfo.ksh
More information about the Ns-developers
mailing list