Closed divakar5 closed 3 years ago
Possibly the script inet_featuretool
is simply lacking execution permissions, for whatever reason. You can add these permissions via chmod +x extern/inet/inet_featuretool
called from Artery's root directory.
Thanks for the quick support!
I tried the above solution you mentioned, after that I'm getting another error as
divakar@divakar:~/artery/build$ cmake --build . [ 0%] Generating ../extern/inet/.oppfeaturestate /usr/bin/env: ‘python3\r’: No such file or directory make[2]: [CMakeFiles/INET.dir/build.make:927: ../extern/inet/.oppfeaturestate] Error 127 make[1]: [CMakeFiles/Makefile2:563: CMakeFiles/INET.dir/all] Error 2 make: *** [Makefile:141: all] Error 2
Install python3 on your system then.
Hi, I already have python 3.8.5 and i also had python 2..7 hence after the above error I removed python 2.7. still I'm having the same error.
Maybe this answer helps you: https://askubuntu.com/a/896880 Seems like your git clone completely went wrong as file permissions and line endings are broken. I suggest cloning the repository again.
Sure Sir, I'll clone the repo again and let you know the result. Thanks for the help, much appreciated!
Hi Sir, The issue resolved, as you told it was due to corruption of the Git clone. after recloning, the issue got resolved. I tried simulating an Artery example, only Qtenv popped but Sumo didn't get started, I added the below line in Omnetpp.ini (veins example).
*.traci.launcher.sumo = "sumo-gui"
Note: (I have already installed sumo)
your guidance will be much appreciated, thank you
Do you see any error messages in the logging panel? Is SUMO really not started or just without GUI?
There were no errors and Sumo didn't start at all. Qtenv worked as expected.
No error message and no vehicle nodes on the Qtenv canvas? I have no idea how I could help you with this little information.
Hi Sir, I tried simulating Veins Example. I also launched sumo using the script but after triggering 'run' on Qtenv I'm facing below errors.
You are not using Artery but Veins. Neither sumo-launchd.py
nor veins::TraCIScenarioManagerLaunchd
are related to Artery. You should ask questions related to Veins at their project site.
I got this error at the very final stage of Artery Build, I searched about this but no help yet. Could you please see if you have an idea on this? I have installed all the necessary dependencies to build artery.
divakar@divakar:~/artery/build$ cmake --build . [ 0%] Generating ../extern/inet/.oppfeaturestate /bin/sh: 1: ./inet_featuretool: Permission denied make[2]: [CMakeFiles/INET.dir/build.make:927: ../extern/inet/.oppfeaturestate] Error 126 make[1]: [CMakeFiles/Makefile2:563: CMakeFiles/INET.dir/all] Error 2 make: *** [Makefile:141: all] Error 2