[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] Previous stage output not available in TraCI
|
- From: Michael Behrisch <oss@xxxxxxxxxxx>
- Date: Sat, 22 Aug 2020 18:25:27 +0200
- Autocrypt: addr=oss@xxxxxxxxxxx; prefer-encrypt=mutual; keydata= xsDiBFLSvucRBACGsasS4GeIWs1CFNTOYmp3ScQ2ZTJLJWQxhPliwtHTzLsErYu9Y7e8qDov iHFviYyaNuceUNoACm1e4MT4eu0DmM2Wk3y/jjD6hfm7L0EZNPxQhj+CJf2oZAm2ezCe7/si xZ2d7TCO8yWavOGbF0EVi/ZDIJqVgupu6WBpv/NCewCg65HQiS1wm+1w1MdFYxKCmXzbv08D /iWXX3tzabbCrLlUum8hBgBpJEHRtlic2uaGsKm8Fize4tfLZkTBbTYLYXfcx2Oq9+lINPTW h9jnbCjAjErRWLTjNTQjel0JnDryCnqabub/R3wScR/EHRDBeS9L6YRj0xdVd2qIaArtSYRR auKPNc4M2qZNEFSM37cXC7avhpdeA/99oJf4qyVly4RxHmekAmj9UJjRx17x9xX8t9uzUuSt AeTh+kQ3o5jK7veU6/F/+pPyi96EOzym9BJA8pgXC8hLWNjOajI10filkdQ26QsfHOpUdPSZ 4Duyw9Ayj8loagEnnAONmU/xE0QlyVBANIut0W+SNqPScYXfnBbVOaG3Hc0mTWljaGFlbCBC ZWhyaXNjaCA8bWljaGFlbEBiZWhyaXNjaC5kZT7CZgQTEQIAJgIbIwcLCQgHAwIBBhUIAgkK CwQWAgMBAh4BAheABQJS0sKXAhkBAAoJEDwQ/pbRcKYp+SEAoMJSvUzfk3u6EA1nMlMVSk85 nHhoAJ0VE5xLi2ni8j9wdx+uga7XGLtjhs7ATQRS0r7nEAQAkQLdzlu3i/Ddziadm2c/60ZX bcY3FYhHHfsKUHC/QING+lu3uHG0nPaElPTAHTr8UdFMbmpXkRs9+1v1RAvHBWW95BbUXZeu oBsoCm+4Jdktu+PeVxGKhOwQRdR30A4y/bIeRn7iMzkZKoQh0lE3ZEbs0T8TUHBGBUqwEhIv Y0MAAwUD/RXrkwtUiR61/bT96eMaxGtO15AqvlM8DYQ3Xs6EH09QlGzr/i0+usi01wGoh13p YGjzEDtTqO+lNs9AtS7nZAHA3cCWzLmdEXw6EY7IH4X7zOpKoj+JtLNjUd2Nzvhyl48LT217 g8GmCACL6Wo/G+fZ+30Mny+gWbDtEGXNIv7fwkkEGBECAAkFAlLSvucCGwwACgkQPBD+ltFw pimNZQCgnN5oibnjl7r2SVle6hgUMcckfN4AoMYRjy/Tqz9tq8TSUqNcOTjlMR7D
- Delivered-to: sumo-user@xxxxxxxxxxx
- List-archive: <https://www.eclipse.org/mailman/private/sumo-user>
- List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
- List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
- List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0
Hi,
I am pretty sure there is some old version of sumolib on your system
which python is finding. Nevertheless I updated version.py now in a way
that it will at least continue in this case. Please retry after a git
pull or with a fresh download of the nightly zip tomorrow.
Best regards,
Michael
Am 18.08.20 um 06:08 schrieb Tripplanner Mumbai:
> Hello,
>
> Hi,
> can you try to run tools/build/version.py manually and post the output?
>
> version control file '/home/dhrien/sumo/.git/index' not found
> trying to generate version file /home/dhrien/sumo/src/version.h from
> existing header
> Traceback (most recent call last):
> File "sumo/tools/build/version.py", line 86, in <module>
> main()
> File "sumo/tools/build/version.py", line 82, in main
> create_version_file(versionFile, sumolib.version.fromVersionHeader())
> AttributeError: module 'sumolib.version' has no attribute
> 'fromVersionHeader'
>
>
> Also please make sure you do not have any old sumolib installed.
>
> A series of files and folders are present under
> /usr/share/sumo/tools/sumolib/
> But SUMO is not installed as I tried to remove it through 'sudo apt
> remove --purge sumo'
>
>
> Best regards,
> Michael
>
> Am 2020-08-17 14:55, schrieb Tripplanner Mumbai:
> > 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
> >
> >
> > On Mon, 17 Aug 2020 at 14:42, Jakob Erdmann <namdre.sumo@xxxxxxxxx
> <mailto:namdre.sumo@xxxxxxxxx>>
> > wrote:
> >
> >> in the cmake-build folder:
> >> Please run 'make clean'
> >> and then post the output of
> >> 'make VERBOSE=1'
> >>
> >> Am So., 16. Aug. 2020 um 18:35 Uhr schrieb Tripplanner Mumbai <
> >> tripplanner.dr@xxxxxxxxx <mailto:tripplanner.dr@xxxxxxxxx>>:
> >>
> >>> 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
> >>>
> >>>> c) try a newer version
> >>>>
> >>> 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
> >>>>
> >>>> On Fri, 7 Aug 2020 at 11:20, Harald Schaefer
> <fechsaer@xxxxxxxxx <mailto:fechsaer@xxxxxxxxx>>
> >>>> wrote:
> >>>>
> >>>>> 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.
> >>>>>
> >>>>> 1.
> >>>>>
> >>>>> sudo apt-get install cmake python g++ libxerces-c-dev
> >>>>> libfox-1.6-dev
> >>>>> libgdal-dev libproj-dev libgl2ps-dev swig
> >>>>> 2.
> >>>>>
> >>>>> export SUMO_HOME="$PWD/sumo"
> >>>>> 3.
> >>>>>
> >>>>> sudo mkdir sumo/build/cmake-build && cd sumo/build/cmake-build
> >>>>> 4.
> >>>>>
> >>>>> sudo cmake ../..
> >>>>> 5.
> >>>>>
> >>>>> sudo make -j$(grep -c ^processor /proc/cpuinfo)
> >>>>> 6.
> >>>>>
> >>>>> 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
> >>>>>
> >>>>>
> >>>>> On Mon, 3 Aug 2020 at 19:19, Jakob Erdmann
> <namdre.sumo@xxxxxxxxx <mailto:namdre.sumo@xxxxxxxxx>>
> >>>>> wrote:
> >>>>>
> >>>>>> Please try again with the latest development version tomorrow (
> >>>>>> https://github.com/eclipse/sumo/issues/7336).
> >>>>>>
> >>>>>> Am Mi., 22. Juli 2020 um 14:08 Uhr schrieb Tripplanner Mumbai <
> >>>>>> tripplanner.dr@xxxxxxxxx <mailto:tripplanner.dr@xxxxxxxxx>>:
> >>>>>>
> >>>>>>> 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?
> >>>>>>>
> >>>>>>> On Sat, 11 Jul 2020 at 11:53, Tripplanner Mumbai <
> >>>>>>> tripplanner.dr@xxxxxxxxx <mailto:tripplanner.dr@xxxxxxxxx>>
> wrote:
> >>>>>>>
> >>>>>>>> Again, accessing previous stage data leads to error when I
> tried
> >>>>>>>> with the latest development version which was updated on
> July 9.
> >>>>>>>>
> >>>>>>>> On Thu, 9 Jul 2020 at 17:20, Tripplanner Mumbai <
> >>>>>>>> tripplanner.dr@xxxxxxxxx <mailto:tripplanner.dr@xxxxxxxxx>>
> wrote:
> >>>>>>>>
> >>>>>>>>> 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*
> >>>>>>>>>
> >>>>>>>>> @Jakob replied: that information was previously missing from
> >>>>>>>>> the
> >>>>>>>>> stage output
> (https://github.com/eclipse/sumo/issues/7274). You
> >>>>>>>>> can download the updated version tomorrow and find out the
> >>>>>>>>> desired result.
> >>>>>>>>>
> >>>>>>>>> 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 <mailto:sumo-user@xxxxxxxxxxx>
> >>>>>>> To unsubscribe from this list, visit
> >>>>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
> >>>>>>>
> >>>>>> _______________________________________________
> >>>>>> sumo-user mailing list
> >>>>>> sumo-user@xxxxxxxxxxx <mailto:sumo-user@xxxxxxxxxxx>
> >>>>>> To unsubscribe from this list, visit
> >>>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
> >>>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> sumo-user mailing listsumo-user@xxxxxxxxxxx
> <mailto:listsumo-user@xxxxxxxxxxx>
> >>>>> To unsubscribe from this list, visit
> >>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
> >>>>>
> >>>>> _______________________________________________
> >>>>> sumo-user mailing list
> >>>>> sumo-user@xxxxxxxxxxx <mailto:sumo-user@xxxxxxxxxxx>
> >>>>> To unsubscribe from this list, visit
> >>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
> >>>>>
> >>>>
> >>>> _______________________________________________
> >>>> sumo-user mailing listsumo-user@xxxxxxxxxxx
> <mailto:listsumo-user@xxxxxxxxxxx>
> >>>> To unsubscribe from this list, visit
> >>>> https://www.eclipse.org/mailman/listinfo/sumo-user
> >>>>
> >>>> _______________________________________________
> >>>> sumo-user mailing list
> >>>> sumo-user@xxxxxxxxxxx <mailto:sumo-user@xxxxxxxxxxx>
> >>>> To unsubscribe from this list, visit
> >>>> https://www.eclipse.org/mailman/listinfo/sumo-user
> >>>>
> >>> _______________________________________________
> >>> sumo-user mailing list
> >>> sumo-user@xxxxxxxxxxx <mailto:sumo-user@xxxxxxxxxxx>
> >>> To unsubscribe from this list, visit
> >>> https://www.eclipse.org/mailman/listinfo/sumo-user
> >>>
> >> _______________________________________________
> >> sumo-user mailing list
> >> sumo-user@xxxxxxxxxxx <mailto:sumo-user@xxxxxxxxxxx>
> >> To unsubscribe from this list, visit
> >> https://www.eclipse.org/mailman/listinfo/sumo-user
> >>
> >
> > _______________________________________________
> > sumo-user mailing list
> > sumo-user@xxxxxxxxxxx <mailto:sumo-user@xxxxxxxxxxx>
> > To unsubscribe from this list, visit
> > https://www.eclipse.org/mailman/listinfo/sumo-user
>
Attachment:
signature.asc
Description: OpenPGP digital signature