Coder Social home page Coder Social logo

russellmcdonell / decisioncentral Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 1012 KB

A central repository for DMN based decision services

License: GNU Lesser General Public License v3.0

Python 100.00%
dmn dmn-engine docker decision service-oriented-architecture rules-engine rules-processor decision-service python3 flask

decisioncentral's People

Contributors

russellmcdonell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

decisioncentral's Issues

Facing Error while 'Make a Decision'

Hi,

I am new to pyDMNrules.
Facing the error , after I click on the 'Make a Decision' button.

method()
File "C:\Users\ux303ln\Desktop\dec\dec\decisioncentral.py", line 1348, in do_POST
(status, self.data.newData) = dmnRules.decideTables(self.data.data, [part])
File "C:\Users\ux303ln\fastapi-mongo\venv\lib\site-packages\pyDMNrules\DMNrules.py", line 5332, in decideTables
self.errors.append('Invalid Decision Table - ' + table)
TypeError: can only concatenate str (not "NoneType") to str

Localhost install. The same xlsx works smoothly in pyDMNrules.

Kindly advise on a relevant fix, if any.

image
image

Did a bit of troubleshooting. changed 'part' in line 1348 to parts and restarted the server.
The server restart issue disappeared. But this is displayed.

image

Console log:
decisioncentral Thread-5 (process_request_thread) [21/09/22 10:59:50 AM]: POST - bad status from decide()
decisioncentral Thread-5 (process_request_thread) [21/09/22 10:59:50 AM]: {'errors': ['Invalid Decision Table - rule004']}

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.