Static files NOT FOUND using the testing standalone server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
turbogears (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I just updated to 8.10 (from 8.04) and my development environment fails to find static files with this traceback:
2008-11-02 17:44:13,274 cherrypy.msg INFO DEBUG: NOT FOUND file: /home/luca/
2008-11-02 17:44:13,278 cherrypy.msg INFO HTTP: Page handler: "The path '/static/
Traceback (most recent call last):
File "/var/lib/
self.main()
File "/var/lib/
page_handler, object_path, virtual_path = self.mapPathToO
File "/var/lib/
raise cherrypy.
NotFound: 404
Note that "/home/
I investigated a little and find the problem, attached is a patch that fixes it:
I don't know if it's an upstream bug, or if it's a TG or setuptools bug (it seems that setuptools's pkg_resources.
Thank you.
$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
$ apt-cache policy python-turbogears
python-turbogears:
Installed: 1.0.4.4-1
Candidate: 1.0.4.4-1
Version table:
*** 1.0.4.4-1 0
500 http://
100 /var/lib/
I can confirm this issue.
I've had problems to run openerp-web-client [https:/ /edge.launchpad .net/openobject -client- web] because of this issue.
The patch proposed by luca fixed the issue.
uname -a && lsb_release -rd && apt-cache policy python-turbogears archive. ubuntu. com intrepid/universe Packages dpkg/status
Linux ulises 2.6.27-9-generic #1 SMP Thu Nov 20 21:57:00 UTC 2008 i686 GNU/Linux
Description: Ubuntu 8.10
Release: 8.10
python-turbogears:
Installed: 1.0.4.4-1
Candidate: 1.0.4.4-1
Version table:
*** 1.0.4.4-1 0
500 http://
100 /var/lib/