Translate

s2aio v1.5 Released

Bug Fixes And

Documentation Is Now On-line


Thanks to the txaio developers, the issue reported earlier is resolved. There was also an issue when starting s2aio with either -c snap or -c no_client options.

Documentation for s2aio is now available on the Github wiki page .

Possible pip Install Errors

When Loading s2aio

If you are getting pip install errors for txaio when installing s2aio, there is a known bug in the installation script for txaio. This library is "3rd party" and I have notified the author of the problem.

The bug can safely be ignored, since s2aio does not use txaio.

I will post a notification when the txaio author corrects the issue. Again, for s2aio this is a cosmetic issue and in no way affects its operation.

s2aio

v1.3 Is Available Now On Pypi


Version 1.3 now dynamically determines where pip loaded the s2aio files. This should fix the previous problems reported for the Mac as well as those installing Python in non-default locations.

If you encounter any issues, please report them here.


A New Command Line Option

Has Been Added To s2aio

As A Workaround for the Mac Issue

To get around the previous issue reported for the MAC,  the -b command line option was added to s2aio for version 1.2 (available on pypi and github).

This option allows you to explicitly specify where the s2aio library files were loaded on your machine after using pip install. This option will work with any operating system and not just Mac.

Here is an example:

s2aio -b /usr/local/lib/python3.5/dist-packages/s2aio

If you need to use the -b option and are not sure where things were installed, if you type:

pip uninstall s2aio

or  for linux:

sudo pip3 uninstall s2aio

You will be shown a list of items to be removed. Note down the s2aio path, and if you press no, the uninstall will exit without removing the files.

Then start up s2aio with the -b option and you should be able to proceed.

When I get the actual path used by the Mac, I will update s2aio to use that path when a Mac is detected, but until that time, please use the -b option for now. This option will remain even after an explicit Mac path is added to the program.




Bug Reported for s2aio

When Running on Mac


A bug report was issued and may be viewed here. 

The program runs without issue on Windows and Ubuntu 15.10. 

If you are seeing this issue on an OS other than OS X, Windows, or Ubuntu 15.10, or have found a different issue, please enter an issue into Github here.

s2aio

Has Been Released!


The documentation is still a work in progress, but the you can try it out it you like.

Before installing:
  1. Make sure that you have Python 3.5 installed on your computer. 
  2. Have StandardFirmata or FirmataPlus installed on your Arduino
  3. You have installed Scratch 2.0 Offline on your computer. 
To install:

For Windows: From a command window, type:

 pip install s2aio

For Linux: From a command window type:

sudo pip3 install s2aio


To Start The Program For Scratch:

Connect your Arduino to your computer, and type:

s2aio

The program will launch Scratch with the English language blocks.

To load the program for a different language, use the -l (that is the letter L in lower case) with the language specifier.

Language choices are:

1 = English
2 = Chinese (zh-CN)
3 = Chinese (zh-TW)
4= Dutch(NL)
5 = French(FR)
6 = German(DE)
7= Greek(GR)
8 = Korean(KO)
9 = Italian(IT)
10 = Portuguese(PT)
11 = Spanish(ES)

So for example, to start Scratch using the French language blocks, enter:

s2aio -l 5

If you want to have the program launch the Snap! web page, enter:

s2aio -c snap

For Snap! you will have to import the language blocks manually.

For Windows, they can be found at: 
C:\Users\YOUR USER NAME\AppData\Local\Programs\Python\Python35\Lib\site-packages\s2aio\Snap!Files

And for Linux at:
/usr/local/lib/python3.5/dist-packages/s2aio/Snap!Files


If you have any questions, or find any issues, please let me know.

Detailed documentation is coming to the Wiki page!





Status Update  s2aio

11 November 2015


We are moving closer to a release date! What has been accomplished since the last update:
  • Language translations are complete for both Scratch and Snap!.
  • Coding is in the final stages
    • Logic is in place and has been tested using the English translation for both Scratch and Snap!. No issues to report.
    • Need to add platform specific differentiators (Windows vs Linux) to the code and retest.
      • Goal is to have one code set, and have the OS platform automatically detected.
  • Distribution scheme is almost complete.
    • Program will  be able to be installed for both Windows and Linux by opening a command window and simply typing:

      pip install s2aio
    • As a result, all required libraries are automatically installed and a platform specific exectuable is created.
What needs to be done:
  • Complete the Windows vs Linux coding differences. The program will automatically detect the operating system without user interaction.
  • Complete the pip installation testing.
    •  Need to test installation from the pypi distribution server.
  • Complete testing of all language translations for both Scratch and Snap!
  • Create a Github repository for the project and the project wiki pages.
  • Generate the documentation.
It won't be long now!