Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - MrGlasspoole

Pages: [1]
1
Other Plugins / TCP CPython communication
« on: November 10, 2014, 04:23:00 AM »
Hi,

I'm having some problems with IronPython so i want to use CPython.
The idea is to let VC communicate through TCP with CPython.

From a webpage i can send "VC.On\r\n" and in VC i see "VC.ON:" but VC does not turn into green.
Is there more i need to do?

The other question is how to i send from VC if TCP is running as server and not as client?
I think it must be possible cause in my CMD window i receive "OK" after sending the command above - so VC is sending back!?

Notes:
The whole setup is a little more complicated cause i'm using MQTT and Websockets.
But seeing "VC.ON:" in VC means the CPython asynchat/asyncore <-> VC TCP connection works.

2
Python Scripting / CPython and Python Packages in IronPython?
« on: September 13, 2014, 06:37:59 AM »
Hi,

Python is relatively new to me and i have some questions.
Is it possible to use CPython instead of IronPython or is it to much linked with VC?

The problem is that i want to also use my Python files with other programs.
Then it looks like there are Python packages that don't work with IronPython.

If i can't use CPython the same way and with the same VC functions/features like with IronPython,
how to i register VC IronPhyton in my system (environment variables)?

Then I'm not sure how to ad packages to the VC IronPython.
The normal way is putting them in the "site-packages" folder but that did not work.
I did put it in PY/Lib and that looks like the import works - but the my code gives me:
Code: [Select]
Line: 722 >>
TypeError: create_connection() got an unexpected keyword argument 'source_address'
In CPython my code works...

Also I'm not sure what part of the unziped package is the right one to put in IronPython.
There is the main folder with the setup.py...
There are subfolders "build" and "src"...
Build has a subfolder "lib"...

3
General Discussion / VoxCommando vs Links
« on: September 11, 2014, 04:51:45 AM »
Hi,

i found VoxCommando and I'm testing it and when i was looking at youtube i stumble over
Jarvis what is now called Links or "Mega Voice Command".

I cant find a comparison between VoxCommando and Links.
Can somebody shine some light on me where the technical difference is (speech recognition engine)?

Pages: [1]