The temporal fix is easy_install -U ToscaWidgets

On Wed, Jun 10, 2009 at 12:11 PM, AFO<[email protected]> wrote:
>
> On Ubuntu 9.04
>
>
> ##############################################################
> a...@ubuntu:~$ virtualenv --no-site-packages tg2test
> New python executable in tg2test/bin/python
> Installing setuptools............done.
> a...@ubuntu:~$ cd tg2test/
> a...@ubuntu:~/tg2test$ source bin/activate
> (tg2test)a...@ubuntu:~/tg2test$ easy_install turbogears
> Searching for turbogears
> Reading http://pypi.python.org/simple/turbogears/
> Reading http://www.turbogears.org
> Reading http://www.turbogears.org/
> Reading http://www.turbogears.org/download/filelist.html
> Reading http://www.turbogears.org/download/
> Best match: TurboGears 1.1b3
> Downloading http://files.turbogears.org/eggs/TurboGears-1.1b3.tar.gz
> Processing TurboGears-1.1b3.tar.gz
> Running TurboGears-1.1b3/setup.py -q bdist_egg --dist-dir /tmp/
> easy_install-E2NkAx/TurboGears-1.1b3/egg-dist-tmp-xCJY7x
> ^Cerror: Setup script exited with interrupted
> (tg2test)a...@ubuntu:~/tg2test$
>
> ##############################################################
> # WTF?  Not TG2.
> #  Ok, rm -rf and next try:
> # easy_install -i http://www.turbogears.org/2.0/downloads/current/index
> tg.devtools
> ##############################################################
>
> a...@ubuntu:~$ virtualenv --no-site-packages tg2test
> New python executable in tg2test/bin/python
> Installing setuptools............done.
> a...@ubuntu:~$ cd tg2test/
> a...@ubuntu:~/tg2test$ source bin/activate
> (tg2test)a...@ubuntu:~/tg2test$ easy_install -i
> http://www.turbogears.org/2.0/downloads/current/index tg.devtools
> Searching for tg.devtools
> Reading http://www.turbogears.org/2.0/downloads/current/index/tg.devtools/
> Best match: tg.devtools 2.0
> Downloading 
> http://www.turbogears.org/2.0/downloads/current/tg.devtools-2.0.tar.gz
> Processing tg.devtools-2.0.tar.gz
> [SNIP]
> Adding SymbolType 1.0 to easy-install.pth file
>
> Installed /home/afo/tg2test/lib/python2.6/site-packages/SymbolType-1.0-
> py2.6.egg
> Finished processing dependencies for tg.devtools
>
> ##############################################################
> # OK, lets test
> ##############################################################
> (tg2test)a...@ubuntu:~/tg2test$ paster
> Usage: /home/afo/tg2test/bin/paster COMMAND
> Usage: paster [paster_options] COMMAND [command_options]
>
> Options:
>  --version         show program's version number and exit
>  --plugin=PLUGINS  Add a plugin to the list of commands (plugins are
> Egg
>                    specs; will also require() the Egg)
>  -h, --help        Show this help message
>
> /home/afo/tg2test/lib/python2.6/site-packages/
> PEAK_Rules-0.5a1.dev_r2582-py2.6.egg/peak/rules/indexing.py:220:
> DeprecationWarning: object.__new__() takes no parameters
> /home/afo/tg2test/lib/python2.6/site-packages/ToscaWidgets-0.9.4-
> py2.6.egg/tw/core/view.py:202: DeprecationWarning: object.__new__()
> takes no parameters
>  obj = object.__new__(cls, *args, **kw)
> Commands:
>  create       Create the file layout for a Python distribution
>  help         Display help
>  make-config  Install a package and create a fresh config file/
> directory
>  points       Show information about entry points
>  post         Run a request for the described application
>  request      Run a request for the described application
>  serve        Serve the described application
>  setup-app    Setup an application, given a config file
>
> TurboGears2:
>  quickstart   Create a new TurboGears 2 project.
>  tginfo       Show TurboGears 2 related projects and their versions
>
> (tg2test)a...@ubuntu:~/tg2test$
>
> ##############################################################
> # WTF? More warnings...
> # but let's go on.
> ##############################################################
>
> (tg2test)a...@ubuntu:~/tg2test$ paster quickstart
> Enter project name: testprj
> Enter package name [testprj]:
> Do you need authentication and authorization in this project? [yes] no
> Selected and implied templates:
>  tg.devtools#turbogears2  TurboGears 2.0 Standard Quickstart Template
>
> Variables:
>  auth:        None
>  egg:         testprj
>  geo:         None
>  package:     testprj
>  project:     testprj
>  sqlalchemy:  True
>  sqlobject:   False
>  tgversion:   2.0
> Creating template turbogears2
> [SNIP]
> reading manifest template 'MANIFEST.in'
> writing manifest file 'testprj.egg-info/SOURCES.txt'
>
>
> (tg2test)a...@ubuntu:~/tg2test$ cd testprj/
> (tg2test)a...@ubuntu:~/tg2test/testprj$ paster serve
> Traceback (most recent call last):
>  File "/home/afo/tg2test/bin/paster", line 8, in <module>
>    load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')
> ()
>  File "/home/afo/tg2test/lib/python2.6/site-packages/
> PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 73, in run
>    commands = get_commands()
>  File "/home/afo/tg2test/lib/python2.6/site-packages/
> PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 115, in
> get_commands
>    plugins = pluginlib.resolve_plugins(plugins)
>  File "/home/afo/tg2test/lib/python2.6/site-packages/
> PasteScript-1.7.3-py2.6.egg/paste/script/pluginlib.py", line 81, in
> resolve_plugins
>    pkg_resources.require(plugin)
>  File "/home/afo/tg2test/lib/python2.6/site-packages/setuptools-0.6c9-
> py2.6.egg/pkg_resources.py", line 626, in require
>  File "/home/afo/tg2test/lib/python2.6/site-packages/setuptools-0.6c9-
> py2.6.egg/pkg_resources.py", line 524, in resolve
> pkg_resources.DistributionNotFound: zope.sqlalchemy>=0.4: Not Found
> for: testprj (did you run python setup.py develop?)
> (tg2test)a...@ubuntu:~/tg2test/testprj$
>
> ##############################################################
> # geeze...
> # let's try the suggestion.
> ##############################################################
>
> (tg2test)a...@ubuntu:~/tg2test/testprj$ python setup.py develop
> /usr/lib/python2.6/distutils/dist.py:266: afoWarning: Unknown
> distribution option: 'message_extractors'
>  warnings.warn(msg)
> running develop
> running egg_info
> [SNIP]
> Adding tw.forms 0.9.6 to easy-install.pth file
>
> Installed /home/afo/tg2test/lib/python2.6/site-packages/tw.forms-0.9.6-
> py2.6.egg
> error: Installed distribution ToscaWidgets 0.9.4 conflicts with
> requirement ToscaWidgets>=0.9.6dev
> (tg2test)a...@ubuntu:~/tg2test/testprj$
>
>
> ##############################################################
> # WTF? More warnings...
> # but let's go on.
> ##############################################################
>
> (tg2test)a...@ubuntu:~/tg2test/testprj$ paster serve
> Traceback (most recent call last):
>  File "/home/afo/tg2test/bin/paster", line 8, in <module>
>    load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')
> ()
>  File "/home/afo/tg2test/lib/python2.6/site-packages/
> PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 73, in run
>    commands = get_commands()
>  File "/home/afo/tg2test/lib/python2.6/site-packages/
> PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 115, in
> get_commands
>    plugins = pluginlib.resolve_plugins(plugins)
>  File "/home/afo/tg2test/lib/python2.6/site-packages/
> PasteScript-1.7.3-py2.6.egg/paste/script/pluginlib.py", line 81, in
> resolve_plugins
>    pkg_resources.require(plugin)
>  File "/home/afo/tg2test/lib/python2.6/site-packages/setuptools-0.6c9-
> py2.6.egg/pkg_resources.py", line 626, in require
>  File "/home/afo/tg2test/lib/python2.6/site-packages/setuptools-0.6c9-
> py2.6.egg/pkg_resources.py", line 528, in resolve
> pkg_resources.VersionConflict: (ToscaWidgets 0.9.4 (/home/afo/tg2test/
> lib/python2.6/site-packages/ToscaWidgets-0.9.4-py2.6.egg),
> Requirement.parse('ToscaWidgets>=0.9.6dev'))
> (tg2test)a...@ubuntu:~/tg2test/testprj$
>
> ##############################################################
> #  More errors. The end. No success.
> ##############################################################
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to