Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-20-2012, 09:47 AM   #1
Registered: Mar 2012
Posts: 55

Rep: Reputation: Disabled
ns3 run error


I'm trying to execute waf, and I run into this error:
Traceback (most recent call last):
File "/home/sam/repos/ns-3-dev/.waf-1.6.10-84fbc87adc22fe809febcc192afd90b1/waflib/", line 128, in recurse
File "/home/sam/repos/ns-3-dev/wscript", line 803, in build
program_name, dummy_program_argv = wutils.get_run_program(, wutils.get_command_template(env))
File "/home/sam/repos/ns-3-dev/", line 174, in get_run_program
program_obj = find_program(program_name, env)
File "/home/sam/repos/ns-3-dev/", line 62, in find_program
or obj.path.abspath(env).startswith(launch_dir)):
TypeError: abspath() takes exactly 1 argument (2 given)

Is this a bug ?
Old 04-23-2012, 03:07 AM   #2
Registered: Mar 2012
Posts: 55

Original Poster
Rep: Reputation: Disabled
Does anyone know why it thinks 'env' is two arguments ?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
latency in ns3 shanky Linux - Newbie 0 11-10-2011 01:26 AM
error when i modify code:NS3 shanky Linux - Newbie 0 10-03-2011 02:06 AM
HWMP in ns3 shanky Linux - Newbie 1 09-27-2011 05:44 AM
ns3 or GTNetS yida Linux - Networking 2 07-01-2011 03:01 AM
ns3 installation ankscorek Linux - Software 2 03-02-2010 11:05 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration