TurboGears beta1 soft release

10 views
Skip to first unread message

Mark Ramm

unread,
Oct 27, 2008, 3:18:29 AM10/27/08
to turbogea...@googlegroups.com
There's a test release of TurboGears beta 1 available at

http://turbogears.org/2.0/downloads/1.9.7b1/index/

so you can use that link rather than the one in the getting started
doc to try it out.

So rather than

easy_install -i http://www.turbogears.org/2.0/downloads/current/index
tg.devtools

you would do:

easy_install -i http://www.turbogears.org/2.0/downloads/1.9.7b1/index
tg.devtools

I need to do a few more doc updates and push the release live, but
things are likely to be slightly delayed by a family medical emergency
which is likely to mess up my schedule quite a bit this week. But if
people are able to test this index, and if they have good luck with it
I should be able to push out the final, final release in the next
couple days.

--Mark

Leandro Lucarella

unread,
Oct 27, 2008, 8:35:49 AM10/27/08
to turbogea...@googlegroups.com
Mark Ramm, el 27 de octubre a las 00:18 me escribiste:

>
> There's a test release of TurboGears beta 1 available at
>
> http://turbogears.org/2.0/downloads/1.9.7b1/index/
>
> so you can use that link rather than the one in the getting started
> doc to try it out.
>
> So rather than
>
> easy_install -i http://www.turbogears.org/2.0/downloads/current/index
> tg.devtools
>
> you would do:
>
> easy_install -i http://www.turbogears.org/2.0/downloads/1.9.7b1/index
> tg.devtools

I Get this error:
Installed /tmp/tg2env/lib/python2.5/site-packages/FormEncode-1.0.1-py2.5.egg
error: Installed distribution simplejson 1.9.2 conflicts with requirement simplejson>=2.0.4

First, I didn't notice the error, and I wanted to install docutils (to follow
the 20 min. Wiki) and got this error too (I don't know if they are related):
[...]
File "/tmp/tg2env/lib/python2.5/site-packages/Pylons-0.9.7rc1-py2.5.egg/pylons/configuration.py", line 22, in <module>
from paste.deploy.converters import asbool
ImportError: No module named deploy.converters


Here is the complete instalation log:

luca@azazel:/tmp$ virtualenv --no-site-packages tg2env
New python executable in tg2env/bin/python
Installing setuptools............done.
luca@azazel:/tmp$ cd tg2env
luca@azazel:/tmp/tg2env$ source bin/activate
(tg2env)luca@azazel:/tmp/tg2env$ easy_install -i http://www.turbogears.org/2.0/downloads/1.9.7b1/index tg.devtools
Searching for tg.devtools
Reading http://www.turbogears.org/2.0/downloads/1.9.7b1/index/tg.devtools/
Best match: tg.devtools 1.9.7a5
Downloading http://www.turbogears.org/2.0/downloads/1.9.7b1/tg.devtools-1.9.7a5.tar.gz
Processing tg.devtools-1.9.7a5.tar.gz
Running tg.devtools-1.9.7a5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-9seLJB/tg.devtools-1.9.7a5/egg-dist-tmp-43nhmx
Adding tg.devtools 1.9.7a5 to easy-install.pth file

Installed /tmp/tg2env/lib/python2.5/site-packages/tg.devtools-1.9.7a5-py2.5.egg
Processing dependencies for tg.devtools
Searching for Paste>=1.7
Reading http://www.turbogears.org/2.0/downloads/1.9.7b1/index/Paste/
Best match: Paste 1.7.1
Downloading http://www.turbogears.org/2.0/downloads/1.9.7b1/Paste-1.7.1.tar.gz
Processing Paste-1.7.1.tar.gz
Running Paste-1.7.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-zTiTQ7/Paste-1.7.1/egg-dist-tmp-7vVtPn
Adding Paste 1.7.1 to easy-install.pth file

Installed /tmp/tg2env/lib/python2.5/site-packages/Paste-1.7.1-py2.5.egg
Searching for TurboJson>=1.2
Reading http://www.turbogears.org/2.0/downloads/1.9.7b1/index/TurboJson/
Best match: TurboJson 1.2
Downloading http://www.turbogears.org/2.0/downloads/1.9.7b1/TurboJson-1.2.tar.gz
Processing TurboJson-1.2.tar.gz
Running TurboJson-1.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-sw8m9z/TurboJson-1.2/egg-dist-tmp-bafNq0
Adding TurboJson 1.2 to easy-install.pth file

Installed /tmp/tg2env/lib/python2.5/site-packages/TurboJson-1.2-py2.5.egg
Searching for tg.ext.repoze.who
Reading http://www.turbogears.org/2.0/downloads/1.9.7b1/index/tg.ext.repoze.who/
Best match: tg.ext.repoze.who 0.1dev-r26
Downloading http://www.turbogears.org/2.0/downloads/1.9.7b1/tg.ext.repoze.who-0.1dev-r26.tar.gz
Processing tg.ext.repoze.who-0.1dev-r26.tar.gz
Running tg.ext.repoze.who-0.1dev-r26/setup.py -q bdist_egg --dist-dir /tmp/easy_install-2DHgPX/tg.ext.repoze.who-0.1dev-r26/egg-dist-tmp-xTi9dl
'tg.ext' is declared as a package namespace, but 'tg' is not: please correct this in setup.py
Adding tg.ext.repoze.who 0.1dev-r26 to easy-install.pth file

Installed /tmp/tg2env/lib/python2.5/site-packages/tg.ext.repoze.who-0.1dev_r26-py2.5.egg
Searching for DBSprockets>=0.5dev-r380
Reading http://www.turbogears.org/2.0/downloads/1.9.7b1/index/DBSprockets/
Best match: DBSprockets 0.5dev-r411
Downloading http://www.turbogears.org/2.0/downloads/1.9.7b1/DBSprockets-0.5dev-r411.tar.gz
Processing DBSprockets-0.5dev-r411.tar.gz
Running DBSprockets-0.5dev-r411/setup.py -q bdist_egg --dist-dir /tmp/easy_install-4KHMCT/DBSprockets-0.5dev-r411/egg-dist-tmp-YTsVr3
Adding DBSprockets 0.5dev-r411 to easy-install.pth file

Installed /tmp/tg2env/lib/python2.5/site-packages/DBSprockets-0.5dev_r411-py2.5.egg
Searching for tw.forms>=0.9
Reading http://www.turbogears.org/2.0/downloads/1.9.7b1/index/tw.forms/
Best match: tw.forms 0.9.1
Downloading http://www.turbogears.org/2.0/downloads/1.9.7b1/tw.forms-0.9.1.tar.gz
Processing tw.forms-0.9.1.tar.gz
Running tw.forms-0.9.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-8AeHIC/tw.forms-0.9.1/egg-dist-tmp-KKyyQl
Adding tw.forms 0.9.1 to easy-install.pth file

Installed /tmp/tg2env/lib/python2.5/site-packages/tw.forms-0.9.1-py2.5.egg
Reading http://toscawidgets.org/download/
Searching for ToscaWidgets>=0.9
Reading http://www.turbogears.org/2.0/downloads/1.9.7b1/index/ToscaWidgets/
Best match: ToscaWidgets 0.9.5dev-20081026
Downloading http://www.turbogears.org/2.0/downloads/1.9.7b1/ToscaWidgets-0.9.5dev-20081026.tar.gz
Processing ToscaWidgets-0.9.5dev-20081026.tar.gz
Running ToscaWidgets-0.9.5dev-20081026/setup.py -q bdist_egg --dist-dir /tmp/easy_install-vN0t5n/ToscaWidgets-0.9.5dev-20081026/egg-dist-tmp-e8b4An
Adding ToscaWidgets 0.9.5dev-20081026 to easy-install.pth file

Installed /tmp/tg2env/lib/python2.5/site-packages/ToscaWidgets-0.9.5dev_20081026-py2.5.egg
Searching for sqlalchemy-migrate>=0.4.4
Reading http://www.turbogears.org/2.0/downloads/1.9.7b1/index/sqlalchemy-migrate/
Best match: sqlalchemy-migrate 0.4.4
Downloading http://www.turbogears.org/2.0/downloads/1.9.7b1/sqlalchemy-migrate-0.4.4.tar.gz
Processing sqlalchemy-migrate-0.4.4.tar.gz
Running sqlalchemy-migrate-0.4.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Snm4d9/sqlalchemy-migrate-0.4.4/egg-dist-tmp-D72Bl8
Checking .pth file support in .
/tmp/tg2env/bin/python -E -c pass
Searching for py>=0.9.0-beta
Reading http://codespeak.net/download/py/
Best match: py 0.9.1
Downloading http://codespeak.net/download/py/py-0.9.1.zip
Processing py-0.9.1.zip
Running py-0.9.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Snm4d9/sqlalchemy-migrate-0.4.4/temp/easy_install-2mxxhL/py-0.9.1/egg-dist-tmp-nFbVmE
zip_safe flag not set; analyzing archive contents...
py.initpkg: module references __file__
py.initpkg: module references __path__
py.apigen.htmlgen: module MAY be using inspect.getsourcefile
py.apigen.rest.genrest: module references __file__
py.apigen.rest.testing.test_rest: module references __file__
py.apigen.source.path: module references __file__
py.apigen.tracer.docstorage: module MAY be using inspect.getsourcefile
py.apigen.tracer.description: module MAY be using inspect.getsource
py.apigen.tracer.description: module MAY be using inspect.stack
py.apigen.tracer.testing.test_docgen: module references __file__
py.apigen.tracer.testing.test_package: module references __file__
py.code.code: module references __path__
py.code.code: module MAY be using inspect.getsource
py.code.source: module MAY be using inspect.getsource
py.code.testing.test_source: module MAY be using inspect.getsource
py.compat.doctest: module references __file__
py.compat.doctest: module MAY be using inspect.getsourcefile
py.compat.testing._findpy: module references __file__
py.doc.conftest: module references __file__
py.execnet.rsync: module references __file__
py.execnet.register: module references __file__
py.execnet.register: module MAY be using inspect.getsource
py.execnet.testing.test_gateway: module MAY be using inspect.getsource
py.magic.greenlet: module references __file__
py.magic.autopath: module references __file__
py.magic.autopath: module references __path__
py.magic.testing.test_autopath: module references __file__
py.misc.conftest-socketgatewayrun: module references __file__
py.misc._dist: module references __file__
py.misc.dynpkg: module references __file__
py.misc.testing.test_initpkg: module references __file__
py.path.common: module references __file__
py.path.common: module references __path__
py.path.local.local: module references __file__
py.test.collect: module MAY be using inspect.getsourcefile
py.test.collect: module MAY be using inspect.findsource
py.test.config: module references __file__
py.test.item: module MAY be using inspect.stack
py.test.rsession.web: module references __file__
py.test.rsession.testing.test_rsession: module references __file__
py.test.terminal.terminal: module references __file__
py.test.testing.test_collect: module references __file__
py.test.testing.test_conftesthandle: module references __file__

Installed /tmp/easy_install-Snm4d9/sqlalchemy-migrate-0.4.4/py-0.9.1-py2.5.egg
/tmp/tg2env/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/dist.py:245: UserWarning: Module py was already imported from /tmp/easy_install-Snm4d9/sqlalchemy-migrate-0.4.4/temp/easy_install-2mxxhL/py-0.9.1/py/__init__.py, but /tmp/easy_install-Snm4d9/sqlalchemy-migrate-0.4.4/py-0.9.1-py2.5.egg is being added to sys.path
working_set.add(dist)
zip_safe flag not set; analyzing archive contents...
migrate.versioning.api: module MAY be using inspect.getsource
Adding sqlalchemy-migrate 0.4.4 to easy-install.pth file
Installing migrate script to /tmp/tg2env/bin

Installed /tmp/tg2env/lib/python2.5/site-packages/sqlalchemy_migrate-0.4.4-py2.5.egg
Reading http://codespeak.net/download/py/
Searching for PEAK-Rules
Reading http://www.turbogears.org/2.0/downloads/1.9.7b1/index/PEAK-Rules/
Best match: PEAK-Rules 0.5a1.dev-r2562
Downloading http://www.turbogears.org/2.0/downloads/1.9.7b1/PEAK-Rules-0.5a1.dev-r2562.tar.gz
Processing PEAK-Rules-0.5a1.dev-r2562.tar.gz
Running PEAK-Rules-0.5a1.dev-r2562/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ofJ3i8/PEAK-Rules-0.5a1.dev-r2562/egg-dist-tmp-WsJfQM
zip_safe flag not set; analyzing archive contents...
Adding PEAK-Rules 0.5a1.dev-r2562 to easy-install.pth file

Installed /tmp/tg2env/lib/python2.5/site-packages/PEAK_Rules-0.5a1.dev_r2562-py2.5.egg
Searching for zope.sqlalchemy
Reading http://www.turbogears.org/2.0/downloads/1.9.7b1/index/zope.sqlalchemy/
Best match: zope.sqlalchemy 0.3
Downloading http://www.turbogears.org/2.0/downloads/1.9.7b1/zope.sqlalchemy-0.3.tar.gz
Processing zope.sqlalchemy-0.3.tar.gz
Running zope.sqlalchemy-0.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-p-bNiL/zope.sqlalchemy-0.3/egg-dist-tmp-rXv2EG
Adding zope.sqlalchemy 0.3 to easy-install.pth file

Installed /tmp/tg2env/lib/python2.5/site-packages/zope.sqlalchemy-0.3-py2.5.egg
Searching for SQLAlchemy>=0.5.0beta3
Reading http://www.turbogears.org/2.0/downloads/1.9.7b1/index/SQLAlchemy/
Best match: SQLAlchemy 0.5.0beta3
Downloading http://www.turbogears.org/2.0/downloads/1.9.7b1/SQLAlchemy-0.5.0beta3.tar.gz
Processing SQLAlchemy-0.5.0beta3.tar.gz
Running SQLAlchemy-0.5.0beta3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ipr0dS/SQLAlchemy-0.5.0beta3/egg-dist-tmp-qe4Sls
zip_safe flag not set; analyzing archive contents...
sqlalchemy.databases.mysql: module MAY be using inspect.stack
Adding SQLAlchemy 0.5.0beta3 to easy-install.pth file

Installed /tmp/tg2env/lib/python2.5/site-packages/SQLAlchemy-0.5.0beta3-py2.5.egg
Searching for TurboGears2
Reading http://www.turbogears.org/2.0/downloads/1.9.7b1/index/TurboGears2/
Best match: TurboGears2 1.9.7b1
Downloading http://www.turbogears.org/2.0/downloads/1.9.7b1/TurboGears2-1.9.7b1.tar.gz
Processing TurboGears2-1.9.7b1.tar.gz
Running TurboGears2-1.9.7b1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-EP0Tbf/TurboGears2-1.9.7b1/egg-dist-tmp-Olact9
warning: no files found matching 'paver-minilib.zip'
Adding TurboGears2 1.9.7b1 to easy-install.pth file

Installed /tmp/tg2env/lib/python2.5/site-packages/TurboGears2-1.9.7b1-py2.5.egg
Reading http://turbogears.org/2.0/downloads/current
Searching for Pylons>=0.9.7beta5
Best match: Pylons 0.9.7rc1
Downloading http://turbogears.org/2.0/downloads/current/Pylons-0.9.7rc1.tar.gz
Processing Pylons-0.9.7rc1.tar.gz
Running Pylons-0.9.7rc1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ZM1Lwb/Pylons-0.9.7rc1/egg-dist-tmp--aVChv
Adding Pylons 0.9.7rc1 to easy-install.pth file

Installed /tmp/tg2env/lib/python2.5/site-packages/Pylons-0.9.7rc1-py2.5.egg
Reading http://www.pylonshq.com/download/0.9.7
Searching for simplejson>=1.9.1
Best match: simplejson 1.9.2
Downloading http://turbogears.org/2.0/downloads/current/simplejson-1.9.2-py2.5-linux-i686.egg
Processing simplejson-1.9.2-py2.5-linux-i686.egg
Moving simplejson-1.9.2-py2.5-linux-i686.egg to /tmp/tg2env/lib/python2.5/site-packages
Adding simplejson 1.9.2 to easy-install.pth file

Installed /tmp/tg2env/lib/python2.5/site-packages/simplejson-1.9.2-py2.5-linux-i686.egg
Searching for repoze.who
Best match: repoze.who 1.0.2
Downloading http://turbogears.org/2.0/downloads/current/repoze.who-1.0.2.tar.gz
Processing repoze.who-1.0.2.tar.gz
Running repoze.who-1.0.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-8L-6Ft/repoze.who-1.0.2/egg-dist-tmp-1bS4Ek
Adding repoze.who 1.0.2 to easy-install.pth file

Installed /tmp/tg2env/lib/python2.5/site-packages/repoze.who-1.0.2-py2.5.egg
Searching for Genshi>=0.4.4
Best match: Genshi 0.5.1
Downloading http://pylonshq.com/download/0.9.7/Genshi-0.5.1-py2.5-linux-i686.egg
Processing Genshi-0.5.1-py2.5-linux-i686.egg
Moving Genshi-0.5.1-py2.5-linux-i686.egg to /tmp/tg2env/lib/python2.5/site-packages
Adding Genshi 0.5.1 to easy-install.pth file

Installed /tmp/tg2env/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg
Searching for FormEncode>=1.0.1
Best match: FormEncode 1.0.1
Downloading http://pylonshq.com/download/0.9.7/FormEncode-1.0.1.tar.gz
Processing FormEncode-1.0.1.tar.gz
Running FormEncode-1.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-XfQjrV/FormEncode-1.0.1/egg-dist-tmp-PKgiGT
warning: no files found matching '*.py' under directory '.'
warning: no files found matching '*.html' under directory 'docs'
no previously-included directories found matching '**/.svn'
zip_safe flag not set; analyzing archive contents...
formencode.api: module references __file__
formencode.fields: module references __file__
formencode.util.doctest24: module references __file__
formencode.util.doctest24: module MAY be using inspect.getsourcefile
Adding FormEncode 1.0.1 to easy-install.pth file

Installed /tmp/tg2env/lib/python2.5/site-packages/FormEncode-1.0.1-py2.5.egg
error: Installed distribution simplejson 1.9.2 conflicts with requirement simplejson>=2.0.4
(tg2env)luca@azazel:/tmp/tg2env$ easy_install docutils
Traceback (most recent call last):
File "/tmp/tg2env/bin/easy_install", line 5, in <module>
from pkg_resources import load_entry_point
File "/tmp/tg2env/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.py", line 2581, in <module>
File "/tmp/tg2env/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.py", line 640, in subscribe
File "/tmp/tg2env/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.py", line 2581, in <lambda>
File "/tmp/tg2env/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.py", line 2130, in activate
File "/tmp/tg2env/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.py", line 1734, in declare_namespace
File "/tmp/tg2env/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.py", line 1749, in declare_namespace
File "/tmp/tg2env/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.py", line 1720, in _handle_ns
File "/usr/lib/python2.5/pkgutil.py", line 238, in load_module
mod = imp.load_module(fullname, self.file, self.filename, self.etc)
File "/tmp/tg2env/lib/python2.5/site-packages/TurboGears2-1.9.7b1-py2.5.egg/tg/__init__.py", line 53, in <module>
from tg.wsgiapp import TGApp
File "/tmp/tg2env/lib/python2.5/site-packages/TurboGears2-1.9.7b1-py2.5.egg/tg/wsgiapp.py", line 2, in <module>
from pylons.wsgiapp import PylonsApp, class_name_from_module_name
File "/tmp/tg2env/lib/python2.5/site-packages/Pylons-0.9.7rc1-py2.5.egg/pylons/__init__.py", line 4, in <module>
from pylons.config import config
File "/tmp/tg2env/lib/python2.5/site-packages/Pylons-0.9.7rc1-py2.5.egg/pylons/config.py", line 2, in <module>
from pylons.configuration import *
File "/tmp/tg2env/lib/python2.5/site-packages/Pylons-0.9.7rc1-py2.5.egg/pylons/configuration.py", line 22, in <module>
from paste.deploy.converters import asbool
ImportError: No module named deploy.converters


--
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
I would love to fix this world but I'm so lazy...
so lazy...

Derick Eisenhardt

unread,
Oct 27, 2008, 3:36:44 PM10/27/08
to TurboGears Trunk
I'm getting the exact same error. I notice during the install
everything is coming from the 1.9.7b1/ directory until it reaches
Pylons. Pylons is still pulling from the current/ directory. Then
SimpleJSON follows after, also in the current directory rather than
1.9.7.b1

On Oct 27, 7:35 am, Leandro Lucarella <llu...@gmail.com> wrote:
> Mark Ramm, el 27 de octubre a las 00:18 me escribiste:
>
>
>
> > There's a test release of TurboGears beta 1 available at
>
> >http://turbogears.org/2.0/downloads/1.9.7b1/index/
>
> > so you can use that link rather than the one in the getting started
> > doc to try it out.
>
> > So rather than
>
> > easy_install -ihttp://www.turbogears.org/2.0/downloads/current/index
> > tg.devtools
>
> > you would do:
>
> > easy_install -ihttp://www.turbogears.org/2.0/downloads/1.9.7b1/index
> > tg.devtools
>
> I Get this error:
> Installed /tmp/tg2env/lib/python2.5/site-packages/FormEncode-1.0.1-py2.5.egg
> error: Installed distribution simplejson 1.9.2 conflicts with requirement simplejson>=2.0.4
>
> First, I didn't notice the error, and I wanted to install docutils (to follow
> the 20 min. Wiki) and got this error too (I don't know if they are related):
> [...]
>   File "/tmp/tg2env/lib/python2.5/site-packages/Pylons-0.9.7rc1-py2.5.egg/pylons/configuration.py", line 22, in <module>
>     from paste.deploy.converters import asbool
> ImportError: No module named deploy.converters
>
> Here is the complete instalation log:
>
> luca@azazel:/tmp$ virtualenv --no-site-packages tg2env
> New python executable in tg2env/bin/python
> Installing setuptools............done.
> luca@azazel:/tmp$ cd tg2env
> luca@azazel:/tmp/tg2env$ source bin/activate
> (tg2env)luca@azazel:/tmp/tg2env$ easy_install -ihttp://www.turbogears.org/2.0/downloads/1.9.7b1/indextg.devtools
> Searching for tg.devtools
> Readinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/index/tg.devtools/
> Best match: tg.devtools 1.9.7a5
> Downloadinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/tg.devtools-1.9.7a5.t...
> Processing tg.devtools-1.9.7a5.tar.gz
> Running tg.devtools-1.9.7a5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-9seLJB/tg.devtools-1.9.7a5/egg-dist-tmp-43nhmx
> Adding tg.devtools 1.9.7a5 to easy-install.pth file
>
> Installed /tmp/tg2env/lib/python2.5/site-packages/tg.devtools-1.9.7a5-py2.5.egg
> Processing dependencies for tg.devtools
> Searching for Paste>=1.7
> Readinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/index/Paste/
> Best match: Paste 1.7.1
> Downloadinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/Paste-1.7.1.tar.gz
> Processing Paste-1.7.1.tar.gz
> Running Paste-1.7.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-zTiTQ7/Paste-1.7.1/egg-dist-tmp-7vVtPn
> Adding Paste 1.7.1 to easy-install.pth file
>
> Installed /tmp/tg2env/lib/python2.5/site-packages/Paste-1.7.1-py2.5.egg
> Searching for TurboJson>=1.2
> Readinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/index/TurboJson/
> Best match: TurboJson 1.2
> Downloadinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/TurboJson-1.2.tar.gz
> Processing TurboJson-1.2.tar.gz
> Running TurboJson-1.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-sw8m9z/TurboJson-1.2/egg-dist-tmp-bafNq0
> Adding TurboJson 1.2 to easy-install.pth file
>
> Installed /tmp/tg2env/lib/python2.5/site-packages/TurboJson-1.2-py2.5.egg
> Searching for tg.ext.repoze.who
> Readinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/index/tg.ext.repoze.who/
> Best match: tg.ext.repoze.who 0.1dev-r26
> Downloadinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/tg.ext.repoze.who-0.1...
> Processing tg.ext.repoze.who-0.1dev-r26.tar.gz
> Running tg.ext.repoze.who-0.1dev-r26/setup.py -q bdist_egg --dist-dir /tmp/easy_install-2DHgPX/tg.ext.repoze.who-0.1dev-r26/egg-dist-tmp-xTi9dl
> 'tg.ext' is declared as a package namespace, but 'tg' is not: please correct this in setup.py
> Adding tg.ext.repoze.who 0.1dev-r26 to easy-install.pth file
>
> Installed /tmp/tg2env/lib/python2.5/site-packages/tg.ext.repoze.who-0.1dev_r26-py2.5.egg
> Searching for DBSprockets>=0.5dev-r380
> Readinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/index/DBSprockets/
> Best match: DBSprockets 0.5dev-r411
> Downloadinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/DBSprockets-0.5dev-r4...
> Processing DBSprockets-0.5dev-r411.tar.gz
> Running DBSprockets-0.5dev-r411/setup.py -q bdist_egg --dist-dir /tmp/easy_install-4KHMCT/DBSprockets-0.5dev-r411/egg-dist-tmp-YTsVr3
> Adding DBSprockets 0.5dev-r411 to easy-install.pth file
>
> Installed /tmp/tg2env/lib/python2.5/site-packages/DBSprockets-0.5dev_r411-py2.5.egg
> Searching for tw.forms>=0.9
> Readinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/index/tw.forms/
> Best match: tw.forms 0.9.1
> Downloadinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/tw.forms-0.9.1.tar.gz
> Processing tw.forms-0.9.1.tar.gz
> Running tw.forms-0.9.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-8AeHIC/tw.forms-0.9.1/egg-dist-tmp-KKyyQl
> Adding tw.forms 0.9.1 to easy-install.pth file
>
> Installed /tmp/tg2env/lib/python2.5/site-packages/tw.forms-0.9.1-py2.5.egg
> Readinghttp://toscawidgets.org/download/
> Searching for ToscaWidgets>=0.9
> Readinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/index/ToscaWidgets/
> Best match: ToscaWidgets 0.9.5dev-20081026
> Downloadinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/ToscaWidgets-0.9.5dev...
> Processing ToscaWidgets-0.9.5dev-20081026.tar.gz
> Running ToscaWidgets-0.9.5dev-20081026/setup.py -q bdist_egg --dist-dir /tmp/easy_install-vN0t5n/ToscaWidgets-0.9.5dev-20081026/egg-dist-tmp-e8b4An
> Adding ToscaWidgets 0.9.5dev-20081026 to easy-install.pth file
>
> Installed /tmp/tg2env/lib/python2.5/site-packages/ToscaWidgets-0.9.5dev_20081026-py2.5.egg
> Searching for sqlalchemy-migrate>=0.4.4
> Readinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/index/sqlalchemy-migr...
> Best match: sqlalchemy-migrate 0.4.4
> Downloadinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/sqlalchemy-migrate-0....
> Processing sqlalchemy-migrate-0.4.4.tar.gz
> Running sqlalchemy-migrate-0.4.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Snm4d9/sqlalchemy-migrate-0.4.4/egg-dist-tmp-D72Bl8
> Checking .pth file support in .
> /tmp/tg2env/bin/python -E -c pass
> Searching for py>=0.9.0-beta
> Readinghttp://codespeak.net/download/py/
> Best match: py 0.9.1
> Downloadinghttp://codespeak.net/download/py/py-0.9.1.zip
> Readinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/index/PEAK-Rules/
> Best match: PEAK-Rules 0.5a1.dev-r2562
> Downloadinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/PEAK-Rules-0.5a1.dev-...
> Processing PEAK-Rules-0.5a1.dev-r2562.tar.gz
> Running PEAK-Rules-0.5a1.dev-r2562/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ofJ3i8/PEAK-Rules-0.5a1.dev-r2562/egg-dist-tmp-WsJfQM
> zip_safe flag not set; analyzing archive contents...
> Adding PEAK-Rules 0.5a1.dev-r2562 to easy-install.pth file
>
> Installed /tmp/tg2env/lib/python2.5/site-packages/PEAK_Rules-0.5a1.dev_r2562-py2.5.egg
> Searching for zope.sqlalchemy
> Readinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/index/zope.sqlalchemy/
> Best match: zope.sqlalchemy 0.3
> Downloadinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/zope.sqlalchemy-0.3.t...
> Processing zope.sqlalchemy-0.3.tar.gz
> Running zope.sqlalchemy-0.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-p-bNiL/zope.sqlalchemy-0.3/egg-dist-tmp-rXv2EG
> Adding zope.sqlalchemy 0.3 to easy-install.pth file
>
> Installed /tmp/tg2env/lib/python2.5/site-packages/zope.sqlalchemy-0.3-py2.5.egg
> Searching for SQLAlchemy>=0.5.0beta3
> Readinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/index/SQLAlchemy/
> Best match: SQLAlchemy 0.5.0beta3
> Downloadinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/SQLAlchemy-0.5.0beta3...
> Processing SQLAlchemy-0.5.0beta3.tar.gz
> Running SQLAlchemy-0.5.0beta3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ipr0dS/SQLAlchemy-0.5.0beta3/egg-dist-tmp-qe4Sls
> zip_safe flag not set; analyzing archive contents...
> sqlalchemy.databases.mysql: module MAY be using inspect.stack
> Adding SQLAlchemy 0.5.0beta3 to easy-install.pth file
>
> Installed /tmp/tg2env/lib/python2.5/site-packages/SQLAlchemy-0.5.0beta3-py2.5.egg
> Searching for TurboGears2
> Readinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/index/TurboGears2/
> Best match: TurboGears2 1.9.7b1
> Downloadinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/TurboGears2-1.9.7b1.t...
> Processing TurboGears2-1.9.7b1.tar.gz
> Running TurboGears2-1.9.7b1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-EP0Tbf/TurboGears2-1.9.7b1/egg-dist-tmp-Olact9
> warning: no files found matching 'paver-minilib.zip'
> Adding TurboGears2 1.9.7b1 to easy-install.pth file
>
> Installed /tmp/tg2env/lib/python2.5/site-packages/TurboGears2-1.9.7b1-py2.5.egg
> Readinghttp://turbogears.org/2.0/downloads/current
> Searching for Pylons>=0.9.7beta5
> Best match: Pylons 0.9.7rc1
> Downloadinghttp://turbogears.org/2.0/downloads/current/Pylons-0.9.7rc1.tar.gz
> Processing Pylons-0.9.7rc1.tar.gz
> Running Pylons-0.9.7rc1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ZM1Lwb/Pylons-0.9.7rc1/egg-dist-tmp--aVChv
> Adding Pylons 0.9.7rc1 to easy-install.pth file
>
> Installed /tmp/tg2env/lib/python2.5/site-packages/Pylons-0.9.7rc1-py2.5.egg
> Readinghttp://www.pylonshq.com/download/0.9.7
> Searching for simplejson>=1.9.1
> Best match: simplejson 1.9.2
> Downloadinghttp://turbogears.org/2.0/downloads/current/simplejson-1.9.2-py2.5-li...
> Processing simplejson-1.9.2-py2.5-linux-i686.egg
> Moving simplejson-1.9.2-py2.5-linux-i686.egg to /tmp/tg2env/lib/python2.5/site-packages
> Adding simplejson 1.9.2 to easy-install.pth file
>
> Installed /tmp/tg2env/lib/python2.5/site-packages/simplejson-1.9.2-py2.5-linux-i686.egg
> Searching for repoze.who
> Best match: repoze.who 1.0.2
> Downloadinghttp://turbogears.org/2.0/downloads/current/repoze.who-1.0.2.tar.gz
> Processing repoze.who-1.0.2.tar.gz
> Running repoze.who-1.0.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-8L-6Ft/repoze.who-1.0.2/egg-dist-tmp-1bS4Ek
> Adding repoze.who 1.0.2 to easy-install.pth file
>
> Installed /tmp/tg2env/lib/python2.5/site-packages/repoze.who-1.0.2-py2.5.egg
> Searching for Genshi>=0.4.4
> Best match: Genshi 0.5.1
> Downloadinghttp://pylonshq.com/download/0.9.7/Genshi-0.5.1-py2.5-linux-i686.egg
> Processing Genshi-0.5.1-py2.5-linux-i686.egg
> Moving Genshi-0.5.1-py2.5-linux-i686.egg to /tmp/tg2env/lib/python2.5/site-packages
> Adding Genshi 0.5.1 to easy-install.pth file
>
> Installed /tmp/tg2env/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg
> Searching for FormEncode>=1.0.1
> Best match: FormEncode 1.0.1
> Downloadinghttp://pylonshq.com/download/0.9.7/FormEncode-1.0.1.tar.gz

Derick Eisenhardt

unread,
Oct 27, 2008, 4:06:02 PM10/27/08
to TurboGears Trunk


On Oct 27, 2:36 pm, Derick Eisenhardt <derick.eisenha...@gmail.com>
wrote:
> ...
>
> read more »

I attempted installing all the packages that were pulling from the
wrong directory one by one before I started installing tg.devtools and
have found another problem. Pylons-0.9.7.rc2 that is in the 1.9.7.b2/
directory requires WebOb-0.9.3 or higher, but the only version
available in the 1.9.7.b2 repo is WebOb-0.9.2.

It appears any package installed after Pylons reverts back to the
current/ directory, so far the packages I've found that it happens
with are:

Pylons
simplejson
FormEncode
Genshi
repoze.who
Babel
decorator
repoze.tm2
Transaction
zope.interface
BytecodeAssembler
DecoratorTools
AddOns
Extremes
WebOb

I wish I knew more about packaging thru easy_install so I could help
more, but hopefully this will help someone figure out the problem :)

- Derick

Jorge Vargas

unread,
Oct 27, 2008, 4:16:26 PM10/27/08
to turbogea...@googlegroups.com
On Mon, Oct 27, 2008 at 1:18 AM, Mark Ramm <mark.mch...@gmail.com> wrote:

There's a test release of TurboGears beta 1 available at

http://turbogears.org/2.0/downloads/1.9.7b1/index/


trying on ubuntu 8.04 + virtualenv

- I had to upgrade my setuptools as it requres >0.6c7
- I believe there is a bad error on somewhere between tg2 and pylons egg, that is breaking easy_install. which broke my venv, and I'm not sure why this code is even running  maybe there is something on those __init__ that shouldn't be there? or this is a bad sideproduct of the bad installation.

(tg1.9.7b1test)elpargo@notebook ~/tg/tg1.9.7b1test $ easy_install decorator

Traceback (most recent call last):
  File "/home/elpargo/tg/tg1.9.7b1test/bin/easy_install", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2582, in <module>
    working_set.entries=[]; map(working_set.add_entry,sys.path) # match order
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 640, in subscribe
    callback(dist)
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2582, in <lambda>
    working_set.entries=[]; map(working_set.add_entry,sys.path) # match order
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2131, in activate
   
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1734, in declare_namespace
    declare_namespace(parent)
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1749, in declare_namespace
    _handle_ns(packageName, path_item)
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1720, in _handle_ns
    loader.load_module(packageName); module.__path__ = path

  File "/usr/lib/python2.5/pkgutil.py", line 238, in load_module
    mod = imp.load_module(fullname, self.file, self.filename, self.etc)
  File "/home/elpargo/tg/tg1.9.7b1test/lib/python2.5/site-packages/TurboGears2-1.9.7b1-py2.5.egg/tg/__init__.py", line 53, in <module>
    from tg.wsgiapp import TGApp
  File "/home/elpargo/tg/tg1.9.7b1test/lib/python2.5/site-packages/TurboGears2-1.9.7b1-py2.5.egg/tg/wsgiapp.py", line 2, in <module>

    from pylons.wsgiapp import PylonsApp, class_name_from_module_name
  File "/home/elpargo/tg/tg1.9.7b1test/lib/python2.5/site-packages/Pylons-0.9.7rc1-py2.5.egg/pylons/__init__.py", line 4, in <module>
    from pylons.config import config
  File "/home/elpargo/tg/tg1.9.7b1test/lib/python2.5/site-packages/Pylons-0.9.7rc1-py2.5.egg/pylons/config.py", line 2, in <module>
    from pylons.configuration import *
  File "/home/elpargo/tg/tg1.9.7b1test/lib/python2.5/site-packages/Pylons-0.9.7rc1-py2.5.egg/pylons/configuration.py", line 24, in <module>
    import pylons.legacy
  File "/home/elpargo/tg/tg1.9.7b1test/lib/python2.5/site-packages/Pylons-0.9.7rc1-py2.5.egg/pylons/legacy.py", line 9, in <module>
    import pylons.decorators
  File "/home/elpargo/tg/tg1.9.7b1test/lib/python2.5/site-packages/Pylons-0.9.7rc1-py2.5.egg/pylons/decorators/__init__.py", line 16, in <module>
    from decorator import decorator
ImportError: No module named decorator

Derick Eisenhardt

unread,
Oct 27, 2008, 4:34:35 PM10/27/08
to TurboGears Trunk
Finally got it to work!

Here's the work around I had to do...
DO NOT Install the tg.devtools package until last!

Install all of these packages manually in syntax of "easy_install -i
http://www.turbogears.org/2.0/downloads/1.9.7b1/index
<package_name>" (do note they are case sensitive):

simplejson
FormEncode
Genshi
repoze.who
Babel
decorator
repoze.tm2
Transaction
zope.interface
BytecodeAssembler
DecoratorTools
AddOns
Extremes

Then install the following packages from PyPI (because the versions in
the 1.9.7.b1 directory are not new enough) in the syntax of simply
"easy_install <package>":

WebOb
Mako
WebHelpers
Routes

Now install Pylons via "easy_install -i http://www.turbogears.org/2.0/downloads/1.9.7b1/index
Pylons"

and if that finishes successfully, now you can install the tg.devtools
package with " easy_install -i http://www.turbogears.org/2.0/downloads/1.9.7b1/index
tg.devtools"

This should get some of us by till Mark gets a chance to do the actual
release ;)

- Derick

PS: All of this was done with a fresh tg2env virtual environment

Luke Macken

unread,
Oct 27, 2008, 4:37:57 PM10/27/08
to turbogea...@googlegroups.com

In an effort to package this up for Fedora, I'm noticing that some parts of the test suite seem to be failing for me.
 
    http://lmacken.fedorapeople.org/tg2b1.nose.out 

Using Pylons 0.9.7rc2

luke

Jorge Vargas

unread,
Oct 27, 2008, 5:24:12 PM10/27/08
to turbogea...@googlegroups.com
On Mon, Oct 27, 2008 at 2:34 PM, Derick Eisenhardt
<derick.e...@gmail.com> wrote:
>
> Finally got it to work!
>
This method worked for me.

just a little note, you can chain this into the same line:
easy_install -i http://www.turbogears.org/2.0/downloads/1.9.7b1/index


simplejson FormEncode Genshi repoze.who Babel decorator repoze.tm2
Transaction zope.interface BytecodeAssembler DecoratorTools AddOns
Extremes

This are the versions that need to be upgraded, for webhelpers
required is 0.6.1 but current 0.6.3.

webOb0.9.2 --- 0.9.3
Mako 0.2 --- 0.2.2
WebHelpers 0.6dev-20080613 -- 0.6.1 (0.6.3)
Routes 1.9 --- 1.10.1

I also notice the following:

- it is still pulling tg.ext.repoze.who

it is also pulling the following "dev packages"

PasteScript-1.6.4dev_r7555-py2.5.egg
DBSprockets-0.5dev_r411-py2.5.egg
ToscaWidgets-0.9.5dev_20081026-py2.5.egg (what happend to 0.9.4?)
PEAK_Rules-0.5a1.dev_r2562-py2.5.egg
repoze.tm2 1.0a3

shouldn't we bug upstream for a release? after all this is a mayor TG
milestone. I know DBSprockets and TW are easy as they are closer to
TG, how about the other three?

What is the status of sqlalchemy-migrate?
last I heard it didn't support 0.5, although I just googled and found
this http://groups.google.com/group/migrate-users/browse_thread/thread/e989b4f0308afe54
and this http://code.google.com/p/sqlalchemy-migrate/source/detail?r=449

so shall we use their trunk (449)? pin down at 0.4 or add a warning
for it? I vote for the last one, as migrate isn't a critical part of
TG but a nice addition.

Jorge Vargas

unread,
Oct 27, 2008, 7:52:11 PM10/27/08
to turbogea...@googlegroups.com

I found two more issues, interesting enough both related to quickstart:

1- WebTest isn't listed as dependency neither of tg or the tg project,
therefore running nosetests fails.

now if you run $ python setup.py test, it will download both WebTest
and BeautifulSoup egg into the project directory but they won't be
installed so even though this works and runs the tests. nosetests
still fails.

I think we should make WebTest a dependency of TG2 (it is also used by
the test_stack isn't it?), and then put a second comment line under
/tests/functional/test_root.py telling you to easy_install
BeautifulSoup

Also related both webtest and beautifulsoup are in the wrong case
inside setup.py making setuptools generate a warning.

Attached a patch to fix this.

The other issue seems to be a bad merge in the templates for
quickstart with identity.
in my install it's in file.
tg.devtools-1.9.7a5-py2.5.egg/devtools/templates/turbogears/+package+/model/identity.py_tmpl

to reproduce quickstart a project and say yes to identity, then run nosetests.

test_dependencies.patch

percious

unread,
Oct 27, 2008, 8:37:19 PM10/27/08
to TurboGears Trunk
I meant to add webtest to the deps last night, sorry about that.

I will look at formencode and see what the conflict issue is with SJ
1.9.2.

cheers.
-chris

On Oct 27, 5:52 pm, "Jorge Vargas" <jorge.var...@gmail.com> wrote:
> On Mon, Oct 27, 2008 at 3:24 PM, Jorge Vargas <jorge.var...@gmail.com> wrote:
> > On Mon, Oct 27, 2008 at 2:34 PM, Derick Eisenhardt
> > <derick.eisenha...@gmail.com> wrote:
>
> >> Finally got it to work!
>
> > This method worked for me.
>
> > just a  little note, you can chain this into the same line:
> > easy_install -ihttp://www.turbogears.org/2.0/downloads/1.9.7b1/index
> > simplejson FormEncode Genshi repoze.who Babel decorator repoze.tm2
> > Transaction zope.interface BytecodeAssembler DecoratorTools AddOns
> > Extremes
>
> > This are the versions that need to be upgraded, for webhelpers
> > required is 0.6.1 but current 0.6.3.
>
> > webOb0.9.2 --- 0.9.3
> > Mako 0.2 --- 0.2.2
> > WebHelpers 0.6dev-20080613 -- 0.6.1 (0.6.3)
> > Routes 1.9 --- 1.10.1
>
> > I also notice the following:
>
> > - it is still pulling tg.ext.repoze.who
>
> > it is also pulling the following "dev packages"
>
> > PasteScript-1.6.4dev_r7555-py2.5.egg
> > DBSprockets-0.5dev_r411-py2.5.egg
> > ToscaWidgets-0.9.5dev_20081026-py2.5.egg (what happend to 0.9.4?)
> > PEAK_Rules-0.5a1.dev_r2562-py2.5.egg
> > repoze.tm2 1.0a3
>
> > shouldn't we bug upstream for a release? after all this is a mayor TG
> > milestone. I know DBSprockets and TW are easy as they are closer to
> > TG, how about the other three?
>
> > What is the status of sqlalchemy-migrate?
> > last I heard it didn't support 0.5, although I just googled and found
> > thishttp://groups.google.com/group/migrate-users/browse_thread/thread/e98...
> > and thishttp://code.google.com/p/sqlalchemy-migrate/source/detail?r=449
>
> > so shall we use their trunk (449)? pin down at 0.4 or add a warning
> > for it? I vote for the last one, as migrate isn't a critical part of
> > TG but a nice addition.
>
> I found two more issues, interesting enough both related to quickstart:
>
> 1- WebTest isn't listed as dependency neither of tg or the tg project,
> therefore running nosetests fails.
>
> now if you run $ python setup.py test, it will download both WebTest
> and BeautifulSoup egg into the project directory but they won't be
> installed so even though this works and runs the tests. nosetests
> still fails.
>
> I think we should make WebTest a dependency of TG2 (it is also used by
> the test_stack isn't it?), and then put a second comment line under
> /tests/functional/test_root.py telling you to easy_install
> BeautifulSoup
>
> Also related both webtest and beautifulsoup are in the wrong case
> inside setup.py making setuptools generate a warning.
>
> Attached a patch to fix this.
>
> The other issue seems to be a bad merge in the templates for
> quickstart with identity.
> in my install it's in file.
> tg.devtools-1.9.7a5-py2.5.egg/devtools/templates/turbogears/+package+/model /identity.py_tmpl
>
> to reproduce quickstart a project and say yes to identity, then run nosetests.
>
>  test_dependencies.patch
> 2KViewDownload

Mark Ramm

unread,
Oct 27, 2008, 10:28:34 PM10/27/08
to turbogea...@googlegroups.com
Unfortunately I'm going to be a bit out of commission this week since
my grandfather just passed away, and I'm spending time working on the
arrangements and spending time with my family. I want to say thank
you to Chris, and others who helped me make last night's midnight
flight from the GSoC summit to Omaha, which allowed me to see my
grandfather one last time before he died this afternoon.

I'll probably have limited time to work on this, but I'm guessing that
we've got the main index page in the setup.py of tubogears, but I
probably won't have much time to sort this stuff out in the next
couple of days. But I'll do what I can.

--Mark Ramm

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

Luke Macken

unread,
Oct 28, 2008, 12:56:46 AM10/28/08
to turbogea...@googlegroups.com

So, I ended up packaging up today's svn snapshot instead of the beta, which not only fixes an issue with the 'tg.ext' namespace that I was hitting, thanks to tgext.authorization, but now the test suite runs fine.

Cheers,

luke

percious

unread,
Oct 28, 2008, 1:51:12 AM10/28/08
to TurboGears Trunk
Mark,

If you can send me a pointer to the index/docs creation methods, I
should be able to take care of those type of problems in your stead.
At least we have 2 full weeks before the next conference...

cheers.
-chris

On Oct 27, 10:56 pm, "Luke Macken" <luke.mac...@gmail.com> wrote:
> On Mon, Oct 27, 2008 at 4:37 PM, Luke Macken <luke.mac...@gmail.com> wrote:
> > On Mon, Oct 27, 2008 at 3:18 AM, Mark Ramm <mark.mchristen...@gmail.com>wrote:
>
> >> There's a test release of TurboGears beta 1 available at
>
> >>http://turbogears.org/2.0/downloads/1.9.7b1/index/
>
> >> so you can use that link rather than the one in the getting started
> >> doc to try it out.
>
> >> So rather than
>
> >> easy_install -ihttp://www.turbogears.org/2.0/downloads/current/index
> >> tg.devtools
>
> >> you would do:
>
> >> easy_install -ihttp://www.turbogears.org/2.0/downloads/1.9.7b1/index

Mark Ramm

unread,
Oct 28, 2008, 10:48:46 AM10/28/08
to turbogea...@googlegroups.com
Here's what I do to make a new index and test it:

http://paste.turbogears.org/paste/11224

Obviously this is a bit specific to my machine, and is totally
brittle. But it should give you an idea of what I do.

Basically I remove the existing tg and tg.devtools eggs, build sdists,
copy the sdists into the index and use make_index (should update that
to basketweaver) and then rsync the new index up to the server and
test it in a virtualenv.

For updating the docs and uploading them, the process is much simpler:

http://paste.turbogears.org/paste/11225

All of this assumes you have ssh access to the server ;)

--

Mark Ramm

unread,
Oct 28, 2008, 10:51:10 AM10/28/08
to turbogea...@googlegroups.com
I figured out what's happeining in the tests. I added some new
failing tests that are local on my machine, and have been working on
those, and I accidentally built the eggs in the index from that svn
checkout rather than from a clean version.

Sorry abut that!

--

Doug Latornell

unread,
Oct 28, 2008, 12:41:50 PM10/28/08
to TurboGears Trunk
Hi Jorge;

This issue was flagged a while ago - http://trac.turbogears.org/ticket/1976
Could you please attach your patch to that ticket.

Thanks...

Doug

On Oct 27, 4:52 pm, "Jorge Vargas" <jorge.var...@gmail.com> wrote:
> On Mon, Oct 27, 2008 at 3:24 PM, Jorge Vargas <jorge.var...@gmail.com> wrote:
> > On Mon, Oct 27, 2008 at 2:34 PM, Derick Eisenhardt
> > <derick.eisenha...@gmail.com> wrote:
>
> >> Finally got it to work!
>
> > This method worked for me.
>
> > just a  little note, you can chain this into the same line:
> > easy_install -ihttp://www.turbogears.org/2.0/downloads/1.9.7b1/index
> > simplejson FormEncode Genshi repoze.who Babel decorator repoze.tm2
> > Transaction zope.interface BytecodeAssembler DecoratorTools AddOns
> > Extremes
>
> > This are the versions that need to be upgraded, for webhelpers
> > required is 0.6.1 but current 0.6.3.
>
> > webOb0.9.2 --- 0.9.3
> > Mako 0.2 --- 0.2.2
> > WebHelpers 0.6dev-20080613 -- 0.6.1 (0.6.3)
> > Routes 1.9 --- 1.10.1
>
> > I also notice the following:
>
> > - it is still pulling tg.ext.repoze.who
>
> > it is also pulling the following "dev packages"
>
> > PasteScript-1.6.4dev_r7555-py2.5.egg
> > DBSprockets-0.5dev_r411-py2.5.egg
> > ToscaWidgets-0.9.5dev_20081026-py2.5.egg (what happend to 0.9.4?)
> > PEAK_Rules-0.5a1.dev_r2562-py2.5.egg
> > repoze.tm2 1.0a3
>
> > shouldn't we bug upstream for a release? after all this is a mayor TG
> > milestone. I know DBSprockets and TW are easy as they are closer to
> > TG, how about the other three?
>
> > What is the status of sqlalchemy-migrate?
> > last I heard it didn't support 0.5, although I just googled and found
> > thishttp://groups.google.com/group/migrate-users/browse_thread/thread/e98...
> > and thishttp://code.google.com/p/sqlalchemy-migrate/source/detail?r=449
>
> > so shall we use their trunk (449)? pin down at 0.4 or add a warning
> > for it? I vote for the last one, as migrate isn't a critical part of
> > TG but a nice addition.
>
> I found two more issues, interesting enough both related to quickstart:
>
> 1- WebTest isn't listed as dependency neither of tg or the tg project,
> therefore running nosetests fails.
>
> now if you run $ python setup.py test, it will download both WebTest
> and BeautifulSoup egg into the project directory but they won't be
> installed so even though this works and runs the tests. nosetests
> still fails.
>
> I think we should make WebTest a dependency of TG2 (it is also used by
> the test_stack isn't it?), and then put a second comment line under
> /tests/functional/test_root.py telling you to easy_install
> BeautifulSoup
>
> Also related both webtest and beautifulsoup are in the wrong case
> inside setup.py making setuptools generate a warning.
>
> Attached a patch to fix this.
>
> The other issue seems to be a bad merge in the templates for
> quickstart with identity.
> in my install it's in file.
> tg.devtools-1.9.7a5-py2.5.egg/devtools/templates/turbogears/+package+/model/identity.py_tmpl
>
> to reproduce quickstart a project and say yes to identity, then run nosetests.
>
>  test_dependencies.patch
> 2KViewDownload

Jorge Vargas

unread,
Oct 28, 2008, 7:59:11 PM10/28/08
to turbogea...@googlegroups.com
Thanks, I didn't notice that.

percious

unread,
Oct 29, 2008, 12:58:09 AM10/29/08
to TurboGears Trunk
I just ran everything in a fresh virtualenv, and everything ran with
the exception of needing to easy_install repoze.tm2 from the index.

So, according to what I have tried
easy_install -i http://www.turbogears.org/2.0/downloads/1.9.7b1/index
repoze.tm2

should get you where you need to be.

Mark,
should repoze.tm2 be part of the deps?

cheers.
-chris

On Oct 28, 5:59 pm, "Jorge Vargas" <jorge.var...@gmail.com> wrote:
> Thanks, I didn't notice that.
>
> On Tue, Oct 28, 2008 at 10:41 AM, Doug Latornell <djlatorn...@gmail.com> wrote:
>
> > Hi Jorge;
>
> > This issue was flagged a while ago -http://trac.turbogears.org/ticket/1976

Mark Ramm

unread,
Oct 29, 2008, 12:59:52 AM10/29/08
to turbogea...@googlegroups.com
Yea, I'm working on this right now.

Lots of stuff was broken, and dependencies needed to be updated. As
soon as I've got everything finalized, I'll checkin a new tg.devtools
and update the index again.

Hopefully that will happen in the next 5 min. ;)

--Mark Ramm

--

Mark Ramm

unread,
Oct 29, 2008, 1:05:23 AM10/29/08
to turbogea...@googlegroups.com
OK, so I've added beautiful soup, webtest, and upgraded the
dependencies below. And a quick test on my mac shows that for some
reason virtualenv is not respecting the --no-site-packages options on
my machine.

So, I used a ubuntu VMWare image to test this install and everything
seems to have worked this time.

I also updated some stuff so that my local only tests that were broken
aren't in the release any more. So, hopefully this is all good now..

--Mark Ramm

--

percious

unread,
Oct 29, 2008, 1:11:21 AM10/29/08
to TurboGears Trunk
nice work. it all works smashingly now.

cheers.
-chris

On Oct 28, 11:05 pm, "Mark Ramm" <mark.mchristen...@gmail.com> wrote:
> OK, so I've added beautiful soup, webtest, and upgraded the
> dependencies below.   And a quick test on my mac shows that for some
> reason virtualenv is not respecting the --no-site-packages options on
> my machine.
>
> So, I used a ubuntu VMWare image to test this install and everything
> seems to have worked this time.
>
> I also updated some stuff so that my local only tests that were broken
> aren't in the release any more.   So, hopefully this is all good now..
>
> --Mark Ramm
>
>
>
> On Mon, Oct 27, 2008 at 5:24 PM, Jorge Vargas <jorge.var...@gmail.com> wrote:
>
> > On Mon, Oct 27, 2008 at 2:34 PM, Derick Eisenhardt
> > <derick.eisenha...@gmail.com> wrote:
>
> >> Finally got it to work!
>
> > This method worked for me.
>
> > just a  little note, you can chain this into the same line:
> > easy_install -ihttp://www.turbogears.org/2.0/downloads/1.9.7b1/index
> > simplejson FormEncode Genshi repoze.who Babel decorator repoze.tm2
> > Transaction zope.interface BytecodeAssembler DecoratorTools AddOns
> > Extremes
>
> > This are the versions that need to be upgraded, for webhelpers
> > required is 0.6.1 but current 0.6.3.
>
> > webOb0.9.2 --- 0.9.3
> > Mako 0.2 --- 0.2.2
> > WebHelpers 0.6dev-20080613 -- 0.6.1 (0.6.3)
> > Routes 1.9 --- 1.10.1
>
> > I also notice the following:
>
> > - it is still pulling tg.ext.repoze.who
>
> > it is also pulling the following "dev packages"
>
> > PasteScript-1.6.4dev_r7555-py2.5.egg
> > DBSprockets-0.5dev_r411-py2.5.egg
> > ToscaWidgets-0.9.5dev_20081026-py2.5.egg (what happend to 0.9.4?)
> > PEAK_Rules-0.5a1.dev_r2562-py2.5.egg
> > repoze.tm2 1.0a3
>
> > shouldn't we bug upstream for a release? after all this is a mayor TG
> > milestone. I know DBSprockets and TW are easy as they are closer to
> > TG, how about the other three?
>
> > What is the status of sqlalchemy-migrate?
> > last I heard it didn't support 0.5, although I just googled and found
> > thishttp://groups.google.com/group/migrate-users/browse_thread/thread/e98...
> > and thishttp://code.google.com/p/sqlalchemy-migrate/source/detail?r=449

percious

unread,
Oct 29, 2008, 2:11:03 AM10/29/08
to TurboGears Trunk
I have just verified that:
works on python 2.5 and 2.6

That's right folks, 2.6. Welcome to 2008.

cheers.
-chris

Jorge Vargas

unread,
Oct 29, 2008, 2:32:16 AM10/29/08
to turbogea...@googlegroups.com
On Wed, Oct 29, 2008 at 12:11 AM, percious <ch...@percious.com> wrote:
>
> I have just verified that:
>
> easy_install -i http://www.turbogears.org/2.0/downloads/1.9.7b1/index
> tg.devtools
>
> works on python 2.5 and 2.6
>
I can double confirm that for 2.5, awesome that we are 2.6 compatible!

one thing I notice, maybe a bug? quickstart no longer ask for auth &
auth, wasn't that supposed to be on by default but still ask?
Did you guys miss my comment about sqlalchemy 0.5 and
sqlalchemy-migrations? there is no release of migrations that works in
0.5 but the code is in trunk.
As for beautiful soup, I don't like to require it for every project
just because the sample test uses it, WebTest is clear enough to say
they are optional dependencies and I believe they should be keep as
such.

Gustavo Narea

unread,
Oct 29, 2008, 12:49:35 PM10/29/08
to turbogea...@googlegroups.com
On Wednesday October 29, 2008 07:32:16 Jorge Vargas wrote:
> one thing I notice, maybe a bug? quickstart no longer ask for auth &
> auth, wasn't that supposed to be on by default but still ask?

Sorry, that's my fault. I've fixed this in [5643]:
http://trac.turbogears.org/changeset/5643/

I suggest you either use tg.devtools from SVN or apply the couple of changes
above in your TG2 copy.

If somebody wants to disable auth...
http://turbogears.org/2.0/docs/main/Extensions/Authorization/Quickstart.html#disabling-
the-quickstart

Cheers.
--
Gustavo Narea.
http://gustavonarea.net/

Get rid of unethical constraints! Switch to Freedomware:
http://softwareliberty.com/

Gustavo Narea

unread,
Oct 29, 2008, 1:14:07 PM10/29/08
to turbogea...@googlegroups.com
On Tuesday October 28, 2008 00:52:11 Jorge Vargas wrote:
> The other issue seems to be a bad merge in the templates for
> quickstart with identity.
> in my install it's in file.
>tg.devtools-1.9.7a5py2.5.egg/devtools/templates/turbogears/+package+/model>/identity.py_tmpl
^^
You should be using b1.

> to reproduce quickstart a project and say yes to identity, then run
> nosetests.

I get this when I get this on a newly created project with auth:
> nosetests
> .....
> ----------------------------------------------------------------------
> Ran 5 tests in 0.353s
>
> OK

Oleksandr Moskalenko

unread,
Oct 30, 2008, 11:52:31 AM10/30/08
to turbogea...@googlegroups.com
* Gustavo Narea <m...@gustavonarea.net> [2008-10-29 17:49:35 +0100]:

>
> On Wednesday October 29, 2008 07:32:16 Jorge Vargas wrote:
> > one thing I notice, maybe a bug? quickstart no longer ask for auth &
> > auth, wasn't that supposed to be on by default but still ask?
>
> Sorry, that's my fault. I've fixed this in [5643]:
> http://trac.turbogears.org/changeset/5643/
>
> I suggest you either use tg.devtools from SVN or apply the couple of changes
> above in your TG2 copy.
>
> If somebody wants to disable auth...
> http://turbogears.org/2.0/docs/main/Extensions/Authorization/Quickstart.html#disabling-
> the-quickstart
>
> Cheers.
> --
> Gustavo Narea.

There is one more thing to install for mysql users - mysql-python. Otherwise,
beta1 is a breeze to install. I wonder if it wouldn't be prudent to just add
mysql-python to dependencies as it's small, so the cost of having it is low.

Cheers,

Alex.

Mark Ramm

unread,
Oct 30, 2008, 12:21:34 PM10/30/08
to turbogea...@googlegroups.com
> There is one more thing to install for mysql users - mysql-python. Otherwise,
> beta1 is a breeze to install. I wonder if it wouldn't be prudent to just add
> mysql-python to dependencies as it's small, so the cost of having it is low.

Hmm, do we also install psycopg2? Also what happens when you don't
have the actuall database engine installed?

I do want to make this as painless as possible. But there may be a
limit to what we can do in the TG2 standard installer.

--Mark Ramm

Oleksandr Moskalenko

unread,
Oct 30, 2008, 12:30:28 PM10/30/08
to turbogea...@googlegroups.com
* Mark Ramm <mark.mch...@gmail.com> [2008-10-30 11:21:34 -0500]:

Well, then psycopg??? and mysql-python should be mentioned in the tg2
installation documentation, so people don't have to wonder what they need to
install to enable sqla to use their database engine.

Cheers,

Alex.

Jorge Vargas

unread,
Oct 30, 2008, 8:19:30 PM10/30/08
to turbogea...@googlegroups.com
Agreed, we need to migrate the tg1 docs into the sphinx code base.
for now you can use the tg1 docs
http://docs.turbogears.org/1.0/Install#database-installation-and-configuration

> Cheers,
>
> Alex.
>
> >
>

Lukasz Szybalski

unread,
Oct 30, 2008, 8:36:27 PM10/30/08
to turbogea...@googlegroups.com
I just installed

then
paster quickstart

Turbogears2 no longer asks if you want identity?

Lucas

Enter project name: daaa1
Enter package name [daaa1]:
Selected and implied templates:
tg.devtools#turbogears2 TurboGears 2.0 Standard Quickstart Template

Variables:
auth: sqlalchemy
egg: daaa1
elixir: False
package: daaa1
project: daaa1
sqlalchemy: True
sqlobject: False
tgversion: 1.9.7b1
Creating template turbogears2
Creating directory ./daaa1
Recursing into +egg+.egg-info
Creating ./daaa1/daaa1.egg-info/
Copying paste_deploy_config.ini_tmpl_tmpl to
./daaa1/daaa1.egg-info/paste_deploy_config.ini_tmpl
Recursing into +package+
Creating ./daaa1/daaa1/
Copying __init__.py_tmpl to ./daaa1/daaa1/__init__.py
Recursing into config
Creating ./daaa1/daaa1/config/
Copying __init__.py_tmpl to ./daaa1/daaa1/config/__init__.py
Copying app_cfg.py_tmpl to ./daaa1/daaa1/config/app_cfg.py
Copying environment.py_tmpl to ./daaa1/daaa1/config/environment.py
Copying middleware.py_tmpl to ./daaa1/daaa1/config/middleware.py
Recursing into controllers
Creating ./daaa1/daaa1/controllers/
Copying __init__.py_tmpl to ./daaa1/daaa1/controllers/__init__.py
Copying error.py_tmpl to ./daaa1/daaa1/controllers/error.py
Copying root.py_tmpl to ./daaa1/daaa1/controllers/root.py
Copying secc.py_tmpl to ./daaa1/daaa1/controllers/secc.py
Copying template.py_tmpl to ./daaa1/daaa1/controllers/template.py
Recursing into i18n
Creating ./daaa1/daaa1/i18n/
Recursing into ru
Creating ./daaa1/daaa1/i18n/ru/
Recursing into LC_MESSAGES
Creating ./daaa1/daaa1/i18n/ru/LC_MESSAGES/
Copying +package+.po_tmpl to
./daaa1/daaa1/i18n/ru/LC_MESSAGES/daaa1.po
Recursing into lib
Creating ./daaa1/daaa1/lib/
Copying __init__.py_tmpl to ./daaa1/daaa1/lib/__init__.py
Copying app_globals.py_tmpl to ./daaa1/daaa1/lib/app_globals.py
Copying base.py_tmpl to ./daaa1/daaa1/lib/base.py
Copying helpers.py_tmpl to ./daaa1/daaa1/lib/helpers.py
Recursing into model
Creating ./daaa1/daaa1/model/
Copying __init__.py_tmpl to ./daaa1/daaa1/model/__init__.py
Copying auth.py_tmpl to ./daaa1/daaa1/model/auth.py
Copying model.template_tmpl to ./daaa1/daaa1/model/model.template
Recursing into public
Creating ./daaa1/daaa1/public/
Recursing into css
Creating ./daaa1/daaa1/public/css/
Copying style.css to ./daaa1/daaa1/public/css/style.css
Copying favicon.ico to ./daaa1/daaa1/public/favicon.ico
Recursing into images
Creating ./daaa1/daaa1/public/images/
Copying error.png to ./daaa1/daaa1/public/images/error.png
Copying grad_blue_7x80.png to
./daaa1/daaa1/public/images/grad_blue_7x80.png
Copying header_inner2.png to
./daaa1/daaa1/public/images/header_inner2.png
Copying info.png to ./daaa1/daaa1/public/images/info.png
Copying logo.gif to ./daaa1/daaa1/public/images/logo.gif
Copying logo.png to ./daaa1/daaa1/public/images/logo.png
Copying ok.png to ./daaa1/daaa1/public/images/ok.png
Copying star.png to ./daaa1/daaa1/public/images/star.png
Copying strype2.png to ./daaa1/daaa1/public/images/strype2.png
Copying tg2_04.gif to ./daaa1/daaa1/public/images/tg2_04.gif
Copying tg_under_the_hood.png to
./daaa1/daaa1/public/images/tg_under_the_hood.png
Copying under_the_hood_blue.png to
./daaa1/daaa1/public/images/under_the_hood_blue.png
Recursing into templates
Creating ./daaa1/daaa1/templates/
Copying __init__.py to ./daaa1/daaa1/templates/__init__.py
Copying about.html to ./daaa1/daaa1/templates/about.html
Copying debug.html to ./daaa1/daaa1/templates/debug.html
Copying footer.html to ./daaa1/daaa1/templates/footer.html
Copying header.html to ./daaa1/daaa1/templates/header.html
Copying index.html to ./daaa1/daaa1/templates/index.html
Copying login.html to ./daaa1/daaa1/templates/login.html
Copying master.html to ./daaa1/daaa1/templates/master.html
Copying sidebars.html to ./daaa1/daaa1/templates/sidebars.html
Recursing into tests
Creating ./daaa1/daaa1/tests/
Copying __init__.py_tmpl to ./daaa1/daaa1/tests/__init__.py
Recursing into functional
Creating ./daaa1/daaa1/tests/functional/
Copying __init__.py_tmpl to ./daaa1/daaa1/tests/functional/__init__.py
Copying test_root.py_tmpl to ./daaa1/daaa1/tests/functional/test_root.py
Copying test_models.py_tmpl to ./daaa1/daaa1/tests/test_models.py
Copying websetup.py_tmpl to ./daaa1/daaa1/websetup.py
Copying README.txt_tmpl to ./daaa1/README.txt
Copying development.ini_tmpl to ./daaa1/development.ini
Recursing into ez_setup
Creating ./daaa1/ez_setup/
Copying README.txt to ./daaa1/ez_setup/README.txt
Copying __init__.py to ./daaa1/ez_setup/__init__.py
Copying setup.cfg_tmpl to ./daaa1/setup.cfg
Copying setup.py_tmpl to ./daaa1/setup.py
Copying test.ini_tmpl to ./daaa1/test.ini
Running /home/lucas/tg2bENV/bin/python setup.py egg_info
Manually creating paster_plugins.txt (deprecated! pass a
paster_plugins keyword to setup() instead)
Adding PasteScript to paster_plugins.txt
Adding Pylons to paster_plugins.txt
Adding TurboGears2 to paster_plugins.txt
Adding tg.devtools to paster_plugins.txt
running egg_info
writing requirements to daaa1.egg-info/requires.txt
writing daaa1.egg-info/PKG-INFO
writing top-level names to daaa1.egg-info/top_level.txt
writing dependency_links to daaa1.egg-info/dependency_links.txt
writing entry points to daaa1.egg-info/entry_points.txt
paster_plugins not set in setup(), but daaa1.egg-info/paster_plugins.txt exists
reading manifest file 'daaa1.egg-info/SOURCES.txt'
writing manifest file 'daaa1.egg-info/SOURCES.txt'

Jorge Vargas

unread,
Oct 30, 2008, 8:40:57 PM10/30/08
to turbogea...@googlegroups.com
On Thu, Oct 30, 2008 at 6:36 PM, Lukasz Szybalski <szyb...@gmail.com> wrote:
>
> I just installed
> easy_install -i http://www.turbogears.org/2.0/downloads/1.9.7b1/index
> tg.devtools
>
> then
> paster quickstart
>
> Turbogears2 no longer asks if you want identity?
>
yea this was a small bug, Gustavo already fix, but the index is still outdated.

Lukasz Szybalski

unread,
Oct 30, 2008, 8:59:46 PM10/30/08
to turbogea...@googlegroups.com

So is this going to be the final beta1 release or you guys will fix
this "small bug"?

Lucas

Jorge Vargas

unread,
Oct 30, 2008, 9:30:44 PM10/30/08
to turbogea...@googlegroups.com
the bug is in tg.devtools, which is still at alpha, so I guess this
will be tg egg final and they will be a tg.devtools release and maybe
a tg.auth if needed.

> Lucas
>
> >
>

Mark Ramm

unread,
Oct 31, 2008, 12:08:10 AM10/31/08
to turbogea...@googlegroups.com
>> So is this going to be the final beta1 release or you guys will fix
>> this "small bug"?

I have once again updated the 1.9.7b1 index. So this should now be
fixed when you install from there.

I'll try to blog about the 1.9.7b1 release tomorrow.. So let me know
if there are any problems between now and then ;)

--Mark Ramm

Lukasz Szybalski

unread,
Oct 31, 2008, 11:24:41 AM10/31/08
to turbogea...@googlegroups.com


looks good on debian stable w/python 2.4

Lucas

Leandro Lucarella

unread,
Oct 31, 2008, 11:49:41 AM10/31/08
to turbogea...@googlegroups.com
Lukasz Szybalski, el 31 de octubre a las 10:24 me escribiste:

I'm still having the same problems I reported before in Debian unstable
(Python 2.5).

--
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
Cuando el Mártir estaba siendo perseguido y aglutinado por los
citronetos, aquellos perversos que pretendian, en su maldad, piononizar
las enseñanzas de Peperino.
-- Peperino Pómoro

Lukasz Szybalski

unread,
Oct 31, 2008, 11:58:47 AM10/31/08
to turbogea...@googlegroups.com
On Fri, Oct 31, 2008 at 10:49 AM, Leandro Lucarella <llu...@gmail.com> wrote:
>
> Lukasz Szybalski, el 31 de octubre a las 10:24 me escribiste:
>>
>> On Thu, Oct 30, 2008 at 11:08 PM, Mark Ramm <mark.mch...@gmail.com> wrote:
>> >
>> >>> So is this going to be the final beta1 release or you guys will fix
>> >>> this "small bug"?
>> >
>> > I have once again updated the 1.9.7b1 index. So this should now be
>> > fixed when you install from there.
>> >
>> > I'll try to blog about the 1.9.7b1 release tomorrow.. So let me know
>> > if there are any problems between now and then ;)
>> >
>>
>> looks good on debian stable w/python 2.4
>
> I'm still having the same problems I reported before in Debian unstable
> (Python 2.5).
>

can you delete the virtual environment and then redo it.

rm -r tg2env

then reinstall it

you got sqlalchemy 0.44 and on mine it installed
print __version__
0.5.0beta3

so I'm not sure what you are getting and from where.

do you have python-dev installed?

Lucas

Leandro Lucarella

unread,
Oct 31, 2008, 2:05:20 PM10/31/08
to turbogea...@googlegroups.com
Lukasz Szybalski, el 31 de octubre a las 10:58 me escribiste:

> > I'm still having the same problems I reported before in Debian unstable
> > (Python 2.5).
> >
>
> can you delete the virtual environment and then redo it.
>
> rm -r tg2env
>
> then reinstall it

I'm always doing that =)

> you got sqlalchemy 0.44 and on mine it installed
> print __version__
> 0.5.0beta3

I think you missread, it's installing SQLAlchemy 0.5.0beta3 and
sqlalchemy-migrat 0.4.4.

> so I'm not sure what you are getting and from where.
>
> do you have python-dev installed?

Yes (2.5.2-2 Debian package)

In case it's useful, here is the log of a new try:
http://pastebin.lugmen.org.ar/4499


Thank you.

--
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------

Demasiado lento para una estrella fugaz
Demasiado limpio para lo que vos acostumbras
Demasiado claro para tanta oscuridad
Demasiados sueños, poca realidad

Gustavo Narea

unread,
Oct 31, 2008, 2:20:04 PM10/31/08
to turbogea...@googlegroups.com
Hola, Leandro.

On Friday October 31, 2008 19:05:20 Leandro Lucarella wrote:
> > so I'm not sure what you are getting and from where.
> >
> > do you have python-dev installed?
>
> Yes (2.5.2-2 Debian package)
>
> In case it's useful, here is the log of a new try:
> http://pastebin.lugmen.org.ar/4499

I don't think this is specific to TurboGears.

What do you get if you run the command below?
easy_install WebOb

Anyway, you may want to check this:
https://bugs.launchpad.net/ubuntu/+source/python-setuptools/+bug/286521

Cheers.
--
Gustavo Narea <http://gustavonarea.net/>.

Get rid of unethical constraints! Get freedomware:
http://www.getgnulinux.org/

Lukasz Szybalski

unread,
Oct 31, 2008, 2:32:45 PM10/31/08
to turbogea...@googlegroups.com
On Fri, Oct 31, 2008 at 1:20 PM, Gustavo Narea <m...@gustavonarea.net> wrote:
>
> Hola, Leandro.
>
> On Friday October 31, 2008 19:05:20 Leandro Lucarella wrote:
>> > so I'm not sure what you are getting and from where.
>> >
>> > do you have python-dev installed?
>>
>> Yes (2.5.2-2 Debian package)
>>
>> In case it's useful, here is the log of a new try:
>> http://pastebin.lugmen.org.ar/4499
>
> I don't think this is specific to TurboGears.
>
> What do you get if you run the command below?
> easy_install WebOb
>
> Anyway, you may want to check this:
> https://bugs.launchpad.net/ubuntu/+source/python-setuptools/+bug/286521
>

this is a problem with setuptools

do
easy_install -U setuptools

the 0.6.8c version is broken.

Lucas

Leandro Lucarella

unread,
Oct 31, 2008, 7:26:45 PM10/31/08
to turbogea...@googlegroups.com
Gustavo Narea, el 31 de octubre a las 19:20 me escribiste:

>
> Hola, Leandro.
>
> On Friday October 31, 2008 19:05:20 Leandro Lucarella wrote:
> > > so I'm not sure what you are getting and from where.
> > >
> > > do you have python-dev installed?
> >
> > Yes (2.5.2-2 Debian package)
> >
> > In case it's useful, here is the log of a new try:
> > http://pastebin.lugmen.org.ar/4499
>
> I don't think this is specific to TurboGears.
>
> What do you get if you run the command below?
> easy_install WebOb

Seems to work:
luca@homero:~$ cd /tmp/
luca@homero:/tmp$ virtualenv --no-site-packages webob
New python executable in webob/bin/python
Installing setuptools............done.
luca@homero:/tmp$ cd webob/
luca@homero:/tmp/webob$ source bin/activate
(webob)luca@homero:/tmp/webob$ easy_install WebOb
Searching for WebOb
Reading http://pypi.python.org/simple/WebOb/
Reading http://pythonpaste.org/webob/
Best match: WebOb 0.9.4
Downloading
http://pypi.python.org/packages/source/W/WebOb/WebOb-0.9.4.tar.gz#md5=95b6bb266470f04ca670a17ed7b05cfe
Processing WebOb-0.9.4.tar.gz
Running WebOb-0.9.4/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-pveCF1/WebOb-0.9.4/egg-dist-tmp-tVm4j4
Adding WebOb 0.9.4 to easy-install.pth file

Installed /tmp/webob/lib/python2.5/site-packages/WebOb-0.9.4-py2.5.egg
Processing dependencies for WebOb
Finished processing dependencies for WebOb
(webob)luca@homero:/tmp/webob$

Thanks, but I'm not using Ubuntu. I didn't find a similar bug report in
Debian.

--
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------

A heart that's full up like a landfill,
a job that slowly kills you,
bruises that won't heal.

Leandro Lucarella

unread,
Oct 31, 2008, 7:33:08 PM10/31/08
to turbogea...@googlegroups.com
Lukasz Szybalski, el 31 de octubre a las 13:32 me escribiste:

> > Anyway, you may want to check this:
> > https://bugs.launchpad.net/ubuntu/+source/python-setuptools/+bug/286521
> >
> this is a problem with setuptools
>
> do
> easy_install -U setuptools
>
> the 0.6.8c version is broken.

This worked! And when I went to report the bug to Debian, there was
another bug report asking to pack the new upstream version mentioning this
very same problem :)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502090


Thank you all for your help and time.

--
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------

Pity's very underrated. I like pity. It's good.
-- George Constanza

Reply all
Reply to author
Forward
0 new messages