#16017: createsuperuser fails if Python can't detect default locale -------------------------------------+------------------------------------- Reporter: prestontimmons | Owner: nobody Type: Bug | Status: new Component: Core (Management | Version: SVN commands) | Resolution: Severity: Normal | Triage Stage: Accepted Keywords: dceu2011 | Needs documentation: 0 Has patch: 1 | Patch needs improvement: 1 Needs tests: 0 | UI/UX: 0 Easy pickings: 1 | -------------------------------------+-------------------------------------
Comment (by dkdndes@…): Replying to [comment:21 anonymous]: > Replying to [comment:20 dkdndes@…]: > > I have echo $LANG with de_DE.UTF-8 and still get the problem. What would I need to change as a user (re your statement above - should we let the user fix the environment and prevent him from future problems)? Config: Lion 10.7.2, python 2.7., Django 1.4c2 > > Due to this error syncdb does not work properly with sqlite3 or mysql. I dont experience this problem with version 1.3.1. de_DE.UTF-8 will not be recognised - if you change locale to UTF-8 it works in {{{ def get_system_username(): return getpass.getuser().decode(locale.getdefaultlocale()[1]) }}} Hope the information helps to close the issue. -- Ticket URL: <https://code.djangoproject.com/ticket/16017#comment:22> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.