LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-23-2014, 09:35 AM   #16
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641

# 15 .
Quote:
[root@fedora ns-allinone-2.34]# nam
You will have to explain why you continue the use of root.

See post #14 :
".. all command are to be done as unprivileged user. (Except "make install").

-
 
Old 01-24-2014, 07:08 AM   #17
silinux
LQ Newbie
 
Registered: Jan 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
in root,,there is no problem ns and nam are installed successfully,,i dnt knw understand actually what u taught me
 
Old 01-27-2014, 01:32 AM   #18
silinux
LQ Newbie
 
Registered: Jan 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
hello every one ,,
i work on traffic light signaling ,, i need python script for it and who are trying to modify it ,, i jst want check it ,, how its work in sumo ,, i m thankful to yours share with your ideas ,, thank you
 
Old 01-27-2014, 07:06 AM   #19
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 18 .

Google .. sumo traffic light example ..
https://www.google.com/webhp?hl=all#...+light+example
→ →
Traffic Lights http://sourceforge.net/apps/mediawik...Traffic_Lights
http://sourceforge.net/apps/mediawik...Lights#Example
→ → "Tools for TLS programs import" → `tls_csv2SUMO.py' : <SUMO_HOME>/tools/tls


-

Last edited by knudfl; 01-27-2014 at 07:07 AM.
 
Old 01-27-2014, 09:26 AM   #20
silinux
LQ Newbie
 
Registered: Jan 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
ok ,,i vl successfuly perfom it ,,now i want to modify python sctipt ,, is it possible ? if its then how ?
 
Old 01-27-2014, 01:22 PM   #21
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 20 .

If you have converted your "TLS file" to file.py with tls_csv2SUMO.py :

Learn the Python language, and do your edits.
 
Old 01-30-2014, 11:48 AM   #22
silinux
LQ Newbie
 
Registered: Jan 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
hello, i work on traffic light signaling in sumo ,, so i want count fuel consumption and trip time of vehicle ? so how can i do that ,, its thankful to share your ideas,, thank you
 
Old 02-04-2014, 01:05 AM   #23
silinux
LQ Newbie
 
Registered: Jan 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
hello .. i already instaled sumo 0.12 and now installed sumo 0.16 ,, then i type sumo -gui ,,then it display me sumo 0.12 screen instead of sumo 0.16 ,, i am confused ,, its great to sharing with your ideas .. thank you
 
Old 02-04-2014, 06:33 AM   #24
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
Code:
which sumo | xargs ls -l
to see what you execute, i think there is a symlink not updated
 
Old 02-12-2014, 12:49 AM   #25
silinux
LQ Newbie
 
Registered: Jan 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
hello all , i installed sumo 16 ,, bt whwn i run traci runner.py script then it gives me following error ,
[root@fedora traci_tls]# python runner.py
Loading configuration... done.
(14, 127, 0) OK Goodbye
so plz suggest how to resolve it,thank you .
 
Old 02-18-2014, 01:09 AM   #26
silinux
LQ Newbie
 
Registered: Jan 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
hello ,, i am beginner of python language ,,
i have problem to run python script in sumo ,, it gives me folloeng error ,,
[root@fedora traci_tls]# python runner.py
Traceback (most recent call last):
File "runner.py", line 118, in <module>
run()
File "runner.py", line 91, in run
traci.close()
File "../../../tools/traci/__init__.py", line 418, in close
_sendExact()
File "../../../tools/traci/__init__.py", line 247, in _sendExact
raise TraCIException(prefix[1], _RESULTS[prefix[2]], err)
 
  


Reply

Tags
ns2, sumo



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error while loading shared libraries: libexpat.so.0: cannot open shared object file: Naimbora Linux - General 2 08-02-2013 01:53 PM
error while loading shared libraries: libcrypt.so.1: cannot open shared object file: xmixail Linux - Kernel 15 07-29-2012 08:39 PM
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 05:47 AM
error while loading shared libraries: libhid.so.0: cannot open shared object file: No misungs Linux - Software 4 06-10-2009 12:05 PM
error while loading shared libraries: libdb-4.1.so: cannot open shared object file putquery8581 Linux - Software 1 10-01-2004 07:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration