"error: Setup script exited with error in simplejson setup command" while installing

Bug #268638 reported by Neil J. Patel
4
Affects Status Importance Assigned to Milestone
wadllib
Incomplete
High
Unassigned

Bug Description

On fully updated Hardy, trying to install wadllib from source (sudo ./setup.py install):

===
Installed /usr/lib/python2.5/site-packages/wadllib-0.1-py2.5.egg
Processing dependencies for wadllib==0.1
Searching for simplejson==1.7.3
Reading http://pypi.python.org/simple/simplejson/
Reading http://undefined.org/python/#simplejson
Best match: simplejson 1.7.3
Downloading http://pypi.python.org/packages/source/s/simplejson/simplejson-1.7.3.tar.gz#md5=03935eda1211f29d6856481baf6cba59
Processing simplejson-1.7.3.tar.gz
Running simplejson-1.7.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-euUaAp/simplejson-1.7.3/egg-dist-tmp-0erFlg
error: Setup script exited with error in simplejson setup command: test_suite must be a list
===

Changed in wadllib:
assignee: nobody → leonardr
importance: Undecided → High
status: New → Triaged
Revision history for this message
Māris Fogels (mars) wrote :

I couldn't reproduce this bug in a Python virtualenv sandbox. Setuptools' own setup.py script uses a string as the value of it's test_suite parameter (of course, that doesn't rule out a bug in the dark corners of setuptools itself).

Neil, what version of setuptools are you using? This command should tell you:

$ ls -d /usr/lib/python2.5/site-packages/setuptools*

Revision history for this message
Māris Fogels (mars) wrote :

Marked as incomplete, pending feedback.

Changed in wadllib:
status: Triaged → Incomplete
Revision history for this message
Neil J. Patel (njpatel) wrote :

Hi Maris,

setuptools version is '0.6c8"' (taken from __init__.py)

The system was only installed last week and I don't do any python development, so there's no cruft on the system. I got the same problem on my laptop, but thought it was due to cruft (and that I'd upgraded from feisty to hardy).

I'm wondering why it doesn't work :-/

Revision history for this message
Māris Fogels (mars) wrote :

That is quite strange. It's also odd that setuptools is fetching simplejson version 1.7.3: that isn't even close to the latest version.

Neil, manually installing the dependency should work:

$ sudo /usr/bin/easy_install simplejson

Changed in wadllib:
status: Incomplete → In Progress
Revision history for this message
Neil J. Patel (njpatel) wrote :

Thanks Maris, manually install simplejson worked great, and wadllib & launchpadlib installed afterwards without errors.

Revision history for this message
Robert Collins (lifeless) wrote :

I suspect Leonard isn't hacking on this now :) - unassigning on the basis of this guess.

Changed in wadllib:
assignee: Leonard Richardson (leonardr) → nobody
status: In Progress → Incomplete
Revision history for this message
Robert Collins (lifeless) wrote :

I'm marking incomplete because we successfully build and install this on lucid all the time, and hardy isn't an interesting target. If its no longer relevant we should just close the bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.