﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
2335	In some cases MySQLdb returns array.array which causes an error in a2b_base64()	alexander.pugachev@…	nobody	"settings.py


{{{
INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'mysite.polls',
    'django.contrib.admin'
)
}}}


urls.py


{{{
urlpatterns = patterns('',
    # Example:
    # (r'^mysite/', include('mysite.apps.foo.urls.foo')),

    # Uncomment this for admin:
     (r'^admin/', include('django.contrib.admin.urls')),
)
}}}


db synced, server restarted, got admin area login form at /admin/ local url
logged in as superuser, got error:


{{{
TypeError at /admin/
a2b_base64() argument 1 must be string or read-only character buffer, not array.array
Request Method: 	GET
Request URL: 	http://127.0.0.1:8000/admin/
Exception Type: 	TypeError
Exception Value: 	a2b_base64() argument 1 must be string or read-only character buffer, not array.array
Exception Location: 	c:\python24\lib\base64.py in decodestring, line 319
}}}



"	defect	closed	Database layer (models, ORM)	dev	normal	fixed	a2b_base64()	dev@… tom@…	Accepted	0	0	0	1	0	0
