Re: [Django] #26937: 'NoneType' object has no attribute '_meta' in manage.py dumpdata auth.user

2016-07-27 Thread Django
#26937: 'NoneType' object has no attribute '_meta' in manage.py dumpdata 
auth.user
---+--
 Reporter:  Adys   |Owner:  nobody
 Type:  Bug|   Status:  closed
Component:  Uncategorized  |  Version:  1.10
 Severity:  Normal |   Resolution:  needsinfo
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by timgraham):

 * status:  new => closed
 * resolution:   => needsinfo


Comment:

 Sorry, but the project you provide is too complex and I'm spending too
 much time trying to debug this. Reopen if you can put together a more
 minimal project that reproduces the problem and hopefully also bisect to
 find the commit where things changed. Thanks!

--
Ticket URL: 
Django 
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/062.63ebdc81b7813bdbf6a8378e1341508d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #26937: 'NoneType' object has no attribute '_meta' in manage.py dumpdata auth.user

2016-07-25 Thread Django
#26937: 'NoneType' object has no attribute '_meta' in manage.py dumpdata 
auth.user
---+--
 Reporter:  Adys   |Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Uncategorized  |  Version:  1.10
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by timgraham):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 Can you try to put together a minimal sample project to reproduce the
 crash and [https://docs.djangoproject.com/en/dev//internals/contributing
 /triaging-tickets/#bisecting-a-regression bisect] to determine where the
 behavior changed?

--
Ticket URL: 
Django 
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/062.1cb756a1256841b1f61d26d8feb86bd9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #26937: 'NoneType' object has no attribute '_meta' in manage.py dumpdata auth.user

2016-07-22 Thread Django
#26937: 'NoneType' object has no attribute '_meta' in manage.py dumpdata 
auth.user
---+
 Reporter:  Adys   |  Owner:  nobody
 Type:  Bug| Status:  new
Component:  Uncategorized  |Version:  1.10
 Severity:  Normal |   Keywords:
 Triage Stage:  Unreviewed |  Has patch:  0
Easy pickings:  0  |  UI/UX:  0
---+
 In 1.10rc1 I get the following when running `./manage.py dumpdata
 auth.user --traceback`::

 {{{
 [Traceback (most recent call last):
   File "./manage.py", line 11, in 
 execute_from_command_line(sys.argv)
   File "/home/adys/.local/share/virtualenvs/hs/lib/python3.5/site-
 packages/django/core/management/__init__.py", line 367, in
 execute_from_command_line
 utility.execute()
   File "/home/adys/.local/share/virtualenvs/hs/lib/python3.5/site-
 packages/django/core/management/__init__.py", line 359, in execute
 self.fetch_command(subcommand).run_from_argv(self.argv)
   File "/home/adys/.local/share/virtualenvs/hs/lib/python3.5/site-
 packages/django/core/management/base.py", line 305, in run_from_argv
 self.execute(*args, **cmd_options)
   File "/home/adys/.local/share/virtualenvs/hs/lib/python3.5/site-
 packages/django/core/management/base.py", line 356, in execute
 output = self.handle(*args, **options)
   File "/home/adys/.local/share/virtualenvs/hs/lib/python3.5/site-
 packages/django/core/management/commands/dumpdata.py", line 200, in handle
 object_count=object_count,
   File "/home/adys/.local/share/virtualenvs/hs/lib/python3.5/site-
 packages/django/core/serializers/__init__.py", line 129, in serialize
 s.serialize(queryset, **options)
   File "/home/adys/.local/share/virtualenvs/hs/lib/python3.5/site-
 packages/django/core/serializers/base.py", line 79, in serialize
 for count, obj in enumerate(queryset, start=1):
   File "/home/adys/.local/share/virtualenvs/hs/lib/python3.5/site-
 packages/django/core/management/commands/dumpdata.py", line 161, in
 get_objects
 models = serializers.sort_dependencies(app_list.items())
   File "/home/adys/.local/share/virtualenvs/hs/lib/python3.5/site-
 packages/django/core/serializers/__init__.py", line 195, in
 sort_dependencies
 if field.remote_field.through._meta.auto_created:
 AttributeError: 'NoneType' object has no attribute '_meta'
 }}}

 For reference, here is my user model:
 
https://github.com/HearthSim/HSReplay.net/blob/51c269f2cc329d859df70705e2181666d443434c/hsreplaynet/accounts/models.py#L26-L36

--
Ticket URL: 
Django 
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/047.a329c15db1318863d2f0f5be7958c002%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.