- getParameterWithKey is only supported since 1.9 (and will not return junction shape) - junction.getShape must be written with a capital 'S'
Am Do., 13. Mai 2021 um 14:23 Uhr schrieb ali mirzaei <[email protected]>: > Hi Harald, > I have just installed the 1.8.0 version, not any other one. Does it > put me into trouble in this case? > > Sincerely, > Ali > > On Thu, May 13, 2021 at 12:13 PM Harald Schaefer <[email protected]> > wrote: > > > > Hi Ali, > > > > usually this is a version mismatch between traci and sumo. > > > > Have you two versions of sumo? > > > > Uninstall the old ones or make sure that SUMO_HOME points to the newer > > installation. > > > > Greetings, Harald > > > > Am 13.05.21 um 00:19 schrieb ali mirzaei: > > > Hello everyone, > > > I don't know how to deal with the following functions and their > > > subsequent errors: > > > 1- print(traci.junction.getParameterWithKey('j1','shape')) > > > Error: Answered with error to command 0xa9: Get Junction Variable: > > > unsupported variable 0x3e specified > > > 2- print(traci.junction.getshape('j1')) > > > AttributeError: 'JunctionDomain' object has no attribute 'getshape' > > > Any help would be appreciated. > > > > > > Regards, > > > Ali > > > _______________________________________________ > > > sumo-user mailing list > > > [email protected] > > > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user > > _______________________________________________ > > sumo-user mailing list > > [email protected] > > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
