1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
| Traceback (most recent call last):
File "C:\Users\jm18c\AppData\Local\Programs\Python\Python36-32\lib\site-packages\cherrypy\lib\reprconf.py", line 218, in as_dict
value = unrepr(value)
File "C:\Users\jm18c\AppData\Local\Programs\Python\Python36-32\lib\site-packages\cherrypy\lib\reprconf.py", line 477, in unrepr
return b.build(obj)
File "C:\Users\jm18c\AppData\Local\Programs\Python\Python36-32\lib\site-packages\cherrypy\lib\reprconf.py", line 360, in build
return m(o)
File "C:\Users\jm18c\AppData\Local\Programs\Python\Python36-32\lib\site-packages\cherrypy\lib\reprconf.py", line 438, in build_Name
raise TypeError("unrepr could not resolve the name %s" % repr(name))
TypeError: unrepr could not resolve the name 'true'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:/Users/jm18c/AppData/Local/Programs/Python/Python36-32/test.py", line 7, in <module>
cherrypy.quickstart(monsiteweb(),config="tutoriel.conf")
File "C:\Users\jm18c\AppData\Local\Programs\Python\Python36-32\lib\site-packages\cherrypy\__init__.py", line 169, in quickstart
_global_conf_alias.update(config)
File "C:\Users\jm18c\AppData\Local\Programs\Python\Python36-32\lib\site-packages\cherrypy\_cpconfig.py", line 158, in update
reprconf.Config.update(self, config)
File "C:\Users\jm18c\AppData\Local\Programs\Python\Python36-32\lib\site-packages\cherrypy\lib\reprconf.py", line 160, in update
config = Parser().dict_from_file(config)
File "C:\Users\jm18c\AppData\Local\Programs\Python\Python36-32\lib\site-packages\cherrypy\lib\reprconf.py", line 233, in dict_from_file
return self.as_dict()
File "C:\Users\jm18c\AppData\Local\Programs\Python\Python36-32\lib\site-packages\cherrypy\lib\reprconf.py", line 224, in as_dict
raise ValueError(msg, x.__class__.__name__, x.args)
ValueError: ("Config error in section: 'global', option: 'tools.sessions.on', value: 'true'. Config values must be valid Python.", 'TypeError', ("unrepr could not resolve the name 'true'",))
>>> |