Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

python3 notebook: TypeError: unorderable types #1507

Closed
juliantaylor opened this issue Mar 16, 2012 · 1 comment · Fixed by #1508
Closed

python3 notebook: TypeError: unorderable types #1507

juliantaylor opened this issue Mar 16, 2012 · 1 comment · Fixed by #1508
Milestone

Comments

@juliantaylor
Copy link
Contributor

I got this traceback when starting an python3 notebook on current git head:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/tornado/web.py", line 954, in _execute
    getattr(self, self.request.method.lower())(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/tornado/web.py", line 1667, in wrapper
    return method(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/IPython/frontend/html/notebook/handlers.py", line 676, in get
    self.finish(jsonapi.dumps(cm.list_profiles()))
  File "/usr/lib/python3/dist-packages/IPython/frontend/html/notebook/clustermanager.py", line 95, in list_profiles
    result.sort()
TypeError: unorderable types: dict() < dict()
@minrk
Copy link
Member

minrk commented Mar 16, 2012

should be fixed by #1508

@minrk minrk closed this as completed in 7db18f8 Mar 16, 2012
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
fix sorting profiles in clustermanager

dicts aren't orderable on Python3. In any case, these should be sorted by name, not by the ordering of the dicts themselves.

closes ipython#1507
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants