Yea, we had accidentally imported functools which isn't available in
python 2.4.

By the way, I'm wondering if we can drop Python 2.4 support in tg
after 1.9.7 final so that 2.0 final will support the most recent 2
versions of python, and hopefully eventually 3.0.

But that's definitely *not* a decision yet, more of a passing thought
that I wanted to raise with the community.

--Mark

On Thu, Oct 23, 2008 at 11:50 PM, Lukasz Szybalski <[EMAIL PROTECTED]> wrote:
>
> What ever it is seems to be fixed in trunk.
>
> Lucas
>
> On Thu, Oct 23, 2008 at 10:29 PM, Lukasz Szybalski <[EMAIL PROTECTED]> wrote:
>> Hello,
>> I just tried installing tg2 on python2.4 and I get this:
>>
>>
>> easy_install -i http://www.turbogears.org/2.0/downloads/current/index
>> tg.devtools
>> ,..........
>> Extracting Pygments-0.10-py2.4.egg to
>> /home/lucas/tmp/tg2env/lib/python2.4/site-packages
>> Adding Pygments 0.10 to easy-install.pth file
>> Installing pygmentize script to /home/lucas/tmp/tg2env/bin
>>
>> Installed 
>> /home/lucas/tmp/tg2env/lib/python2.4/site-packages/Pygments-0.10-py2.4.egg
>> Finished processing dependencies for tg.devtools
>> (tg2env)[EMAIL PROTECTED]:~/tmp$ paster quickstart
>> Traceback (most recent call last):
>>  File "/home/lucas/tmp/tg2env/bin/paster", line 5, in ?
>>    from pkg_resources import load_entry_point
>>  File 
>> "/home/lucas/tmp/tg2env/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py",
>> line 2582, in ?
>>    add_activation_listener(lambda dist: dist.activate())
>>  File 
>> "/home/lucas/tmp/tg2env/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py",
>> line 640, in subscribe
>>    callback(dist)
>>  File 
>> "/home/lucas/tmp/tg2env/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py",
>> line 2582, in <lambda>
>>    add_activation_listener(lambda dist: dist.activate())
>>  File 
>> "/home/lucas/tmp/tg2env/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py",
>> line 2131, in activate
>>    map(declare_namespace, self._get_metadata('namespace_packages.txt'))
>>  File 
>> "/home/lucas/tmp/tg2env/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py",
>> line 1734, in declare_namespace
>>    declare_namespace(parent)
>>  File 
>> "/home/lucas/tmp/tg2env/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py",
>> line 1749, in declare_namespace
>>    _handle_ns(packageName, path_item)
>>  File 
>> "/home/lucas/tmp/tg2env/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py",
>> line 1720, in _handle_ns
>>    loader.load_module(packageName); module.__path__ = path
>>  File 
>> "/home/lucas/tmp/tg2env/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py",
>> line 1549, in load_module
>>    mod = imp.load_module(fullname, self.file, self.filename, self.etc)
>>  File 
>> "/home/lucas/tmp/tg2env/lib/python2.4/site-packages/TurboGears2-1.9.7a4-py2.4.egg/tg/__init__.py",
>> line 56, in ?
>>    from tg.decorators import validate, expose, override_template, paginate
>>  File 
>> "/home/lucas/tmp/tg2env/lib/python2.4/site-packages/TurboGears2-1.9.7a4-py2.4.egg/tg/decorators.py",
>> line 14, in ?
>>    from functools import partial
>> ImportError: No module named functools
>>
>>
>> Lucas
>>
>>
>>
>> --
>> Turbogears2 Manual
>> http://lucasmanual.com/mywiki/TurboGears2
>> Bazaar and Launchpad
>> http://lucasmanual.com/mywiki/bzr
>>
>
>
>
> --
> Turbogears2 Manual
> http://lucasmanual.com/mywiki/TurboGears2
> Bazaar and Launchpad
> http://lucasmanual.com/mywiki/bzr
>
> >
>



-- 
Mark Ramm-Christensen
email: mark at compoundthinking dot com
blog: www.compoundthinking.com/blog

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to