dileepramesh / AODV

Ad hoc On-Demand Distance Vector Routing Protocol implementation in python
22 stars 14 forks source link

No such file or directory: 'x-terminal-emulator' #1

Open manpan opened 10 years ago

manpan commented 10 years ago

I am compiling the code and I have come across an error: No such file or directory: 'x-terminal-emulator' flagged due to the following line:

cmd = "x-terminal-emulator -e 'sudo python3.2 node.py " + str(n) + " " + node_id + "'"

Any quick tips on how I can address this? (I am using MAC OS X).

Best,

AveryLiu commented 9 years ago

I have the same problem and here is my stack trace:

Traceback (most recent call last): File "main.py", line 24, in process = subprocess.Popen(shlex.split(cmd), stdout=subprocess.PIPE) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 711, in init errread, errwrite) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1308, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory shell returned 1

I am using OS X too.

sakthi535 commented 1 year ago

Hi, I came across this repository as I was interested in working with AODV protocols and faced same issue when I ran the project in Windows. But the same was not present when executed with Ubuntu 22 through WSL for windows 11.

My understanding is that the command x-terminal-emulator is a Linux specific command and might not be supported is other operating systems.