Fixtures and non-ascii data error reporting bug

2013-04-18 Thread Колпаков Евгений
Hi everybody. I have a UTF-8 encoded fixture (initial_data.yaml, but I think it's irrelevant) that contains some data to create auth.Group models. The names of models are non-ascii characters. Syncdb and loaddata works smoothly, so it's *not* a question "my non-ascii data is not loading". The

Re: Data error

2010-10-28 Thread Karen Tracey
On Thu, Oct 28, 2010 at 5:45 AM, Hussain Deikna wrote: > Hi, I am newbe in django and I have got this Error > > ' > > coercing to Unicode: need string or buffer, Product found ' > > what's that mean? thank you for your attention > > It means the __unicode__ method for some model is returning a Pr

Re: Data error

2010-10-28 Thread Suraj Jacob
means your object cannot be converted into string. You have to either provide a __unicode__ or __str__ for your model, or pick a particular field that you are trying to coerce with the rest of the string On Thu, Oct 28, 2010 at 15:15, Hussain Deikna wrote: > Hi, I am newbe in django and I have g

Data error

2010-10-28 Thread Hussain Deikna
Hi, I am newbe in django and I have got this Error ' coercing to Unicode: need string or buffer, Product found ' what's that mean? thank you for your attention -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: Bad Marshal Data error

2009-11-01 Thread Jeff
That did the trick, thank you! On Nov 1, 6:52 am, Karen Tracey wrote: > Try deleting all your .pyc files and it might go away. > > Karen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post

Re: Bad Marshal Data error

2009-11-01 Thread Karen Tracey
Try deleting all your .pyc files and it might go away. Karen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe fro

Bad Marshal Data error

2009-10-31 Thread Jeff
Hi, I'm getting the following error when I run "python manage.py", "python manage.py runserver", or "python manage.py shell" in my project's directory: Traceback (most recent call last): File "manage.py", line 11, in execute_manager(settings) File "/usr/lib/python2.6/site-packages/djang