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
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...
There's a test release of TurboGears beta 1 available at
http://turbogears.org/2.0/downloads/1.9.7b1/index/
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.
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.
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
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 ;)
--
Sorry abut that!
--
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
--
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
--
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.
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/
> 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
>
> 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.
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
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.
> Cheers,
>
> Alex.
>
> >
>
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'
So is this going to be the final beta1 release or you guys will fix
this "small bug"?
Lucas
> Lucas
>
> >
>
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
looks good on debian stable w/python 2.4
Lucas
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
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
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
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/
this is a problem with setuptools
do
easy_install -U setuptools
the 0.6.8c version is broken.
Lucas
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$
> Anyway, you may want to check this:
> https://bugs.launchpad.net/ubuntu/+source/python-setuptools/+bug/286521
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.
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