On Jan 2, 11:32 am, Gustavo Narea <[email protected]> wrote:
> Hello,
>
> I'm working on Ticket #2114 and I'm trying to use tg.url in
> tg.configuration.AppConfig.add_auth_middleware(). However, when I import
> tg.url at the top of tg.configuration I get
> this:http://paste.chrisarndt.de/paste/7f200f532fbf442e946c1362abc163c7
>
> However, if I replace "from tg.controllers import url" (or "from tg import
> url") with "from pylons import url", I get no error.
>
> What's the problem?
>
> I'm using the latest revision of TG2 and devtools.
>
I've just installed the tg2b3 :
virtualenv --no-site-packages tg2b3env
source tg2b3env/bin/activate
easy_install -i http://www.turbogears.org/2.0/downloads/current/index
tg.devtools
........
python
Python 2.4.4 (#2, Oct 22 2008, 19:52:44)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from tg.controllers import url
>>>
Can you try above from scratch?
Thanks,
Lucas
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---