On Nov 30, 5:41 pm, Zhang Huangbin <[EMAIL PROTECTED]> wrote: > I use pygettext.py to extract messages from webpy template files, and > it works. I don't know why you got this error msg. :(
Can you please try to extract message from this file: http://old.etoleto.com/base.html and tell me if it works ? I'm getting this: Traceback (most recent call last): File "pygettext.py", line 664, in <module> main() File "pygettext.py", line 639, in main tokenize.tokenize(fp.readline, eater) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/tokenize.py", line 153, in tokenize tokenize_loop(readline, tokeneater) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/tokenize.py", line 159, in tokenize_loop for token_info in generate_tokens(readline): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/tokenize.py", line 277, in generate_tokens ("<tokenize>", lnum, pos, line)) File "<tokenize>", line 12 <link rel="stylesheet" href="/static/style.css" type="text/css" media="screen" charset="utf-8"/> ^ IndentationError: unindent does not match any outer indentation level --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
