Install log: failed

19 views
Skip to first unread message

AFO

unread,
Jun 10, 2009, 12:11:25 PM6/10/09
to TurboGears
On Ubuntu 9.04


##############################################################
afo@ubuntu:~$ virtualenv --no-site-packages tg2test
New python executable in tg2test/bin/python
Installing setuptools............done.
afo@ubuntu:~$ cd tg2test/
afo@ubuntu:~/tg2test$ source bin/activate
(tg2test)afo@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)afo@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
##############################################################

afo@ubuntu:~$ virtualenv --no-site-packages tg2test
New python executable in tg2test/bin/python
Installing setuptools............done.
afo@ubuntu:~$ cd tg2test/
afo@ubuntu:~/tg2test$ source bin/activate
(tg2test)afo@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)afo@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)afo@ubuntu:~/tg2test$

##############################################################
# WTF? More warnings...
# but let's go on.
##############################################################

(tg2test)afo@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)afo@ubuntu:~/tg2test$ cd testprj/
(tg2test)afo@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)afo@ubuntu:~/tg2test/testprj$

##############################################################
# geeze...
# let's try the suggestion.
##############################################################

(tg2test)afo@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)afo@ubuntu:~/tg2test/testprj$


##############################################################
# WTF? More warnings...
# but let's go on.
##############################################################

(tg2test)afo@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)afo@ubuntu:~/tg2test/testprj$

##############################################################
# More errors. The end. No success.
##############################################################

Jorge Vargas

unread,
Jun 10, 2009, 12:27:44 PM6/10/09
to turbo...@googlegroups.com
The temporal fix is easy_install -U ToscaWidgets

allen.fowler

unread,
Jun 11, 2009, 8:42:20 PM6/11/09
to TurboGears


On Jun 10, 12:27 pm, Jorge Vargas <jorge.var...@gmail.com> wrote:
> The temporal fix is easy_install -U ToscaWidgets
>
>


afo@ubuntu:~$ virtualenv --no-site-packages tg2test
New python executable in tg2test/bin/python
Installing setuptools............done.
afo@ubuntu:~$ cd tg2test/
afo@ubuntu:~/tg2test$ source bin/activate
(tg2test)afo@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
^Cinterrupted
(tg2test)afo@ubuntu:~/tg2test$ dea
deactivate deallocvt
(tg2test)afo@ubuntu:~/tg2test$ deactivate
afo@ubuntu:~/tg2test$ cd ..
afo@ubuntu:~$ rm -rf tg2test
afo@ubuntu:~$ virtualenv --no-site-packages tg2test
New python executable in tg2test/bin/python
Installing setuptools............done.
afo@ubuntu:~$ cd tg2test/
afo@ubuntu:~/tg2test$ source bin/activate
(tg2test)afo@ubuntu:~/tg2test$
##########################################
#
# Still... 1.3... Why? TG2 is not official?
#


#
# Try the TG2 web site suggested way:
#
(tg2test)afo@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]

Running SymbolType-1.0/setup.py -q bdist_egg --dist-dir /tmp/
easy_install-GtrS4F/SymbolType-1.0/egg-dist-tmp-Dk_NeG
zip_safe flag not set; analyzing archive contents...
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
(tg2test)afo@ubuntu:~/tg2test$

#
# Now for the fix...

(tg2test)afo@ubuntu:~/tg2test$ easy_install -U ToscaWidgets

#
Searching for ToscaWidgets
Reading http://pypi.python.org/simple/ToscaWidgets/
Reading http://toscawidgets.org/
Reading http://toscawidgets.org/download/
Best match: ToscaWidgets 0.9.6
Downloading http://pypi.python.org/packages/source/T/ToscaWidgets/ToscaWidgets-0.9.6.tar.gz#md5=c3e70aa8317fbfabfa643984e27a2cb1
Processing ToscaWidgets-0.9.6.tar.gz
Running ToscaWidgets-0.9.6/setup.py -q bdist_egg --dist-dir /tmp/
easy_install-bI999X/ToscaWidgets-0.9.6/egg-dist-tmp-uo9o0J
Removing ToscaWidgets 0.9.4 from easy-install.pth file
Adding ToscaWidgets 0.9.6 to easy-install.pth file

Installed /home/afo/tg2test/lib/python2.6/site-packages/
ToscaWidgets-0.9.6-py2.6.egg
Processing dependencies for ToscaWidgets
Finished processing dependencies for ToscaWidgets
(tg2test)afo@ubuntu:~/tg2test$


# Now to test

(tg2test)afo@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.6-
py2.6.egg/tw/core/view.py:209: 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)afo@ubuntu:~/tg2test$

#
# Arg... Still showing errors.
#

# But let's try quickstart, anyway
#
(tg2test)afo@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

[SNIP]

Copying setup.py_tmpl to ./testprj/setup.py
Copying test.ini_tmpl to ./testprj/test.ini
Running /home/afo/tg2test/bin/python setup.py egg_info
/usr/lib/python2.6/distutils/dist.py:266: afoWarning: Unknown
distribution option: 'message_extractors'
warnings.warn(msg)
running egg_info
writing requirements to testprj.egg-info/requires.txt
writing testprj.egg-info/PKG-INFO
writing top-level names to testprj.egg-info/top_level.txt
writing dependency_links to testprj.egg-info/dependency_links.txt
writing entry points to testprj.egg-info/entry_points.txt
writing paster_plugins to testprj.egg-info/paster_plugins.txt
reading manifest file 'testprj.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'testprj.egg-info/SOURCES.txt'
(tg2test)afo@ubuntu:~/tg2test$

# Got an error.
# Let's try paster serve, though

(tg2test)afo@ubuntu:~/tg2test/testprj$
(tg2test)afo@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)afo@ubuntu:~/tg2test/testprj$


#
# Still an error, but let's try running what it says. (What's to set
up?)
#

(tg2test)afo@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
writing requirements to testprj.egg-info/requires.txt
writing testprj.egg-info/PKG-INFO
writing top-level names to testprj.egg-info/top_level.txt

[SNIP]

Using /home/afo/tg2test/lib/python2.6/site-packages/repoze.who-1.0.10-
py2.6.egg
Searching for SymbolType==1.0
Best match: SymbolType 1.0
Processing SymbolType-1.0-py2.6.egg
SymbolType 1.0 is already the active version in easy-install.pth

Using /home/afo/tg2test/lib/python2.6/site-packages/SymbolType-1.0-
py2.6.egg
Finished processing dependencies for testprj==0.1dev
(tg2test)afo@ubuntu:~/tg2test/testprj$

# more errors / warnings
#
# But try paster serve
#

(tg2test)afo@ubuntu:~/tg2test/testprj$ paster serve
/home/afo/tg2test/lib/python2.6/site-packages/PasteScript-1.7.3-
py2.6.egg/paste/script/command.py:29: DeprecationWarning:
BaseException.message has been deprecated as of Python 2.6
self.message = message
/home/afo/tg2test/lib/python2.6/site-packages/PasteScript-1.7.3-
py2.6.egg/paste/script/command.py:125: DeprecationWarning:
BaseException.message has been deprecated as of Python 2.6
print e.message
You must give a config file
(tg2test)afo@ubuntu:~/tg2test/testprj$

# yet a new error, but further along this time.
#
# Let's double check syntax

(tg2test)afo@ubuntu:~/tg2test/testprj$ paster serve development.ini
/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.6-
py2.6.egg/tw/core/view.py:209: DeprecationWarning: object.__new__()
takes no parameters
obj = object.__new__(cls, *args, **kw)
Starting server in PID 16191.
serving on http://127.0.0.1:8080

#
# OK seems to work. Still getting errors / warnings, though.

allen.fowler

unread,
Jun 12, 2009, 10:59:08 AM6/12/09
to TurboGears


On Jun 11, 8:42 pm, "allen.fowler" <allen.fow...@yahoo.com> wrote:
> On Jun 10, 12:27 pm, Jorge Vargas <jorge.var...@gmail.com> wrote:
>
> >
> > The temporal fix is easy_install -U ToscaWidgets
> >
>
> afo@ubuntu:~$ virtualenv --no-site-packages tg2test
> New python executable in tg2test/bin/python
> Installing setuptools............done.
>
> [SNIP]
>
> #
> #  OK seems to work.  Still getting errors / warnings, though.
>

Why are there so many warnings under python 2.6?

Is it not yet supported?

What is the ETA for support?

Jorge Vargas

unread,
Jun 12, 2009, 2:43:57 PM6/12/09
to turbo...@googlegroups.com
On Fri, Jun 12, 2009 at 10:59 AM, allen.fowler<allen....@yahoo.com> wrote:
>
>
>
> On Jun 11, 8:42 pm, "allen.fowler" <allen.fow...@yahoo.com> wrote:
>> On Jun 10, 12:27 pm, Jorge Vargas <jorge.var...@gmail.com> wrote:
>>
>> >
>> > The temporal fix is easy_install -U ToscaWidgets
>> >
>>
>> afo@ubuntu:~$ virtualenv --no-site-packages tg2test
>> New python executable in tg2test/bin/python
>> Installing setuptools............done.
>>
>> [SNIP]
>>
>> #
>> #  OK seems to work.  Still getting errors / warnings, though.
>>
>
> Why are there so many warnings under python 2.6?
>
warning != error.

> Is it not yet supported?
>
everything works without problems in 2.6

> What is the ETA for support?
>
minus a couple of months :)

>
> >
>

allen.fowler

unread,
Jun 12, 2009, 3:35:21 PM6/12/09
to TurboGears

> > Why are there so many warnings under python 2.6?
>
> warning != error.
>

True.

> > Is it not yet supported?
>
> everything works without problems in 2.6
>

Well except for:

1) Out of date pypi entry
2) Wrong version ToscaWidgets installed.
3) Lots of warnings.


> > What is the ETA for support?
>
> minus a couple of months :)
>

What can I do to help?



Jorge Vargas

unread,
Jun 13, 2009, 1:31:37 AM6/13/09
to turbo...@googlegroups.com
On Fri, Jun 12, 2009 at 3:35 PM, allen.fowler<allen....@yahoo.com> wrote:
>
>
>> > Why are there so many warnings under python 2.6?
>>
>> warning != error.
>>
>
> True.
>
>> > Is it not yet supported?
>>
>> everything works without problems in 2.6
>>
>
> Well except for:
>
> 1) Out of date pypi entry
this has nothing to do with 2.6, still "the way" to get tg2 is with the index
> 2) Wrong version ToscaWidgets installed.
again this has nothing to do with 2.6 it's a bad version in the index.
> 3) Lots of warnings.
could you please clean that up in your huge logs it's impossible to
parse what is a warning and what is not.

allen.fowler

unread,
Jun 15, 2009, 6:24:13 PM6/15/09
to TurboGears

> could you please clean that up in your huge logs it's impossible to
> parse what is a warning and what is not.
>
>

[SNIP]


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.6-
py2.6.egg/tw/core/view.py:209: DeprecationWarning: object.__new__()
takes no parameters
obj = object.__new__(cls, *args, **kw)


[SNIP]



(tg2test)afo@ubuntu:~/tg2test/testprj$ python setup.py develop
/usr/lib/python2.6/distutils/dist.py:266: afoWarning: Unknown
distribution option: 'message_extractors'
warnings.warn(msg)

[SNIP]

(tg2test)afo@ubuntu:~/tg2test/testprj$ paster serve
/home/afo/tg2test/lib/python2.6/site-packages/PasteScript-1.7.3-
py2.6.egg/paste/script/command.py:29: DeprecationWarning:
BaseException.message has been deprecated as of Python 2.6
self.message = message

[SNIP]

/home/afo/tg2test/lib/python2.6/site-packages/PasteScript-1.7.3-
py2.6.egg/paste/script/command.py:125: DeprecationWarning:
BaseException.message has been deprecated as of Python 2.6
print e.message
You must give a config file
(tg2test)afo@ubuntu:~/tg2test/testprj$

[SNIP]

Jorge Vargas

unread,
Jun 21, 2009, 8:46:20 PM6/21/09
to turbo...@googlegroups.com
On Mon, Jun 15, 2009 at 6:24 PM, allen.fowler<allen....@yahoo.com> wrote:
>
>
>> could you please clean that up in your huge logs it's impossible to
>> parse what is a warning and what is not.
>>
>>
>
> [SNIP]
>
>
> 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.6-
> py2.6.egg/tw/core/view.py:209: DeprecationWarning: object.__new__()
> takes no parameters
>  obj = object.__new__(cls, *args, **kw)
>

It is my undestanding that the newest TW doesn't depends on peak.rules anymore.

>
> [SNIP]
>
>
>
> (tg2test)afo@ubuntu:~/tg2test/testprj$ python setup.py develop
> /usr/lib/python2.6/distutils/dist.py:266: afoWarning: Unknown
> distribution option: 'message_extractors'
>  warnings.warn(msg)
>

This is because babel is not installed.

> [SNIP]
>
> /home/afo/tg2test/lib/python2.6/site-packages/PasteScript-1.7.3-
> py2.6.egg/paste/script/command.py:125: DeprecationWarning:
> BaseException.message has been deprecated as of Python 2.6
>  print e.message
> You must give a config file
> (tg2test)afo@ubuntu:~/tg2test/testprj$
>

This is too new to be removed. That is why it's deprecated, remember
some people are still running 2.4 so I guess we are going to have to
live with that.

> [SNIP]
>

Two more comments
1- as I said those are warnings DeprecationWarnings meaning that
future versions will remove them.
2- None are really in TG they are actually in packages that TG depends on.

Jd

unread,
Aug 2, 2009, 10:08:38 PM8/2/09
to TurboGears
On Ubuntu 9.04 : Stuck at following. Any workarounds please.

Traceback (most recent call last):
File "/home/jd/tg2env/bin/paster", line 8, in <module>
load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')
()
File "/home/jd/tg2env/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/jd/tg2env/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/jd/tg2env/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/jd/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-
py2.6.egg/pkg_resources.py", line 626, in require
File "/home/jd/tg2env/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/jd/tg2env/
lib/python2.6/site-packages/ToscaWidgets-0.9.4-py2.6.egg),
Requirement.parse('ToscaWidgets>=0.9.7.2'))

Diez B. Roggisch

unread,
Aug 3, 2009, 7:32:01 AM8/3/09
to turbo...@googlegroups.com
On Monday 03 August 2009 04:08:38 Jd wrote:
> On Ubuntu 9.04 : Stuck at following. Any workarounds please.

You've got toscawidgets in version 0.9.4 already installed, I presume in the
system python.

Make sure you remove it from there, together with other TG2-needed packages.

Diez

Jd

unread,
Aug 3, 2009, 8:43:17 PM8/3/09
to TurboGears
Hi Diez,

Thanks for the suggestion.
I had a fresh Ubuntu 9.0.4 machine and followed instructions on the
site.

I looked for "*tosc*" on my system and it appears ONLY under tg2env

/Jd

Teemu Yli-Elsilä

unread,
Aug 4, 2009, 8:22:14 AM8/4/09
to turbo...@googlegroups.com

Diez B. Roggisch wrote:
> You've got toscawidgets in version 0.9.4 already installed, I presume in the
> system python.

Actually,

> > pkg_resources.VersionConflict: (ToscaWidgets 0.9.4 (/home/jd/tg2env/
> > lib/python2.6/site-packages/ToscaWidgets-0.9.4-py2.6.egg)

suggests that the old version of TW is installed in the tg2env. With
that venv activated, try:

easy_install -U ToscaWidgets

and see if that resolves the issue.

-Teemu

Jd

unread,
Aug 6, 2009, 8:02:38 PM8/6/09
to TurboGears
Thanks. That worked :)

But now it is showing some warning from ToscaWidgets 0.9.7
view.py:223 DepricationWarning: object.__new__() takes no parameters
obj = object.__new__(cls, *args, **kw)

I am hoping this is not too serious.
/Jd
Reply all
Reply to author
Forward
0 new messages