Comments (4)
One reason the telnet shell is broken is that we have no unit tests for it. Once upon a time, it used to work.
from cogserver.
python results are discarded so it's difficult to test it. Agreed it is broken, but I guess we'll address that more deeply after the demo.
from cogserver.
I sort of got it working
Code like this works fine
for i in range(10) :
print "foo", i
but code like the one u posted with the empty line inside a scope doesn't work
because like the standard interpreter, an empty line ends a scope(when typed in).
https://github.com/Dagiopia/atomspace/blob/master/opencog/cython/PythonEval.cc
from cogserver.
I stubbed out line 107 of tests/cython/PythonModuleUTest.cxxtest until this issue is resolved. When this bug is fixed, then that line should be enabled again.
from cogserver.
Related Issues (16)
- cog-set-atomspace! not switching the atomspace used by the cogserver HOT 12
- encounter missing install target HOT 5
- test failed HOT 4
- python printing is broken HOT 9
- ShellUTest fails because of NumberNode formatting change HOT 5
- "make tests" fails to build PyEvalUTest HOT 9
- Python cogserver AWOL
- make check fails trying to find PyIncludeWrapper.h HOT 3
- CythonServer test fails libtruthvalue.so: undefined symbol: _ZN7opencog14EvaluationLink11do_evaluateEPNS_9AtomSpaceERKNS_6HandleEb HOT 6
- ShellUTest fails HOT 2
- Cogserver unclean shutdown HOT 2
- CogServer does not error on module load failure HOT 3
- ShellUTest errors sometimes with Debug build HOT 22
- Split up cogserver into three parts. HOT 4
- Cogserver and attention circular dependencies? HOT 4
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 cogserver.