[
Date Prev ][
Date Next ][
Thread Prev ][
Thread Next ][
Date Index ][
Thread Index ]
[
List Home ]
Re: [sumo-user] Previous stage output not available in TraCI
Hello Jakob,
I tried the version was updated on August 16 and found the same errors.
Then, as per your instructions, I ran "make clean" followed by "make VERBOSE=1" inside cmake-build folder. Again, the ended in errors.
The output of "make VERBOSE=1" instruction is attached herewith. Note that I am using Ubuntu 18.04 as operating system.
thanks and regards,
Dillip Rout
in the cmake-build folder:
Please run 'make clean'
and then post the output of
'make VERBOSE=1'
The message "
Makefile:140: recipe for target 'all' failed" is a summary message.
a) post the output of the make-run to the list
sudo make -j$( grep -c ^processor /proc/cpuinfo ) |& tee makefile-output.txt
Ended in following error:
Makefile:140: recipe for target 'all' failed make: *** [all] Error 2
b) run step 5 twice (the second step compiles only the erroneous step again, so the second message might show up)
sudo make -j$( grep -c ^processor /proc/cpuinfo )
sudo make
Ended in Error:
Makefile:140: recipe for target 'all' failed make: *** [all] Error 2
All the above errors are respect to August 15 version.
d) Someone else in this user group has an idea
Hello Harald,
No, I did not get any other errors. Should I try other
version?
thanks and regards,
Dillip Rout
Hello Dillip,
there must be another error in the output of the
makefile.
If you run step 5 without the -j option (just sudo make),
the other error should be at the end too.
Greetings, Harald
Am 07.08.20 um 07:06 schrieb Tripplanner Mumbai:
Hello
Jakob,
Thank
you for taking so much of effort to correct the null
pointer.
I
downloaded the latest version of August 5 and
followed the following steps for installing SUMO on
my Ubuntu 18.04 machine.
sudo apt-get install cmake python g++ libxerces-c-dev libfox -1.6 -dev libgdal-dev libproj-dev libgl2ps-dev swig
export SUMO_HOME= "$PWD/sumo"
sudo mkdir sumo/ build /cmake- build && cd sumo/ build /cmake- build
sudo cmake ../..
sudo make -j$( grep -c ^processor /proc/cpuinfo )
sudo make install
However,Step-5 resulted in the following error while installation:
[ 2%] Linking CXX static library libutils_xml.a
[ 2%] Built target utils_xml
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Kindly look into the issue.
with best regards,
Dillip Rout
Finally, I installed SUMO through the
command line (sudo apt install SUMO) and tried
to get the previous stage data through TraCI
but again the same issues persist here, i.e.,
it goes for exception and the program stops.
It is a prolonged question which is yet to
be answered by anyone, will I get an answer
for it?
Again, accessing previous stage
data leads to error when I tried with the
latest development version which was updated
on July 9.
Hello,
I had raised this question long
time ago that the TraCI program is
unable to find the previous stage
information incase the current stage
has been completed successfully.
Particularly I was trying to extract
the following information from the
previous stage.
print("previous
stage","type",prevStage.type,"dest",prevStage.destStop,"travel
time", prevStage.travelTime,
"distance",prevStage.length,"depart
time", prevStage.depart)
Unfortunately, the output does
not contain all the required
information, as shown below.
previous stage type
3 dest busStop#12 travel time -1.0
distance 672.437702712895 depart
time -0.001
Surprisingly, when I
tried to execute the TraCI code
(demo-i.py) after installing the
latest version (updated on July
5), I got some exceptions
now which were not there in the
previous versions. In particular I
am getting the following error:
Error in Previous
Stage retrieval, so, skip this
personID: 2229
, which is due
to line number 97 in my TraCI
program.
Kindly check the issues in the
development version and suggest to me.
I am enclosing the network and
corresponding codes for tracing the
issue.
regards,
Dillip Rout
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
/usr/bin/cmake -H/home/dhrien/sumo -B/home/dhrien/sumo/build/cmake-build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/dhrien/sumo/build/cmake-build/CMakeFiles /home/dhrien/sumo/build/cmake-build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/dhrien/sumo/build/cmake-build'
make -f src/utils/xml/CMakeFiles/utils_xml.dir/build.make src/utils/xml/CMakeFiles/utils_xml.dir/depend
make[2]: Entering directory '/home/dhrien/sumo/build/cmake-build'
cd /home/dhrien/sumo/build/cmake-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/dhrien/sumo /home/dhrien/sumo/src/utils/xml /home/dhrien/sumo/build/cmake-build /home/dhrien/sumo/build/cmake-build/src/utils/xml /home/dhrien/sumo/build/cmake-build/src/utils/xml/CMakeFiles/utils_xml.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/dhrien/sumo/build/cmake-build'
make -f src/utils/xml/CMakeFiles/utils_xml.dir/build.make src/utils/xml/CMakeFiles/utils_xml.dir/build
make[2]: Entering directory '/home/dhrien/sumo/build/cmake-build'
make[2]: Nothing to be done for 'src/utils/xml/CMakeFiles/utils_xml.dir/build'.
make[2]: Leaving directory '/home/dhrien/sumo/build/cmake-build'
[ 2%] Built target utils_xml
make -f src/CMakeFiles/generate-version-h.dir/build.make src/CMakeFiles/generate-version-h.dir/depend
make[2]: Entering directory '/home/dhrien/sumo/build/cmake-build'
cd /home/dhrien/sumo/build/cmake-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/dhrien/sumo /home/dhrien/sumo/src /home/dhrien/sumo/build/cmake-build /home/dhrien/sumo/build/cmake-build/src /home/dhrien/sumo/build/cmake-build/src/CMakeFiles/generate-version-h.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/dhrien/sumo/build/cmake-build'
make -f src/CMakeFiles/generate-version-h.dir/build.make src/CMakeFiles/generate-version-h.dir/build
make[2]: Entering directory '/home/dhrien/sumo/build/cmake-build'
[ 2%] Generating version.h
cd /home/dhrien/sumo/build/cmake-build/src && /usr/bin/python /home/dhrien/sumo/src/../tools/build/version.py /home/dhrien/sumo/build/cmake-build/src
version control file '/home/dhrien/sumo/.git/index' not found
trying to generate version file /home/dhrien/sumo/build/cmake-build/src/version.h from existing header
src/CMakeFiles/generate-version-h.dir/build.make:60: recipe for target 'src/version.h' failed
make[2]: Leaving directory '/home/dhrien/sumo/build/cmake-build'
CMakeFiles/Makefile2:370: recipe for target 'src/CMakeFiles/generate-version-h.dir/all' failed
make[1]: Leaving directory '/home/dhrien/sumo/build/cmake-build'
Makefile:140: recipe for target 'all' failed