Last weekend I switched from the 32 bit version of OpenSuSE 10.3 to the 64 bit OpenSuSE 11.0 and had to reinstall all my working TG environment.
After that, I started having problems with my projects because all access to static contents started failing.
Checking TG's code, I see that we omit the last character, probably guessing that it is a "/" or r"\". In my case, pkg_resources gives me this output already "clean" and hence this instruction causes a failure here:
In [1]: import pkg_resources
In [2]: pkg_resources.resource_filename('siteamostras', "")
Out[2]: '/home/godoy/disconnected-work/Site-Amostras/siteamostras'
If my guess on the reason for getting up to the penultimate character on the filename resource provided by pgk_resources was correct, then the attached patch should fix this problem.