On Jul 23, 9:24 pm, Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
> Can you try collecting strings with the admi18n tool in the TG toolbox?
> This always worked for me. But you're right, "tg-admin i18n collect"
> seems to ignore the kid files. If there is no ticket open already, you
> should file one since this looks like a bug to me.
When I hit the "collect strings" button on a fresh quickstarted
project, I get a .pot file containing
strings from the kid templates. For my app however, I get an
IndentationError:
File "/usr/lib/python2.4/site-packages/TurboGears-1.0.3.2-py2.4.egg/
turbogears/toolbox/admi18n/pygettext.py", line 730, in main
tokenize.tokenize(fp.readline, eater)
File "tokenize.py", line 153, in tokenize
tokenize_loop(readline, tokeneater)
File "tokenize.py", line 159, in tokenize_loop
for token_info in generate_tokens(readline):
File "tokenize.py", line 229, in generate_tokens
raise IndentationError(
IndentationError: unindent does not match any outer indentation level
(full trace here: http://paste.turbogears.org/paste/1527)
Diez, was there a ticket already or should I create a new one?
Thanks!
--Joseph
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" 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?hl=en
-~----------~----~----~----~------~----~------~--~---