Re: Can't run Test Installation and Barcode Tutorial, met the "Destination path does not exist" error

61 views
Skip to first unread message

Dominique Hunziker

unread,
Jun 17, 2014, 12:18:57 PM6/17/14
to Ryan Li, rap...@googlegroups.com
Hi Ryan,

The problem is that the container can not be launched. To test this
you can remove all but the container section from a configuration
file.
In particular the filesystem of the container is not properly setup as
the error message indicates the destination path for the container's
fstab file is missing. Try the following to narrow down the issue
1) Check that the rootfs path in the ~/.rce/config.ini matches the
location of the root directory of the container filesystem in the host
machine
2) Check that the container filesystem contains the directory '/home/ros'

My guess is, that the container provisioning failed at some point; try
to delete the container filesytem and rerun 'setup/provision
container'.

Dominique

2014-06-12 10:37 GMT+02:00 Ryan Li <lmmth...@gmail.com>:
> Hi Rapyuta team,
>
> I think I have the same problem in running Test Installation and Barcode
> tutorial. When I try to run the barcode tutorial it seems I can successfully
> start the cloud engine (master, robot, container, and roscore processes) as
> in the client terminal it displays
>
> Service Client to RCE Interface 'ScannerService' is up.
> Publisher to RCE Interface 'ScannerReq' is up.
> Subscriber to RCE Interface 'ScannerResp' is up.
>
> But then I met errors
>
> Received ERROR message: FirstError[#1, [Failure instance: Traceback from
> remote host -- Traceback unavailable
> exceptions.ValueError: Destination path does not exist.
>
> In the container terminal, it shows
>
> 2014-06-12 16:11:39+0800 [Broker,client] Unhandled Error
> Traceback (most recent call last):
> File
> "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-i686.egg/twisted/spread/banana.py",
> line 153, in gotItem
> self.callExpressionReceived(item)
> File
> "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-i686.egg/twisted/spread/banana.py",
> line 116, in callExpressionReceived
> self.expressionReceived(obj)
> File
> "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-i686.egg/twisted/spread/pb.py",
> line 565, in expressionReceived
> method(*sexp[1:])
> File
> "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-i686.egg/twisted/spread/pb.py",
> line 877, in proto_message
> self._recvMessage(self.localObjectForID, requestID, objectID,
> message, answerRequired, netArgs, netKw)
> --- <exception caught here> ---
> File
> "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-i686.egg/twisted/spread/pb.py",
> line 891, in _recvMessage
> netResult = object.remoteMessageReceived(self, message, netArgs,
> netKw)
> File
> "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-i686.egg/twisted/spread/flavors.py",
> line 114, in remoteMessageReceived
> state = method(*args, **kw)
> File
> "/usr/local/lib/python2.7/dist-packages/rce_core-0.3-py2.7.egg/rce/container.py",
> line 673, in remote_createContainer
> container = RCEContainer(self, nr, uid, data)
> File
> "/usr/local/lib/python2.7/dist-packages/rce_core-0.3-py2.7.egg/rce/container.py",
> line 266, in __init__
> container.extendFstab(rosDir, 'home/ros', False)
> File
> "/usr/local/lib/python2.7/dist-packages/rce_core-0.3-py2.7.egg/rce/util/container.py",
> line 206, in extendFstab
> raise ValueError('Destination path does not exist.')
> exceptions.ValueError: Destination path does not exist.
>
> I also met similar errors in test installation.
>
> Any idea?
>
> Thanks in advanced.
>
> Ryan
>

Ryan Li

unread,
Jun 20, 2014, 2:55:40 AM6/20/14
to rap...@googlegroups.com
Hi Dominique,

Thanks for your reply. I re installed rce on Ubuntu 12.04 and everything works fine now. Previously, I tried to install it on Ubuntu 13.04 and met that problem and it seems that the container system cannot be correctly installed on Ubuntu 13.04. 

Ryan

在 2014年6月18日星期三UTC+8上午12时18分57秒,Dominique Hunziker写道:
Reply all
Reply to author
Forward
0 new messages