New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning/errors from pip install mopidy #68

Closed
adamcik opened this Issue Mar 8, 2011 · 4 comments

Comments

2 participants
@adamcik
Member

adamcik commented Mar 8, 2011

pip install mopidy
/home/adamcik/mopidy/lib/python2.6/site-packages/pip-0.8.2-py2.6.egg/pip/req.py:641: UserWarning: Unbuilt egg for setuptools [unknown version] (/usr/lib/python2.6/dist-packages)
  self.satisfied_by = pkg_resources.get_distribution(self.req)
Downloading/unpacking mopidy
  Downloading Mopidy-0.3.1.tar.gz (198Kb): 198Kb downloaded
  In the tar file /tmp/pip-HWvD2y-unpack/Mopidy-0.3.1.tar.gz the member Mopidy-0.3.1/tests/data/song1.mp3 is invalid: 'NoneType' object has no attribute 'isreg'  
  In the tar file /tmp/pip-HWvD2y-unpack/Mopidy-0.3.1.tar.gz the member Mopidy-0.3.1/tests/data/song1.flac is invalid: 'NoneType' object has no attribute 'isreg' 
  In the tar file /tmp/pip-HWvD2y-unpack/Mopidy-0.3.1.tar.gz the member Mopidy-0.3.1/tests/data/song3.wav is invalid: 'NoneType' object has no attribute 'isreg'  
  In the tar file /tmp/pip-HWvD2y-unpack/Mopidy-0.3.1.tar.gz the member Mopidy-0.3.1/tests/data/song2.flac is invalid: 'NoneType' object has no attribute 'isreg' 
  In the tar file /tmp/pip-HWvD2y-unpack/Mopidy-0.3.1.tar.gz the member Mopidy-0.3.1/tests/data/song1.ogg is invalid: 'NoneType' object has no attribute 'isreg'  
  In the tar file /tmp/pip-HWvD2y-unpack/Mopidy-0.3.1.tar.gz the member Mopidy-0.3.1/tests/data/song2.ogg is invalid: 'NoneType' object has no attribute 'isreg'  
  In the tar file /tmp/pip-HWvD2y-unpack/Mopidy-0.3.1.tar.gz the member Mopidy-0.3.1/tests/data/song3.flac is invalid: 'NoneType' object has no attribute 'isreg' 
  In the tar file /tmp/pip-HWvD2y-unpack/Mopidy-0.3.1.tar.gz the member Mopidy-0.3.1/tests/data/song2.wav is invalid: 'NoneType' object has no attribute 'isreg'  
  In the tar file /tmp/pip-HWvD2y-unpack/Mopidy-0.3.1.tar.gz the member Mopidy-0.3.1/tests/data/song3.mp3 is invalid: 'NoneType' object has no attribute 'isreg'  
  In the tar file /tmp/pip-HWvD2y-unpack/Mopidy-0.3.1.tar.gz the member Mopidy-0.3.1/tests/data/song2.mp3 is invalid: 'NoneType' object has no attribute 'isreg'  
  In the tar file /tmp/pip-HWvD2y-unpack/Mopidy-0.3.1.tar.gz the member Mopidy-0.3.1/tests/data/song1.wav is invalid: 'NoneType' object has no attribute 'isreg'  
  In the tar file /tmp/pip-HWvD2y-unpack/Mopidy-0.3.1.tar.gz the member Mopidy-0.3.1/tests/data/scanner/advanced/song1.mp3 is invalid: 'NoneType' object has no attribute 'isreg'
  In the tar file /tmp/pip-HWvD2y-unpack/Mopidy-0.3.1.tar.gz the member Mopidy-0.3.1/tests/data/scanner/advanced/subdir2/song6.mp3 is invalid: 'NoneType' object has no attribute 'isreg'
  In the tar file /tmp/pip-HWvD2y-unpack/Mopidy-0.3.1.tar.gz the member Mopidy-0.3.1/tests/data/scanner/advanced/subdir2/song7.mp3 is invalid: 'NoneType' object has no attribute 'isreg'
  In the tar file /tmp/pip-HWvD2y-unpack/Mopidy-0.3.1.tar.gz the member Mopidy-0.3.1/tests/data/scanner/advanced/song3.mp3 is invalid: 'NoneType' object has no attribute 'isreg'
  In the tar file /tmp/pip-HWvD2y-unpack/Mopidy-0.3.1.tar.gz the member Mopidy-0.3.1/tests/data/scanner/advanced/subdir1/song4.mp3 is invalid: 'NoneType' object has no attribute 'isreg'
  In the tar file /tmp/pip-HWvD2y-unpack/Mopidy-0.3.1.tar.gz the member Mopidy-0.3.1/tests/data/scanner/advanced/subdir1/subsubdir/song9.mp3 is invalid: 'NoneType' object has no attribute 'isreg'
  In the tar file /tmp/pip-HWvD2y-unpack/Mopidy-0.3.1.tar.gz the member Mopidy-0.3.1/tests/data/scanner/advanced/subdir1/subsubdir/song8.mp3 is invalid: 'NoneType' object has no attribute 'isreg'
  In the tar file /tmp/pip-HWvD2y-unpack/Mopidy-0.3.1.tar.gz the member Mopidy-0.3.1/tests/data/scanner/advanced/subdir1/song5.mp3 is invalid: 'NoneType' object has no attribute 'isreg'
Invalid: 'NoneType' object has no attribute 'isreg'
  In the tar file /tmp/pip-HWvD2y-unpack/Mopidy-0.3.1.tar.gz the member Mopidy-0.3.1/tests/data/scanner/simple/song1.mp3 is invalid: 'NoneType' object has no attribute 'isreg'
  In the tar file /tmp/pip-HWvD2y-unpack/Mopidy-0.3.1.tar.gz the member Mopidy-0.3.1/tests/data/song3.ogg is invalid: 'NoneType' object has no attribute 'isreg'  
  Running setup.py egg_info for package mopidy
Installing collected packages: mopidy
  Running setup.py install for mopidy
    changing mode of build/scripts-2.6/mopidy from 644 to 755
    changing mode of build/scripts-2.6/mopidy-scan from 644 to 755
    changing mode of /home/adamcik/mopidy/bin/mopidy to 755
    changing mode of /home/adamcik/mopidy/bin/mopidy-scan to 755
Successfully installed mopidy
Cleaning up...
@jodal

This comment has been minimized.

Member

jodal commented Apr 6, 2011

This is due to symlinks in the test data. Should we consider dropping the tests from the PyPI package? Other proposals?

@adamcik

This comment has been minimized.

Member

adamcik commented Apr 6, 2011

The test setup could create the the required files with symlinks or copies on the system in question?

@ghost ghost assigned jodal Apr 11, 2011

@jodal jodal closed this in 2a3b6f2 Apr 11, 2011

@jodal

This comment has been minimized.

Member

jodal commented Apr 11, 2011

I replaced the symlinks with real files. Here's the result of installing with pip 0.8.3:

(ve)jodal@cih:~/dev/ve$ pip install ../mopidy/dist/Mopidy-0.3.1-115-g2a3b6f2.tar.gz 
Unpacking /home/jodal/dev/mopidy/dist/Mopidy-0.3.1-115-g2a3b6f2.tar.gz
  Running setup.py egg_info for package from file:///home/jodal/dev/mopidy/dist/Mopidy-0.3.1-115-g2a3b6f2.tar.gz

Installing collected packages: Mopidy
  Running setup.py install for Mopidy
    changing mode of build/scripts-2.7/mopidy from 644 to 755
    changing mode of build/scripts-2.7/mopidy-scan from 644 to 755

    changing mode of /home/jodal/dev/ve/bin/mopidy to 755
    changing mode of /home/jodal/dev/ve/bin/mopidy-scan to 755
Successfully installed Mopidy
Cleaning up...
@jodal

This comment has been minimized.

Member

jodal commented Apr 11, 2011

I should also note: the size of tests/ increased from 1940 kB to 2344 kB (including pyc files), which should be acceptable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment