Hello, You have encountered a known bug in version 0.19.0 which has been fixed in the current svn version. Simply download the mosts recent python code. regards, Jakob
PS: the anwer to your question is only one google-search away (traceexporter 'NoneType' object is not callable -> https://www.mail-archive.com/[email protected]/msg00217.html). 2013/12/26 Maryam Zuhair Habib Al Lawati <[email protected]> > Dear Sumo Users; > I have used trace exporter to generate NS-2 traces from XML file provided > from fcd-output. > > This XML file contains 339 nodes and when I convert it using > traceExporter.py to ns2mobility-output, all what I got are traces for 11 > nodes only.. > > In addition, I get this error message in the command line: '' Traceback > (most recent call last): > File "./traceExporter.py", line 226, in <module> > sys.exit(main(sys.argv)) > File "./traceExporter.py", line 190, in main > vIDm, vehInfo, begin, end, area = runMethod(options.fcd, > options.ns2mobility, ns2.fcd2ns2mobility, options) > File "./traceExporter.py", line 100, in runMethod > ret = writer(procFCDStream(fcdStream, options), o, further) > File "./../../tools/sumolib/output/convert/ns2.py", line 25, in > fcd2ns2mobility > for timestep in inpFCD: > File "./traceExporter.py", line 84, in procFCDStream > if v not in chosen: chosen[v] = random()<options.penetration > TypeError: 'NoneType' object is not callable '' > > please help me, how can I fix these two problems? > regards > Maryam > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
