Comments (4)
Hello,
can you please better describe the issue? Do you get an error message? Could you please paste the traceback?
from clipspy.
Hi yes, this is the error message:
[BLOAD2] File demo.clp is not a binary construct file.
from clipspy.
I tried to save the output of the environment after calling the load()
function and it produced the following file:
(defclass MAIN::A
(is-a USER)
(role concrete)
(multislot secondary-types)
(multislot hasIssue
(type INSTANCE-NAME)))
(defclass MAIN::B
(is-a USER)
(role concrete)
(multislot secondary-types))
(defclass MAIN::C
(is-a USER)
(role concrete)
(multislot secondary-types))
(defclass MAIN::D
(is-a USER)
(role concrete)
(multislot connectedTo
(type INSTANCE-NAME))
(multislot secondary-types))
(definstances MAIN::individuals
(temp_a of D)
(temp_b of D))
Therefore I think there isn't really an issue - the message about it not being a binary file seems like it can be safely ignored. @noxdafox if you agree I think this issue can be closed
from clipspy.
This is an issue of current clipspy
version. It combines binary and text file loading into a single load
API. It first try to load the file as a binary file. If it's unable to do so, it loads it as text file.
This works fine and keeps the API simple. Nevertheless it leads to the above log line to be printed which is definitely misleading.
The new version of clipspy
based on CLIPS 6.40 provides a binary
extra argument to better handle loading binary files.
You can safely ignore the above error message.
from clipspy.
Related Issues (20)
- installation in pycharm fails HOT 1
- 640 Makefile missing SHARED_INCLUDE_DIR HOT 1
- make install fails on linux HOT 4
- No module named 'clips._clips' & Can't use pip HOT 2
- Modify_slots does not work with subclasses HOT 5
- Error handling behaving differently for rule syntax and python code HOT 3
- A kind request of information HOT 2
- Custom `Router` class is not being called HOT 1
- Has anyone tried to make a web frontend? HOT 1
- Question: pretty print or formatter available? HOT 3
- Installation problem with Python 3.10 HOT 2
- Problems with pip install HOT 1
- Understanding the Insertion of Instances into Environment HOT 4
- Unable to install clipspy in mac bookpro HOT 4
- Mac M architecture HOT 4
- clipspy for conda? HOT 2
- Clipspy for Apple chip M HOT 4
- Issue #58 HOT 1
- Apple Silicon (M1) give error at import... HOT 3
- Segmentation Fault after call to `run()` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clipspy.