Bug 1694 - Manual to run ns-3 from python contains a wrong file path for file mixed-wireless.py
Manual to run ns-3 from python contains a wrong file path for file mixed-wire...
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: documentation
ns-3-dev
All All
: P5 normal
Assigned To: Tom Henderson
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-05 06:41 UTC by moijes12
Modified: 2013-06-12 11:46 UTC (History)
1 user (show)

See Also:


Attachments
Patch correcting path to file mixed-wireless.py (771 bytes, patch)
2013-06-05 06:41 UTC, moijes12
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description moijes12 2013-06-05 06:41:37 UTC
Created attachment 1607 [details]
Patch correcting path to file mixed-wireless.py

If we look at  ns-3-allinone/ns-3-dev/doc/manual/source/python.rst, under section "Running Python Scripts", we have the below example

 ./waf --shell
 python examples/mixed-wireless.py

Now, file mixed-wireless.py is in folder examples/wireless and therefore the command should be 

 ./waf --shell
 python examples/wireless/mixed-wireless.py

I have attached a patch with the changes.
Comment 1 Tom Henderson 2013-06-12 11:46:53 UTC
fixed in 9824:d6bdd8091038