jroxendal / pyscxml Goto Github PK
View Code? Open in Web Editor NEWAn SCXML implementation in Python
Home Page: http://pyscxml.spyderbrain.com
License: GNU Lesser General Public License v3.0
An SCXML implementation in Python
Home Page: http://pyscxml.spyderbrain.com
License: GNU Lesser General Public License v3.0
Sending document...
Closed
Sending document...
Closed
Sending document...
Closed
Sending document...
Closed
Sending document...
Closed
No echo at all
I would really like to use the http capabilities.
The README.md states that backwards compatibility will not be considered until the W3C makes the SCXML a Recommendation, and that has happened:
Hi Johan,
For returning a return value from scxml executable section,
I have been using queue as per your suggestions on issue#60
<transition event="add_item">
<script>
queue.put(_event.data);
</script>
</transition>
</state>
q = Queue.Queue()
sm.send("set_queue", q)
my_item = q.get() # will return the above passed item
It was working fine till pyscxml-0.8_20111128_full-py2.7 and all later releases gives following error
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\eventlet-0.12.1-py2.7.egg\eventlet\queue.py", line 107, in switch
self.greenlet.switch(value)
error: cannot switch to a different thread
Please help me in resolving this issue
Regards,
Abel
Hi,
I see SCXML supports ECMAScript. Does PySCXML support Python code for the script tag?
Thanks,
VijayBh.
Hi :)
would you be so kind and tag the current master? IMHO this would be great because people
could rely on a "frozen" version.
Thanks!
When doing sends right after each other, the second event might be ignored.
Problem does not happen when sleeping between sends.
dshuser@raspberrypi:~/uscxml/contrib/python/bindings$ pip install pyscxml
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
ERROR: Could not find a version that satisfies the requirement pyscxml (from versions: 0.7.2-20110827-full, 0.7.3-20110922-full, 0.8-20111128-full)
ERROR: No matching distribution found for pyscxml
dshuser@raspberrypi:~/uscxml/contrib/python/bindings$
For a test project + trace see https://gist.github.com/fabb/5019653
Hii I tried to install the package with pip but I got the following error:
ERROR: Could not find a version that satisfies the requirement pyscxml (from versions: 0.7.2-20110827-full, 0.7.3-20110922-full, 0.8-20111128-full)
ERROR: No matching distribution found for pyscxml
Please let me know what to do. Thanks in Advance!!
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.