It can generate URL again. Thanks. The below is the out of running the command "python controller.py":
[Stephen@stephenmbp.local~/test]$ python controller.py
Traceback (most recent call last):
File "controller.py", line 50, in <module>
logger.debug("Query String: "+str(sys.argv).translate(None, "'"))
TypeError: expected a character buffer object