#1454 Login error from Fedora Community portal gets a nasty 302 page
Closed: Fixed None Opened 14 years ago by quaid.

Logging in from the main admin.fp.org/community page (inset login box) generated this page and error. (I probably mis-typed my password)

https://admin.fedoraproject.org/community/login?came_from=https%3A%2F%2Fadmin.fedoraproject.org%2Fcommunity%2F&ec=login_err.USERNAME_PASSWORD_ERROR

302 Found
The resource was found at http://localhost:10012/community/?came_from=https%3A//admin.fedoraproject.org/community/&ec=login_err.USERNAME_PASSWORD_ERROR#error/document; you should be redirected automatically.

It did not redirect. Part of the message was hidden by the page's background image (black bar on the left side), which made it feel even more broken.

Reloading the page did not fix it. Returning to the main page and relogging in (with the correct password) worked. Returning to the main page and logging in with a confirmed incorrect password got me back to the stuck 302 page.

This was initially at 10:44 UTC, with a second occurence at 10:51 UTC.


Fixed. This was due to the python-json module conflicting with Python 2.6's built in json module. The webflash module used to flash error messages try's to import json and if it succeeds assumes it is running in python2.6. Since the python-json module is also called json and it doesn't have the same API things go boom when webflash tries to use it.

This has been fixed by removing the requires from the TurboGears 1 package (it doesn't actually use it only required it for some reason) and removing the python-json package from app1. I'll file a bug to add a conflicts to the webflash package.

Login to comment on this ticket.

Metadata