I would have sworn I'd tried this on beaker 1.4. Would you mind trying out

easy_install -U 'Beaker<=1.5'

That *should* work just fine for you.

And to reinforce: Using a virtualenv for this deployment, even if it's the
only thing Apache(or nginx, or lighttpd) will be doing, is a good idea. It
will make it easier to safely upgrade the application, not harder.

On Sun, Jun 6, 2010 at 6:35 AM, Diez B. Roggisch <[email protected]> wrote:

> Its a python version issue. Upgrade to 2.5 or convince the package author
> of
> That google.py to be 2.4 compatible.
>
> Also using venvs is better for upgrading & being independent from sys
> packages.
>
> Am 06.06.2010 um 01:57 schrieb "Sells, Fred" <[email protected]
> >:
>
>
>  I've followed the various posts and threads on install issues and have
>> it working (mostly).  I did not use the virtualenv because this box will
>> be dedicated to a single tg app and I did not want to add another layer
>> for the SysAdmin when deploying it.  If that's part of my problem, I can
>> use it...
>>
>> I did the following:
>> wget http://peak.telecommunity.com/dist/ez_setup.py
>> python ez_setup.py -U setuptools
>> easy_install extremes    (the TG install script is defective, do this
>> first)
>> easy_install beaker
>> yum install python-devel
>> easy_install -i http://www.turbogears.org/2.0/downloads/current/index
>> tg.devtools
>>
>>
>> paster quickstart tg001
>> cd tg001/
>> python setup.py develop
>> paster serve development.ini
>>
>> and although the TG home page was displayed, I also got these errors.
>> I'm not sure if I should worry about them, fix them, or ignore them.
>> I'm using Flex for my UI FWIW.  Could this be due to my older 2.4.3
>> version of Python? The CentOS yum tool does not want to update it and my
>> management frowns on using a version other than what comes with the OS
>> (although I can get a dispensation if adequately justified)
>>
>>
>> /usr/lib/python2.4/site-packages/Beaker-1.3-py2.4.egg/beaker/middleware.
>> py:11: RuntimeWarning: Unable to load NamespaceManager entry point:
>> 'google = beaker.ext.google:GoogleNamespaceManager': Traceback (most
>> recent call last):
>>  File
>> "/usr/lib/python2.4/site-packages/Beaker-1.3-py2.4.egg/beaker/cache.py",
>> line 28, in ?
>>   NamespaceManager = entry_point.load()
>>  File
>> "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resour
>> ces.py", line 1954, in load
>>   entry = __import__(self.module_name, globals(),globals(),
>> ['__name__'])
>> SyntaxError: future feature absolute_import is not defined (google.py,
>> line 1)
>>
>>  from beaker.cache import CacheManager
>> Starting server in PID 4976.
>> 20:52:55,898 INFO  [paste.httpserver.ThreadPool] Cannot use
>> kill_thread_limit as ctypes/killthread is not available
>> serving on http://127.0.0.1:8080
>> 20:54:03,662 INFO  [tg.i18n] Language ['en-us', 'en']: not supported
>> 20:54:03,664 INFO  [tg.i18n] Language ['en-us', 'en']: not supported by
>> FormEncode
>> 20:54:03,665 INFO  [tg.i18n] Language ['en-us', 'en']: not supported
>> 20:54:03,665 INFO  [tg.i18n] Language ['en-us', 'en']: not supported by
>> FormEncode
>> 20:54:03,860 INFO  [tg.i18n] Language ['en-us', 'en']: not supported
>> 20:54:03,861 INFO  [tg.i18n] Language ['en-us', 'en']: not supported by
>> FormEncode
>>
>>
>> --
>> 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]<turbogears%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/turbogears?hl=en.
>>
>>
> --
> 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]<turbogears%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/turbogears?hl=en.
>
>


-- 
Michael J. Pedersen
My IM IDs: Jabber/[email protected], ICQ/103345809, AIM/pedermj022171
         Yahoo/pedermj2002, MSN/[email protected]

-- 
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