OpenGeoscience / geoweb

Open source geoscience tools and applications
8 stars 3 forks source link

Geoweb config error on master #144

Closed benbu closed 10 years ago

benbu commented 10 years ago

I'm now getting a config error, looks like 'geoweb' isn't defined when the config is read

~/src/climatepipes/build/deploy$ ./geoweb start
Traceback (most recent call last):
  File "./geoweb", line 190, in <module>
    code = start()
  File "./geoweb", line 54, in start
    cherrypy.config.update(server_config)
  File "/Library/Python/2.7/site-packages/CherryPy-3.2.2-py2.7.egg/cherrypy/_cpconfig.py", line 156, in update
    reprconf.Config.update(self, config)
  File "/Library/Python/2.7/site-packages/CherryPy-3.2.2-py2.7.egg/cherrypy/lib/reprconf.py", line 157, in update
    config = Parser().dict_from_file(config)
  File "/Library/Python/2.7/site-packages/CherryPy-3.2.2-py2.7.egg/cherrypy/lib/reprconf.py", line 229, in dict_from_file
    return self.as_dict()
  File "/Library/Python/2.7/site-packages/CherryPy-3.2.2-py2.7.egg/cherrypy/lib/reprconf.py", line 220, in as_dict
    raise ValueError(msg, x.__class__.__name__, x.args)
ValueError: ("Config error in section: 'global', option: 'tree.py', value: 'cherrypy.Application(geoweb.Root())'. Config values must be valid Python.", 'TypeError', ("unrepr could not resolve the name 'geoweb'",))

I've also tried using run.sh. Using geoweb_dev seems to get passed this error for me.

aashish24 commented 10 years ago

Should be fixed in master. Closing for now. Open it again if I am wrong.