Code Monkey home page Code Monkey logo

Comments (3)

mbrochh avatar mbrochh commented on August 18, 2024

That sounds like some value that is being used in the object's def __str__ or def unicode function is missing. Did you somehow manage to create an instance where an important mandatory field is missing?

Your data dump is not really helpful to trace down the issue. Would be better to get a traceback with filenames and line-numbers.

Can you remember what you did to get to this error? Did you just pip install the app, and then created your first object? What fields did you fill out when you tried to create the object?

from django-booking.

heicci avatar heicci commented on August 18, 2024

I created a booking from /booking/create page and then tried to view bookings from admin page.
Maybe that value booking_status is not set anywhere.


TypeError at /admin/booking/booking/
coercing to Unicode: need string or buffer, NoneType found
Request Method: GET
Request URL: /admin/booking/booking/
Django Version: 1.10.1a1
Exception Type: TypeError
Exception Value:
coercing to Unicode: need string or buffer, NoneType found
Exception Location: /var/django-env/lib/python2.7/site-packages/Django-1.10.1a1-py2.7.egg/django/utils/encoding.py in force_text, line 78
Python Executable: /usr/bin/python
Python Version: 2.7.10
Python Path:
['/lib/python2.7/site-packages',
'/var/django-env/lib/python2.7/site-packages',
'/var/django-env/lib/python2.7/site-packages/Django-1.10.1a1-py2.7.egg',
'/var/django-env/lib/python2.7/site-packages/django_hvad-1.6.0-py2.7.egg',
'/usr/lib64/python27.zip',
'/usr/lib64/python2.7',
'/usr/lib64/python2.7/plat-linux2',
'/usr/lib64/python2.7/lib-tk',
'/usr/lib64/python2.7/lib-old',
'/usr/lib64/python2.7/lib-dynload',
'/usr/lib64/python2.7/site-packages',
'/usr/lib64/python2.7/site-packages/gtk-2.0',
'/usr/lib/python2.7/site-packages',
'/var/www/mysite',
'/var/django-env/lib/python2.7/site-packages']

Server time: Mon, 22 Aug 2016 20:07:09 +0000

from django-booking.

dkaufhold avatar dkaufhold commented on August 18, 2024

Closing this for inactivity, feel free to re-open if it still is a problem.

from django-booking.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.