Thank you Jakob for your help and patience, randomTrips.py is working well now..


but now after I got the routes file I'm trying to use the normal sumo 
configuration as it shows in the following command: "sumo -n 
(filename)t.net.xml -r (filename).rou.xml -a (filename).add.xml -v "

I get the following error:

Warning: Environment variable SUMO_HOME is not set, schema resolution will use 
slow website lookups.
Error: An exception occurred! Type:NetAccessorException, Message:The 
host/address 'sumo-sim.org' could not be resolved
 In file 'routes.rou.xml'
 At line/column 1/0.

Quitting (on error).


however sumo is working well with other scenarios

so what is the problem? is it the new randomTrips.py?

regards

Maryam

________________________________
From: Jakob Erdmann <[email protected]>
Sent: Monday, May 19, 2014 7:46 AM
To: Maryam Zuhair Habib Al Lawati
Cc: [email protected]
Subject: Re: [sumo-user] randomTrips.py

Hello,
you are still using the old version of 'randomTrips.py'. (in that version -t 
was used as the trip-id-prefix).
Please make sure you use the version from the link i sent you or use the latest 
repository version:
http://sumo-sim.org/trac.wsgi/browser/trunk/sumo/tools/trip/randomTrips.py
it has some minor fixes and will be released as 0.21.0 soon.
regards,
Jakob


2014-05-18 9:28 GMT+02:00 Maryam Zuhair Habib Al Lawati 
<[email protected]<mailto:[email protected]>>:

Hello Jakob

sorry for bothering you with my questions

I have tried what you have told in the last email

but I still get errors:

1- when I want to generate a route file, the error is as following:

"Error: Expected whitespace
 In file 'trips.trips.xml'
 At line/column 5/20.

Quitting (on error)."


2- on the other hand, when I generate a trips file, the file contains red 
fields as following:

"<trips>
    <trip id="=departLane="free" type="typedist1" 0" depart="0.00" 
from="20464398#0" to="20464398#4" speed_types.add.xml/>


the command I have used is as following: "./randomTrips.py -n 
(filename).net.xml -b 0 -e 300 -p 1 -v -t='departLane="free" type="typedist1" ' 
-a speed_types.add.xml -o trp.trips.xml"


any ideas??

regards

Maryam


________________________________
From: Jakob Erdmann 
<[email protected]<mailto:[email protected]>>
Sent: Monday, May 12, 2014 12:39 PM

To: Maryam Zuhair Habib Al Lawati
Cc: [email protected]<mailto:[email protected]>
Subject: Re: [sumo-user] randomTrips.py


Hello,

there are several problems with your command

- attribute departLane is misspelled

- the distribution 'typedist1' is not referenced

try "./randomTrips.py -n (filename).net.xml -v -t='departLane="free" 
type="typedist1" ' -a speed_types.add.xml -r (filename).rou.xml "

regards,

Jakob



2014-05-12 9:07 GMT+02:00 Maryam Zuhair Habib Al Lawati 
<[email protected]<mailto:[email protected]>>:

Hello,

sorry for the late response

Jabob, I'm aware of the changes that were done in the newest version of 
randomTrips.py and I have used them, the errors I got after utilizing the 
newest parameters..


The command I have used is as following:

"./randomTrips.py -n (filename).net.xml -v -t='depatLane="free"' -a 
speed_types.add.xml -r (filename).rou.xml "


I have attached to this email the additional file that I'm using..

also, the option -t is not working properly, the error that appears : " Error: 
Expected an attribute name
 In file 'trips.trips.xml'
 At line/column 5/65.
"

thank you for your help

regards

Maryam

________________________________
From: Jakob Erdmann 
<[email protected]<mailto:[email protected]>>
Sent: Thursday, May 08, 2014 6:11 AM

To: Maryam Zuhair Habib Al Lawati
Cc: [email protected]<mailto:[email protected]>
Subject: Re: [sumo-user] randomTrips.py

Hello,
in the version I sent you, some option names were changed to increase 
consistency with other sumo applications. Possibly, this is interfering with 
your command. Refer to the change log for details: 
http://sumo-sim.org/wiki/ChangeLog#SVN. If it still doesn't work, please report 
the exact command you used as well as the contents of the additiona-file.
regards,
Jakob


2014-05-07 13:32 GMT+02:00 Maryam Zuhair Habib Al Lawati 
<[email protected]<mailto:[email protected]>>:

Hello Jakob

I had replaced the original randomTrips.py with the file you sent

but I noticed 2 errors:

1- the output of trips file is an empty file with no vehicles or trips

2- if I want the output file to be a route file (by using the option -r) , I 
get an error as following: " no route input specified or all routes were 
invalid"


when I worked with randomTrips.py in the oldest version of sumo 0.19.0, I did 
not face these errors and it worked perfectly

any ideas on how to fix these errors?

regards

Maryam

________________________________
From: Jakob Erdmann 
<[email protected]<mailto:[email protected]>>
Sent: Monday, May 05, 2014 6:35 AM

To: Maryam Zuhair Habib Al Lawati
Cc: [email protected]<mailto:[email protected]>
Subject: Re: [sumo-user] randomTrips.py

Ooops,
I forgot that the added functionality is so new, you cannot find it in the 
latest release yet. You may use this version of randomTrips.py (simpy replace 
the original file): 
http://sumo-sim.org/trac.wsgi/export/16285/branches/pedestrians/tools/trip/randomTrips.py

regards,
Jakob


2014-05-04 18:07 GMT+02:00 Maryam Zuhair Habib Al Lawati 
<[email protected]<mailto:[email protected]>>:
Hello Jakob
Thank you for your replay..
I have tried adding the additional file as stated in the link
What I get is this error :"randomTrips.py: error no such option 
--additional-file"
I have checked randomTrips.py help and I did not find this option ..
How can I fix this error?
P.s I'm using sumo 0.19.0 .. I even tried to do the same with the newest 
version 0.20.0 , I got the same error ..
Regards
Maryam
________________________________
From: Jakob Erdmann 
<[email protected]<mailto:[email protected]>>
Sent: Monday, April 28, 2014 6:53:37 AM
To: Maryam Zuhair Habib Al Lawati
Cc: [email protected]<mailto:[email protected]>
Subject: Re: [sumo-user] randomTrips.py

Hello,
see the updated documentation at 
http://sumo-sim.org/wiki/Tools/Trip#randomTrips.py
Simply define the distribution in an additional file and load that.
regards,
Jakob


2014-04-27 10:38 GMT+02:00 Maryam Zuhair Habib Al Lawati 
<[email protected]<mailto:[email protected]>>:
Dear all sumo users;

I'm using randomTrips.py to generate random trips with OSM maps

but I would like to define my own set of vehicle types by using 
vTypeDistribution

How can I use this parameter with randomTrips.py??


regards

Maryam
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
sumo-user mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/sumo-user





------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to