[Ns-developers] Bug 538 solution
Faker Moatamri
faker.moatamri at sophia.inria.fr
Wed May 27 07:29:03 PDT 2009
Tom Henderson wrote:
> 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
>>>> 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 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
>
> Regards,
> Tom
I actually need root access to install the packages required.
I accessed the nsnam.org computer and it is missing some dependencies
Thanks
Faker
More information about the Ns-developers
mailing list