GithubHelp home page GithubHelp logo

rckclmbr / pyportify Goto Github PK

View Code? Open in Web Editor NEW
782.0 782.0 57.0 1021 KB

App to transfer your spotify playlists to Google Play Music

License: Apache License 2.0

Python 31.97% CSS 51.14% HTML 5.95% JavaScript 10.00% Shell 0.13% PowerShell 0.68% Dockerfile 0.13%

pyportify's People

Contributors

hatarist avatar matthewvita avatar namankanakiya avatar rckclmbr avatar scottpaine avatar squizzi avatar tclift avatar vladekk avatar wyattearp avatar yepitschunked avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyportify's Issues

Install error

Hi there!
Getting this error on El Capitan with "pip install pyportify"
Is it an error on my end?


Found existing installation: six 1.4.1
DEPRECATION: Uninstalling a distutils installed project (six) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
Uninstalling six-1.4.1:
Exception:
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/basecommand.py", line 211, in main
status = self.run(options, args)
File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/commands/install.py", line 311, in run
root=options.root_path,
File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/req/req_set.py", line 640, in install
requirement.uninstall(auto_confirm=True)
File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/req/req_install.py", line 716, in uninstall
paths_to_remove.remove(auto_confirm)
File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/req/req_uninstall.py", line 125, in remove
renames(path, new_path)
File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/utils/init.py", line 315, in renames
shutil.move(old, new)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 302, in move
copy2(src, real_dst)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 131, in copy2
copystat(src, dst)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 103, in copystat
os.chflags(dst, st.st_flags)
OSError: [Errno 1] Operation not permitted: '/var/folders/vb/hxmnpln95978mn8x5041h8dc0000gn/T/pip-qCshG2-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info'

Using Google Apps account, I cannot change security, and then authentification on Google is broken

Hello,

I cannot connect to Google (logs below), and I cannot change my settings account because I'm using a Google Apps account.

Is there another way to anthenticate?

Thanks!!

Olivier

192.168.99.1 - - [2015-06-09 11:41:55] "POST /google/login HTTP/1.1" 500 412 0.080874
2015-06-09 11:42:03,502 - pyportify.views - ERROR - Exception on /google/login [POST]
Traceback (most recent call last):
  File "/ve/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/ve/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/ve/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/ve/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/ve/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/ve/local/lib/python2.7/site-packages/pyportify/views.py", line 88, in google_login
    user_scope.google_login(email, password)
  File "/ve/local/lib/python2.7/site-packages/pyportify/views.py", line 60, in google_login
    self._google_loggedin = self.googleapi.login(username, password)
  File "/ve/local/lib/python2.7/site-packages/pyportify/google.py", line 55, in login
    auth = parse_auth_response(data).get("Auth", None)
  File "/ve/local/lib/python2.7/site-packages/pyportify/google.py", line 170, in parse_auth_response
    k, v = line.split("=", 1)
ValueError: need more than 1 value to unpack
192.168.99.1 - - [2015-06-09 11:42:03] "POST /google/login HTTP/1.1" 500 412 0.072171

Failed on IOError

Hello,

I'm running into an error when calling pyportify-copyall (and I assume with pyportify as well, as that hangs after requesting the transfer, also). It seems to fail in some part of the spotify processing side of things. Any thoughts?

Gathering tracks for playlist somelist (12)

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/gevent-1.1b5-py2.7-linux-x86_64.egg/gevent/greenlet.py", line 523, in run
    result = self._run(*self.args, **self.kwargs)
  File "/home/someuser/.local/lib/python2.7/site-packages/pyportify/views.py", line 207, in search_gm_track
    track = g.find_best_track(search_query)
  File "/home/someuser/.local/lib/python2.7/site-packages/pyportify/google.py", line 64, in find_best_track
    data = self.search_all_access(search_query)
  File "/home/someuser/.local/lib/python2.7/site-packages/pyportify/google.py", line 60, in search_all_access
    data = self._http_get(url)
  File "/home/someuser/.local/lib/python2.7/site-packages/pyportify/google.py", line 90, in _http_get
    res = self._sj_client.get(SJ_URL + url, headers)
  File "/home/someuser/.local/lib/python2.7/site-packages/geventhttpclient/client.py", line 184, in get
    return self.request(METHOD_GET, request_uri, headers=headers)
  File "/home/someuser/.local/lib/python2.7/site-packages/geventhttpclient/client.py", line 157, in request
    sock = self._connection_pool.get_socket()
  File "/home/someuser/.local/lib/python2.7/site-packages/geventhttpclient/connectionpool.py", line 133, in get_socket
    return self._create_socket()
  File "/home/someuser/.local/lib/python2.7/site-packages/geventhttpclient/connectionpool.py", line 116, in _create_socket
    raise first_error
IOError: [Errno 21] Is a directory
<Greenlet at 0x7fa55e776e10: search_gm_track((11, u'spotify:user:1234567890:playlist:0XikmRiePW)> failed with IOError

... repeat 12 times ...

Gmail Logon Error

[29/Oct/2015:16:12:05] ENGINE Bus STARTING
[29/Oct/2015:16:12:05] ENGINE Started monitor thread 'Autoreloader'.
[29/Oct/2015:16:12:05] ENGINE Started monitor thread '_TimeoutMonitor'.
[29/Oct/2015:16:12:06] ENGINE Serving on http://0.0.0.0:3132
[29/Oct/2015:16:12:06] ENGINE Bus STARTED
/usr/local/lib/python2.7/site-packages/pyportify/static
2015-10-29 16:12:22 [7138] [ERROR] base.py:231:handle_uncaught_exception Internal Server Error: /google/login
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = wrapped_callback(request, _callback_args, *_callback_kwargs)
File "/usr/local/lib/python2.7/site-packages/pyportify/views.py", line 68, in google_login
user_scope.google_login(email, password)
File "/usr/local/lib/python2.7/site-packages/pyportify/views.py", line 41, in google_login
self._google_loggedin = self.googleapi.login(username, password)
TypeError: login() takes exactly 4 arguments (3 given)
2015-10-29 16:12:23 [7138] [ERROR] base.py:231:handle_uncaught_exception Internal Server Error: /google/login
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = wrapped_callback(request, _callback_args, *_callback_kwargs)
File "/usr/local/lib/python2.7/site-packages/pyportify/views.py", line 68, in google_login
user_scope.google_login(email, password)
File "/usr/local/lib/python2.7/site-packages/pyportify/views.py", line 41, in google_login
self._google_loggedin = self.googleapi.login(username, password)
TypeError: login() takes exactly 4 arguments (3 given)
2015-10-29 16:12:29 [7138] [ERROR] base.py:231:handle_uncaught_exception Internal Server Error: /google/login
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = wrapped_callback(request, _callback_args, *_callback_kwargs)
File "/usr/local/lib/python2.7/site-packages/pyportify/views.py", line 68, in google_login
user_scope.google_login(email, password)
File "/usr/local/lib/python2.7/site-packages/pyportify/views.py", line 41, in google_login
self._google_loggedin = self.googleapi.login(username, password)
TypeError: login() takes exactly 4 arguments (3 given)
2015-10-29 16:12:30 [7138] [ERROR] base.py:231:handle_uncaught_exception Internal Server Error: /google/login
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = wrapped_callback(request, _callback_args, *_callback_kwargs)
File "/usr/local/lib/python2.7/site-packages/pyportify/views.py", line 68, in google_login
user_scope.google_login(email, password)
File "/usr/local/lib/python2.7/site-packages/pyportify/views.py", line 41, in google_login
self._google_loggedin = self.googleapi.login(username, password)
TypeError: login() takes exactly 4 arguments (3 given)
2015-10-29 16:12:30 [7138] [ERROR] base.py:231:handle_uncaught_exception Internal Server Error: /google/login
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = wrapped_callback(request, _callback_args, *_callback_kwargs)
File "/usr/local/lib/python2.7/site-packages/pyportify/views.py", line 68, in google_login
user_scope.google_login(email, password)
File "/usr/local/lib/python2.7/site-packages/pyportify/views.py", line 41, in google_login
self._google_loggedin = self.googleapi.login(username, password)
TypeError: login() takes exactly 4 arguments (3 given)
2015-10-29 16:12:30 [7138] [ERROR] base.py:231:handle_uncaught_exception Internal Server Error: /google/login
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = wrapped_callback(request, _callback_args, *_callback_kwargs)
File "/usr/local/lib/python2.7/site-packages/pyportify/views.py", line 68, in google_login
user_scope.google_login(email, password)
File "/usr/local/lib/python2.7/site-packages/pyportify/views.py", line 41, in google_login
self._google_loggedin = self.googleapi.login(username, password)
TypeError: login() takes exactly 4 arguments (3 given)
2015-10-29 16:12:30 [7138] [ERROR] base.py:231:handle_uncaught_exception Internal Server Error: /google/login
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = wrapped_callback(request, _callback_args, *_callback_kwargs)
File "/usr/local/lib/python2.7/site-packages/pyportify/views.py", line 68, in google_login
user_scope.google_login(email, password)
File "/usr/local/lib/python2.7/site-packages/pyportify/views.py", line 41, in google_login
self._google_loggedin = self.googleapi.login(username, password)
TypeError: login() takes exactly 4 arguments (3 given)
2015-10-29 16:12:31 [7138] [ERROR] base.py:231:handle_uncaught_exception Internal Server Error: /google/login
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = wrapped_callback(request, _callback_args, *_callback_kwargs)
File "/usr/local/lib/python2.7/site-packages/pyportify/views.py", line 68, in google_login
user_scope.google_login(email, password)
File "/usr/local/lib/python2.7/site-packages/pyportify/views.py", line 41, in google_login
self._google_loggedin = self.googleapi.login(username, password)
TypeError: login() takes exactly 4 arguments (3 given)

When I put in my password and hit enter no dialog box pops up and nothing happens but the Terminal reads this.

Any suggestions?

SSL error on track lookup

I'm running on Ubuntu 15.04, with Python 2.7.9. I can log in to both services, identify playlists that I want, and then Pyportify runs through each selected playlist. It never increments any of the counters for found, Karaoke, etc, and in the console I can see it gets an SSLError for each track in the playlist. Once each playlist has been processed (with failure for each track), Pyportify finishes.

Here's the traceback:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
    result = self._run(*self.args, **self.kwargs)
  File "/usr/local/lib/python2.7/dist-packages/pyportify/views.py", line 207, in search_gm_track
    track = g.find_best_track(search_query)
  File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 67, in find_best_track
    data = self.search_all_access(search_query)
  File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 63, in search_all_access
    data = self._http_get(url)
  File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 95, in _http_get
    headers=headers
  File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/client.py", line 184, in get
    return self.request(METHOD_GET, request_uri, headers=headers)
  File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/client.py", line 157, in request
    sock = self._connection_pool.get_socket()
  File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/connectionpool.py", line 133, in get_socket
    return self._create_socket()
  File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/connectionpool.py", line 116, in _create_socket
    raise first_error
SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
<Greenlet at 0x7f1bb9888690: search_gm_track((10, u'spotify:user:hillshum:playlist:0b8pEDh8pdAk)> failed with SSLError

That happens with every single track in my library, whether my own playlist or one from someone else. I've found things like http://stackoverflow.com/questions/27835619/ssl-certificate-verify-failed-error, but Pyportify does its own ssl-tweaking and I'm not sure what the best way to fix things is. Still, some sort of bug exists.

Seg Fault - Might be Linux related?

I keep getting a seg fault when I try to log into Google using an app password. I have not tried turning off two-factor.

I also get a seg-fault when just trying the copyall version of the command, before I can log in.

Running Linux Mint 17.1.

AttributeError: 'module' object has no attribute 'patch_all'

Hi,

I am getting the error below when I execute, please help.
This is on Linux Mint

my@machine ~ $ pyportify
Traceback (most recent call last):
File "/usr/local/bin/pyportify", line 9, in
load_entry_point('pyportify==0.2.7', 'console_scripts', 'pyportify')()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 351, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2363, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2088, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "/usr/local/lib/python2.7/dist-packages/pyportify/server.py", line 5, in
from pyportify.views import app as application
File "/usr/local/lib/python2.7/dist-packages/pyportify/views.py", line 7, in
monkey.patch_all()
AttributeError: 'module' object has no attribute 'patch_all'

Invalid Spotify username/password

No errors show up, it's just printing that out.
Is Spotify Premium needed?

BTW, the username/password is right since it's a copy & paste.

Cant Log in to Google

I tried using an app-specific password and get:

127.0.0.1 - - [2015-03-06 09:31:45] "POST /google/login HTTP/1.1" 500 412 0.060079

Spotify Auth fail

Having an issue logging in with my Spotify account. Reporting bad username/password.

Have logged into my Spot account to check the passwd, changed it to be doubly sure. Still fails.

Using both the cli and web versions. Updated using pip. Running ubuntu

[Close]Might be failing as my Spot premium has expired. Dont really want to resub to check :(

Can this be done in reverse?

Do you know if this can be done in reverse? Would love to move back to Spotify, but i have so many starred songs etc.

one playlist gets a 500 return

I have an 80s playlist, because I'm awesome like that, however it will not transfer.
image
I have renamed it in spotify and made it public, but no luck. Any suggestions?

[OSX] Crashes immediately on running: AttributeError and KeyError

Installation all goes fine on Yosemite but then this happens:

bash-3.2$ pyportify
Traceback (most recent call last):
  File "/usr/local/bin/pyportify", line 9, in <module>
    load_entry_point('pyportify==0.2.9', 'console_scripts', 'pyportify')()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 357, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2394, in load_entry_point
    return ep.load()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2108, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/Library/Python/2.7/site-packages/pyportify/server.py", line 5, in <module>
    from pyportify.views import app as application
  File "/Library/Python/2.7/site-packages/pyportify/views.py", line 76, in <module>
    user_scope = UserScope()
  File "/Library/Python/2.7/site-packages/pyportify/views.py", line 31, in __init__
    self.googleapi = Mobileclient()
  File "/Library/Python/2.7/site-packages/pyportify/google.py", line 30, in __init__
    "ca_certs": certifi.old_where(),
AttributeError: 'module' object has no attribute 'old_where'
Exception KeyError: KeyError(4539898928,) in <module 'threading' from '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.pyc'> ignored

Any suggestions?

Doesn't finish/Progress screen shows nothing.

I've gotten pyportify to copy playlists with expected results of not everything matching and some false positives, but otherwise pretty good.

The problem comes when it's done transferring, it just stops. It has made the playlists correctly, but there's no way to continue or exit gracefully. I have to Ctrl+C in the terminal to stop it.

Similarly, the progress screen shows the same thing all the time. Just a blank album cover and an empty progress bar.

Error installing on OSX El Capitan

The command sudo pip install pyportify results in an error:

error: could not create '/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/greenlet': Operation not permitted

Apparently this is because of System Integrity Protection. I don't understand what it is, and I hope the Howto Install will be updated to explain/deal with this.

Logging songs not found.

Would it be possible to make it so that any songs it didn't find could be output to a log so that users could find them on their own?

How do I get it working on Windows?

Hi, I'd like to use your tool, but I can't get it working on windows (8.1)
Is it possible? And if so, could you provide a guide to make it work?

Thanks in advance!

Error running PyPortify

I am running Ubuntu 14.04 in a VM on Windows 10. I followed the instructions to install Pyportify via terminal and when I run pyportify or pyportify-copyall i get the following:

Traceback (most recent call last):
File "/usr/local/bin/pyportify", line 9, in
load_entry_point('pyportify==0.2.7', 'console_scripts', 'pyportify')()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 351, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2363, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2088, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "/usr/local/lib/python2.7/dist-packages/pyportify/server.py", line 5, in
from pyportify.views import app as application
File "/usr/local/lib/python2.7/dist-packages/pyportify/views.py", line 10, in
from socketio import socketio_manage
ImportError: cannot import name socketio_manage
Exception KeyError: KeyError(139971929585296,) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored

I checked to see that socketio_manage was installed and updated. Any clue?

Thx

Error on Fedora 22

Hi, I have tried pyportify following the instructions in README.md and I get the following problem when starting up:

ย philย ๎‚ฐย ~ย ๎‚ฐย pyportify
Traceback (most recent call last):
File "/usr/bin/pyportify", line 9, in
load_entry_point('pyportify==0.2.5', 'console_scripts', 'pyportify')()
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 558, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 2682, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 2355, in load
return self.resolve()
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 2361, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/lib/python2.7/site-packages/pyportify/server.py", line 5, in
from pyportify.views import app as application
File "/usr/lib/python2.7/site-packages/pyportify/views.py", line 76, in
user_scope = UserScope()
File "/usr/lib/python2.7/site-packages/pyportify/views.py", line 36, in init
self.spotify_session = spotify.Session(config)
File "/usr/lib64/python2.7/site-packages/spotify/init.py", line 58, in wrapper
return f(_args, *_kwargs)
File "/usr/lib64/python2.7/site-packages/spotify/session.py", line 60, in init
self.config._sp_session_config, sp_session_ptr))
File "/usr/lib64/python2.7/site-packages/spotify/error.py", line 31, in maybe_raise
raise LibError(error_type)
spotify.error.LibError: Unable to open trace file
Exception KeyError: KeyError(139655329145232,) in <module 'threading' from '/usr/lib64/python2.7/threading.pyc'> ignored

Now I have looked around for a pointer to what is the problem, but I'm a bit stumped.

Errors when launching pyportify

Hi!

After finally being able to install everything without errors i get an error when launching pyportify. I get a similar error when trying to launch pyportify-copyall aswell. This is the error message from simply launching "pyportify":

Traceback (most recent call last):
File "/usr/local/bin/pyportify", line 5, in
from pkg_resources import load_entry_point
File "/Library/Python/2.7/site-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py", line 2671, in
working_set.require(requires)
File "/Library/Python/2.7/site-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py", line 654, in require
needed = self.resolve(parse_requirements(requirements))
File "/Library/Python/2.7/site-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py", line 552, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: six>=1.6.1

Mac OSX 10.10.3
Help is greatly appreciated!

Error starting pyportify: ImportError

Running Arch Linux, installed pyportify via pip2. I'm getting an error while trying to start pyportify:

Traceback (most recent call last):
  File "/usr/bin/pyportify", line 9, in <module>
    load_entry_point('pyportify==0.2.6', 'console_scripts', 'pyportify')()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 565, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2697, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2370, in load
    return self.resolve()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2376, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.7/site-packages/pyportify/server.py", line 5, in <module>
    from pyportify.views import app as application
  File "/usr/lib/python2.7/site-packages/pyportify/views.py", line 10, in <module>
    from socketio import socketio_manage
ImportError: cannot import name socketio_manage
Exception KeyError: KeyError(139902830899600,) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored

I traced this down to this StackOverflow post, but it doesn't seem to resolve the issue.

I tried moving the import statement after the monkey patching:

import os
import sys

import gevent
from gevent import monkey
monkey.patch_all()
import threading

I also tried removing the threading module from the current imports before monkey patching, followed by reloading after monkey patching.

import os
import sys
if 'threading' in sys.modules:
    del sys.modules['threading']

import gevent
from gevent import monkey
monkey.patch_all()
import threading

Can you shed any light on this? Thanks!

Cannot install on arch linux (error code 1)

Quickly fails after the sudo pip install pyportify command
have tried with python2 and python3

Here is the output:
[yurilebbie@comp pyportify]$ sudo pip install pyportify
Collecting pyportify
Using cached pyportify-0.2.1.tar.gz
Traceback (most recent call last):
File "", line 20, in <module
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

  File "<string>", line 20, in <module

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-geymkjax/pyportify

command clang failed with exit status 1

After doing pip install pyportify I am getting the following error and any help is appreciated thank you.

Note I was following the guide found here on 9 to 5 google: http://9to5google.com/2015/06/18/pro-tip-transfer-playlists-spotify-play-music-pyportify/

Collecting pyportify
Collecting pyspotify>=2.0.0b5 (from pyportify)
  Using cached pyspotify-2.0.5-cp27-none-macosx_10_6_intel.whl
Requirement already satisfied (use --upgrade to upgrade): gevent-socketio==0.3.6 in /usr/local/lib/python2.7/site-packages (from pyportify)
Requirement already satisfied (use --upgrade to upgrade): gevent==1.0.2 in /usr/local/lib/python2.7/site-packages (from pyportify)
Requirement already satisfied (use --upgrade to upgrade): flask>=0.10.1 in /usr/local/lib/python2.7/site-packages (from pyportify)
Collecting gpsoauth==0.0.5 (from pyportify)
Requirement already satisfied (use --upgrade to upgrade): six>=1.6.1 in /usr/local/lib/python2.7/site-packages (from pyportify)
Collecting geventhttpclient==1.2.0 (from pyportify)
Requirement already satisfied (use --upgrade to upgrade): Flask-SocketIO>=0.5.0 in /usr/local/lib/python2.7/site-packages (from pyportify)
Requirement already satisfied (use --upgrade to upgrade): gunicorn==0.16.1 in /usr/local/lib/python2.7/site-packages (from pyportify)
Collecting certifi (from pyportify)
  Using cached certifi-2015.11.20.1-py2.py3-none-any.whl
Collecting cffi>=1.0.0 (from pyspotify>=2.0.0b5->pyportify)
  Using cached cffi-1.4.1.tar.gz
Requirement already satisfied (use --upgrade to upgrade): gevent-websocket in /usr/local/lib/python2.7/site-packages (from gevent-socketio==0.3.6->pyportify)
Requirement already satisfied (use --upgrade to upgrade): greenlet>=0.4.7 in /usr/local/lib/python2.7/site-packages (from gevent==1.0.2->pyportify)
Requirement already satisfied (use --upgrade to upgrade): itsdangerous>=0.21 in /usr/local/lib/python2.7/site-packages (from flask>=0.10.1->pyportify)
Requirement already satisfied (use --upgrade to upgrade): Werkzeug>=0.7 in /usr/local/lib/python2.7/site-packages (from flask>=0.10.1->pyportify)
Requirement already satisfied (use --upgrade to upgrade): Jinja2>=2.4 in /usr/local/lib/python2.7/site-packages (from flask>=0.10.1->pyportify)
Collecting pycrypto>=2.5 (from gpsoauth==0.0.5->pyportify)
Collecting pyopenssl (from gpsoauth==0.0.5->pyportify)
  Using cached pyOpenSSL-0.15.1-py2.py3-none-any.whl
Collecting requests (from gpsoauth==0.0.5->pyportify)
  Using cached requests-2.9.0-py2.py3-none-any.whl
Collecting ndg-httpsclient (from gpsoauth==0.0.5->pyportify)
Collecting pyasn1 (from gpsoauth==0.0.5->pyportify)
  Using cached pyasn1-0.1.9-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): python-socketio>=0.6.1 in /usr/local/lib/python2.7/site-packages (from Flask-SocketIO>=0.5.0->pyportify)
Requirement already satisfied (use --upgrade to upgrade): python-engineio>=0.7.2 in /usr/local/lib/python2.7/site-packages (from Flask-SocketIO>=0.5.0->pyportify)
Requirement already satisfied (use --upgrade to upgrade): pycparser in /usr/local/lib/python2.7/site-packages (from cffi>=1.0.0->pyspotify>=2.0.0b5->pyportify)
Requirement already satisfied (use --upgrade to upgrade): MarkupSafe in /usr/local/lib/python2.7/site-packages (from Jinja2>=2.4->flask>=0.10.1->pyportify)
Collecting cryptography>=0.7 (from pyopenssl->gpsoauth==0.0.5->pyportify)
  Using cached cryptography-1.1.2-cp27-none-macosx_10_6_intel.whl
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/local/lib/python2.7/site-packages (from cryptography>=0.7->pyopenssl->gpsoauth==0.0.5->pyportify)
Collecting enum34 (from cryptography>=0.7->pyopenssl->gpsoauth==0.0.5->pyportify)
Collecting ipaddress (from cryptography>=0.7->pyopenssl->gpsoauth==0.0.5->pyportify)
  Using cached ipaddress-1.0.15-py27-none-any.whl
Collecting idna>=2.0 (from cryptography>=0.7->pyopenssl->gpsoauth==0.0.5->pyportify)
  Using cached idna-2.0-py2.py3-none-any.whl
Building wheels for collected packages: cffi
  Running setup.py bdist_wheel for cffi
  Complete output from command /usr/local/opt/python/bin/python2.7 -c "import setuptools;__file__='/private/var/folders/6c/jx2x2sfx0hvd074pds9v2sx80000gn/T/pip-build-LjX6gR/cffi/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /var/folders/6c/jx2x2sfx0hvd074pds9v2sx80000gn/T/tmpITTKK4pip-wheel-:
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.11-x86_64-2.7
  creating build/lib.macosx-10.11-x86_64-2.7/cffi
  copying cffi/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/cffi
  copying cffi/api.py -> build/lib.macosx-10.11-x86_64-2.7/cffi
  copying cffi/backend_ctypes.py -> build/lib.macosx-10.11-x86_64-2.7/cffi
  copying cffi/cffi_opcode.py -> build/lib.macosx-10.11-x86_64-2.7/cffi
  copying cffi/commontypes.py -> build/lib.macosx-10.11-x86_64-2.7/cffi
  copying cffi/cparser.py -> build/lib.macosx-10.11-x86_64-2.7/cffi
  copying cffi/ffiplatform.py -> build/lib.macosx-10.11-x86_64-2.7/cffi
  copying cffi/gc_weakref.py -> build/lib.macosx-10.11-x86_64-2.7/cffi
  copying cffi/lock.py -> build/lib.macosx-10.11-x86_64-2.7/cffi
  copying cffi/model.py -> build/lib.macosx-10.11-x86_64-2.7/cffi
  copying cffi/recompiler.py -> build/lib.macosx-10.11-x86_64-2.7/cffi
  copying cffi/setuptools_ext.py -> build/lib.macosx-10.11-x86_64-2.7/cffi
  copying cffi/vengine_cpy.py -> build/lib.macosx-10.11-x86_64-2.7/cffi
  copying cffi/vengine_gen.py -> build/lib.macosx-10.11-x86_64-2.7/cffi
  copying cffi/verifier.py -> build/lib.macosx-10.11-x86_64-2.7/cffi
  copying cffi/_cffi_include.h -> build/lib.macosx-10.11-x86_64-2.7/cffi
  copying cffi/parse_c_type.h -> build/lib.macosx-10.11-x86_64-2.7/cffi
  running build_ext
  building '_cffi_backend' extension
  creating build/temp.macosx-10.11-x86_64-2.7
  creating build/temp.macosx-10.11-x86_64-2.7/c
  clang -fno-strict-aliasing -fno-common -dynamic -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DUSE__THREAD -I/usr/include/ffi -I/usr/include/libffi -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c c/_cffi_backend.c -o build/temp.macosx-10.11-x86_64-2.7/c/_cffi_backend.o
  c/_cffi_backend.c:13:10: fatal error: 'ffi.h' file not found
  #include <ffi.h>
           ^
  1 error generated.
  error: command 'clang' failed with exit status 1

  ----------------------------------------
  Failed building wheel for cffi
Failed to build cffi
Installing collected packages: cffi, pyspotify, pycrypto, enum34, ipaddress, pyasn1, idna, cryptography, pyopenssl, requests, ndg-httpsclient, gpsoauth, certifi, geventhttpclient, pyportify
  Running setup.py install for cffi
    Complete output from command /usr/local/opt/python/bin/python2.7 -c "import setuptools, tokenize;__file__='/private/var/folders/6c/jx2x2sfx0hvd074pds9v2sx80000gn/T/pip-build-LjX6gR/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/6c/jx2x2sfx0hvd074pds9v2sx80000gn/T/pip-J3EkLv-record/install-record.txt --single-version-externally-managed --compile:
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    running install
    running build
    running build_py
    running build_ext
    building '_cffi_backend' extension
    clang -fno-strict-aliasing -fno-common -dynamic -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DUSE__THREAD -I/usr/include/ffi -I/usr/include/libffi -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c c/_cffi_backend.c -o build/temp.macosx-10.11-x86_64-2.7/c/_cffi_backend.o
    c/_cffi_backend.c:13:10: fatal error: 'ffi.h' file not found
    #include <ffi.h>
             ^
    1 error generated.
    error: command 'clang' failed with exit status 1

    ----------------------------------------
Command "/usr/local/opt/python/bin/python2.7 -c "import setuptools, tokenize;__file__='/private/var/folders/6c/jx2x2sfx0hvd074pds9v2sx80000gn/T/pip-build-LjX6gR/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/6c/jx2x2sfx0hvd074pds9v2sx80000gn/T/pip-J3EkLv-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/6c/jx2x2sfx0hvd074pds9v2sx80000gn/T/pip-build-LjX6gR/cffi

Error

Here is the error:
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/pyspotify
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in
load_entry_point('pip==1.5.6', 'console_scripts', 'pip')()
File "/usr/lib/python2.7/dist-packages/pip/init.py", line 235, in main
return command.main(cmd_args)
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 161, in main
text = '\n'.join(complete_log)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 66: ordinal not in range(128)

What is wrong?

Issues installing on OS X 10.11 (El Capitan)

When I get to the pip install step, I get:

$ pip install pyportify
Collecting pyportify
  Downloading pyportify-0.2.6.tar.gz (866kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 868kB 625kB/s 
Collecting flask>=0.10.1 (from pyportify)
  Downloading Flask-0.10.1.tar.gz (544kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 544kB 847kB/s 
Collecting Flask-SocketIO>=0.5.0 (from pyportify)
  Downloading Flask-SocketIO-0.6.0.tar.gz
Collecting gunicorn==0.16.1 (from pyportify)
  Downloading gunicorn-0.16.1.tar.gz (344kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 348kB 1.0MB/s 
Collecting pyspotify>=2.0.0b5 (from pyportify)
  Downloading pyspotify-2.0.5-cp27-none-macosx_10_6_intel.whl (1.9MB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 1.9MB 203kB/s 
Collecting six>=1.6.1 (from pyportify)
  Downloading six-1.10.0-py2.py3-none-any.whl
Collecting gevent==1.0.2 (from pyportify)
  Downloading gevent-1.0.2-cp27-none-macosx_10_11_intel.whl (559kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 561kB 639kB/s 
Collecting geventhttpclient==1.2.0 (from pyportify)
  Downloading geventhttpclient-1.2.0.tar.gz
Collecting gpsoauth==0.0.1 (from pyportify)
  Downloading gpsoauth-0.0.1.tar.gz
Collecting certifi (from pyportify)
  Downloading certifi-2015.9.6.2-py2.py3-none-any.whl (371kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 372kB 806kB/s 
Collecting Werkzeug>=0.7 (from flask>=0.10.1->pyportify)
  Downloading Werkzeug-0.10.4-py2.py3-none-any.whl (293kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 294kB 1.1MB/s 
Collecting Jinja2>=2.4 (from flask>=0.10.1->pyportify)
  Downloading Jinja2-2.8-py2.py3-none-any.whl (263kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 266kB 927kB/s 
Collecting itsdangerous>=0.21 (from flask>=0.10.1->pyportify)
  Downloading itsdangerous-0.24.tar.gz (46kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 49kB 1.4MB/s 
Collecting gevent-socketio>=0.3.6 (from Flask-SocketIO>=0.5.0->pyportify)
  Downloading gevent_socketio-0.3.6-py27-none-any.whl
Collecting cffi>=1.0.0 (from pyspotify>=2.0.0b5->pyportify)
  Downloading cffi-1.3.0-cp27-none-macosx_10_10_intel.whl (192kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 192kB 1.1MB/s 
Collecting greenlet>=0.4.7 (from gevent==1.0.2->pyportify)
  Downloading greenlet-0.4.9.tar.gz (54kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 57kB 1.7MB/s 
Collecting pycrypto (from gpsoauth==0.0.1->pyportify)
  Downloading pycrypto-2.6.1.tar.gz (446kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 446kB 769kB/s 
Collecting requests (from gpsoauth==0.0.1->pyportify)
  Downloading requests-2.8.1-py2.py3-none-any.whl (497kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 499kB 668kB/s 
Collecting MarkupSafe (from Jinja2>=2.4->flask>=0.10.1->pyportify)
  Downloading MarkupSafe-0.23.tar.gz
Collecting gevent-websocket (from gevent-socketio>=0.3.6->Flask-SocketIO>=0.5.0->pyportify)
  Downloading gevent-websocket-0.9.5.tar.gz
Collecting pycparser (from cffi>=1.0.0->pyspotify>=2.0.0b5->pyportify)
  Downloading pycparser-2.14.tar.gz (223kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 225kB 1.6MB/s 
Installing collected packages: Werkzeug, MarkupSafe, Jinja2, itsdangerous, flask, greenlet, gevent, gevent-websocket, gevent-socketio, Flask-SocketIO, gunicorn, pycparser, cffi, pyspotify, six, certifi, geventhttpclient, pycrypto, requests, gpsoauth, pyportify
Exception:
Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/basecommand.py", line 211, in main
    status = self.run(options, args)
  File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/commands/install.py", line 311, in run
    root=options.root_path,
  File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/req/req_set.py", line 646, in install
    **kwargs
  File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/req/req_install.py", line 803, in install
    self.move_wheel_files(self.source_dir, root=root)
  File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/req/req_install.py", line 998, in move_wheel_files
    isolated=self.isolated,
  File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/wheel.py", line 339, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/wheel.py", line 310, in clobber
    ensure_dir(destdir)
  File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/utils/__init__.py", line 71, in ensure_dir
    os.makedirs(path)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/werkzeug'

If I try again with sudo -H:

$ sudo -H pip install pyportify
Password:
Collecting pyportify
  Downloading pyportify-0.2.6.tar.gz (866kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 868kB 583kB/s 
Requirement already satisfied (use --upgrade to upgrade): flask>=0.10.1 in /Library/Python/2.7/site-packages (from pyportify)
Collecting Flask-SocketIO>=0.5.0 (from pyportify)
  Downloading Flask-SocketIO-0.6.0.tar.gz
Collecting gunicorn==0.16.1 (from pyportify)
  Downloading gunicorn-0.16.1.tar.gz (344kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 348kB 1.1MB/s 
Collecting pyspotify>=2.0.0b5 (from pyportify)
  Downloading pyspotify-2.0.5-cp27-none-macosx_10_6_intel.whl (1.9MB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 1.9MB 262kB/s 
Collecting six>=1.6.1 (from pyportify)
  Downloading six-1.10.0-py2.py3-none-any.whl
Collecting gevent==1.0.2 (from pyportify)
  Downloading gevent-1.0.2-cp27-none-macosx_10_11_intel.whl (559kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 561kB 617kB/s 
Collecting geventhttpclient==1.2.0 (from pyportify)
  Downloading geventhttpclient-1.2.0.tar.gz
Collecting gpsoauth==0.0.1 (from pyportify)
  Downloading gpsoauth-0.0.1.tar.gz
Collecting certifi (from pyportify)
  Downloading certifi-2015.9.6.2-py2.py3-none-any.whl (371kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 372kB 1.4MB/s 
Requirement already satisfied (use --upgrade to upgrade): Werkzeug>=0.7 in /Library/Python/2.7/site-packages (from flask>=0.10.1->pyportify)
Requirement already satisfied (use --upgrade to upgrade): Jinja2>=2.4 in /Library/Python/2.7/site-packages (from flask>=0.10.1->pyportify)
Requirement already satisfied (use --upgrade to upgrade): itsdangerous>=0.21 in /Library/Python/2.7/site-packages (from flask>=0.10.1->pyportify)
Collecting gevent-socketio>=0.3.6 (from Flask-SocketIO>=0.5.0->pyportify)
  Downloading gevent_socketio-0.3.6-py27-none-any.whl
Collecting cffi>=1.0.0 (from pyspotify>=2.0.0b5->pyportify)
  Downloading cffi-1.3.0-cp27-none-macosx_10_10_intel.whl (192kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 192kB 1.3MB/s 
Collecting greenlet>=0.4.7 (from gevent==1.0.2->pyportify)
  Downloading greenlet-0.4.9.tar.gz (54kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 57kB 6.1MB/s 
Collecting pycrypto (from gpsoauth==0.0.1->pyportify)
  Downloading pycrypto-2.6.1.tar.gz (446kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 446kB 660kB/s 
Collecting requests (from gpsoauth==0.0.1->pyportify)
  Downloading requests-2.8.1-py2.py3-none-any.whl (497kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 499kB 646kB/s 
Requirement already satisfied (use --upgrade to upgrade): MarkupSafe in /Library/Python/2.7/site-packages (from Jinja2>=2.4->flask>=0.10.1->pyportify)
Collecting gevent-websocket (from gevent-socketio>=0.3.6->Flask-SocketIO>=0.5.0->pyportify)
  Downloading gevent-websocket-0.9.5.tar.gz
Collecting pycparser (from cffi>=1.0.0->pyspotify>=2.0.0b5->pyportify)
  Downloading pycparser-2.14.tar.gz (223kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 225kB 1.7MB/s 
Installing collected packages: greenlet, gevent, gevent-websocket, gevent-socketio, Flask-SocketIO, gunicorn, pycparser, cffi, pyspotify, six, certifi, geventhttpclient, pycrypto, requests, gpsoauth, pyportify
  Running setup.py install for greenlet
    Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-r389iQ/greenlet/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-PaQRWe-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_ext
    building 'greenlet' extension
    creating build
    creating build/temp.macosx-10.11-intel-2.7
    cc -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c greenlet.c -o build/temp.macosx-10.11-intel-2.7/greenlet.o
    creating build/lib.macosx-10.11-intel-2.7
    cc -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -Wl,-F. build/temp.macosx-10.11-intel-2.7/greenlet.o -o build/lib.macosx-10.11-intel-2.7/greenlet.so
    running install_lib
    copying build/lib.macosx-10.11-intel-2.7/greenlet.so -> /Library/Python/2.7/site-packages
    running install_headers
    creating /System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/greenlet
    error: could not create '/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/greenlet': Operation not permitted

    ----------------------------------------
Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-r389iQ/greenlet/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-PaQRWe-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-r389iQ/greenlet

Please help! :-)

Bi-Directional Support

This tool is awesome for Spotify > Google Play Music, but what about Google Play Music > Spotify?

No Playlists Showing

I just tried to transfer some playlists but none is showing in step 3.

this is what terminal shows me:

[20/Feb/2015:17:59:29] ENGINE Bus STARTING
[20/Feb/2015:17:59:29] ENGINE Started monitor thread 'Autoreloader'.
[20/Feb/2015:17:59:29] ENGINE Started monitor thread '_TimeoutMonitor'.
[20/Feb/2015:17:59:29] ENGINE Serving on http://0.0.0.0:3132
[20/Feb/2015:17:59:29] ENGINE Bus STARTED
/usr/local/lib/python2.7/dist-packages/pyportify/static
2015-02-20 18:00:22 [6305] [ERROR] base.py:231:handle_uncaught_exception Internal Server Error: /spotify/playlists
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/pyportify/views.py", line 132, in spotify_playlists
    playlist.load()
  File "/usr/local/lib/python2.7/dist-packages/spotify/playlist.py", line 117, in load
    return utils.load(self._session, self, timeout=timeout)
  File "/usr/local/lib/python2.7/dist-packages/spotify/utils.py", line 240, in load
    raise spotify.Timeout(timeout)
Timeout: Operation did not complete in 10.000s

Can't login in Google Account with Two-Factor Authentication

When I try to login to google, I get this response:

{u'Url': u'...', u'ErrorDetail': u'To access your account, you must sign in on the web. Touch Next to start browser sign-in.', u'Error': u'NeedsBrowser'}

If i paste that in my browser, google asks for my app-generated pin. After that, it gets me back to a url that is like
https://accounts.google.com/o/oauth2/programmatic_auth...
With a http 200 and setting a "oauth_token" cookie.

I tried putting the oauth token by hand in the login function and it worked, I was logged in.

Issue running PyPortify - Just Installed it

I'll preface by saying I'm a beginner when it comes to Linux enivronments, I only have some experience in using simple tasks in Ubuntu, eOS, and RHEL.

I am running Ubuntu 15.1 in VMWare Player.

I followed the instructions, I don't think I Got any errors.

Now when I go to actually run it:
pyportify

I get this error:

robert@ubuntu:~$ pyportify
Traceback (most recent call last):
File "/usr/local/bin/pyportify", line 9, in
load_entry_point('pyportify==0.2.9', 'console_scripts', 'pyportify')()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 558, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2682, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2355, in load
return self.resolve()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2361, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python2.7/dist-packages/pyportify/server.py", line 5, in
from pyportify.views import app as application
File "/usr/local/lib/python2.7/dist-packages/pyportify/views.py", line 10, in
from socketio import socketio_manage
ImportError: cannot import name socketio_manage
Exception KeyError: KeyError(139845106397264,) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored

I tried googling. Found 1 thread about pip socketio - I tried that and still the same error when I tried to run pyportify again.

Any ideas what I'm doing wrong

SSL Error from requests module

SSL error caused by Requests because of an untrusted certificate when logging into Google. Stems from gpsoauth package. Specifically, the init.py file. I was able to solve this by manually modifying a function in the file. See below:

def _perform_auth_request(data):
res = requests.post(auth_url, data,
headers={'User-Agent': useragent}, verify=False)

return google.parse_auth_response(res.text)

Adding the 'verify=False' removes the verification step for the SSL cert, which is super insecure but was by far the easiest workaround I could think of.

Is there a way that we can fix this going forward to disable verification if an SSL error is thrown because of an untrusted cert?

Login Error

Not sure if I'm doing something wrong.

Whenever i try to login on the google, i get a login error.

Anyone can help me out?

Running Ubuntu

how to transfer Spotify's "Your Music"?

Pyportify lets one transfer Spotify playlists. But Spotify also lets us bookmarks tracks in a library named "Your Music" (with the nasty gotcha of a hidden limit of 10k tracks, hence my exodus...). Is there any way to transfer those as well?

Segfault when logging into Google on Fedora

I installed on Fedora using these instructions:

sudo rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(grep -o [0-9]* /etc/fedora-release).noarch.rpm
sudo yum update
sudo yum -y install python-pip python-devel libffi-devel libspotify-devel
sudo pip install pyportify

But that was short-lived, I get segfaults when trying to login to my Google account. I can't get much info from it since I can't get debuginfo for libspotify but it seems to be the culprit:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffdbfff700 (LWP 29590)]
0x00007fffb5a0db9e in ?? () from /lib64/libspotify.so.12

I thought that maybe the libspotify provided by rpmfusion non-free is out of date/different then the one from the spotify site.

$ rpm -qa | grep libspotify
libspotify-12.1.51-4.fc21.x86_64
libspotify-devel-12.1.51-4.fc21.x86_64

So I grabbed the libspotify from here: https://developer.spotify.com/download/libspotify/libspotify-12.1.51-Linux-x86_64-release.tar.gz and made sure that we were loading the correct library and I still get a segfault.

I thought maybe the issue was 2-Factor Auth on Google but I setup an auth password and still encountered the segfault.

I'm not too good at troubleshooting python but will be happy to help.

Failed With AttributeError

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/gevent/greenlet.py", line 327, in run
    result = self._run(*self.args, **self.kwargs)
  File "/usr/local/lib/python2.7/site-packages/pyportify/views.py", line 207, in search_gm_track
    track = g.find_best_track(search_query)
  File "/usr/local/lib/python2.7/site-packages/pyportify/google.py", line 64, in find_best_track
    data = self.search_all_access(search_query)
  File "/usr/local/lib/python2.7/site-packages/pyportify/google.py", line 60, in search_all_access
    data = self._http_get(url)
  File "/usr/local/lib/python2.7/site-packages/pyportify/google.py", line 90, in _http_get
    res = self._sj_client.get(SJ_URL + url, headers)
  File "/usr/local/lib/python2.7/site-packages/geventhttpclient/client.py", line 184, in get
    return self.request(METHOD_GET, request_uri, headers=headers)
  File "/usr/local/lib/python2.7/site-packages/geventhttpclient/client.py", line 172, in request
    block_size=self.block_size, method=method.upper(), headers_type=self.headers_type)
  File "/usr/local/lib/python2.7/site-packages/geventhttpclient/response.py", line 286, in __init__
    super(HTTPSocketPoolResponse, self).__init__(sock, **kw)
  File "/usr/local/lib/python2.7/site-packages/geventhttpclient/response.py", line 158, in __init__
    self._read_headers()
  File "/usr/local/lib/python2.7/site-packages/geventhttpclient/response.py", line 179, in _read_headers
    self.feed(data)
  File "/usr/local/lib/python2.7/site-packages/geventhttpclient/response.py", line 118, in _on_header_field
    self._flush_header()
  File "/usr/local/lib/python2.7/site-packages/geventhttpclient/response.py", line 133, in _flush_header
    self._headers_index.add(self._current_header_field,
AttributeError: 'dict' object has no attribute 'add'
<Greenlet at 0x102a9c410: search_gm_track((880, u'spotify:user:ZZZZZZZZ:playlist:6bHsAJK)> failed with AttributeError

127.0.0.1 - - [2015-10-22 17:01:44] "POST /portify/transfer/start HTTP/1.1" 200 165 42.383584 

Issue when running docker instance

docker run -t -i --rm rckclmbr/pyportify /ve/bin/pyportify-copyall

Unable to find image 'rckclmbr/pyportify' locally
Pulling repository rckclmbr/pyportify
c63d3a21f646: Download complete
511136ea3c5a: Download complete
3b363fd9d7da: Download complete
607c5d1cca71: Download complete
f62feddc05dc: Download complete
8eaa4ff06b53: Download complete
69a6b88af78b: Download complete
2de95f27f7e7: Download complete
021587cb218f: Download complete
02e20e6af814: Download complete
d74517819d5d: Download complete
98ee62334272: Download complete
d784e128bba4: Download complete
7b0fe952792a: Download complete
d009e392a431: Download complete
e5207406dd29: Download complete
Traceback (most recent call last):
File "/ve/bin/pyportify-copyall", line 5, in
from pkg_resources import load_entry_point
File "/ve/local/lib/python2.7/site-packages/pkg_resources/init.py", line 2970, in
working_set = WorkingSet._build_master()
File "/ve/local/lib/python2.7/site-packages/pkg_resources/init.py", line 569, in _build_master
return cls._build_from_requirements(requires)
File "/ve/local/lib/python2.7/site-packages/pkg_resources/init.py", line 582, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/ve/local/lib/python2.7/site-packages/pkg_resources/init.py", line 761, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: six>=1.6.1

Failed with SSLError

I have somehow did everything right but to transfer the playlist. I am getting some sslerror and don't know how to fix this, please help..

Here are my full logs below:-

my@linux ~ $ pyportify
Open your browser and go to http://localhost:3132

Managing socket.io
Socketio session started
New connection
Managing socket.io
Socketio session started
New connection
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:789: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
InsecureRequestWarning)
127.0.0.1 - - [2015-12-09 16:09:22] "POST /google/login HTTP/1.1" 200 157 0.801953
Client disconnected
Client disconnected
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:789: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
InsecureRequestWarning)
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:789: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
InsecureRequestWarning)
127.0.0.1 - - [2015-12-09 16:09:56] "POST /google/login HTTP/1.1" 200 161 1.740417

127.0.0.1 - - [2015-12-09 16:11:28] "POST /spotify/login HTTP/1.1" 200 161 1.297684
127.0.0.1 - - [2015-12-09 16:11:28] "GET /spotify/playlists HTTP/1.1" 200 2746 0.003640
Gathering tracks for playlist Starred (11)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(_self.args, *_self.kwargs)
File "/usr/local/lib/python2.7/dist-packages/pyportify/views.py", line 207, in search_gm_track
track = g.find_best_track(search_query)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 67, in find_best_track
data = self.search_all_access(search_query)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 63, in search_all_access
data = self._http_get(url)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 95, in _http_get
headers=headers
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/client.py", line 184, in get
return self.request(METHOD_GET, request_uri, headers=headers)
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/client.py", line 157, in request
sock = self._connection_pool.get_socket()
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/connectionpool.py", line 133, in get_socket
return self._create_socket()
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/connectionpool.py", line 116, in _create_socket
raise first_error
SSLError: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
<Greenlet at 0x7f9241dd6230: search_gm_track((6, u'spotify:user:imspotify:playlist:52zixsiq41at)> failed with SSLError

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(_self.args, *_self.kwargs)
File "/usr/local/lib/python2.7/dist-packages/pyportify/views.py", line 207, in search_gm_track
track = g.find_best_track(search_query)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 67, in find_best_track
data = self.search_all_access(search_query)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 63, in search_all_access
data = self._http_get(url)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 95, in _http_get
headers=headers
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/client.py", line 184, in get
return self.request(METHOD_GET, request_uri, headers=headers)
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/client.py", line 157, in request
sock = self._connection_pool.get_socket()
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/connectionpool.py", line 133, in get_socket
return self._create_socket()
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/connectionpool.py", line 116, in _create_socket
raise first_error
SSLError: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
<Greenlet at 0x7f9241dd6550: search_gm_track((3, u'spotify:user:imspotify:playlist:52zixsiq41at)> failed with SSLError

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(_self.args, *_self.kwargs)
File "/usr/local/lib/python2.7/dist-packages/pyportify/views.py", line 207, in search_gm_track
track = g.find_best_track(search_query)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 67, in find_best_track
data = self.search_all_access(search_query)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 63, in search_all_access
data = self._http_get(url)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 95, in _http_get
headers=headers
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/client.py", line 184, in get
return self.request(METHOD_GET, request_uri, headers=headers)
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/client.py", line 157, in request
sock = self._connection_pool.get_socket()
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/connectionpool.py", line 133, in get_socket
return self._create_socket()
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/connectionpool.py", line 116, in _create_socket
raise first_error
SSLError: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
<Greenlet at 0x7f9241f48c30: search_gm_track((1, u'spotify:user:imspotify:playlist:52zixsiq41at)> failed with SSLError

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(_self.args, *_self.kwargs)
File "/usr/local/lib/python2.7/dist-packages/pyportify/views.py", line 207, in search_gm_track
track = g.find_best_track(search_query)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 67, in find_best_track
data = self.search_all_access(search_query)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 63, in search_all_access
data = self._http_get(url)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 95, in _http_get
headers=headers
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/client.py", line 184, in get
return self.request(METHOD_GET, request_uri, headers=headers)
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/client.py", line 157, in request
sock = self._connection_pool.get_socket()
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/connectionpool.py", line 133, in get_socket
return self._create_socket()
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/connectionpool.py", line 116, in _create_socket
raise first_error
SSLError: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
<Greenlet at 0x7f9241dd6f50: search_gm_track((8, u'spotify:user:imspotify:playlist:52zixsiq41at)> failed with SSLError

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(_self.args, *_self.kwargs)
File "/usr/local/lib/python2.7/dist-packages/pyportify/views.py", line 207, in search_gm_track
track = g.find_best_track(search_query)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 67, in find_best_track
data = self.search_all_access(search_query)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 63, in search_all_access
data = self._http_get(url)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 95, in _http_get
headers=headers
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/client.py", line 184, in get
return self.request(METHOD_GET, request_uri, headers=headers)
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/client.py", line 157, in request
sock = self._connection_pool.get_socket()
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/connectionpool.py", line 133, in get_socket
return self._create_socket()
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/connectionpool.py", line 116, in _create_socket
raise first_error
SSLError: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
<Greenlet at 0x7f9241dd6870: search_gm_track((2, u'spotify:user:imspotify:playlist:52zixsiq41at)> failed with SSLError

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(_self.args, *_self.kwargs)
File "/usr/local/lib/python2.7/dist-packages/pyportify/views.py", line 207, in search_gm_track
track = g.find_best_track(search_query)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 67, in find_best_track
data = self.search_all_access(search_query)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 63, in search_all_access
data = self._http_get(url)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 95, in _http_get
headers=headers
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/client.py", line 184, in get
return self.request(METHOD_GET, request_uri, headers=headers)
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/client.py", line 157, in request
sock = self._connection_pool.get_socket()
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/connectionpool.py", line 133, in get_socket
return self._create_socket()
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/connectionpool.py", line 116, in _create_socket
raise first_error
SSLError: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
<Greenlet at 0x7f9241dd6eb0: search_gm_track((7, u'spotify:user:imspotify:playlist:52zixsiq41at)> failed with SSLError

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(_self.args, *_self.kwargs)
File "/usr/local/lib/python2.7/dist-packages/pyportify/views.py", line 207, in search_gm_track
track = g.find_best_track(search_query)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 67, in find_best_track
data = self.search_all_access(search_query)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 63, in search_all_access
data = self._http_get(url)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 95, in _http_get
headers=headers
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/client.py", line 184, in get
return self.request(METHOD_GET, request_uri, headers=headers)
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/client.py", line 157, in request
sock = self._connection_pool.get_socket()
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/connectionpool.py", line 133, in get_socket
return self._create_socket()
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/connectionpool.py", line 116, in _create_socket
raise first_error
SSLError: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
<Greenlet at 0x7f9241dd6190: search_gm_track((5, u'spotify:user:imspotify:playlist:52zixsiq41at)> failed with SSLError

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(_self.args, *_self.kwargs)
File "/usr/local/lib/python2.7/dist-packages/pyportify/views.py", line 207, in search_gm_track
track = g.find_best_track(search_query)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 67, in find_best_track
data = self.search_all_access(search_query)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 63, in search_all_access
data = self._http_get(url)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 95, in _http_get
headers=headers
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/client.py", line 184, in get
return self.request(METHOD_GET, request_uri, headers=headers)
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/client.py", line 157, in request
sock = self._connection_pool.get_socket()
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/connectionpool.py", line 133, in get_socket
return self._create_socket()
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/connectionpool.py", line 116, in _create_socket
raise first_error
SSLError: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
<Greenlet at 0x7f9241dd6410: search_gm_track((4, u'spotify:user:imspotify:playlist:52zixsiq41at)> failed with SSLError

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(_self.args, *_self.kwargs)
File "/usr/local/lib/python2.7/dist-packages/pyportify/views.py", line 207, in search_gm_track
track = g.find_best_track(search_query)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 67, in find_best_track
data = self.search_all_access(search_query)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 63, in search_all_access
data = self._http_get(url)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 95, in _http_get
headers=headers
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/client.py", line 184, in get
return self.request(METHOD_GET, request_uri, headers=headers)
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/client.py", line 157, in request
sock = self._connection_pool.get_socket()
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/connectionpool.py", line 133, in get_socket
return self._create_socket()
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/connectionpool.py", line 116, in _create_socket
raise first_error
SSLError: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
<Greenlet at 0x7f9240d35050: search_gm_track((9, u'spotify:user:imspotify:playlist:52zixsiq41at)> failed with SSLError

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(_self.args, *_self.kwargs)
File "/usr/local/lib/python2.7/dist-packages/pyportify/views.py", line 207, in search_gm_track
track = g.find_best_track(search_query)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 67, in find_best_track
data = self.search_all_access(search_query)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 63, in search_all_access
data = self._http_get(url)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 95, in _http_get
headers=headers
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/client.py", line 184, in get
return self.request(METHOD_GET, request_uri, headers=headers)
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/client.py", line 157, in request
sock = self._connection_pool.get_socket()
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/connectionpool.py", line 133, in get_socket
return self._create_socket()
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/connectionpool.py", line 116, in _create_socket
raise first_error
SSLError: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
<Greenlet at 0x7f9241f48f50: search_gm_track((0, u'spotify:user:imspotify:playlist:52zixsiq41at)> failed with SSLError

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(_self.args, *_self.kwargs)
File "/usr/local/lib/python2.7/dist-packages/pyportify/views.py", line 207, in search_gm_track
track = g.find_best_track(search_query)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 67, in find_best_track
data = self.search_all_access(search_query)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 63, in search_all_access
data = self._http_get(url)
File "/usr/local/lib/python2.7/dist-packages/pyportify/google.py", line 95, in _http_get
headers=headers
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/client.py", line 184, in get
return self.request(METHOD_GET, request_uri, headers=headers)
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/client.py", line 157, in request
sock = self._connection_pool.get_socket()
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/connectionpool.py", line 133, in get_socket
return self._create_socket()
File "/usr/local/lib/python2.7/dist-packages/geventhttpclient/connectionpool.py", line 116, in _create_socket
raise first_error
SSLError: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
<Greenlet at 0x7f9240d350f0: search_gm_track((10, u'spotify:user:imspotify:playlist:52zixsiq41a)> failed with SSLError

127.0.0.1 - - [2015-12-09 16:12:09] "POST /portify/transfer/start HTTP/1.1" 200 164 5.504931

Can't login to Google

Hey, when I try to POST my Google Account username and password I get this stacktrace

2015-05-26 15:33:19,900 - pyportify.views - ERROR - Exception on /google/login [POST]
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/Library/Python/2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/Library/Python/2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/Library/Python/2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/Library/Python/2.7/site-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functionsrule.endpoint
File "/Library/Python/2.7/site-packages/pyportify-0.2.4-py2.7.egg/pyportify/views.py", line 88, in google_login
user_scope.google_login(email, password)
File "/Library/Python/2.7/site-packages/pyportify-0.2.4-py2.7.egg/pyportify/views.py", line 60, in google_login
self._google_loggedin = self.googleapi.login(username, password)
File "/Library/Python/2.7/site-packages/pyportify-0.2.4-py2.7.egg/pyportify/google.py", line 55, in login
auth = parse_auth_response(data).get("Auth", None)
File "/Library/Python/2.7/site-packages/pyportify-0.2.4-py2.7.egg/pyportify/google.py", line 170, in parse_auth_response
k, v = line.split("=", 1)
ValueError: need more than 1 value to unpack
127.0.0.1 - - [2015-05-26 15:33:19] "POST /google/login HTTP/1.1" 500 412 0.438640

This look familiar at all? I can try and use the command line app instead of the web browser one if interested.

python 3

sadly it doesn't work with python 3 :/

Character encoding maybe?

When trying to find songs with special characters e.g. Josรฉ Gonzรกles it stopped with the following dump...

2015-01-18 10:47:18 [1] [ERROR] base.py:231:handle_uncaught_exception Internal Server Error: /portify/transfer/start
Traceback (most recent call last):
File "/ve/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = wrapped_callback(request, _callback_args, *_callback_kwargs)
File "/ve/local/lib/python2.7/site-packages/pyportify/views.py", line 113, in transfer_start
transfer_playlists(lists)
File "/ve/local/lib/python2.7/site-packages/pyportify/views.py", line 168, in transfer_playlists
print "(%s/%s) Found '%s' in Google Music" % (i+1, track_count, search_query)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 18: ordinal not in range(128)

Installing and running on a Mac

I couldn't get pyportify running on a Mac UNLESS I installed python using homebrew and installed cffi. Installing Python using the packages from the python web page caused various errors in the installing of pyportify.

I think the steps were:

  1. install homebrew:
    $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  2. install python:
    $ brew install python
  3. Workaround on OSX (see https://pyspotify.mopidy.com/en/latest/installation/)
    $ sudo ln -s /usr/local/opt/libspotify/lib/libspotify.12.1.51.dylib
    /usr/local/opt/libspotify/lib/libspotify
  4. Install libffi and cffi (not sure if both, or just cffi are needed)
    $ brew install pkg-config libffi
    $ export PKG_CONFIG_PATH=/usr/local/Cellar/libffi/3.0.13/lib/pkgconfig/ # May change with libffi version
    $ pip install cffi
  5. Install pyportify
    $ pip install pyportify

Setup Error

Failure when running pip install pyportify:

This is the contents of /Users/ben/Library/Logs/pip.log

------------------------------------------------------------
/usr/local/bin/pip run on Wed Jan 14 09:48:19 2015
Downloading/unpacking pyportify
  Getting page https://pypi.python.org/simple/pyportify/
  URLs to search for versions for pyportify:
  * https://pypi.python.org/simple/pyportify/
  Analyzing links from page https://pypi.python.org/simple/pyportify/
    Found link https://pypi.python.org/packages/source/p/pyportify/pyportify-0.1.0.tar.gz#md5=84c898faf17a9d3076fff53fe87b96a4 (from https://pypi.python.org/simple/pyportify/), version: 0.1.0
    Found link https://pypi.python.org/packages/source/p/pyportify/pyportify-0.1.1.tar.gz#md5=2eaea84421daeb800f914659c5cee010 (from https://pypi.python.org/simple/pyportify/), version: 0.1.1
    Found link https://pypi.python.org/packages/source/p/pyportify/pyportify-0.1.2.tar.gz#md5=d12952a16b6e7887b9ae4a02d57a57d1 (from https://pypi.python.org/simple/pyportify/), version: 0.1.2
    Found link https://pypi.python.org/packages/source/p/pyportify/pyportify-0.1.3.tar.gz#md5=47a068c1a81119d05881e87dd260ee4f (from https://pypi.python.org/simple/pyportify/), version: 0.1.3
    Found link https://pypi.python.org/packages/source/p/pyportify/pyportify-0.1.4.tar.gz#md5=983af2f250c9b71375147eecff2a54a7 (from https://pypi.python.org/simple/pyportify/), version: 0.1.4
    Found link https://pypi.python.org/packages/source/p/pyportify/pyportify-0.1.5.tar.gz#md5=628e45009529d9f55f7232fbc0d2d8b8 (from https://pypi.python.org/simple/pyportify/), version: 0.1.5
    Found link https://pypi.python.org/packages/source/p/pyportify/pyportify-0.1.6.tar.gz#md5=eb5141a0afccd109063286ee90878bdf (from https://pypi.python.org/simple/pyportify/), version: 0.1.6
    Found link https://pypi.python.org/packages/source/p/pyportify/pyportify-0.1.7.tar.gz#md5=beb62b0ea4d6b250c6a822c7e2f89207 (from https://pypi.python.org/simple/pyportify/), version: 0.1.7
    Found link https://pypi.python.org/packages/source/p/pyportify/pyportify-0.1.8.tar.gz#md5=8b7bf49c87bd40e25d2e9ca5e59e004b (from https://pypi.python.org/simple/pyportify/), version: 0.1.8
    Found link https://pypi.python.org/packages/source/p/pyportify/pyportify-0.1.9.tar.gz#md5=baa905feca7da70e97be4d81c5e5c61d (from https://pypi.python.org/simple/pyportify/), version: 0.1.9
  Using version 0.1.9 (newest of versions: 0.1.9, 0.1.8, 0.1.7, 0.1.6, 0.1.5, 0.1.4, 0.1.3, 0.1.2, 0.1.1, 0.1.0)
  Downloading from URL https://pypi.python.org/packages/source/p/pyportify/pyportify-0.1.9.tar.gz#md5=baa905feca7da70e97be4d81c5e5c61d (from https://pypi.python.org/simple/pyportify/)
  Running setup.py (path:/private/tmp/pip_build_root/pyportify/setup.py) egg_info for package pyportify
    running egg_info
    creating pip-egg-info/pyportify.egg-info
    writing requirements to pip-egg-info/pyportify.egg-info/requires.txt
    writing pip-egg-info/pyportify.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/pyportify.egg-info/top_level.txt
    writing dependency_links to pip-egg-info/pyportify.egg-info/dependency_links.txt
    writing entry points to pip-egg-info/pyportify.egg-info/entry_points.txt
    writing manifest file 'pip-egg-info/pyportify.egg-info/SOURCES.txt'
    warning: manifest_maker: standard file '-c' not found

    reading manifest file 'pip-egg-info/pyportify.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'pip-egg-info/pyportify.egg-info/SOURCES.txt'
  Source in /private/tmp/pip_build_root/pyportify has version 0.1.9, which satisfies requirement pyportify
Downloading/unpacking cherrypy (from pyportify)
  Getting page https://pypi.python.org/simple/cherrypy/
  URLs to search for versions for cherrypy (from pyportify):
  * https://pypi.python.org/simple/cherrypy/
  Analyzing links from page https://pypi.python.org/simple/cherrypy/
    Skipping link https://pypi.python.org/packages/2.3/C/CherryPy/CherryPy-2.1.0-py2.3.egg#md5=294c499d2b34b92b8054c146813ef471 (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .egg
    Skipping link https://pypi.python.org/packages/2.4/C/CherryPy/CherryPy-2.1.0-py2.4.egg#md5=d46a1d49681f8ec09e3eeac25ef7b2e4 (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .egg
    Found link https://pypi.python.org/packages/3.4/C/CherryPy/CherryPy-3.2.6-py2.py3-none-any.whl#md5=c2013e3dcb2dfe4f42d8078b06dd0a4f (from https://pypi.python.org/simple/cherrypy/), version: 3.2.6
    Found link https://pypi.python.org/packages/3.4/C/CherryPy/CherryPy-3.4.0-py2.py3-none-any.whl#md5=7d45666fd27668fb29bb9ed8a884cbcf (from https://pypi.python.org/simple/cherrypy/), version: 3.4.0
    Skipping https://pypi.python.org/packages/3.4/C/CherryPy/CherryPy-3.6.0-py3-none-any.whl#md5=e230570ca6343edffb9f91eaf28b60ca (from https://pypi.python.org/simple/cherrypy/) because it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/any/C/CherryPy/CherryPy-3.2.5.win-amd64.exe#md5=09e9155bef210be12800ab81539a1f4b (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/any/C/CherryPy/CherryPy-3.2.6.win-amd64.exe#md5=4145ccbd5133e26dbe07e4c7fb869391 (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/any/C/CherryPy/CherryPy-3.4.0.win-amd64.exe#md5=a0edcffe551c3cdccb203132fe5a000a (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/any/C/CherryPy/CherryPy-3.5.0.win-amd64.exe#md5=986bb7768f4050ea6bf196d65f4c1df8 (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/any/C/CherryPy/CherryPy-3.6.0.win-amd64.exe#md5=4275ba35f5fec214d0557246f5024eee (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .exe
    Found link https://pypi.python.org/packages/source/C/CherryPy/CherryPy-2.1.1.tar.gz#md5=f36d73a8c38c1444285b37c3451dce86 (from https://pypi.python.org/simple/cherrypy/), version: 2.1.1
    Found link https://pypi.python.org/packages/source/C/CherryPy/CherryPy-2.2.0beta.tar.gz#md5=58c14f2f3a3f1fe0f11d30f5c09b1f5c (from https://pypi.python.org/simple/cherrypy/), version: 2.2.0beta
    Found link https://pypi.python.org/packages/source/C/CherryPy/CherryPy-3.2.3.tar.gz#md5=f52517c9b47b5dca48f4c4e2439feede (from https://pypi.python.org/simple/cherrypy/), version: 3.2.3
    Found link https://pypi.python.org/packages/source/C/CherryPy/CherryPy-3.2.4.tar.gz#md5=e2c8455e15c39c9d60e0393c264a4d16 (from https://pypi.python.org/simple/cherrypy/), version: 3.2.4
    Found link https://pypi.python.org/packages/source/C/CherryPy/CherryPy-3.2.4.zip#md5=c536caebc207731a0fba378818f841be (from https://pypi.python.org/simple/cherrypy/), version: 3.2.4
    Found link https://pypi.python.org/packages/source/C/CherryPy/CherryPy-3.2.5.tar.gz#md5=bb130fbd5b6fa38d4e9f5c5597ea9800 (from https://pypi.python.org/simple/cherrypy/), version: 3.2.5
    Found link https://pypi.python.org/packages/source/C/CherryPy/CherryPy-3.2.5.zip#md5=064d76e8a4323b8cc2ef9a2efdf92010 (from https://pypi.python.org/simple/cherrypy/), version: 3.2.5
    Found link https://pypi.python.org/packages/source/C/CherryPy/CherryPy-3.2.6.tar.gz#md5=6902b972b82d3724e7b55f6504b2ac74 (from https://pypi.python.org/simple/cherrypy/), version: 3.2.6
    Found link https://pypi.python.org/packages/source/C/CherryPy/CherryPy-3.2.6.zip#md5=edf69fc3341e2c1d6722b374358b3765 (from https://pypi.python.org/simple/cherrypy/), version: 3.2.6
    Found link https://pypi.python.org/packages/source/C/CherryPy/CherryPy-3.3.0.tar.gz#md5=4ac4af5ac21a893f07221cbd7ec4be11 (from https://pypi.python.org/simple/cherrypy/), version: 3.3.0
    Found link https://pypi.python.org/packages/source/C/CherryPy/CherryPy-3.3.0.zip#md5=2ac3ba72d32fc6602610bc824558ac90 (from https://pypi.python.org/simple/cherrypy/), version: 3.3.0
    Found link https://pypi.python.org/packages/source/C/CherryPy/CherryPy-3.4.0.tar.gz#md5=622d9f0ab065f45a8fadaaaef5d7728d (from https://pypi.python.org/simple/cherrypy/), version: 3.4.0
    Found link https://pypi.python.org/packages/source/C/CherryPy/CherryPy-3.4.0.zip#md5=8c445f754f6a0af6fbf49dac5746e691 (from https://pypi.python.org/simple/cherrypy/), version: 3.4.0
    Found link https://pypi.python.org/packages/source/C/CherryPy/CherryPy-3.5.0.tar.gz#md5=9099b32cdd91271480ee6544ba9e5043 (from https://pypi.python.org/simple/cherrypy/), version: 3.5.0
    Found link https://pypi.python.org/packages/source/C/CherryPy/CherryPy-3.5.0.zip#md5=b7af7b29d64d8019c8280e34a8b5443d (from https://pypi.python.org/simple/cherrypy/), version: 3.5.0
    Found link https://pypi.python.org/packages/source/C/CherryPy/CherryPy-3.6.0.tar.gz#md5=9772dbee426d656f01a13881e2b139d8 (from https://pypi.python.org/simple/cherrypy/), version: 3.6.0
    Found link https://pypi.python.org/packages/source/C/CherryPy/CherryPy-3.6.0.zip#md5=cd4d1c0f81db02a587da7ee23ac2af16 (from https://pypi.python.org/simple/cherrypy/), version: 3.6.0
    Skipping link http://download.cherrypy.org/cherrypy/2.2.1/ (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .1
    Skipping link http://download.cherrypy.org/cherrypy/2.3.0/ (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .0
    Skipping link http://download.cherrypy.org/cherrypy/3.0.0/ (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .0
    Skipping link http://download.cherrypy.org/cherrypy/3.0.1/ (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .1
    Skipping link http://download.cherrypy.org/cherrypy/3.0.2/ (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .2
    Skipping link http://download.cherrypy.org/cherrypy/3.0.3/ (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .3
    Skipping link http://download.cherrypy.org/cherrypy/3.0.4/ (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .4
    Skipping link http://download.cherrypy.org/cherrypy/3.0RC1/ (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .0RC1
    Skipping link http://download.cherrypy.org/cherrypy/3.1.0/ (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .0
    Skipping link http://download.cherrypy.org/cherrypy/3.1.0beta3/ (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .0beta3
    Skipping link http://download.cherrypy.org/cherrypy/3.1.0rc1/ (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .0rc1
    Skipping link http://download.cherrypy.org/cherrypy/3.1.1/ (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .1
    Skipping link http://download.cherrypy.org/cherrypy/3.1.2/ (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .2
    Skipping link http://download.cherrypy.org/cherrypy/3.1beta/ (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .1beta
    Skipping link http://download.cherrypy.org/cherrypy/3.2.0/ (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .0
    Skipping link http://download.cherrypy.org/cherrypy/3.2.2/ (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .2
    Skipping link http://download.cherrypy.org/cherrypy/3.2.3/ (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .3
    Skipping link http://sourceforge.net/project/showfiles.php?group_id=56099 (from https://pypi.python.org/simple/cherrypy/); unknown archive format: .php
    Skipping link http://trac.cherrypy.org/cgi-bin/trac.cgi/wiki/CherryPyDownload (from https://pypi.python.org/simple/cherrypy/); not a file
    Skipping link http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/); not a file
  Not searching http://download.cherrypy.org/cherrypy/2.2.1/ (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://download.cherrypy.org/cherrypy/2.3.0/ (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://download.cherrypy.org/cherrypy/3.0.0/ (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://download.cherrypy.org/cherrypy/3.0.1/ (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://download.cherrypy.org/cherrypy/3.0.2/ (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://download.cherrypy.org/cherrypy/3.0.3/ (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://download.cherrypy.org/cherrypy/3.0.4/ (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://download.cherrypy.org/cherrypy/3.0RC1/ (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://download.cherrypy.org/cherrypy/3.1.0/ (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://download.cherrypy.org/cherrypy/3.1.0beta3/ (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://download.cherrypy.org/cherrypy/3.1.0rc1/ (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://download.cherrypy.org/cherrypy/3.1.1/ (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://download.cherrypy.org/cherrypy/3.1.2/ (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://download.cherrypy.org/cherrypy/3.1beta/ (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://download.cherrypy.org/cherrypy/3.2.0/ (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://download.cherrypy.org/cherrypy/3.2.2/ (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://download.cherrypy.org/cherrypy/3.2.3/ (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://sourceforge.net/project/showfiles.php?group_id=56099 (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://sourceforge.net/project/showfiles.php?group_id=56099 (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://sourceforge.net/project/showfiles.php?group_id=56099 (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://sourceforge.net/project/showfiles.php?group_id=56099 (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://sourceforge.net/project/showfiles.php?group_id=56099 (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://trac.cherrypy.org/cgi-bin/trac.cgi/wiki/CherryPyDownload (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Not searching http://www.cherrypy.org (from https://pypi.python.org/simple/cherrypy/) for files because external urls are disallowed.
  Ignoring link https://pypi.python.org/packages/source/C/CherryPy/CherryPy-2.2.0beta.tar.gz#md5=58c14f2f3a3f1fe0f11d30f5c09b1f5c (from https://pypi.python.org/simple/cherrypy/), version 2.2.0beta is a pre-release (use --pre to allow).
  Using version 3.6.0 (newest of versions: 3.6.0, 3.6.0, 3.5.0, 3.5.0, 3.4.0, 3.4.0, 3.4.0, 3.3.0, 3.3.0, 3.2.6, 3.2.6, 3.2.6, 3.2.5, 3.2.5, 3.2.4, 3.2.4, 3.2.3, 2.1.1)
  Downloading from URL https://pypi.python.org/packages/source/C/CherryPy/CherryPy-3.6.0.tar.gz#md5=9772dbee426d656f01a13881e2b139d8 (from https://pypi.python.org/simple/cherrypy/)
  Running setup.py (path:/private/tmp/pip_build_root/cherrypy/setup.py) egg_info for package cherrypy
    running egg_info
    creating pip-egg-info/CherryPy.egg-info
    writing pip-egg-info/CherryPy.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/CherryPy.egg-info/top_level.txt
    writing dependency_links to pip-egg-info/CherryPy.egg-info/dependency_links.txt
    writing manifest file 'pip-egg-info/CherryPy.egg-info/SOURCES.txt'
    warning: manifest_maker: standard file '-c' not found

    reading manifest file 'pip-egg-info/CherryPy.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'pip-egg-info/CherryPy.egg-info/SOURCES.txt'
  Source in /private/tmp/pip_build_root/cherrypy has version 3.6.0, which satisfies requirement cherrypy (from pyportify)
Downloading/unpacking django==1.7.2 (from pyportify)
  Getting page https://pypi.python.org/simple/django/
  URLs to search for versions for django==1.7.2 (from pyportify):
  * https://pypi.python.org/simple/django/1.7.2
  * https://pypi.python.org/simple/django/
  Getting page https://pypi.python.org/simple/django/1.7.2
  Could not fetch URL https://pypi.python.org/simple/django/1.7.2: 404 Client Error: Not Found
  Will skip URL https://pypi.python.org/simple/django/1.7.2 when looking for download links for django==1.7.2 (from pyportify)
  Analyzing links from page https://pypi.python.org/simple/django/
    Found link https://pypi.python.org/packages/any/D/Django/Django-1.5.2-py2.py3-none-any.whl#md5=07f0d2d42162945d0ad031fc9737847d (from https://pypi.python.org/simple/django/), version: 1.5.2
    Found link https://pypi.python.org/packages/any/D/Django/Django-1.5.8-py2.py3-none-any.whl#md5=1e3418bd1d6f9725a3d1264c9352f2a1 (from https://pypi.python.org/simple/django/), version: 1.5.8
    Found link https://pypi.python.org/packages/any/D/Django/Django-1.6.1-py2.py3-none-any.whl#md5=c7b7a4437b36400f1c23953e9700fd29 (from https://pypi.python.org/simple/django/), version: 1.6.1
    Found link https://pypi.python.org/packages/any/D/Django/Django-1.6.2-py2.py3-none-any.whl#md5=3bd014923e85df771b34d12c0ab3c9e1 (from https://pypi.python.org/simple/django/), version: 1.6.2
    Found link https://pypi.python.org/packages/any/D/Django/Django-1.6.5-py2.py3-none-any.whl#md5=2bcdb4729f9f358b0925b532eef0a8ff (from https://pypi.python.org/simple/django/), version: 1.6.5
    Found link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.5.12-py2.py3-none-any.whl#md5=c35cb78bbf20a8ef60d37207d75a0f34 (from https://pypi.python.org/simple/django/), version: 1.5.12
    Found link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.6-py2.py3-none-any.whl#md5=1078059a13d83a091e952917d22da9af (from https://pypi.python.org/simple/django/), version: 1.6
    Found link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.6.10-py2.py3-none-any.whl#md5=f83dcaec9e3b7d956a4d29e9401b0b97 (from https://pypi.python.org/simple/django/), version: 1.6.10
    Found link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.6.3-py2.py3-none-any.whl#md5=e5937a962ce1298ac67d1aa7484883a6 (from https://pypi.python.org/simple/django/), version: 1.6.3
    Found link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.6.4-py2.py3-none-any.whl#md5=8093262e13535869720d7100aed72fd6 (from https://pypi.python.org/simple/django/), version: 1.6.4
    Found link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.6.6-py2.py3-none-any.whl#md5=74ffe011439efffcefbda6fac294c6f6 (from https://pypi.python.org/simple/django/), version: 1.6.6
    Found link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.6.7-py2.py3-none-any.whl#md5=72a2df8d67a976208420eec2fe2129fe (from https://pypi.python.org/simple/django/), version: 1.6.7
    Found link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.6.8-py2.py3-none-any.whl#md5=1cb695150210433200929623f800edcb (from https://pypi.python.org/simple/django/), version: 1.6.8
    Found link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.6.9-py2.py3-none-any.whl#md5=279bc0f844c644939dbe2a77c2249124 (from https://pypi.python.org/simple/django/), version: 1.6.9
    Found link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.7-py2.py3-none-any.whl#md5=15efe093b40d058acf24682c31e7b24c (from https://pypi.python.org/simple/django/), version: 1.7
    Found link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.7.1-py2.py3-none-any.whl#md5=83bd3e5cfba6d6d2bee5a37efb34771c (from https://pypi.python.org/simple/django/), version: 1.7.1
    Found link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.7.2-py2.py3-none-any.whl#md5=b57f9a2dec214b60e338aa80fb902936 (from https://pypi.python.org/simple/django/), version: 1.7.2
    Found link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.7.3-py2.py3-none-any.whl#md5=bd24beec81e161d30ad925aef9d23e57 (from https://pypi.python.org/simple/django/), version: 1.7.3
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.1.3.tar.gz#md5=52848c23dbc120fe0b2a8e7189b20306 (from https://pypi.python.org/simple/django/), version: 1.1.3
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.1.4.tar.gz#md5=e818668acc4de944f85e494ac80f1e7d (from https://pypi.python.org/simple/django/), version: 1.1.4
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.2.1.tar.gz#md5=2351efb20f6b7b5d9ce80fa4cb1bd9ca (from https://pypi.python.org/simple/django/), version: 1.2.1
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.2.2.tar.gz#md5=9cdbf79a31988ace9ef2ab4ede890136 (from https://pypi.python.org/simple/django/), version: 1.2.2
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.2.3.tar.gz#md5=10bfb5831bcb4d3b1e6298d0e41d6603 (from https://pypi.python.org/simple/django/), version: 1.2.3
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.2.4.tar.gz#md5=b0e67d3d6447f7eb1ce6392b9465a183 (from https://pypi.python.org/simple/django/), version: 1.2.4
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.2.5.tar.gz#md5=e031ea3d00996035e49e4bfa86e07c40 (from https://pypi.python.org/simple/django/), version: 1.2.5
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.2.6.tar.gz#md5=bff9fc7d871c0b5e6ce1a7babd16847b (from https://pypi.python.org/simple/django/), version: 1.2.6
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.2.7.tar.gz#md5=902fe294a2f7b16e5e1dee42d458c2ba (from https://pypi.python.org/simple/django/), version: 1.2.7
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.2.tar.gz#md5=98fa833fdabcdd78d00245aead66c174 (from https://pypi.python.org/simple/django/), version: 1.2
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.3.1.tar.gz#md5=62d8642fd06b9a0bf8544178f8500767 (from https://pypi.python.org/simple/django/), version: 1.3.1
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.3.2.tar.gz#md5=b8409b8f061e6c7a7dcfbb24403cb863 (from https://pypi.python.org/simple/django/), version: 1.3.2
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.3.3.tar.gz#md5=cbdd86f553b26459352e26ae643fd7c1 (from https://pypi.python.org/simple/django/), version: 1.3.3
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.3.4.tar.gz#md5=9a610a40ee5fcc4ca283fb499e265936 (from https://pypi.python.org/simple/django/), version: 1.3.4
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.3.5.tar.gz#md5=ec0ae9edb2ed6f9ffa65007110232637 (from https://pypi.python.org/simple/django/), version: 1.3.5
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.3.6.tar.gz#md5=357dbedf41ba6db990fd4be7c86cd80d (from https://pypi.python.org/simple/django/), version: 1.3.6
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.3.7.tar.gz#md5=f6720daa392d73d4df8847b41909fd43 (from https://pypi.python.org/simple/django/), version: 1.3.7
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.3.tar.gz#md5=1b8f76e91c27564708649671f329551f (from https://pypi.python.org/simple/django/), version: 1.3
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.4.1.tar.gz#md5=e345268dacff12876ae4e45de0a61b7d (from https://pypi.python.org/simple/django/), version: 1.4.1
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.4.10.tar.gz#md5=d324aecc37ce5430f548653b8b1509b6 (from https://pypi.python.org/simple/django/), version: 1.4.10
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.4.11.tar.gz#md5=9cd5913b038ebc9582903b2fccbbb54b (from https://pypi.python.org/simple/django/), version: 1.4.11
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.4.12.tar.gz#md5=9dc17c3f5409f9a4e662b5550e1c6505 (from https://pypi.python.org/simple/django/), version: 1.4.12
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.4.13.tar.gz#md5=9e28e33680f28b027ad67a026a785ea5 (from https://pypi.python.org/simple/django/), version: 1.4.13
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.4.14.tar.gz#md5=80dc1b9866487afc2ab3f774e29181bc (from https://pypi.python.org/simple/django/), version: 1.4.14
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.4.15.tar.gz#md5=84837da82df11d0e04b7458af8777dc0 (from https://pypi.python.org/simple/django/), version: 1.4.15
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.4.16.tar.gz#md5=132d088d9e2cbcf43a661a9f05d6e63a (from https://pypi.python.org/simple/django/), version: 1.4.16
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.4.17.tar.gz#md5=8dd1133b718ce23a0eed3df20d6619c2 (from https://pypi.python.org/simple/django/), version: 1.4.17
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.4.18.tar.gz#md5=d82b2219052bb47ba0838c2ebd3832ae (from https://pypi.python.org/simple/django/), version: 1.4.18
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.4.2.tar.gz#md5=6ffecdc01ad360e1abdca1015ae0893a (from https://pypi.python.org/simple/django/), version: 1.4.2
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.4.3.tar.gz#md5=0b134c44b6dc8eb36822677ef506c9ab (from https://pypi.python.org/simple/django/), version: 1.4.3
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.4.4.tar.gz#md5=833f531479948201f0f0a3b5b5972565 (from https://pypi.python.org/simple/django/), version: 1.4.4
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.4.5.tar.gz#md5=851d00905eb70e4aa6384b3b8b111fb7 (from https://pypi.python.org/simple/django/), version: 1.4.5
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.4.6.tar.gz#md5=5c222ba388f8729151f2fda6be20af90 (from https://pypi.python.org/simple/django/), version: 1.4.6
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.4.7.tar.gz#md5=28da2e8111ff951adbfce0651f945326 (from https://pypi.python.org/simple/django/), version: 1.4.7
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.4.8.tar.gz#md5=7075e08ef06155e07002189b837cde85 (from https://pypi.python.org/simple/django/), version: 1.4.8
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.4.9.tar.gz#md5=cc0c9752b46de362bd2114a65871330f (from https://pypi.python.org/simple/django/), version: 1.4.9
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.4.tar.gz#md5=ba8e86198a93c196015df0b363ab1109 (from https://pypi.python.org/simple/django/), version: 1.4
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.5.1.tar.gz#md5=7465f6383264ba167a9a031d6b058bff (from https://pypi.python.org/simple/django/), version: 1.5.1
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.5.10.tar.gz#md5=b055361f04c0b8e862f8e8ffbb44e464 (from https://pypi.python.org/simple/django/), version: 1.5.10
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.5.11.tar.gz#md5=6e88cab476e5149812accc143d313a22 (from https://pypi.python.org/simple/django/), version: 1.5.11
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.5.12.tar.gz#md5=0e0b48cd0bb59cbc5499dcbb4fe1fb90 (from https://pypi.python.org/simple/django/), version: 1.5.12
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.5.2.tar.gz#md5=26e83e6394a15a86212777d5f61eae86 (from https://pypi.python.org/simple/django/), version: 1.5.2
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.5.3.tar.gz#md5=1581e28b4aeb269c34a9b0417e103aaa (from https://pypi.python.org/simple/django/), version: 1.5.3
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.5.4.tar.gz#md5=b2685469bb4d1fbb091316e21f4108de (from https://pypi.python.org/simple/django/), version: 1.5.4
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.5.5.tar.gz#md5=e33355ee4bb2cbb4ab3954d3dff5eddd (from https://pypi.python.org/simple/django/), version: 1.5.5
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.5.6.tar.gz#md5=b46fe29c7d26310d19aec6d8666f08c6 (from https://pypi.python.org/simple/django/), version: 1.5.6
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.5.7.tar.gz#md5=a2c127e85a34c2eb6c74db4f7e02d4e4 (from https://pypi.python.org/simple/django/), version: 1.5.7
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.5.8.tar.gz#md5=675fc736e2c29090f005e217ccf90b5b (from https://pypi.python.org/simple/django/), version: 1.5.8
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.5.9.tar.gz#md5=4c6f03748043a32059d905033e0dc770 (from https://pypi.python.org/simple/django/), version: 1.5.9
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.5.tar.gz#md5=fac09e1e0f11bb83bb187d652a9be967 (from https://pypi.python.org/simple/django/), version: 1.5
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.6.1.tar.gz#md5=3ea7a00ea9e7a014e8a4067dd6466a1b (from https://pypi.python.org/simple/django/), version: 1.6.1
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.6.10.tar.gz#md5=d7123f14ac19ae001be02ed841937b91 (from https://pypi.python.org/simple/django/), version: 1.6.10
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.6.2.tar.gz#md5=45d974c623b3bfbf9976f3d808fe1ee9 (from https://pypi.python.org/simple/django/), version: 1.6.2
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.6.3.tar.gz#md5=727fec03f15db8f80a7231696b79adf7 (from https://pypi.python.org/simple/django/), version: 1.6.3
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.6.4.tar.gz#md5=0d23bf836d3a52d93aee9411eccaa609 (from https://pypi.python.org/simple/django/), version: 1.6.4
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.6.5.tar.gz#md5=e4c5b2d35ecb3807317713afa70a0c77 (from https://pypi.python.org/simple/django/), version: 1.6.5
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.6.6.tar.gz#md5=d14fd332f31799fff39acc0c79e8421c (from https://pypi.python.org/simple/django/), version: 1.6.6
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.6.7.tar.gz#md5=f31e2f953feb258e3569e962790630b6 (from https://pypi.python.org/simple/django/), version: 1.6.7
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.6.8.tar.gz#md5=b00f9f73535db7c9ce52a6f707d61ab6 (from https://pypi.python.org/simple/django/), version: 1.6.8
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.6.9.tar.gz#md5=03893cd1232f6cf75f0523e1b2c91ed2 (from https://pypi.python.org/simple/django/), version: 1.6.9
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.6.tar.gz#md5=65db1bc313124c3754c89073942e38a8 (from https://pypi.python.org/simple/django/), version: 1.6
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.7.1.tar.gz#md5=81dae89f21647b9aa5c46c6b7dbfa349 (from https://pypi.python.org/simple/django/), version: 1.7.1
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.7.2.tar.gz#md5=855a53a9a5581c62b6031c9b3bd80ec5 (from https://pypi.python.org/simple/django/), version: 1.7.2
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.7.3.tar.gz#md5=ea9a3fe7eca2280b233938a98c4a35a0 (from https://pypi.python.org/simple/django/), version: 1.7.3
    Found link https://pypi.python.org/packages/source/D/Django/Django-1.7.tar.gz#md5=03edab6828119aa9b32b2252d25eb38d (from https://pypi.python.org/simple/django/), version: 1.7
  Ignoring link https://pypi.python.org/packages/any/D/Django/Django-1.5.2-py2.py3-none-any.whl#md5=07f0d2d42162945d0ad031fc9737847d (from https://pypi.python.org/simple/django/), version 1.5.2 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/any/D/Django/Django-1.5.8-py2.py3-none-any.whl#md5=1e3418bd1d6f9725a3d1264c9352f2a1 (from https://pypi.python.org/simple/django/), version 1.5.8 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/any/D/Django/Django-1.6.1-py2.py3-none-any.whl#md5=c7b7a4437b36400f1c23953e9700fd29 (from https://pypi.python.org/simple/django/), version 1.6.1 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/any/D/Django/Django-1.6.2-py2.py3-none-any.whl#md5=3bd014923e85df771b34d12c0ab3c9e1 (from https://pypi.python.org/simple/django/), version 1.6.2 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/any/D/Django/Django-1.6.5-py2.py3-none-any.whl#md5=2bcdb4729f9f358b0925b532eef0a8ff (from https://pypi.python.org/simple/django/), version 1.6.5 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.5.12-py2.py3-none-any.whl#md5=c35cb78bbf20a8ef60d37207d75a0f34 (from https://pypi.python.org/simple/django/), version 1.5.12 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.6-py2.py3-none-any.whl#md5=1078059a13d83a091e952917d22da9af (from https://pypi.python.org/simple/django/), version 1.6 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.6.10-py2.py3-none-any.whl#md5=f83dcaec9e3b7d956a4d29e9401b0b97 (from https://pypi.python.org/simple/django/), version 1.6.10 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.6.3-py2.py3-none-any.whl#md5=e5937a962ce1298ac67d1aa7484883a6 (from https://pypi.python.org/simple/django/), version 1.6.3 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.6.4-py2.py3-none-any.whl#md5=8093262e13535869720d7100aed72fd6 (from https://pypi.python.org/simple/django/), version 1.6.4 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.6.6-py2.py3-none-any.whl#md5=74ffe011439efffcefbda6fac294c6f6 (from https://pypi.python.org/simple/django/), version 1.6.6 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.6.7-py2.py3-none-any.whl#md5=72a2df8d67a976208420eec2fe2129fe (from https://pypi.python.org/simple/django/), version 1.6.7 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.6.8-py2.py3-none-any.whl#md5=1cb695150210433200929623f800edcb (from https://pypi.python.org/simple/django/), version 1.6.8 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.6.9-py2.py3-none-any.whl#md5=279bc0f844c644939dbe2a77c2249124 (from https://pypi.python.org/simple/django/), version 1.6.9 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.7-py2.py3-none-any.whl#md5=15efe093b40d058acf24682c31e7b24c (from https://pypi.python.org/simple/django/), version 1.7 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.7.1-py2.py3-none-any.whl#md5=83bd3e5cfba6d6d2bee5a37efb34771c (from https://pypi.python.org/simple/django/), version 1.7.1 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/py2.py3/D/Django/Django-1.7.3-py2.py3-none-any.whl#md5=bd24beec81e161d30ad925aef9d23e57 (from https://pypi.python.org/simple/django/), version 1.7.3 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.1.3.tar.gz#md5=52848c23dbc120fe0b2a8e7189b20306 (from https://pypi.python.org/simple/django/), version 1.1.3 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.1.4.tar.gz#md5=e818668acc4de944f85e494ac80f1e7d (from https://pypi.python.org/simple/django/), version 1.1.4 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.2.1.tar.gz#md5=2351efb20f6b7b5d9ce80fa4cb1bd9ca (from https://pypi.python.org/simple/django/), version 1.2.1 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.2.2.tar.gz#md5=9cdbf79a31988ace9ef2ab4ede890136 (from https://pypi.python.org/simple/django/), version 1.2.2 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.2.3.tar.gz#md5=10bfb5831bcb4d3b1e6298d0e41d6603 (from https://pypi.python.org/simple/django/), version 1.2.3 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.2.4.tar.gz#md5=b0e67d3d6447f7eb1ce6392b9465a183 (from https://pypi.python.org/simple/django/), version 1.2.4 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.2.5.tar.gz#md5=e031ea3d00996035e49e4bfa86e07c40 (from https://pypi.python.org/simple/django/), version 1.2.5 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.2.6.tar.gz#md5=bff9fc7d871c0b5e6ce1a7babd16847b (from https://pypi.python.org/simple/django/), version 1.2.6 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.2.7.tar.gz#md5=902fe294a2f7b16e5e1dee42d458c2ba (from https://pypi.python.org/simple/django/), version 1.2.7 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.2.tar.gz#md5=98fa833fdabcdd78d00245aead66c174 (from https://pypi.python.org/simple/django/), version 1.2 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.3.1.tar.gz#md5=62d8642fd06b9a0bf8544178f8500767 (from https://pypi.python.org/simple/django/), version 1.3.1 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.3.2.tar.gz#md5=b8409b8f061e6c7a7dcfbb24403cb863 (from https://pypi.python.org/simple/django/), version 1.3.2 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.3.3.tar.gz#md5=cbdd86f553b26459352e26ae643fd7c1 (from https://pypi.python.org/simple/django/), version 1.3.3 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.3.4.tar.gz#md5=9a610a40ee5fcc4ca283fb499e265936 (from https://pypi.python.org/simple/django/), version 1.3.4 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.3.5.tar.gz#md5=ec0ae9edb2ed6f9ffa65007110232637 (from https://pypi.python.org/simple/django/), version 1.3.5 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.3.6.tar.gz#md5=357dbedf41ba6db990fd4be7c86cd80d (from https://pypi.python.org/simple/django/), version 1.3.6 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.3.7.tar.gz#md5=f6720daa392d73d4df8847b41909fd43 (from https://pypi.python.org/simple/django/), version 1.3.7 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.3.tar.gz#md5=1b8f76e91c27564708649671f329551f (from https://pypi.python.org/simple/django/), version 1.3 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.4.1.tar.gz#md5=e345268dacff12876ae4e45de0a61b7d (from https://pypi.python.org/simple/django/), version 1.4.1 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.4.10.tar.gz#md5=d324aecc37ce5430f548653b8b1509b6 (from https://pypi.python.org/simple/django/), version 1.4.10 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.4.11.tar.gz#md5=9cd5913b038ebc9582903b2fccbbb54b (from https://pypi.python.org/simple/django/), version 1.4.11 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.4.12.tar.gz#md5=9dc17c3f5409f9a4e662b5550e1c6505 (from https://pypi.python.org/simple/django/), version 1.4.12 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.4.13.tar.gz#md5=9e28e33680f28b027ad67a026a785ea5 (from https://pypi.python.org/simple/django/), version 1.4.13 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.4.14.tar.gz#md5=80dc1b9866487afc2ab3f774e29181bc (from https://pypi.python.org/simple/django/), version 1.4.14 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.4.15.tar.gz#md5=84837da82df11d0e04b7458af8777dc0 (from https://pypi.python.org/simple/django/), version 1.4.15 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.4.16.tar.gz#md5=132d088d9e2cbcf43a661a9f05d6e63a (from https://pypi.python.org/simple/django/), version 1.4.16 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.4.17.tar.gz#md5=8dd1133b718ce23a0eed3df20d6619c2 (from https://pypi.python.org/simple/django/), version 1.4.17 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.4.18.tar.gz#md5=d82b2219052bb47ba0838c2ebd3832ae (from https://pypi.python.org/simple/django/), version 1.4.18 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.4.2.tar.gz#md5=6ffecdc01ad360e1abdca1015ae0893a (from https://pypi.python.org/simple/django/), version 1.4.2 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.4.3.tar.gz#md5=0b134c44b6dc8eb36822677ef506c9ab (from https://pypi.python.org/simple/django/), version 1.4.3 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.4.4.tar.gz#md5=833f531479948201f0f0a3b5b5972565 (from https://pypi.python.org/simple/django/), version 1.4.4 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.4.5.tar.gz#md5=851d00905eb70e4aa6384b3b8b111fb7 (from https://pypi.python.org/simple/django/), version 1.4.5 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.4.6.tar.gz#md5=5c222ba388f8729151f2fda6be20af90 (from https://pypi.python.org/simple/django/), version 1.4.6 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.4.7.tar.gz#md5=28da2e8111ff951adbfce0651f945326 (from https://pypi.python.org/simple/django/), version 1.4.7 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.4.8.tar.gz#md5=7075e08ef06155e07002189b837cde85 (from https://pypi.python.org/simple/django/), version 1.4.8 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.4.9.tar.gz#md5=cc0c9752b46de362bd2114a65871330f (from https://pypi.python.org/simple/django/), version 1.4.9 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.4.tar.gz#md5=ba8e86198a93c196015df0b363ab1109 (from https://pypi.python.org/simple/django/), version 1.4 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.5.1.tar.gz#md5=7465f6383264ba167a9a031d6b058bff (from https://pypi.python.org/simple/django/), version 1.5.1 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.5.10.tar.gz#md5=b055361f04c0b8e862f8e8ffbb44e464 (from https://pypi.python.org/simple/django/), version 1.5.10 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.5.11.tar.gz#md5=6e88cab476e5149812accc143d313a22 (from https://pypi.python.org/simple/django/), version 1.5.11 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.5.12.tar.gz#md5=0e0b48cd0bb59cbc5499dcbb4fe1fb90 (from https://pypi.python.org/simple/django/), version 1.5.12 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.5.2.tar.gz#md5=26e83e6394a15a86212777d5f61eae86 (from https://pypi.python.org/simple/django/), version 1.5.2 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.5.3.tar.gz#md5=1581e28b4aeb269c34a9b0417e103aaa (from https://pypi.python.org/simple/django/), version 1.5.3 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.5.4.tar.gz#md5=b2685469bb4d1fbb091316e21f4108de (from https://pypi.python.org/simple/django/), version 1.5.4 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.5.5.tar.gz#md5=e33355ee4bb2cbb4ab3954d3dff5eddd (from https://pypi.python.org/simple/django/), version 1.5.5 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.5.6.tar.gz#md5=b46fe29c7d26310d19aec6d8666f08c6 (from https://pypi.python.org/simple/django/), version 1.5.6 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.5.7.tar.gz#md5=a2c127e85a34c2eb6c74db4f7e02d4e4 (from https://pypi.python.org/simple/django/), version 1.5.7 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.5.8.tar.gz#md5=675fc736e2c29090f005e217ccf90b5b (from https://pypi.python.org/simple/django/), version 1.5.8 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.5.9.tar.gz#md5=4c6f03748043a32059d905033e0dc770 (from https://pypi.python.org/simple/django/), version 1.5.9 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.5.tar.gz#md5=fac09e1e0f11bb83bb187d652a9be967 (from https://pypi.python.org/simple/django/), version 1.5 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.6.1.tar.gz#md5=3ea7a00ea9e7a014e8a4067dd6466a1b (from https://pypi.python.org/simple/django/), version 1.6.1 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.6.10.tar.gz#md5=d7123f14ac19ae001be02ed841937b91 (from https://pypi.python.org/simple/django/), version 1.6.10 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.6.2.tar.gz#md5=45d974c623b3bfbf9976f3d808fe1ee9 (from https://pypi.python.org/simple/django/), version 1.6.2 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.6.3.tar.gz#md5=727fec03f15db8f80a7231696b79adf7 (from https://pypi.python.org/simple/django/), version 1.6.3 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.6.4.tar.gz#md5=0d23bf836d3a52d93aee9411eccaa609 (from https://pypi.python.org/simple/django/), version 1.6.4 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.6.5.tar.gz#md5=e4c5b2d35ecb3807317713afa70a0c77 (from https://pypi.python.org/simple/django/), version 1.6.5 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.6.6.tar.gz#md5=d14fd332f31799fff39acc0c79e8421c (from https://pypi.python.org/simple/django/), version 1.6.6 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.6.7.tar.gz#md5=f31e2f953feb258e3569e962790630b6 (from https://pypi.python.org/simple/django/), version 1.6.7 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.6.8.tar.gz#md5=b00f9f73535db7c9ce52a6f707d61ab6 (from https://pypi.python.org/simple/django/), version 1.6.8 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.6.9.tar.gz#md5=03893cd1232f6cf75f0523e1b2c91ed2 (from https://pypi.python.org/simple/django/), version 1.6.9 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.6.tar.gz#md5=65db1bc313124c3754c89073942e38a8 (from https://pypi.python.org/simple/django/), version 1.6 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.7.1.tar.gz#md5=81dae89f21647b9aa5c46c6b7dbfa349 (from https://pypi.python.org/simple/django/), version 1.7.1 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.7.3.tar.gz#md5=ea9a3fe7eca2280b233938a98c4a35a0 (from https://pypi.python.org/simple/django/), version 1.7.3 doesn't match ==1.7.2
  Ignoring link https://pypi.python.org/packages/source/D/Django/Django-1.7.tar.gz#md5=03edab6828119aa9b32b2252d25eb38d (from https://pypi.python.org/simple/django/), version 1.7 doesn't match ==1.7.2
  Using version 1.7.2 (newest of versions: 1.7.2, 1.7.2)
  Downloading from URL https://pypi.python.org/packages/py2.py3/D/Django/Django-1.7.2-py2.py3-none-any.whl#md5=b57f9a2dec214b60e338aa80fb902936 (from https://pypi.python.org/simple/django/)
Downloading/unpacking pyspotify==2.0.0b3 (from pyportify)
  Getting page https://pypi.python.org/simple/pyspotify/
  URLs to search for versions for pyspotify==2.0.0b3 (from pyportify):
  * https://pypi.python.org/simple/pyspotify/2.0.0b3
  * https://pypi.python.org/simple/pyspotify/
  Getting page https://pypi.python.org/simple/pyspotify/2.0.0b3
  Could not fetch URL https://pypi.python.org/simple/pyspotify/2.0.0b3: 404 Client Error: Not Found
  Will skip URL https://pypi.python.org/simple/pyspotify/2.0.0b3 when looking for download links for pyspotify==2.0.0b3 (from pyportify)
  Analyzing links from page https://pypi.python.org/simple/pyspotify/
    Skipping https://pypi.python.org/packages/cp27/p/pyspotify/pyspotify-2.0.0a1-cp27-none-macosx_10_6_intel.whl#md5=95f351debc8cb2a158e651cc80a6d1ca (from https://pypi.python.org/simple/pyspotify/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp27/p/pyspotify/pyspotify-2.0.0b1-cp27-none-macosx_10_6_intel.whl#md5=eda6b5db5b30cc55f69f328cec136e63 (from https://pypi.python.org/simple/pyspotify/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp27/p/pyspotify/pyspotify-2.0.0b2-cp27-none-macosx_10_6_intel.whl#md5=5697e4555fbc23aa61c7a0e04bde01c3 (from https://pypi.python.org/simple/pyspotify/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp33/p/pyspotify/pyspotify-2.0.0a1-cp33-cp33m-macosx_10_6_intel.whl#md5=03d1d6cc6d7905e98381e91788f53495 (from https://pypi.python.org/simple/pyspotify/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp33/p/pyspotify/pyspotify-2.0.0b1-cp33-cp33m-macosx_10_6_intel.whl#md5=45a49ab164088295d420c31b3e156b92 (from https://pypi.python.org/simple/pyspotify/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp33/p/pyspotify/pyspotify-2.0.0b2-cp33-cp33m-macosx_10_6_intel.whl#md5=7dc4e995c2f31353a667dffdd904e80a (from https://pypi.python.org/simple/pyspotify/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp34/p/pyspotify/pyspotify-2.0.0a1-cp34-cp34m-macosx_10_6_intel.whl#md5=f9ffdb9d2d05eea47a5fccd5d67558a5 (from https://pypi.python.org/simple/pyspotify/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp34/p/pyspotify/pyspotify-2.0.0b1-cp34-cp34m-macosx_10_6_intel.whl#md5=d68993571efebba80db2af80798bc14f (from https://pypi.python.org/simple/pyspotify/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp34/p/pyspotify/pyspotify-2.0.0b2-cp34-cp34m-macosx_10_6_intel.whl#md5=f0f5774ab59ea7938537bd762f809a41 (from https://pypi.python.org/simple/pyspotify/) because it is not compatible with this Python
    Found link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.1.tar.gz#md5=ea894bf2ed866618d8c11f067f0a00fb (from https://pypi.python.org/simple/pyspotify/), version: 1.1
    Found link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.10.tar.gz#md5=ff013983c360a263e6f50eeb19b4ac6f (from https://pypi.python.org/simple/pyspotify/), version: 1.10
    Found link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.11.tar.gz#md5=ffedc7261885f3416b2c37d51ed978c2 (from https://pypi.python.org/simple/pyspotify/), version: 1.11
    Found link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.2.tar.gz#md5=17d5d27c7582785fb8e0fb9f963e0d3a (from https://pypi.python.org/simple/pyspotify/), version: 1.2
    Found link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.3.tar.gz#md5=1df2037ee31651a6113f1c646c6c83a1 (from https://pypi.python.org/simple/pyspotify/), version: 1.3
    Found link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.4.tar.gz#md5=40679703afab49667f03cc77fa39fbfb (from https://pypi.python.org/simple/pyspotify/), version: 1.4
    Found link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.5.tar.gz#md5=2e93ae359c3f16e64794c2b18a1b99bc (from https://pypi.python.org/simple/pyspotify/), version: 1.5
    Found link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.6.1.tar.gz#md5=88b3bb16a061d4c3868d5ffdee0d61fd (from https://pypi.python.org/simple/pyspotify/), version: 1.6.1
    Found link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.6.tar.gz#md5=1c4ff2791fdd6579d27b626c0331ff5a (from https://pypi.python.org/simple/pyspotify/), version: 1.6
    Found link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.7.1.tar.gz#md5=043dfbf7ad01e7235538fbd3ab127872 (from https://pypi.python.org/simple/pyspotify/), version: 1.7.1
    Found link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.7.tar.gz#md5=4f6aabc319172b4bd369c47ab164830e (from https://pypi.python.org/simple/pyspotify/), version: 1.7
    Found link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.8.1.tar.gz#md5=27af14cef03f9640f8f5a128f0e970fd (from https://pypi.python.org/simple/pyspotify/), version: 1.8.1
    Found link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.9.1.tar.gz#md5=11cb3b1ddccd792b625f6d813833e713 (from https://pypi.python.org/simple/pyspotify/), version: 1.9.1
    Found link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.9.tar.gz#md5=add0e40ae592a56b6650f6dbfd1cbb41 (from https://pypi.python.org/simple/pyspotify/), version: 1.9
    Found link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-2.0.0a1.tar.gz#md5=636565439239600ce26f194e3d089fb4 (from https://pypi.python.org/simple/pyspotify/), version: 2.0.0a1
    Found link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-2.0.0b1.tar.gz#md5=69786e466f19faa86e22a43d3f687226 (from https://pypi.python.org/simple/pyspotify/), version: 2.0.0b1
    Found link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-2.0.0b2.tar.gz#md5=e4d47065b549b9f2811bc49be8ff96de (from https://pypi.python.org/simple/pyspotify/), version: 2.0.0b2
    Found link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-2.0.0b3.tar.gz#md5=d48bae331095094fc61b2833c1963f95 (from https://pypi.python.org/simple/pyspotify/), version: 2.0.0b3
    Found link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-2.0.0b4.tar.gz#md5=0ee5ed3e1101e025774cf0558a496e96 (from https://pypi.python.org/simple/pyspotify/), version: 2.0.0b4
    Skipping http://github.com/mopidy/pyspotify/tarball/develop#egg=pyspotify-dev (from https://pypi.python.org/simple/pyspotify/) because it is externally hosted.
  Ignoring link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.1.tar.gz#md5=ea894bf2ed866618d8c11f067f0a00fb (from https://pypi.python.org/simple/pyspotify/), version 1.1 doesn't match ==2.0.0b3
  Ignoring link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.10.tar.gz#md5=ff013983c360a263e6f50eeb19b4ac6f (from https://pypi.python.org/simple/pyspotify/), version 1.10 doesn't match ==2.0.0b3
  Ignoring link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.11.tar.gz#md5=ffedc7261885f3416b2c37d51ed978c2 (from https://pypi.python.org/simple/pyspotify/), version 1.11 doesn't match ==2.0.0b3
  Ignoring link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.2.tar.gz#md5=17d5d27c7582785fb8e0fb9f963e0d3a (from https://pypi.python.org/simple/pyspotify/), version 1.2 doesn't match ==2.0.0b3
  Ignoring link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.3.tar.gz#md5=1df2037ee31651a6113f1c646c6c83a1 (from https://pypi.python.org/simple/pyspotify/), version 1.3 doesn't match ==2.0.0b3
  Ignoring link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.4.tar.gz#md5=40679703afab49667f03cc77fa39fbfb (from https://pypi.python.org/simple/pyspotify/), version 1.4 doesn't match ==2.0.0b3
  Ignoring link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.5.tar.gz#md5=2e93ae359c3f16e64794c2b18a1b99bc (from https://pypi.python.org/simple/pyspotify/), version 1.5 doesn't match ==2.0.0b3
  Ignoring link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.6.1.tar.gz#md5=88b3bb16a061d4c3868d5ffdee0d61fd (from https://pypi.python.org/simple/pyspotify/), version 1.6.1 doesn't match ==2.0.0b3
  Ignoring link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.6.tar.gz#md5=1c4ff2791fdd6579d27b626c0331ff5a (from https://pypi.python.org/simple/pyspotify/), version 1.6 doesn't match ==2.0.0b3
  Ignoring link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.7.1.tar.gz#md5=043dfbf7ad01e7235538fbd3ab127872 (from https://pypi.python.org/simple/pyspotify/), version 1.7.1 doesn't match ==2.0.0b3
  Ignoring link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.7.tar.gz#md5=4f6aabc319172b4bd369c47ab164830e (from https://pypi.python.org/simple/pyspotify/), version 1.7 doesn't match ==2.0.0b3
  Ignoring link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.8.1.tar.gz#md5=27af14cef03f9640f8f5a128f0e970fd (from https://pypi.python.org/simple/pyspotify/), version 1.8.1 doesn't match ==2.0.0b3
  Ignoring link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.9.1.tar.gz#md5=11cb3b1ddccd792b625f6d813833e713 (from https://pypi.python.org/simple/pyspotify/), version 1.9.1 doesn't match ==2.0.0b3
  Ignoring link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-1.9.tar.gz#md5=add0e40ae592a56b6650f6dbfd1cbb41 (from https://pypi.python.org/simple/pyspotify/), version 1.9 doesn't match ==2.0.0b3
  Ignoring link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-2.0.0a1.tar.gz#md5=636565439239600ce26f194e3d089fb4 (from https://pypi.python.org/simple/pyspotify/), version 2.0.0a1 doesn't match ==2.0.0b3
  Ignoring link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-2.0.0b1.tar.gz#md5=69786e466f19faa86e22a43d3f687226 (from https://pypi.python.org/simple/pyspotify/), version 2.0.0b1 doesn't match ==2.0.0b3
  Ignoring link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-2.0.0b2.tar.gz#md5=e4d47065b549b9f2811bc49be8ff96de (from https://pypi.python.org/simple/pyspotify/), version 2.0.0b2 doesn't match ==2.0.0b3
  Ignoring link https://pypi.python.org/packages/source/p/pyspotify/pyspotify-2.0.0b4.tar.gz#md5=0ee5ed3e1101e025774cf0558a496e96 (from https://pypi.python.org/simple/pyspotify/), version 2.0.0b4 doesn't match ==2.0.0b3
  Downloading from URL https://pypi.python.org/packages/source/p/pyspotify/pyspotify-2.0.0b3.tar.gz#md5=d48bae331095094fc61b2833c1963f95 (from https://pypi.python.org/simple/pyspotify/)
  Running setup.py (path:/private/tmp/pip_build_root/pyspotify/setup.py) egg_info for package pyspotify
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    c/_cffi_backend.c:13:10: fatal error: 'ffi.h' file not found
    #include <ffi.h>
             ^
    1 error generated.
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/private/tmp/pip_build_root/pyspotify/setup.py", line 64, in <module>
        'Topic :: Software Development :: Libraries',
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 112, in setup
        _setup_distribution = dist = klass(attrs)
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/dist.py", line 239, in __init__
        self.fetch_build_eggs(attrs.pop('setup_requires'))
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/dist.py", line 263, in fetch_build_eggs
        parse_requirements(requires), installer=self.fetch_build_egg
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 568, in resolve
        dist = best[req.key] = env.best_match(req, self, installer)
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 806, in best_match
        return self.obtain(req, installer) # try and download/install
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 818, in obtain
        return installer(requirement)
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/dist.py", line 313, in fetch_build_egg
        return cmd.easy_install(req)
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 609, in easy_install
        return self.install_item(spec, dist.location, tmpdir, deps)
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 639, in install_item
        dists = self.install_eggs(spec, download, tmpdir)
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 825, in install_eggs
        return self.build_and_install(setup_script, setup_base)
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 1031, in build_and_install
        self.run_setup(setup_script, setup_base, args)
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 1019, in run_setup
        raise DistutilsError("Setup script exited with %s" % (v.args[0],))
    distutils.errors.DistutilsError: Setup script exited with error: command 'cc' failed with exit status 1
    Complete output from command python setup.py egg_info:
    Package libffi was not found in the pkg-config search path.

Perhaps you should add the directory containing `libffi.pc'

to the PKG_CONFIG_PATH environment variable

No package 'libffi' found

Package libffi was not found in the pkg-config search path.

Perhaps you should add the directory containing `libffi.pc'

to the PKG_CONFIG_PATH environment variable

No package 'libffi' found

Package libffi was not found in the pkg-config search path.

Perhaps you should add the directory containing `libffi.pc'

to the PKG_CONFIG_PATH environment variable

No package 'libffi' found

Package libffi was not found in the pkg-config search path.

Perhaps you should add the directory containing `libffi.pc'

to the PKG_CONFIG_PATH environment variable

No package 'libffi' found

Package libffi was not found in the pkg-config search path.

Perhaps you should add the directory containing `libffi.pc'

to the PKG_CONFIG_PATH environment variable

No package 'libffi' found

c/_cffi_backend.c:13:10: fatal error: 'ffi.h' file not found

#include <ffi.h>

         ^

1 error generated.

Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/private/tmp/pip_build_root/pyspotify/setup.py", line 64, in <module>

    'Topic :: Software Development :: Libraries',

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 112, in setup

    _setup_distribution = dist = klass(attrs)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/dist.py", line 239, in __init__

    self.fetch_build_eggs(attrs.pop('setup_requires'))

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/dist.py", line 263, in fetch_build_eggs

    parse_requirements(requires), installer=self.fetch_build_egg

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 568, in resolve

    dist = best[req.key] = env.best_match(req, self, installer)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 806, in best_match

    return self.obtain(req, installer) # try and download/install

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 818, in obtain

    return installer(requirement)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/dist.py", line 313, in fetch_build_egg

    return cmd.easy_install(req)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 609, in easy_install

    return self.install_item(spec, dist.location, tmpdir, deps)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 639, in install_item

    dists = self.install_eggs(spec, download, tmpdir)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 825, in install_eggs

    return self.build_and_install(setup_script, setup_base)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 1031, in build_and_install

    self.run_setup(setup_script, setup_base, args)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 1019, in run_setup

    raise DistutilsError("Setup script exited with %s" % (v.args[0],))

distutils.errors.DistutilsError: Setup script exited with error: command 'cc' failed with exit status 1

----------------------------------------
Cleaning up...
  Removing temporary dir /private/tmp/pip_build_root...
Command python setup.py egg_info failed with error code 1 in /private/tmp/pip_build_root/pyspotify
Exception information:
Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/commands/install.py", line 278, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py", line 1229, in prepare_files
    req_to_install.run_egg_info()
  File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py", line 325, in run_egg_info
    command_desc='python setup.py egg_info')
  File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/util.py", line 697, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command python setup.py egg_info failed with error code 1 in /private/tmp/pip_build_root/pyspotify

Error: Unknown playlist type: <PlaylistType.PLACEHOLDER: 3>

Hey there.

This is in OSX, Yosemite. Trying to move my playlists off, and ran into this error. It results in a blank playlist page, so I can't transfer anything over. I don't see anything unusual in my playlists. There are long playlists, folders containing playlists, quite a few playlists, but I don't really see anything that could be construed as a placeholder. Any thoughts?

โžœ  ~  pyportify
Open your browser and go to http://localhost:3132
Managing socket.io
Socketio session started
New connection
127.0.0.1 - - [2015-05-08 13:36:40] "POST /google/login HTTP/1.1" 200 162 0.188106
127.0.0.1 - - [2015-05-08 13:36:48] "POST /spotify/login HTTP/1.1" 200 162 0.376064
2015-05-08 13:36:48,698 - pyportify.views - ERROR - Exception on /spotify/playlists [GET]
Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/Library/Python/2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/Library/Python/2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/Library/Python/2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/Library/Python/2.7/site-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/Library/Python/2.7/site-packages/pyportify/views.py", line 142, in spotify_playlists
    ret_playlists = fetch_spotify_playlists()
  File "/Library/Python/2.7/site-packages/pyportify/views.py", line 156, in fetch_spotify_playlists
    for playlist in playlists:
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_abcoll.py", line 581, in __iter__
    v = self[i]
  File "/Library/Python/2.7/site-packages/spotify/__init__.py", line 60, in wrapper
    return f(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/spotify/playlist_container.py", line 193, in __getitem__
    raise spotify.Error('Unknown playlist type: %r' % playlist_type)
Error: Unknown playlist type: <PlaylistType.PLACEHOLDER: 3>
127.0.0.1 - - [2015-05-08 13:36:48] "GET /spotify/playlists HTTP/1.1" 500 412 0.038552

Incompatible with 2-factor authentication

This appears to not work if you require 2-factor authentication for your Google account. I suspect the same may be true of the Spotify login (e.g. Facebook 2-factor).

Exception KeyError: KeyError(139655329145232,) in ignored

Hi!

I installed using a Ubuntu 15.10 VM and i'm getting this error:

user@ubuntu-vm:~$ pyportify
Traceback (most recent call last):
File "/usr/local/bin/pyportify", line 9, in
load_entry_point('pyportify==0.2.7', 'console_scripts', 'pyportify')()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 558, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2682, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2355, in load
return self.resolve()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2361, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python2.7/dist-packages/pyportify/server.py", line 5, in
from pyportify.views import app as application
File "/usr/local/lib/python2.7/dist-packages/pyportify/views.py", line 10, in
from socketio import socketio_manage
ImportError: cannot import name socketio_manage
Exception KeyError: KeyError(139912956678224,) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored

Error when converting playlist

Install on Apple Yosemite using the instructions provided. Install was successful. When trying to convert a playlist the following errors were received in the terminal window:

[17/Jan/2015:20:36:41] ENGINE Bus STARTING
[17/Jan/2015:20:36:41] ENGINE Started monitor thread 'Autoreloader'.
[17/Jan/2015:20:36:41] ENGINE Started monitor thread '_TimeoutMonitor'.
[17/Jan/2015:20:36:41] ENGINE Serving on http://0.0.0.0:3132
[17/Jan/2015:20:36:41] ENGINE Bus STARTED
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyportify/static
2015-01-17 20:38:13 [49203] [WARNING] base.py:143:get_response Not Found: /socket.io/1/
Gathering tracks for playlist Play it forward
2015-01-17 20:38:14 [49203] [ERROR] base.py:231:handle_uncaught_exception Internal Server Error: /portify/transfer/start
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyportify/views.py", line 113, in transfer_start
    transfer_playlists(lists)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyportify/views.py", line 163, in transfer_playlists
    search_results = g.search_all_access(search_query, max_results=1)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gmusicapi/clients/mobileclient.py", line 796, in search_all_access
    res = self._make_call(mobileclient.Search, query, max_results)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gmusicapi/clients/shared.py", line 80, in _make_call
    return protocol.perform(self.session, self.validate, *args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gmusicapi/protocol/shared.py", line 225, in perform
    raise CallFailure(err_msg, call_name)
CallFailure: Search: 404 Client Error: Not Found
(requests kwargs: {'url': 'https://www.googleapis.com/sj/v1.5/query', 'headers': {'Authorization': '<omitted>'}, 'params': {'q': u'A Tribe Called Red - Electric Pow Wow Drum', 'max-results': 1}, 'method': 'GET'})
(response was: '{\n "error": {\n  "errors": [\n   {\n    "domain": "global",\n    "reason": "notFound",\n    "message": "Not Found"\n   }\n  ],\n  "code": 404,\n  "message": "Not Found"\n }\n}\n')

I will continue to try different playlists and see if similar errors occur

EDIT:

I realized i didn't have Google Music All Access enabled. After enabling this worked perfectly fine!

Unable to Write To Google Playlist

I am able to grab the tracks from Spotify, but when PyPortify attempts to write to Google, an error occurs.

Creating in Google Music... 2015-10-23 01:19:06,952 - pyportify.views - ERROR - Exception on /portify/transfer/start [POST] Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/usr/local/lib/python2.7/site-packages/pyportify/views.py", line 136, in transfer_start transfer_playlists(lists) File "/usr/local/lib/python2.7/site-packages/pyportify/views.py", line 271, in transfer_playlists playlist_id = g.create_playlist(sp_playlist.name) File "/usr/local/lib/python2.7/site-packages/pyportify/google.py", line 73, in create_playlist "mutations": mutations, File "/usr/local/lib/python2.7/site-packages/pyportify/google.py", line 105, in _pl_http_post headers=headers TypeError: post() got multiple values for keyword argument 'body' 127.0.0.1 - - [2015-10-23 01:19:07] "POST /portify/transfer/start HTTP/1.1" 500 412 31.401519

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.