#29632: After migrating a Django project from Python 2 to 3, db migration of
django.contrib.sites fails with "TypeError: attribute name must be string,
not 'bytes'"
-------------------------------------+-------------------------------------
     Reporter:  Florian Mayer        |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Migrations           |                  Version:  master
     Severity:  Normal               |               Resolution:  needsinfo
     Keywords:  migration, unicode,  |             Triage Stage:
  bytestring, TypeError              |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Florian Mayer):

 Hi Carlton,

 thanks for the quick reply. Yes, the name string should have "just
 worked". Strangely, I'm getting the failure even in the circleci build,
 where OS and environment are off the shelf. If only I am experiencing this
 bug, I must have got something contained in my code base.

 I'll try to build a MWE and submit findings here!

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29632#comment:2>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.b513da300fe592916f370620652b19cb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to