Bug#574640: Freshly bootstrapped applications do not work
tags 574640 + pending thanks On Fri, Mar 19, 2010 at 04:44:54PM +, Enrico Zini wrote: > thank you for maintaining TurboGears2. Thanks for your bugreport and subsequent information! > For some reason, it now refuses to work. I quickstart a project, run it, > and I always get 404s: It turns out that starting from python-routes 1.12, which has hit unstable at the beginning of march, a default on Routes setup TG2 was relying upon has been changed. The patch provided by Piotr (thanks!) enforces the needed configuration setup, no matter upstream default. The bug is now fixed in svn and it fixes the 404 error for quickstarted apps. If you can try the patch with your old applications it would be awesome (just "debcheckout turbogears2" and build the package). Cheers. -- Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7 z...@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/ Dietro un grande uomo c'è ..| . |. Et ne m'en veux pas si je te tutoie sempre uno zaino ...| ..: | Je dis tu à tous ceux que j'aime signature.asc Description: Digital signature
Bug#574640: Freshly bootstrapped applications do not work (nor do my older ones)
Package: python-turbogears2 Version: 2.0.3-1 Severity: serious Hello, thank you for maintaining TurboGears2. For some reason, it now refuses to work. I quickstart a project, run it, and I always get 404s: $ curl localhost:8080 404 Not Found 404 Not Found The resource could not be found. Here is the full quickstart, setup-app and serve log: $ paster quickstart crap Enter package name [crap]: Do you need authentication and authorization in this project? [yes] Selected and implied templates: tg.devtools#turbogears2 TurboGears 2.0 Standard Quickstart Template Variables: auth:sqlalchemy egg: crap geo: None package: crap project: crap sqlalchemy: True sqlobject: False tgversion: 2.0.3 Creating template turbogears2 Creating directory ./crap Recursing into +package+ Creating ./crap/crap/ Copying __init__.py to ./crap/crap/__init__.py Replace 0 bytes with 47 bytes (0/0 lines changed; 2 lines added) Copying __init__.py_tmpl to ./crap/crap/__init__.py Recursing into config Creating ./crap/crap/config/ Copying __init__.py_tmpl to ./crap/crap/config/__init__.py Copying app_cfg.py_tmpl to ./crap/crap/config/app_cfg.py Copying deployment.ini_tmpl_tmpl to ./crap/crap/config/deployment.ini_tmpl Copying environment.py_tmpl to ./crap/crap/config/environment.py Copying middleware.py_tmpl to ./crap/crap/config/middleware.py Recursing into controllers Creating ./crap/crap/controllers/ Copying __init__.py_tmpl to ./crap/crap/controllers/__init__.py Copying controller.template_tmpl to ./crap/crap/controllers/controller.template Copying error.py_tmpl to ./crap/crap/controllers/error.py Copying root.py_tmpl to ./crap/crap/controllers/root.py Copying secure.py_tmpl to ./crap/crap/controllers/secure.py Copying template.py_tmpl to ./crap/crap/controllers/template.py Recursing into i18n Creating ./crap/crap/i18n/ Recursing into ru Creating ./crap/crap/i18n/ru/ Recursing into LC_MESSAGES Creating ./crap/crap/i18n/ru/LC_MESSAGES/ Copying +package+.po_tmpl to ./crap/crap/i18n/ru/LC_MESSAGES/crap.po Recursing into lib Creating ./crap/crap/lib/ Copying __init__.py_tmpl to ./crap/crap/lib/__init__.py Copying app_globals.py_tmpl to ./crap/crap/lib/app_globals.py Copying base.py_tmpl to ./crap/crap/lib/base.py Copying helpers.py_tmpl to ./crap/crap/lib/helpers.py Recursing into model Creating ./crap/crap/model/ Copying __init__.py_tmpl to ./crap/crap/model/__init__.py Copying auth.py_tmpl to ./crap/crap/model/auth.py Copying model.template_tmpl to ./crap/crap/model/model.template Recursing into public Creating ./crap/crap/public/ Recursing into css Creating ./crap/crap/public/css/ Copying style.css to ./crap/crap/public/css/style.css Copying favicon.ico to ./crap/crap/public/favicon.ico Recursing into images Creating ./crap/crap/public/images/ Copying contentbg.png to ./crap/crap/public/images/contentbg.png Copying error.png to ./crap/crap/public/images/error.png Copying header_inner2.png to ./crap/crap/public/images/header_inner2.png Copying headerbg.png to ./crap/crap/public/images/headerbg.png Copying info.png to ./crap/crap/public/images/info.png Copying inputbg.png to ./crap/crap/public/images/inputbg.png Copying loginbg.png to ./crap/crap/public/images/loginbg.png Copying loginbottombg.png to ./crap/crap/public/images/loginbottombg.png Copying loginheader-left.png to ./crap/crap/public/images/loginheader-left.png Copying loginheader-right.png to ./crap/crap/public/images/loginheader-right.png Copying menu-item-actibg-first.png to ./crap/crap/public/images/menu-item-actibg-first.png Copying menu-item-actibg.png to ./crap/crap/public/images/menu-item-actibg.png Copying menu-item-border.png to ./crap/crap/public/images/menu-item-border.png Copying menubg.png to ./crap/crap/public/images/menubg.png Copying ok.png to ./crap/crap/public/images/ok.png Copying pagebg.png to ./crap/crap/public/images/pagebg.png Copying star.png to ./crap/crap/public/images/star.png Copying strype2.png to ./crap/crap/public/images/strype2.png Copying under_the_hood_blue.png to ./crap/crap/public/images/under_the_hood_blue.png Copying warning.png to ./crap/crap/public/images/warning.png Recursing into templates Creating ./crap/crap/templates/ Copying __init__.py to ./crap/crap/templates/__init__.py Copying about.html to ./crap/crap/templates/about.html Copying authentication.html to ./crap/crap/templates/authentication.html Copying debug.html to ./crap/crap/templates/debug.html Copying error.html to ./crap/