r3w0p / bobocep Goto Github PK
View Code? Open in Web Editor NEWA fault-tolerant Complex Event Processing engine designed for edge computing in Internet of Things systems.
Home Page: https://bobocep.readthedocs.io
License: MIT License
A fault-tolerant Complex Event Processing engine designed for edge computing in Internet of Things systems.
Home Page: https://bobocep.readthedocs.io
License: MIT License
The keywords of the project says web-of-things, but I couldn't find any reference to WoT/Web of Things in the documentation or code.
Does it support WoT TDs?
The reference item
Kaebisch, S., Kamiya, T., McCool, M., Charpenay, V., & Kovatsch, M. (2020). Web of things114
(WoT) thing description [W3C Recommendation]. World Wide Web Consortium (W3C)
would be useful to have a version number (or date) and a link to the webpage.
Describe the bug
Unable to run Flask example (tests/postman/flask_123
) with Postman collection. Currently working on review for JOSS submission
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on http://127.0.0.1:5000
Press CTRL+C to quit
[2023-10-02 21:57:49,813] ERROR in app: Exception on /data/int/1 [GET]
Traceback (most recent call last):
File "/Users/x/.pyenv/versions/3.11.4/envs/bobocep/lib/python3.11/site-packages/flask/app.py", line 1455, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/x/.pyenv/versions/3.11.4/envs/bobocep/lib/python3.11/site-packages/flask/app.py", line 869, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/x/.pyenv/versions/3.11.4/envs/bobocep/lib/python3.11/site-packages/flask/app.py", line 867, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/x/.pyenv/versions/3.11.4/envs/bobocep/lib/python3.11/site-packages/flask/app.py", line 852, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/x/Labs/joss/bobocep/app.py", line 27, in data_int
engine.receiver.add_data(int(my_int))
^^^^^^
NameError: name 'engine' is not defined
Expected behavior
Postman collection should get successful response (200
) from Flask server.
Desktop (please complete the following information):
—OS: Mac
—Python: 3.11.4
Additional context
Pip versions
attrs 23.1.0
blinker 1.6.2
bobocep 1.1.0
click 8.1.7
Flask 3.0.0
itsdangerous 2.1.2
Jinja2 3.1.2
jsonschema 4.19.0
jsonschema-specifications 2023.7.1
MarkupSafe 2.1.3
pip 23.1.2
pycryptodome 3.18.0
referencing 0.30.2
rpds-py 0.10.3
setuptools 65.5.0
Werkzeug 3.0.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.