Giter Site home page Giter Site logo

Comments (5)

arnaudbos avatar arnaudbos commented on July 19, 2024

I'm having the same issue on master following the "todo list" example from the documentation.

I'm not familiar with waitress, is there something I need to do to fix this?

Edit: seems to be unicode related bug.

from daybed.

arnaudbos avatar arnaudbos commented on July 19, 2024

Waitress only supports string headers it seems (https://github.com/Pylons/pyramid/blob/master/docs/whatsnew-1.3.rst), don't know about HTTP in general though (haven't checked).

Anyway, the error comes from here: https://github.com/spiral-project/daybed/blob/dev/daybed/views/data.py#L45 where model_id is of unicode type.

I think this could be fixed easily, I personally have this error at each data item POST with a nasty 500 error.

I can make a pull request if needed, just let me know :-)

Thanks!

from daybed.

leplatrem avatar leplatrem commented on July 19, 2024

Very good catch thanks !

Would definitely merge such a fix :)

from daybed.

arnaudbos avatar arnaudbos commented on July 19, 2024

Done at #97

from daybed.

almet avatar almet commented on July 19, 2024

Fixed in db98b01

from daybed.

Related Issues (20)

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.