Hello Michael, Thank you for taking the time. I ran the commands as you wrote them showing the errors below where not successful. I had to change the easy_install -i http://www.turbogears.org/2.1/downloads/current/index/tg.devtools command to the one shown below otherwise it would not run!
cd $HOME deactivate virtualenv --no-site-packages tg21b2 source tg21b2/bin/activate easy_install -i http://www.turbogears.org/2.1/downloads/current/index tg.devtools paster quickstart tg21tut --- Running /usr/bin/python setup.py egg_info Traceback (most recent call last): File "/usr/bin/paster", line 8, in <module> load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster') () File "/usr/lib/python2.5/site-packages/PasteScript-1.7.3-py2.5.egg/ paste/script/command.py", line 84, in run invoke(command, command_name, options, args[1:]) File "/usr/lib/python2.5/site-packages/PasteScript-1.7.3-py2.5.egg/ paste/script/command.py", line 123, in invoke exit_code = runner.run(args) File "/usr/lib/python2.5/site-packages/PasteScript-1.7.3-py2.5.egg/ paste/script/command.py", line 218, in run result = self.command() File "/usr/lib/python2.5/site-packages/tg.devtools-2.0.2-py2.5.egg/ devtools/commands/quickstart.py", line 214, in command command.run(cmd_args) File "/usr/lib/python2.5/site-packages/PasteScript-1.7.3-py2.5.egg/ paste/script/command.py", line 218, in run result = self.command() File "/usr/lib/python2.5/site-packages/PasteScript-1.7.3-py2.5.egg/ paste/script/create_distro.py", line 170, in command egg_info_dir = pluginlib.egg_info_dir(output_dir, dist_name) File "/usr/lib/python2.5/site-packages/PasteScript-1.7.3-py2.5.egg/ paste/script/pluginlib.py", line 134, in egg_info_dir % ', '.join(all)) IOError: No egg-info directory found (looked in ./tg21tut/./ tg21tut.egg-info, ./tg21tut/README.txt/tg21tut.egg-info, ./tg21tut/ MANIFEST.in/tg21tut.egg-info, ./tg21tut/ez_setup/tg21tut.egg-info, ./ tg21tut/setup.py/tg21tut.egg-info, ./tg21tut/setup.cfg/tg21tut.egg- info, ./tg21tut/test.ini/tg21tut.egg-info, ./tg21tut/development.ini/ tg21tut.egg-info, ./tg21tut/tg21tut/tg21tut.egg-info) ---- cd tg21tut python setup.py develop -i http://www.turbogears.org/2.1/downloads/current/index/ --- No local packages or download links found for repoze.tm2==1.0a4 error: Could not find suitable distribution for Requirement.parse('repoze.tm2==1.0a4') --- paster setup-app development.ini paster serve development.ini Once this is done, you should be able to visit http://localhost:8080/ --- 404 Not Found The resource could not be found. --- Then I tried to continue (guessing) python setup.py egg_info python setup.py develop -i http://www.turbogears.org/2.1/downloads/current/index/ error: Could not find suitable distribution for Requirement.parse('repoze.tm2==1.0a4') easy_install repoze.tm2 Best match: repoze.tm2 1.0a5 python setup.py develop -i http://www.turbogears.org/2.1/downloads/current/index/ error: Could not find suitable distribution for Requirement.parse('ToscaWidgets==0.9.7.2') easy_install ToscaWidgets Best match: ToscaWidgets 0.9.10 python setup.py develop -i http://www.turbogears.org/2.1/downloads/current/index/ error: Could not find suitable distribution for Requirement.parse('Catwalk==2.0.2') easy_install Catwalk Best match: Catwalk 2.0.2 python setup.py develop -i http://www.turbogears.org/2.1/downloads/current/index/ error: Could not find suitable distribution for Requirement.parse('repoze.what==1.0.9') easy_install repoze.what Best match: repoze.what 1.0.9 python setup.py develop -i http://www.turbogears.org/2.1/downloads/current/index/ error: Could not find suitable distribution for Requirement.parse('zope.interface==3.5.3') easy_install zope.interface Best match: zope.interface 3.6.1 python setup.py develop -i http://www.turbogears.org/2.1/downloads/current/index/ error: Could not find suitable distribution for Requirement.parse('distribute==0.6.10') easy_install distribute Best match: distribute 0.6.14 python setup.py develop -i http://www.turbogears.org/2.1/downloads/current/index/ error: Could not find suitable distribution for Requirement.parse('tgext.admin==0.2.6') easy_install tgext.admin Best match: tgext.admin 0.2.6 easy_install tgext.admin python setup.py develop -i http://www.turbogears.org/2.1/downloads/current/index/ error: Could not find suitable distribution for Requirement.parse('tgext.admin==0.2.6') Seems here we are stuck! paster setup-app development.ini sqlalchemy.exc.IntegrityError: (IntegrityError) column group_name is not unique u'INSERT INTO tg_group (group_name, display_name, created) VALUES (?, ?, ?)' [u'managers', u'Managers Group', '2010-09-07 17:15:17.086230'] paster serve development.ini /usr/bin/paster:5: UserWarning: Module site was already imported from / usr/lib/python2.5/site.pyc, but /usr/lib/python2.5/site-packages is being added to sys.path from pkg_resources import load_entry_point Starting server in PID 18104. serving on http://127.0.0.1:8080 17:15:55,663 INFO [tg.i18n] Language ['en', 'en-au', 'en-us', 'de- ch', 'de', 'de-at', 'de-li', 'de-de', 'de-lu', 'ru']: not supported OS is Debian Lenny 32-bit $ uname -a Linux eee 2.6.26-2-686 #1 SMP Mon Jun 21 05:58:44 UTC 2010 i686 GNU/ Linux $ python Python 2.5.2 (r252:60911, Jan 24 2010, 14:53:14) [GCC 4.3.2] on linux2 On Sep 7, 2:53 pm, Michael Pedersen <[email protected]> wrote: > Okay, let's go for the basics. We're going to ensure that your system > handles the minimal requirements, before moving on to the question of what's > going on that's causing your specific issues. To that end, run the following > commands: > > cd $HOME > deactivate > > virtualenv --no-site-packages tg21b2 > source tg21b2/bin/activate > easy_install > -ihttp://www.turbogears.org/2.1/downloads/current/index/tg.devtools > paster quickstart tg21tut > cd tg21tut > python setup.py develop > -ihttp://www.turbogears.org/2.1/downloads/current/index/ > paster setup-app > development.ini > > paster serve development.ini > > Once this is done, you should be able to visithttp://localhost:8080/in > your browser, and surf the default quickstart site. If this does not work, > then something else is going wrong on your system, and we will need to know > which operating system, OS version, and python you are using to diagnose > further. > > Note: I just ran the above commands via copy/paste to my command line, and > they worked perfectly. I am using Ubuntu 10.04, Python 2.6.5. > > Once we've established the baseline, we can try to diagnose what's happening > with your postgresql connection, though that's likely to be a question > better aimed at the SQLAlchemy group. > > -- > Michael J. Pedersen > My IM IDs: Jabber/[email protected], ICQ/103345809, AIM/pedermj022171 > Yahoo/pedermj2002, MSN/[email protected] -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

