Coder Social home page Coder Social logo

siddhi-io / pysiddhi Goto Github PK

View Code? Open in Web Editor NEW
22.0 34.0 15.0 1.22 MB

Python wrapper for Siddhi engine

License: Apache License 2.0

Python 82.35% Java 15.37% Shell 0.58% Makefile 0.82% C 0.87%
siddhi python java python-wrapper api cep jython

pysiddhi's Issues

sudo pip install . resulting in an error

Description:
I was trying to install pysidhi, but when i enter the command "sudo pip install" it results in the following error.
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-req-build-t0ar9M/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-D7qbKn/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-req-build-t0ar9M/

I am working on a ubuntu 16.04 machine.
I would greatly appreciate any help here.

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

prebuilt docker

hi

is there a prebuilt docker that contains the required files (java, pysiddhi) for testing and validation as i have some issues trying to install. thanks

Error TypeError: expected str, bytes or os.PathLike object, not NoneType when inport library : PySiddhi.core.SiddhiManager

Traceback (most recent call last):
File "helloworld.py", line 3, in
from PySiddhi.core.SiddhiManager import SiddhiManager
File "/home/thienchuaheadshot/.local/lib/python3.7/site-packages/PySiddhi/core/SiddhiManager.py", line 19, in
from PySiddhi.core.SiddhiAppRuntime import SiddhiAppRuntime
File "/home/thienchuaheadshot/.local/lib/python3.7/site-packages/PySiddhi/core/SiddhiAppRuntime.py", line 18, in
from PySiddhi.core.debugger.SiddhiDebugger import SiddhiDebugger
File "/home/thienchuaheadshot/.local/lib/python3.7/site-packages/PySiddhi/core/debugger/SiddhiDebugger.py", line 23, in
from PySiddhi.core.event.ComplexEvent import ComplexEvent
File "/home/thienchuaheadshot/.local/lib/python3.7/site-packages/PySiddhi/core/event/ComplexEvent.py", line 23, in
class ComplexEvent(object):
File "/home/thienchuaheadshot/.local/lib/python3.7/site-packages/PySiddhi/core/event/ComplexEvent.py", line 28, in ComplexEvent
class Type(Enum):
File "/home/thienchuaheadshot/.local/lib/python3.7/site-packages/PySiddhi/core/event/ComplexEvent.py", line 30, in Type
"io.siddhi.pythonapi.proxy.core.event.complex_event.TypeProxy")().CURRENT(),
File "/home/thienchuaheadshot/.local/lib/python3.7/site-packages/PySiddhi/SiddhiLoader.py", line 131, in _loadType
loadLibrary()
File "/home/thienchuaheadshot/.local/lib/python3.7/site-packages/PySiddhi/SiddhiLoader.py", line 97, in loadLibrary
class_paths = ['.', os.path.join(siddhi_home, 'lib', '*')]
File "/usr/lib/python3.7/posixpath.py", line 80, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType

TestOutputStream test fails

Description:
TestOutputStream.py test fails as it misses siddhiAppRuntime.start() call.

Affected Product Version:
PySiddhi-5.1.0.beta

OS, DB, other environment details and versions:
MacOS

Steps to reproduce:
In the <PYSIDDHI_HOME> directory, invoke the following command.

python3.7 -m Tests.SiddhiCoreTests.TestOutputStream

pysiddhi

Description:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

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.