Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

durable_rules_engine.error: Could not create ruleset, error code: 105 #367

Open
zellelin opened this issue Jan 27, 2021 · 0 comments
Open

Comments

@zellelin
Copy link

Hi , i've got a ruleset creation problem when test testdynamic.py . and i use mac platform.

127.0.0.1 - - [27/Jan/2021 15:49:34] "POST /first/definition HTTP/1.1" 500 -
Error on request:
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/werkzeug/serving.py", line 303, in run_wsgi
    execute(self.server.app)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/werkzeug/serving.py", line 291, in execute
    application_iter = app(environ, start_response)
  File "/Users/linshaoze/learn/code/durable_rule/testpy/testdynamic.py", line 94, in __call__
    return endpoint(environ, start_response, **values)
  File "/Users/linshaoze/learn/code/durable_rule/testpy/testdynamic.py", line 50, in _ruleset_definition_request
    self._host.set_rulesets(ruleset_definition)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/durable/engine.py", line 778, in set_rulesets
    self.register_rulesets(ruleset_definitions)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/durable/engine.py", line 887, in register_rulesets
    rulesets = Ruleset.create_rulesets(self, ruleset_definitions)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/durable/engine.py", line 444, in create_rulesets
    branches[name] = Ruleset(name, host, definition)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/durable/engine.py", line 323, in __init__
    self._handle = durable_rules_engine.create_ruleset(name, json.dumps(ruleset_definition, ensure_ascii=False))
durable_rules_engine.error: Could not create ruleset, error code: 105
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant