I think I hit onto something.
After instrumenting turbogears/config.py with print (line 38)::
print 'UPDATE', modconfig, modfile, top_level_dir
I saw:
'/favicon.ico': {'static_filter.on': True, 'static_filter.file': 'D:\
\Projects\\www.knigoman.com.ua\x08ookswap/static/images/favicon.ico'},
'/static': {'static_filter.dir':
'D:\\Projects\\www.knigoman.com.ua\x08oo
kswap\\config/static', 'static_filter.on': True}}
See that \x08 instead of 'b'? I guess \b got re-evaluted (by
ConfigParser?) and become a beep control char.
I've changed the config into:
[/static]
static_filter.on = True
static_filter.dir = r"%(top_level_dir)s/static"
and it worked!
Tricky bug, I'd say.
You'd better make sure your TG project's name is not starting from 'b',
't', 'r' or 'n' if you're on Windows. ;-))
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" 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-trunk
-~----------~----~----~----~------~----~------~--~---