#3852 new defect

500 error from JSON welcome page — at Initial Version

Reported by: meejah Owned by:
Priority: major Milestone: undecided
Component: code-frontend-web Version: n/a
Keywords: python3 Cc:
Launchpad Bug:

Description

In python2, you can compare a number with None. In python3, you cannot.

The JSON version of the welcome page uses sorting on .items() in e.g. allmydata/web/root.py:301 which sometimes contain None. Running under Python3, this causes a 500 error if you access the JSON welcome page.

Change History (0)

Note: See TracTickets for help on using tickets.