On Nov 30, 5:41 pm, Zhang Huangbin <
michaelbi...@gmail.com> 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"/>
^