Re: dumpdata fails with crytpic error

2018-06-01 Thread Bernd Wechner
All sorted, thanks for the tips. Bernd Wechner wrote: Just tried this: | $ python3 manage.py dumpdata --format json --indent 4>data.json CommandError:Unableto serialize database:'NoneType'objecthas noattribute 'is_authenticated' | Anyone seen this before. How does one diagnose this given the

Re: dumpdata fails with crytpic error

2018-06-01 Thread Melvyn Sopacua
On vrijdag 1 juni 2018 06:22:43 CEST Bernd Wechner wrote: > Anyone seen this before. How does one diagnose this given the vague nature > of the message? Using the --traceback flag. -- Melvyn Sopacua -- You received this message because you are subscribed to the Google Groups "Django users"

Re: dumpdata fails with crytpic error

2018-05-31 Thread Mike Dewhirst
On 1/06/2018 2:22 PM, Bernd Wechner wrote: Just tried this: | $ python3 manage.py dumpdata --format json --indent 4>data.json CommandError:Unableto serialize database:'NoneType'objecthas noattribute 'is_authenticated' | Anyone seen this before. How does one diagnose this given the vague natu

dumpdata fails with crytpic error

2018-05-31 Thread Bernd Wechner
Just tried this: $ python3 manage.py dumpdata --format json --indent 4 > data.json CommandError: Unable to serialize database: 'NoneType' object has no attribute 'is_authenticated' Anyone seen this before. How does one diagnose this given the vague nature of the message? I mean I presume it's c