InvalidSubmission:
Traceback (most recent call last):
File "/amod/target/src/duckietown-challenges/src/duckietown_challenges/cie_concrete.py", line 486, in wrap_evaluator
raise InvalidSubmission(out[SPECIAL_INVALID_SUBMISSION])
InvalidSubmission: Invalid solution:
Traceback (most recent call last):
File "/amod/target/src/duckietown-challenges/src/duckietown_challenges/cie_concrete.py", line 590, in wrap_solution
raise InvalidSubmission(msg)
InvalidSubmission: Uncaught exception in solution:
Traceback (most recent call last):
File "/amod/target/src/duckietown-challenges/src/duckietown_challenges/cie_concrete.py", line 585, in wrap_solution
solution.run(cis)
File "/project/solution.py", line 13, in run
aidoGuest.run()
File "/project/src/AidoGuest.py", line 62, in run
command = dispatchingLogic.of(status)
File "/project/src/RandomDispatchingLogic.py", line 49, in of
roboTaxi = random.choice(taxi for taxi in status[1]if taxi[0] not in self.matchedTax)
File "/usr/lib/python2.7/random.py", line 275, in choice
return seq[int(self.random() * len(seq))] # raises IndexError if seq is empty
TypeError: object of type 'generator' has no len()
Artefacts hidden. If you are the author, please login using the top-right link or use the dashboard.