hi, guys
i use player 3.02 on the ubuntu 9.04, and today i tried to use player to connect  my usb camera with camera.cfg which written by myself, and then attempt to aquire the image from the camera using all ready install playercam, but I fail.
when i execute the camera.cfg (attached at end of letter), i got following error information:
player -d 1 camera.cfg > ~/work/PlayerRobot/ErrorLog/cameraLog.txt
warning : address lookup failed for localhost
warning : address lookup failed for localhost
Player v.3.0.2
* Part of the Player/Stage/Gazebo Project [http://playerstage.sourceforge.net].
* Copyright (C) 2000 - 2009 Brian Gerkey, Richard Vaughan, Andrew Howard,
* Nate Koenig, and contributors. Released under the GNU General Public License.
* Player comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
* are welcome to redistribute it under certain conditions; see COPYING
* for details.
warning : name lookup failed on "localhost"
then i run the playercam installed by the player install process, i got the following error information:
playercam -h localhost -p 6665 -i 0
playerc error   : getaddrinfo() failed with error
error: getaddrinfo() failed with error
i have checked my camera.cfg file and the address, but i cann't nevertheless understand the error information above. could anybody help to explain this and tell how can i handle this?
camera.cfg file:
# camera only robot configuration
# Authoer: chyujian
# Date:   2011-03-29
# camera driver
( name "camerauvc"  # the driver fits the name field
  provides [":::camera:0"] # in camera sits in the "interface" position
# requries
 port "/dev/video0"
# plugin
# alwayson 1
# size [650 380]
PS: i assured that the usd camera is mount on /dev/video0