noxdafox / iclips Goto Github PK
View Code? Open in Web Editor NEWCLIPS Jupyter console
CLIPS Jupyter console
[code]
require.js?v=6da8be361b9ee26c5e721e76c6d4afce:900 TypeError: Cannot read property 'varRefreshCmd' of undefined
at main.js?v=20191129150006:188
at Object.execCb (require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1690)
at Module.check (require.js?v=6da8be361b9ee26c5e721e76c6d4afce:865)
at Module.enable (require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1177)
at Module.init (require.js?v=6da8be361b9ee26c5e721e76c6d4afce:783)
at require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1453
I tried two pieces of given sample code for i. %% define-python-function and ii. %% python and find that Enter twice does not execute the code, and the multi-line entry can't break. Maybe a Jupyter Console (6.2.)) bug or compatibility. Seems fine for non-magic codes.
Ritchie
Hi,
In iCLIPS, if statistics are being watched via "watch statistics" command, and the "run" command is performed with rules on the agenda, the generated output does not show the "Run time" or the "rules per second" statistics.
To reproduce:
(watch statistics)
in cell 1 and run it(deftemplate emergency (slot type))
in cell 2 and run it(deftemplate response (slot action))
in cell 3 and run it(defrule fire-emergency "An example rule"
(emergency (type fire))
=>
(assert (response
(action activate-sprinkler-system))))
(assert (emergency (type fire)))
in cell 4 and run it(run)
in cell 5 and run it1 rules fired
2 mean number of facts (2 maximum).
0 mean number of instances (0 maximum).
1 mean number of activations (1 maximum).
Please advise. Thanks!
Hi,
I have noticed that tab autocompletion in iCLIPS works when the CLIPS kernel starts, but as soon as I run a cell that generates some sort of output, the tab autocompletion no longer works.
To reproduce:
Please advise. Thanks!
Hi,
When I place a comment before a function declaration in iCLIPS, I get the message:
[EXPRNPSR3] Missing function declaration for '[put the name of your function here]'.
Attached is a screenshot showing a commented defrule (taken from Giarratano and Riley's "Expert Systems: Principles and Programming", 4th Edition).
It seems that the comment is only causing an issue before the function definition and not inside it.
Please advise. Thanks.
I'm trying to create a docker container with your library by i'm getting that error
I used ubuntu:xenial image from docker hub
I installed all dependencies following the documentation
Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.5/dist-packages/iclips/clips_kernel.py", line 26, in <module>
import clips
File "/usr/local/lib/python3.5/dist-packages/clips/__init__.py", line 30, in <module>
from clips.error import CLIPSError
File "/usr/local/lib/python3.5/dist-packages/clips/error.py", line 32, in <module>
from clips.router import Router
File "/usr/local/lib/python3.5/dist-packages/clips/router.py", line 5, in <module>
from clips._clips import lib, ffi
ImportError: libclips.so: cannot open shared object file: No such file or directory
Hello,
When trying to download the Jupyter notebook as a CLIPS file via "File -> Download As -> CLIPS (clp)", I get the following error on a browser new tab:
500 : Internal Server Error
The error was:
nbconvert failed: FileExtension trait 'file_extension' does not begin with a dot: 'clp'
Please advise. Thanks!
Context: I use Windows 10 with Python 3.8.5.
I have installed CLIPS 6.31 using windows 64 bits installer and also iclips through pip: pip install iclips
.
There were no errors when installing the above, but when i tried to run jupyter console --kernel clips
I get the following exception thrown:
jupyter_client.kernelspec.NoSuchKernel: No such kernel named clips
This may not be an iclips specific issue, but I would be grateful if someone could help me.
The full error message is:
docker: Error response from daemon: pull access denied for iclips, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
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.