My favorites | Sign in
Logo
                
Search
for
Updated Oct 06, 2009 by damonkohler
Labels: Featured
InstallingInterpreters  
A howto for installing additional interpreters.

Only shell is included with the ASE install. Other interpreters must be installed separately. To add another interpreter, press the menu button and then "Add Interpreter." The selected interpreter, interpreter extras, and its example scripts (if available) will be downloaded to /sdcard/xxx.zip and then extracted to /data/data/com.google.ase/xxx, /sdcard/ase/extras/xxx, and /sdcard/ase/scripts respectively.

If you experience problems while installing interpreters:

  1. Check that your network connection is working by trying to load a web page in your browser.
  2. Try to add the interpreter again. ASE should recover from most installation failures.

Troubleshooting

It's likely that the installation failed. Try again.
Delete the ZIP file from /sdcard and then try the installation again.
Issue 78 is tracking the interpreter manager feature which will enable easily reinstalling interpreters if the installation fails. Until then, the best work around is to uninstall ASE, delete /sdcard/ase/, delete /sdcard/*.zip, then reinstall ASE and the troublesome interpreter.

Comment by she...@gmail.com, Jul 26, 2009

How does one install an interpreter by hand? copy python.zip to the sdcard?

Comment by damonkohler, Aug 06, 2009

It's not possible to install interpreters by hand without being root since it requires access to the private data directory of ASE. If you copy the .zip files to your SD card, however, ASE will skip the download step.

Comment by haitiankid4lyf, Aug 28, 2009

Where do i find alternate interpeters, like perl and jruby, i opened ase recently and had a longer list of interperters available to download and install such as perl, jruby, jruby extra, and some others, however after i installed them i kept getting mis matched hash and md5 error so i decided to delete the downloads from sdcard, but errors continued so i uninstalled and reinstalled the app but now only lua and python are the only interpreters available to download. I even checked in the data dir lua and python are the only folders there.

Comment by damonkohler, Sep 11, 2009

@haitiankid4lyf I'm not completely clear on what your question is. You install interpreters from the Add Interpreter menu. Currently, there is no support to uninstall interpreters. If there's a failed download, you'll need to manually remove the downloaded zip files from your SD card.

Comment by ubermonk, Sep 29, 2009

I've installed ASE but Perl didn't appear in the list of interpreters. So I downloaded the archives perlr0.zip and have them sitting under /sdcard. However when I run ASE they still don't appear in the list of interpreters to install. Any ideas?

Comment by ericosur, Oct 01, 2009

If you have problems to install perl, you should try the new version of ASE first. The following procedures for manual install.

prepare: 1. download and unzip the android-sdk

(or you only need tools/ and usb_driver (win32) )

2. install busybox into your android devices, it would provide unzip

3. perl_r0.zip for the perl interpret

4. you might need root permission (I am not sure about this)

procedure: ( step 1 and 2 may be replaced by using usb mass storage copy)

1. adb shell mkdir /sdcard/asetmp

2. adb push perl_r0.zip /sdcard/asetmp

3. adb shell

4. the following commands issued under adb shell:

cd /data/data/com.google.ase unzip /sdcard/asetmp/perl_r0.zip

5. it's done and could be seen by ASE r13

The demo scripts are stored in the "/sdcard/ase/scripts". You may use USB mass storage mode to copy/unzip.

Comment by damonkohler, Oct 04, 2009

I've updated the troubleshooting section with my suggested workaround. I know it is far from ideal. I hope to address these issues in the next release.

Comment by rusty0101, Nov 03, 2009

Not sure if it would help, but thinking that a bsh script that let's people give a yes or no to download specific interpreters, that then goes and gets the interpreter and either tells ASE to install the downloaded interpreters, or reminds the user to exit ASE and restart to install the downloaded interpreters might be handy.

If it can be done in a small enough code block, post a qrcode bar code here to give the new user the experience of downloading and running a qrcode script.

I'm suggesting bsh because I think the bean shell interpreter is integrated where everything else is manually installed.

Comment by batsup, Nov 04, 2009

Is it planned to add a pascal interpreter?

Comment by setupr, Nov 04, 2009

This was wrong: > To add another interpreter, press the menu button and then "Add Interpreter."

It was:

To add another interpreter, press the menu button and then press "Interpreters", then press the menu button again and then press "Add".

Comment by jimmit.t, Nov 14, 2009

setupr, Thanks so much! It was killing me that I didn't have any interpreters showing up in the list to add. The instructions should be updated to reflect setupr's comment.

Comment by daniel.akerud, Nov 27, 2009

Thanks setupr, that information was ... vital.

Comment by daniel.akerud, Nov 27, 2009

Since I cannot use the GUI to install interpreters (proxy unsupported) I use ericosur's guide to manually install the interpreters (thanks!). Python is done, but I cannot find the jruby or ruby interpreter for manual download. Anyone knows?


Sign in to add a comment