0

I use online suggestion to install duckietown as following guidance hyperlink. While I executed commend of ‘rosrun duckieteam create-machines’, the error had showed as below. How can I fix it, I had installed this many many times, but the result is alway failed. Any suggestion to me, thank you so much.
guidance:
https://hackmd.io/I8P0FnrdTOmC0wQyteex1g?view
Error:
[email protected]:~/duckiefleet/robots$ cd ~/duckietown
[email protected]:~/duckietown$ source environment.sh
Activating ROS with shell: /bin/bash
Set ROS_HOSTNAME to: ubuntu-desktop.local
Set DUCKIETOWN_ROOT to: /home/ubuntu/duckietown
Set PYTHONPATH to: /home/ubuntu/duckietown/catkin_ws/src:/opt/ros/kinetic/lib/python2.7/dist-packages
Activating development environment…
[email protected]:~/duckietown$ rosrun duckieteam create-machines
Traceback (most recent call last):
File “/home/ubuntu/duckietown/catkin_ws/src/00-infrastructure/duckieteam/scripts/create-machines”, line 2, in <module>
from duckieteam.cli.create_machines import CreateMachines
File “/home/ubuntu/duckietown/catkin_ws/src/00-infrastructure/duckieteam/include/duckieteam/cli/create_machines.py”, line 2, in <module>
from duckietown_utils.cli import D8App
File “/home/ubuntu/duckietown/catkin_ws/src/00-infrastructure/duckietown/include/duckietown_utils/cli.py”, line 3, in <module>
from quickapp import QuickApp, QuickAppBase
File “/home/ubuntu/.local/lib/python2.7/site-packages/quickapp/__init__.py”, line 17, in <module>
from .quick_multi_app import *
File “/home/ubuntu/.local/lib/python2.7/site-packages/quickapp/quick_multi_app.py”, line 9, in <module>
from reprep.utils import deprecated
File “/home/ubuntu/.local/lib/python2.7/site-packages/reprep/__init__.py”, line 16, in <module>
from .repcontracts import *
File “/home/ubuntu/.local/lib/python2.7/site-packages/reprep/repcontracts.py”, line 21, in <module>
@contract(returns=’valid_id’)
File “/home/ubuntu/.local/lib/python2.7/site-packages/contracts/main.py”, line 146, in tmp_wrap
return contracts_decorate(f, **kwargs)
File “/home/ubuntu/.local/lib/python2.7/site-packages/contracts/main.py”, line 226, in contracts_decorate
returns_parsed = parse_flexible_spec(returns)
File “/home/ubuntu/.local/lib/python2.7/site-packages/contracts/main.py”, line 327, in parse_flexible_spec
return parse_contract_string(spec)
File “/home/ubuntu/.local/lib/python2.7/site-packages/contracts/main.py”, line 660, in parse_contract_string
return parse_contract_string_actual(string)
File “/home/ubuntu/.local/lib/python2.7/site-packages/contracts/main_actual.py”, line 27, in parse_contract_string_actual
parseAll=True)[0]
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1622, in parseString
loc, tokens = self._parse( instring, 0 )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1529, in _parseCache
value = self._parseNoCache(instring, loc, doActions, callPreParse)
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1379, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 3717, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1529, in _parseCache
value = self._parseNoCache(instring, loc, doActions, callPreParse)
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1379, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 3530, in parseImpl
ret = e._parse( instring, loc, doActions )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1529, in _parseCache
value = self._parseNoCache(instring, loc, doActions, callPreParse)
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1379, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 3717, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1529, in _parseCache
value = self._parseNoCache(instring, loc, doActions, callPreParse)
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1379, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 3717, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1529, in _parseCache
value = self._parseNoCache(instring, loc, doActions, callPreParse)
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1379, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 3530, in parseImpl
ret = e._parse( instring, loc, doActions )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1529, in _parseCache
value = self._parseNoCache(instring, loc, doActions, callPreParse)
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1379, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 3717, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1529, in _parseCache
value = self._parseNoCache(instring, loc, doActions, callPreParse)
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1379, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 3378, in parseImpl
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1529, in _parseCache
value = self._parseNoCache(instring, loc, doActions, callPreParse)
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1379, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 3717, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1529, in _parseCache
value = self._parseNoCache(instring, loc, doActions, callPreParse)
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1379, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 3530, in parseImpl
ret = e._parse( instring, loc, doActions )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1529, in _parseCache
value = self._parseNoCache(instring, loc, doActions, callPreParse)
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1379, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 3717, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1529, in _parseCache
value = self._parseNoCache(instring, loc, doActions, callPreParse)
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1379, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 3378, in parseImpl
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1529, in _parseCache
value = self._parseNoCache(instring, loc, doActions, callPreParse)
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1379, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 3717, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1529, in _parseCache
value = self._parseNoCache(instring, loc, doActions, callPreParse)
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1379, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 3530, in parseImpl
ret = e._parse( instring, loc, doActions )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1529, in _parseCache
value = self._parseNoCache(instring, loc, doActions, callPreParse)
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1379, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 3717, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1529, in _parseCache
value = self._parseNoCache(instring, loc, doActions, callPreParse)
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1379, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 3530, in parseImpl
ret = e._parse( instring, loc, doActions )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1529, in _parseCache
value = self._parseNoCache(instring, loc, doActions, callPreParse)
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1405, in _parseNoCache
tokens = fn( instring, tokensStart, retTokens )
File “/home/ubuntu/.local/lib/python2.7/site-packages/pyparsing.py”, line 1049, in wrapper
ret = func(*args[limit[0]:])
File “/home/ubuntu/.local/lib/python2.7/site-packages/contracts/library/extensions.py”, line 82, in parse_action
where = W(s, loc)
File “/home/ubuntu/.local/lib/python2.7/site-packages/contracts/interface.py”, line 25, in __init__
raise ValueError(‘I expect the string to be a str, not %r’ % string)
ValueError: I expect the string to be a str, not u’valid_id’
[email protected]:~/duckietown$

Asked question