Giter Site home page Giter Site logo

Comments (2)

rhaarm avatar rhaarm commented on July 2, 2024

I also discovered that this doesn't support Python 3.5 in general when the JSON packet for the options is passed back to the api from the frontend. I had to run this under Python 2.7 in order to get the scheduler to run and accept new job tasks.

Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/tornado/web.py", line 1422, in _execute
result = self.prepare()
File "/src/ndscheduler/ndscheduler/server/handlers/base.py", line 25, in prepare
self.json_args = json.loads(self.request.body)
File "/usr/local/lib/python3.5/json/init.py", line 312, in loads
s.class.name))
TypeError: the JSON object must be str, not 'bytes'
2017-05-08 15:23:44,343 - tornado.access - ERROR - 500 POST /api/v1/jobs (172.17.0.1) 15.47ms

from ndscheduler.

wenbinf avatar wenbinf commented on July 2, 2024

Should all be fixed in #16

from ndscheduler.

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.