Hello,
this is probably because you are using python 3.0 but should be using 2.7
regards,
Jakob

2013/10/29 Eric Lienert <[email protected]>:
> I am new to SUMO and I have been having problems with making this tutorial
> work correctly.  I have installed all the SUMO components to my knowledge
> but I am getting an error when I attempt to execute
>
> the runner.py file for the tutorial.
>
>
> I get the following error:
>
>
>
> Traceback (most recent call last):
>   File
> "I:\SeniorProject\sumoWinBin\SUMO_HOME\docs\tutorial\traci_tls\runner.py",
> line 27, in <module>
>     sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..',
> '..', '..', "tools")) # tutorial in tests
> NameError: name '__file__' is not defined
>
>
>
> I have experience with python but it did not deal with the system and OS as
> this program does.  Thus, I am not sure if this is a problem in python or
> with my SUMO set-up.
>
> Any help would be greatly appreciated.
>
> Thank you
> ------------------------------------------------------------------------------
> Android is increasing in popularity, but the open development platform that
> developers love is also attractive to malware creators. Download this white
> paper to learn more about secure code signing practices that can help keep
> Android apps secure.
> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to