Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] dealing with errors

- 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 <alimrz222@xxxxxxxxx>:
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 <fechsaer@xxxxxxxxx> 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
> > 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

Back to the top