Help Move & Sumo

I run Move, I did set Node, Edge, Configuration ==>> 3 file (.nod.xml .edg.xml .netc.cfg) but when i set Create Map is have a problem:

Quote:
Loading configuration...
Warning: Please note that 'xml-node-files' is deprecated.
Use 'node-files' instead.
Warning: Please note that 'xml-edge-files' is deprecated.
Use 'edge-files' instead.
Error: No option with the name 'type' exists.
Warning: Please note that 'lanenumber' is deprecated.
Use 'default.lanenumber' instead.
Warning: Please note that 'speed' is deprecated.
Use 'default.speed' instead.
Warning: Please note that 'priority' is deprecated.
Use 'default.priority' instead.
Warning: Please note that 'remove-geometry' is deprecated.
Use 'geometry.remove' instead.
Warning: Please note that 'remove-isolated' is deprecated.
Use 'remove-edges.isolated' instead.
Error: Could not load configuration '/home/huynhloc/Move/Simulation/map.netc.cfg'.
Quitting (on error).
Loading configuration...
Warning: Please note that 'xml-node-files' is deprecated.
Use 'node-files' instead.
Warning: Please note that 'xml-edge-files' is deprecated.
Use 'edge-files' instead.
Error: No option with the name 'type' exists.
Warning: Please note that 'lanenumber' is deprecated.
Use 'default.lanenumber' instead.
Warning: Please note that 'speed' is deprecated.
Use 'default.speed' instead.
Warning: Please note that 'priority' is deprecated.
Use 'default.priority' instead.
Warning: Please note that 'remove-geometry' is deprecated.
Use 'geometry.remove' instead.
Warning: Please note that 'remove-isolated' is deprecated.
Use 'remove-edges.isolated' instead.
Error: Could not load configuration '/home/huynhloc/Move/Simulation/map.netc.cfg'.
Quitting (on error).
Loading configuration...
This is file Configuration of me: map.netc.cfg
Code:
<configuration>

    <input>
       <xml-node-files value="/home/huynhloc/Move/Simulation/node.nod.xml"/>
       <xml-edge-files value="/home/huynhloc/Move/Simulation/edge.edg.xml"/>
       <xml-connection-files value=""/>
       <xml-type-files value=""/>
    </input>

    <output>
       <output-file value="/home/huynhloc/Move/Simulation/map.net.xml"/>
    </output>

    <defaults>
       <type value="Unknown"/>
       <lanenumber value="2"/>
       <speed value="40"/>
       <priority value="75"/>
       <capacity-norm value=""/>
    </defaults>

    <reports>
       <print-options value="false"/>
    </reports>

    <processing>
       <speed-in-kmh value="false"/>
       <no-turnarounds value="false"/>
       <remove-geometry value="false"/>
       <remove-isolated value="false"/>
    </processing>

</configuration>

I use ubuntu 14.04, version of sumo 0.12.3, please help me.


Similar Content



Slime Will Not Load In Emacs

Thanks for any help
Cliff

This is new for me changed hard drives installed Ubuntu 14.10.
It used to work well, I have used Emacs since Ubuntu 8.04

Slime is looking for cl-asdf 3.1? Ubuntu loads 3.o?
I have deleted Emacs and cl-asdf and Slime from the computer thru Synaptic Package Manager and then re-enstalled each.

This is what Emacs is looking for

(progn (load "/usr/share/common-lisp/source/slime/swank-loader.lisp" :verbose t) (funcall (read-from-string "swank-loader:init")) (funcall (read-from-string "swank:start-server") "/tmp/slime.31806"))

This is SBCL 1.2.3.debian, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
*
; loading #P"/usr/share/common-lisp/source/slime/swank-loader.lisp"

; file: /usr/share/common-lisp/source/slime/swank-sbcl.lisp
; in: EVAL-WHEN (:COMPILE-TOPLEVEL :LOAD-TOPLEVEL :EXECUTE)
; (REQUIRE 'SWANK-BACKEND::SB-BSD-SOCKETS)
;
; caught WARNING:
; You are using ASDF version 3.1.3 (probably from (require "asdf") or loaded by
; quicklisp) and have an older version of ASDF 3.0.3 registered at
; #P"/usr/share/common-lisp/source/cl-asdf/asdf.asd". Having an ASDF installed
; and registered is the normal way of configuring ASDF to upgrade itself, and
; having an old version registered is a configuration error. ASDF will ignore
; this configured system rather than downgrade itself. In the future, you may
; want to either: (a) upgrade this configured ASDF to a newer version, (b)
; install a newer ASDF and register it in front of the former in your
; configuration, or (c) uninstall or unregister this and any other old version of
; ASDF from your configuration. Note that the older ASDF might be registered
; implicitly through configuration inherited from your system installation, in
; which case you might have to specify :ignore-inherited-configuration in your in
; your ~/.config/common-lisp/source-registry.conf or other source-registry
; configuration file, environment variable or lisp parameter. Indeed, a likely
; offender is an obsolete version of the cl-asdf debian or ubuntu package, that
; you might want to upgrade (if a recent enough version is available) or else
; remove altogether (since most implementations ship with a recent asdf); if you
; lack the system administration rights to upgrade or remove this package, then
; you might indeed want to either install and register a more recent version, or
; use :ignore-inherited-configuration to avoid registering the old one. Please
; consult ASDF documentation and/or experts.
;

; in: DEFIMPLEMENTATION FRAME-CALL
; (PPRINT-LOGICAL-BLOCK (STREAM NIL :PREFIX "(" :SUFFIX ")")
; (LET ((*PRINT-LENGTH* NIL) (*PRINT-LEVEL* NIL))
; (PRIN1 (SB-DEBUG::ENSURE-PRINTABLE-OBJECT SWANK-BACKEND::NAME) STREAM))
; (LET ((SWANK-BACKEND::ARGS
; (SB-DEBUG::ENSURE-PRINTABLE-OBJECT SWANK-BACKEND::ARGS)))
; (IF (LISTP SWANK-BACKEND::ARGS)
; (FORMAT STREAM "~{ ~_~S~}" SWANK-BACKEND::ARGS)
; (FORMAT STREAM " ~S" SWANK-BACKEND::ARGS))))
; --> LET LET SB-PRETTY::WITH-PRETTY-STREAM FLET LET IF
; --> #:WITH-PRETTY-STREAM1961
; ==>
; STREAM
;
; note: deleting unreachable code

;
; caught ERROR:
; READ error during COMPILE-FILE:
;
; Symbol "CODE-TRACE-TABLE-OFFSET-SLOT" not found in the SB-VM package.
;
; Line: 1507, Column: 70, File-Position: 60197
;
; Stream: #<SB-SYS:FD-STREAM
; for "file /usr/share/common-lisp/source/slime/swank-sbcl.lisp"
; {1005E387B3}>
;
; compilation unit aborted
; caught 1 fatal ERROR condition
; caught 1 ERROR condition
; caught 1 WARNING condition
; printed 1 note
;;
;; Error while compiling /usr/share/common-lisp/source/slime/swank-sbcl.lisp:
;; COMPILE-FILE returned NIL.
;; Aborting.
;; *

How To Patch GPSR Routing Protocol To Ns-2.35

Hi,
I have patched GPSR to ns-2.35 using keliu' code. It works fine with given tcl file. I need to move nodes according to mine own mobility scenario and compare them to AODV protocol.
I have two problems
1. I don't understand what this command in gpsr.tcl file means Code:
proc gpsr-create-mobile-node { id args } {
         .........................	
if [info exists opt(energy)] {
	$node addenergymodel [new $opt(energy) $node 10 0.5 0.2]}
         .............

What are these figures (0.5, 0.2), are these energy consumed in reception and transmission or some thing else.

Secondly I want move mobile node created using proc defined in gpsr.tcl file according to my own mobility plan e.g. Code:
 $ns_ at 0.000000000000 "$node_(0) setdest 144.816950690450 20.073824649527 0.324133202939"
$ns_ at 0.000000000000 "$node_(1) setdest 93.957720171475 192.140808646867 1.452613500562"
$ns_ at 12.158688172971 "$node_(23) setdest 113.137798368154 39.443538618334 0.902003496971"
$ns_ at 14.805074599534 "$node_(2) setdest 152.227654369397 20.766089279052 1.742469780423"

But when I run simulation it gives error like this:[QUOTE]Load complete...
Starting Simulation...
ns: _o18 setdest 144.816950690450 20.073824649527 0.324133202939:
(_o18 cmd line 1)
invoked from within
"_o18 cmd setdest 144.816950690450 20.073824649527 0.324133202939"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o18" line 2)
(SplitObject unknown line 2)
invoked from within
"_o18 setdest 144.816950690450 20.073824649527 0.324133202939"
[\QUOTE]
Urgent help is needed please

URGENT HELP!!! GPSR Patch With Ns-2.34 Ubuntu 12.04

Hey guys
I have been trying to patch GPSR with ns-2.34.The operating system i am using is ubuntu 12.04.
I have made all the necessary changes required in the various files .

I have another version of ns (ns-2.35 ) too but it is in a different directory.
Everytime I run my tcl file an error keeps coming up.
I will be greatful if somebody can help me.This is very very URGENT.


(_o29 cmd line 1)
invoked from within
"_o29 cmd if-queue _o23"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o29" line 2)
(SplitObject unknown line 2)
invoked from within
"$agent if-queue [$self set ifq_(0)] "
(procedure "_o17" line 28)
(Node/MobileNode add-target line 28)
invoked from within
"$self add-target $agent $port"
(procedure "_o17" line 15)
(Node attach line 15)
invoked from within
"$node attach $ragent [Node set rtagent_port_]"
(procedure "create-gpsr-routing-agent" line 29)
invoked from within
"create-gpsr-routing-agent $node $id"
(procedure "gpsr-create-mobile-node" line 41)
invoked from within
"gpsr-create-mobile-node $i"
("for" body line 2)
invoked from within
"for {set i 0} {$i < $opt(nn) } {incr i} {
gpsr-create-mobile-node $i
}"

Ns2 Black Hole Attack Code Runing Problem

I installed ns2 using (sudo apt-get install ns2)
I hav code for black hole attack in aodv manet and while trying to run it on ns2 Im getting the fallowing error message
please tell me how to fix this..??

INITIALIZE THE LIST xListHead

(_o58 cmd line 1)
invoked from within
"_o58 cmd addr"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o58" line 2)
(SplitObject unknown line 2)
invoked from within
"_o58 addr"
("eval" body line 1)
invoked from within
"eval $node addr $args"
("default" arm line 2)
invoked from within
"switch -exact $routingAgent_ {
DSDV {
set ragent [$self create-dsdv-agent $node]
}
DSR {
$self at 0.0 "$node start-dsr"
}
AODV {
set ragent [$self cre..."
(procedure "_o3" line 14)
(Simulator create-wireless-node line 14)
invoked from within
"_o3 create-wireless-node"
("eval" body line 1)
invoked from within
"eval $self create-wireless-node $args"
(procedure "_o3" line 23)
(Simulator node line 23)
invoked from within
"$ns node"
invoked from within
"set node_(2) [$ns node]"
(file "atk3.tcl" line 55)

Move And Extract Specific Files From Sub-directories Into Parent Directory.

Hello all.
I have 100 sub-directories that "rar" files exist in them, How can I move all rar files into parent directory?

I used "find sourcedir -type f -exec mv {} targetdir \; " but i just copy one file and all files deleted

Thank you.

Python Ftplib

hello all,

please help me with python ftplib. i was trying to copy files from my linux machine to a windows server using ftplib. everything was working good. but i'm only able to copy files from the same directory the script is. how do i copy files from a different directory? i always get "file not found error message". here's my code :

Code:
tester_name = str (socket.gethostname())
def upload(ftp, file):
    ext = os.path.splitext(file)[1]
    if ext in (".txt", ".htm", ".html"):
        ftp.storlines("STOR " + file, open(file))
    else:
        ftp.storbinary("STOR " + file, open(file, "rb"), 1024)



parse_source_path = ('/path/to/where/i/go/')
parse_source_file_list = os.listdir(parse_source_path)

ftp = ftplib.FTP("server_IP")
ftp.login("username", "pass")

folder_list = []

ftp.dir(folder_list.append)

if str(tester_name) not in str(folder_list) :
    ftp.mkd("%s"%tester_name)
    ftp.cwd("%s"%tester_name)
    for files in parse_source_file_list :
        print files
        upload(ftp, files)


else :
    print "later"

Network Configuration For Redhat 7

I just installed Redhat 7 and try to config the network , add the IP address to network card , but I got the problem.

I modify the file /etc/sysconfig/network-scripts/ifcfg-enp0s3 , the configuration is as below , and then reboot .

DEVICE="enp0s3"
NETBOOT="yes"
HWADDR="08:00:27:15:38:B7"
TYPE="Ethernet"
BOOTPROTO="none"
NAME="enp0s3"
UUID="462f4834-4fe7-43a7-84e7-83b2722e94c1"
ONBOOT="yes"
IPADDR="192.168.1.1"
NETMASK="255.255.255.0"

After reboot , I use "ip addr show" still not shown the ip address , the ip address is still blank , would advise what is wrong ? thanks

Problem In Running Codes Of TORA

Hi,
I am new in linux. I have following problem while running the codes of TORA in ns-2.35 in ubuntu.Can you please help me?


num_nodes is set 6
INITIALIZE THE LIST xListHead

(_o22 cmd line 1)
invoked from within
"_o22 cmd port-dmux _o37"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o22" line 2)
(SplitObject unknown line 2)
invoked from within
"$agent port-dmux $dmux_"
(procedure "_o19" line 11)
(Node/MobileNode add-target-rtagent line 11)
invoked from within
"$self add-target-rtagent $agent $port"
(procedure "_o19" line 28)
(Node/MobileNode add-target line 28)
invoked from within
"$self add-target $agent $port"
(procedure "_o19" line 15)
(Node attach line 15)
invoked from within
"$node attach $ragent [Node set rtagent_port_]"
(procedure "_o3" line 85)
(Simulator create-wireless-node line 85)
invoked from within
"_o3 create-wireless-node"
("eval" body line 1)
invoked from within
"eval $self create-wireless-node $args"
(procedure "_o3" line 23)
(Simulator node line 23)
invoked from within
"$ns node"
invoked from within
"set n(0) [$ns node]"
(file "tora2.tcl" line 115)

Connecting To Specific Directory With Filezilla

Hello, I have an embedded linux device. I can connect to the device and I can upload or download files. No problem with this. But, at first connection, I want to connect to "/" directory instead of "/root". In the device file system, there are files ssh_config and sshd_config under /etc/ssh directory. I think I have to do something with these files but I don't know what.

I don't exactly know what mean "/root" and "/" directories. I think that the real root directory is "/" directory which is empty but when I connect with filezilla, the "/root" directory is the default so I had to go back to / directory everytime.

Deleting Extra Text Within A Line... (tearing Out Remaining Hair..!)

Hi all,
Im trying to tidy up a web scrape txt file so it just shows the URL's..
As below, I've got most with just the url but struggling to work out how to delete extra txt within a line, without deleting the whole line.
i.e a command that says.. delete from this word.. till end of line .. or delete everything between word1 and word2

//newzealandtrails.com/sites/all/themes/nztrails/css/print.css?nmkrag");
//newzealandtrails.com/sites/all/themes/nztrails/css/tabs.css?nmkrag");
//newzealandtrails.com/sites/default/files/ctools
//newzealandtrails.com/sites/default/files/New20Zealand%20Trails.png" //newzealandtrails.com/sites/default/files/nztrails-logo_0_0.png" alt="New Zealand Trails" /></a></div>
//newzealandtrails.com/welcome-new-zealand-trails" st_title="" class="st_sharethis_button" displayText="sharethis"></span>
//player.vimeo.com/video/71298207" webkitallowfullscreen="" width="500px"></iframe></div>
//w.sharethis.com/button/buttons.js"></script>

Thanks in advance