On 1/11/07, Christopher Arndt <[EMAIL PROTECTED]> wrote: > ok I worked on this today and I have some findings.... read on.
I ran everything on workingenv.py but this machine never had TG, I did had python-dev and libc because of other software on the system. > > For every failed package, I built a corresponding binary egg on another > machine > with a Ubuntu 6.06 desktop installation in a workingenv.py environment with > > easy_install -Uzmf http://files.turbogears.org/eggs <package name> > > and copied that to the target host and installed it with > > sudo easy_install -Z <egg file> > it seems all those eggs work without problems on edgy. > 1) first try fails at RuleDispatch > > 1a) built RuleDispatch-0.5a0.dev_r2115-py2.4-linux-i686.egg and installed it > on > target host > I found that pyprotocols is needed for rule dispatch so I'm not sure why it failed first here. > 2) second try fails at cElementTree > > 2a) built cElementTree-1.0.5_20051216-py2.4-linux-i686.egg and installed it on > target host > > 3) third try fails at PyProtocols > > 3a) built PyProtocols-1.0a0-py2.4-linux-i686.egg and installed it on target > host > I installed this 2 because I was sure they where going to fail (no link on cheeseshop) I already send an email to the PEAK list to see if they could be updated so we don't have to host this eggs. > 4) third try fails at Cheetah > > 4a) built Cheetah-2.0rc7-py2.4-linux-i686.egg and installed it on target host > this never happen to me the Cheetah-1.0-py2.4-linux-i686.egg works without problems, the issue you posted about unicode is not relevant for the "default" site, if someone is using cheetah for the templates then that's another story. > 5) Finally, the fifth try runs without errors and a subsequent 'tg-admin info' > gives me [1]. > > 6) Test a quickstarted app: > > sudo apt-get install links > echo n | tg-admin quickstart -p mytest MyTest > cd MyTest > ./start-mytest.py &>mytest.log & > links -dump http://localhost:8080/ actually this failed to me with a traceback that sqlite could not be located, Unhandled exception in thread started by <bound method Server._start of <cherrypy._cpserver.Server object at 0xb7cecaac>> Traceback (most recent call last): File "/home/elpargo/code/python/tg-issolated/lib/python2.4/CherryPy-2.2.1-py2.4.egg/cherrypy/_cpserver.py", line 78, in _start Engine._start(self) File "/home/elpargo/code/python/tg-issolated/lib/python2.4/CherryPy-2.2.1-py2.4.egg/cherrypy/_cpengine.py", line 108, in _start func() File "/home/elpargo/code/python/tg-issolated/lib/python2.4/TurboGears-1.0.1-py2.4.egg/turbogears/startup.py", line 226, in startTurboGears ext.start_extension() File "/home/elpargo/code/python/tg-issolated/lib/python2.4/TurboGears-1.0.1-py2.4.egg/turbogears/visit/api.py", line 70, in start_extension create_extension_model() File "/home/elpargo/code/python/tg-issolated/lib/python2.4/TurboGears-1.0.1-py2.4.egg/turbogears/visit/api.py", line 90, in create_extension_model _manager.create_model() File "/home/elpargo/code/python/tg-issolated/lib/python2.4/TurboGears-1.0.1-py2.4.egg/turbogears/visit/sovisit.py", line 33, in create_model hub.begin() File "/home/elpargo/code/python/tg-issolated/lib/python2.4/TurboGears-1.0.1-py2.4.egg/turbogears/database.py", line 158, in begin conn = self.getConnection() File "/home/elpargo/code/python/tg-issolated/lib/python2.4/TurboGears-1.0.1-py2.4.egg/turbogears/database.py", line 133, in getConnection conn = sqlobject.connectionForURI(self.uri) File "/home/elpargo/code/python/tg-issolated/lib/python2.4/SQLObject-0.8.0b2-py2.4.egg/sqlobject/dbconnection.py", line 1040, in connectionForURI conn = self.schemeBuilders[scheme]().connectionFromURI(uri) File "/home/elpargo/code/python/tg-issolated/lib/python2.4/SQLObject-0.8.0b2-py2.4.egg/sqlobject/sqlite/sqliteconnection.py", line 108, in connectionFromURI return cls(filename=path, **args) File "/home/elpargo/code/python/tg-issolated/lib/python2.4/SQLObject-0.8.0b2-py2.4.egg/sqlobject/sqlite/sqliteconnection.py", line 36, in __init__ import sqlite ImportError: No module named sqlite and the test site didn't ran. then i put your egg and it worked fine. > > Success! this is great I think we have narrow down all the problems, I'll see that Lee gets those eggs to the TG site so tg installer will read them if possible. one thing that you didn't mention is the warning cherrypy gives if your running debian UserWarning: Your installation of Python doesn't have a profile module. If you're on Debian, you can apt-get python2.4-profiler from non-free in a separate step. See http://www.cherrypy.org/wiki/ProfilingOnDebian for details. warnings.warn(msg) this should be noted somewhere. oh I forgot here is my tg-admin info TurboGears Complete Version Information TurboGears requires: * TurboGears 1.0.1 * configobj 4.3.2 * RuleDispatch 0.5a0.dev-r2115 * setuptools 0.6c5 * FormEncode 0.6 * cElementTree 1.0.5-20051216 * PasteScript 0.9.7 * elementtree 1.2.6 * simplejson 1.3 * CherryPy 2.2.1 * TurboKid 0.9.8 * TurboCheetah 0.9.5 * TurboJson 1.0 * PyProtocols 1.0a0 * Cheetah 1.0 * PasteDeploy 0.9.6 * Paste 0.9.7 * kid 0.9.3 * Cheetah 1.0 * elementtree 1.2.6 Identity Providers * sqlobject (TurboGears 1.0.1) * sqlalchemy (TurboGears 1.0.1) tg-admin Commands * info (TurboGears 1.0.1) * shell (TurboGears 1.0.1) * quickstart (TurboGears 1.0.1) * update (TurboGears 1.0.1) * sql (TurboGears 1.0.1) * i18n (TurboGears 1.0.1) * toolbox (TurboGears 1.0.1) Visit Managers * sqlobject (TurboGears 1.0.1) * sqlalchemy (TurboGears 1.0.1) Template Engines * kid (TurboKid 0.9.8) * cheetah (TurboCheetah 0.9.5) * json (TurboJson 1.0) Widget Packages TurboGears Extensions * visit (TurboGears 1.0.1) * identity (TurboGears 1.0.1) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

