Paste Script Failed: Version Conflict with repoze.who 2.0

121 views
Skip to first unread message

Panjie Setiawan Wicaksono

unread,
Jun 10, 2012, 11:48:43 AM6/10/12
to turbogea...@googlegroups.com
Hi All,
I'm trying to use Unstable Release 20120607,
install it as usual, when trying to start Paster Server, it gave me error:

<pre>
(TurboEnv)panjiesw@Blangszutbuntu:~/TurboEnv/tgcms$ paster serve development.ini
Traceback (most recent call last):
  File "/home/panjiesw/TurboEnv/bin/paster", line 8, in <module>
    load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
  File "/home/panjiesw/TurboEnv/local/lib/python2.7/site-packages/paste/script/command.py", line 93, in run
    commands = get_commands()
  File "/home/panjiesw/TurboEnv/local/lib/python2.7/site-packages/paste/script/command.py", line 135, in get_commands
    plugins = pluginlib.resolve_plugins(plugins)
  File "/home/panjiesw/TurboEnv/local/lib/python2.7/site-packages/paste/script/pluginlib.py", line 82, in resolve_plugins
    pkg_resources.require(plugin)
  File "/home/panjiesw/TurboEnv/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 666, in require
  File "/home/panjiesw/TurboEnv/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 569, in resolve
pkg_resources.VersionConflict: (repoze.who 2.0 (/home/panjiesw/TurboEnv/lib/python2.7/site-packages/repoze.who-2.0-py2.7.egg), Requirement.parse('repoze.who>=1.0,<2.0dev'))
</pre>

what am i doing wrong?
is it bug?

Alessandro Molina

unread,
Jun 14, 2012, 4:42:28 PM6/14/12
to turbogea...@googlegroups.com
Thanks for trying the unstable release, it is an appreciated effort to
find possible issues before the release.

Regarding your issue the most possible reason is that you have some
installed package that requires repoze.who < 2, are you sure you
started with a clean up environment and project?

I created a clean project in a clean environment and things seem to
work correctly:

virtualenv --no-site-packages tg20120607
. tg20120607/bin/activate
easy_install -i http://unstable.tg.gy/20120607/index/ tg.devtools
easy_install -i http://unstable.tg.gy/20120607/index/ tgext.admin
paster quickstart testbeta
cd testbeta; python setup.py develop
paster setup-app development.ini
paster serve development.ini --reload
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears Trunk" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/turbogears-trunk/-/iGIovrukNGsJ.
> To post to this group, send email to turbogea...@googlegroups.com.
> To unsubscribe from this group, send email to
> turbogears-tru...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/turbogears-trunk?hl=en.

Panjie Setiawan Wicaksono

unread,
Jun 15, 2012, 4:26:00 PM6/15/12
to turbogea...@googlegroups.com
I solved this..
it's because the package repoze.who_testutil-1.0.1 that comes with tg installer has dependency 'repoze.who>=1.0,<2.0dev', maybe the devs should check this..
i just removed the <2.0dev part, of course that's the source of my problem.
now i haven't experienced any other problem yet with 20120607 release.
i really am looking forward to the release of 2.2! :)
In fact i almost finish my blog app with 20120607 and still wondering whether i should wait for the 2.2 released before i'll publish my blog app.
i appreciate the dev team for this great work :D
> To post to this group, send email to turbogears-trunk@googlegroups.com.
> To unsubscribe from this group, send email to
> turbogears-trunk+unsubscribe@googlegroups.com.

Alessandro Molina

unread,
Jun 15, 2012, 4:35:19 PM6/15/12
to turbogea...@googlegroups.com
Uhm, TG 2.2 shouldn't depend on testutil anymore, can you point out
which package is depending on it?

Thanks!
Alessandro

On Fri, Jun 15, 2012 at 10:26 PM, Panjie Setiawan Wicaksono
>> > To post to this group, send email to turbogea...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > turbogears-tru...@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/turbogears-trunk?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears Trunk" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/turbogears-trunk/-/koSMZ30pnPYJ.
>
> To post to this group, send email to turbogea...@googlegroups.com.
> To unsubscribe from this group, send email to
> turbogears-tru...@googlegroups.com.

Panjie Setiawan Wicaksono

unread,
Jun 15, 2012, 4:53:15 PM6/15/12
to turbogea...@googlegroups.com
huh? that's strange..
i uninstalled it and got this

(env2)panjiesw@Blangszutbuntu:~/env2/pscms$ paster server development.ini 
Traceback (most recent call last):
  File "/home/panjiesw/env2/bin/paster", line 8, in <module>
    load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
  File "/home/panjiesw/env2/local/lib/python2.7/site-packages/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 93, in run
    commands = get_commands()
  File "/home/panjiesw/env2/local/lib/python2.7/site-packages/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 135, in get_commands
    plugins = pluginlib.resolve_plugins(plugins)
  File "/home/panjiesw/env2/local/lib/python2.7/site-packages/PasteScript-1.7.5-py2.7.egg/paste/script/pluginlib.py", line 82, in resolve_plugins
    pkg_resources.require(plugin)
  File "/home/panjiesw/env2/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 666, in require
  File "/home/panjiesw/env2/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 565, in resolve
pkg_resources.DistributionNotFound: repoze.who-testutil>=1.0.1: Not Found for: pscms (did you run python setup.py develop?)

it's the PasteScript package in my case that require testutil.
hmm..what am i doing wrong?
>> > To post to this group, send email to turbogears-trunk@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > For more options, visit this group at
>> > http://groups.google.com/group/turbogears-trunk?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears Trunk" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/turbogears-trunk/-/koSMZ30pnPYJ.
>
> To post to this group, send email to turbogears-trunk@googlegroups.com.
> To unsubscribe from this group, send email to

Alessandro Molina

unread,
Jun 15, 2012, 5:12:05 PM6/15/12
to turbogea...@googlegroups.com
Have you quickstarted the project with 2.1 or an old unstable release?

In that case you might end having dependencies which are not needed
anymore on 2.2

On Fri, Jun 15, 2012 at 10:53 PM, Panjie Setiawan Wicaksono
>> >> > turbogea...@googlegroups.com.
>> >> > To unsubscribe from this group, send email to
>> >> > turbogears-tru...@googlegroups.com.
>> >> > For more options, visit this group at
>> >> > http://groups.google.com/group/turbogears-trunk?hl=en.
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "TurboGears Trunk" group.
>> > To view this discussion on the web visit
>> > https://groups.google.com/d/msg/turbogears-trunk/-/koSMZ30pnPYJ.
>> >
>> > To post to this group, send email to turbogea...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > turbogears-tru...@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/turbogears-trunk?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears Trunk" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/turbogears-trunk/-/9DYswDXcPkIJ.
>
> To post to this group, send email to turbogea...@googlegroups.com.
> To unsubscribe from this group, send email to
> turbogears-tru...@googlegroups.com.

Panjie Setiawan Wicaksono

unread,
Jun 15, 2012, 5:30:30 PM6/15/12
to turbogea...@googlegroups.com
No, i always start with a clean new virtualenv.
but yes in each virtualenv i have different tg installation,
probably i just accidentally messed up my environment 
>> >> > To unsubscribe from this group, send email to
>> >> > For more options, visit this group at
>> >> > http://groups.google.com/group/turbogears-trunk?hl=en.
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "TurboGears Trunk" group.
>> > To view this discussion on the web visit
>> > https://groups.google.com/d/msg/turbogears-trunk/-/koSMZ30pnPYJ.
>> >
>> > To post to this group, send email to turbogears-trunk@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > For more options, visit this group at
>> > http://groups.google.com/group/turbogears-trunk?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears Trunk" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/turbogears-trunk/-/9DYswDXcPkIJ.
>
> To post to this group, send email to turbogears-trunk@googlegroups.com.
> To unsubscribe from this group, send email to

Alessandro Molina

unread,
Jun 16, 2012, 5:03:52 AM6/16/12
to turbogea...@googlegroups.com
I was talking about your project, not the tg installation :D
Check that your project setup.py doesn't contain any testutil
reference and run setup.py develop again.

On Fri, Jun 15, 2012 at 11:30 PM, Panjie Setiawan Wicaksono
>> >> >> > turbogea...@googlegroups.com.
>> >> >> > To unsubscribe from this group, send email to
>> >> >> > turbogears-tru...@googlegroups.com.
>> >> >> > For more options, visit this group at
>> >> >> > http://groups.google.com/group/turbogears-trunk?hl=en.
>> >> >
>> >> > --
>> >> > You received this message because you are subscribed to the Google
>> >> > Groups
>> >> > "TurboGears Trunk" group.
>> >> > To view this discussion on the web visit
>> >> > https://groups.google.com/d/msg/turbogears-trunk/-/koSMZ30pnPYJ.
>> >> >
>> >> > To post to this group, send email to
>> >> > turbogea...@googlegroups.com.
>> >> > To unsubscribe from this group, send email to
>> >> > turbogears-tru...@googlegroups.com.
>> >> > For more options, visit this group at
>> >> > http://groups.google.com/group/turbogears-trunk?hl=en.
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "TurboGears Trunk" group.
>> > To view this discussion on the web visit
>> > https://groups.google.com/d/msg/turbogears-trunk/-/9DYswDXcPkIJ.
>> >
>> > To post to this group, send email to turbogea...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > turbogears-tru...@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/turbogears-trunk?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears Trunk" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/turbogears-trunk/-/8Z-MV6mIMBUJ.
>
> To post to this group, send email to turbogea...@googlegroups.com.
> To unsubscribe from this group, send email to
> turbogears-tru...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages