#1048: admi18n tool crashes when ran from a non-project dir
-------------------------+--------------------------------------------------
Reporter: salty-horse | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 1.0
Component: Toolbox | Version:
Severity: normal | Keywords: adm18n toolbox
-------------------------+--------------------------------------------------
Using latest r1710.
To reproduce:
1. Run tg-admin toolbox from a non-project dir, which does not contain a
locales/ dir.
2. The admi18n tool is accessible. Enter it.
3. Choose "Collect your strings" - An error apperes.
4. Also, choose "Manage your languages" - the table will be empty.
5. Add a new language code - An error that no "locales/" dir can be
found.
6. Check the current dir - a new locales/ dir has been created.
Why is the admi18n tool accessible from within a non-project dir. It
should either be blocked like CatWalk is (by adding {{{need_project =
False}}} to it's {{{__init__.py}}}), or allow access only to the
"Introduction" page along with a note that you need to run it from within
a project.
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1048>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---