Installing household_object_database on my local server
Hi, I have been following the tutorial but when i run the launch file as given in the tutorial with my parameters, it gives the following error.
load_parameters: unable to set parameters (last param was [/database_pass=willow]): cannot marshal None unless allow_none is enabled
Traceback (most recent call last):
File "/opt/ros/electric/stacks/ros_comm/tools/roslaunch/src/roslaunch/__init__.py", line 252, in main
p.start()
File "/opt/ros/electric/stacks/ros_comm/tools/roslaunch/src/roslaunch/parent.py", line 265, in start
self.runner.launch()
File "/opt/ros/electric/stacks/ros_comm/tools/roslaunch/src/roslaunch/launch.py", line 644, in launch
self._setup()
File "/opt/ros/electric/stacks/ros_comm/tools/roslaunch/src/roslaunch/launch.py", line 631, in _setup
self._load_parameters()
File "/opt/ros/electric/stacks/ros_comm/tools/roslaunch/src/roslaunch/launch.py", line 322, in _load_parameters
r = param_server_multi()
File "/usr/lib/python2.7/xmlrpclib.py", line 997, in __call__
return MultiCallIterator(self.__server.system.multicall(marshalled_list))
File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1569, in __request
allow_none=self.__allow_none)
File "/usr/lib/python2.7/xmlrpclib.py", line 1085, in dumps
data = m.dumps(params)
File "/usr/lib/python2.7/xmlrpclib.py", line 632, in dumps
dump(v, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 654, in __dump
f(self, value, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 714, in dump_array
dump(v, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 654, in __dump
f(self, value, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 735, in dump_struct
dump(v, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 654, in __dump
f(self, value, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 714, in dump_array
dump(v, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 654, in __dump
f(self, value, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 658, in dump_nil
raise TypeError, "cannot marshal None unless allow_none is enabled"
TypeError: cannot marshal None unless allow_none is enabled
I don't have knowledge in python so can someone let me know what is the mistake done here.
Thanks, Karthik
Below is the launch file i am using; its a copy of the same in the tutorial page except the package name where it finds the .yaml file
<launch>
<!-- load database connection parameters -->
<rosparam command="load" file="$(find object_detection_test)/config/my_server.yaml"/>
<!-- start the database wrapper node -->
<node pkg="household_objects_database" name="objects_database_node" type="objects_database_node" respawn="true" output="screen"/>
</launch>
My my_server.yaml file is as below, similar to the one in the tutorial
household_objects_database:
database_host: 10.2.36.233
database_port: 5432
database_user: willow
database_pass: ####
database_name: household_objects
household_objects is the database that i created in pgadmin3 and have following the instructions in link