dya2 / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

Nothing seems to work on Cyanogen Mod 6.0.0 #374

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Install Cyanogen 6.0.0
2.Install ase_r25.apk
3.Try to add interpreter

What is the expected output? What do you see instead?
Don't know what is expected -- only get "Installation failed".

What version of the product are you using? On what operating system?

Please provide any additional information below.

If I install the interpreters manually, then try to run the associated 
"hello_world" script -- Rhino and/or BeanShell -- I get a ClassNotFound in the 
resulting terminal window, after the "exports" and "dalvikvm -classpath blah, 
blah, blah"

I'm thinking its probably a permissions thing, but have no info to go on.  
Tried (as root) "chmod -R og+rwx /sdcard/ase" but that didn't change anything.

Original issue reported on code.google.com by natural....@gmail.com on 16 Jul 2010 at 12:07

GoogleCodeExporter commented 9 years ago
BTW, if I try to scan the bardcode of the current zip files for BeanShell and 
RHino from the downloads section, I get "Invalid QR data".

So this whole thing is pretty badly borked for me. Really stinks, I have very 
limited time to mess around, and could *really* use this.

Original comment by natural....@gmail.com on 16 Jul 2010 at 12:10

GoogleCodeExporter commented 9 years ago
Since CM6 is based on 2.2 which is still in RC1 these things are kind of 
expected. Can you provide us logcat output?

Is "Installation failed" shown on ASE installation or interpreter installation?

Original comment by MeanEYE.rcf on 16 Jul 2010 at 12:11

GoogleCodeExporter commented 9 years ago
Installing an interpreter.  Can install OK ASE via barcode, or a file manager 
on the .apk.

Original comment by natural....@gmail.com on 16 Jul 2010 at 12:21

Attachments:

GoogleCodeExporter commented 9 years ago
V/ase.ZipExtractor:62( 1192): Extracting /mnt/sdcard/bsh_r1.zip to 
/data/data/com.google.ase
E/ase.ZipExtractor$1:76( 1192): Zip extraction failed.
E/ase.ZipExtractor$1:76( 1192): java.io.FileNotFoundException: 
/mnt/sdcard/bsh_r1.zip (No such file or directory)

Doh! Because it is downloaded as bsh_extras_r1.zip <--- NOT FROYO PROB!

Original comment by natural....@gmail.com on 16 Jul 2010 at 12:25

GoogleCodeExporter commented 9 years ago
Here is a logcat after manualling installing BeanShell then trying to launch 
"hello_world.bsh".

Original comment by natural....@gmail.com on 16 Jul 2010 at 12:37

Attachments:

GoogleCodeExporter commented 9 years ago
Yeah, ASE should download bsh_r1.zip, bsh_extras_r1.zip and bsh_scripts_r1.zip. 
Not sure why this file is missing.

@Damon :)

Original comment by MeanEYE.rcf on 16 Jul 2010 at 12:42

GoogleCodeExporter commented 9 years ago
Hm, come to think of it... that's a shell right? Then maybe there is no need to 
download bsh_r1.zip but in that case installer shouldn't fail installation for 
not finding that file :)

Original comment by MeanEYE.rcf on 16 Jul 2010 at 12:43

GoogleCodeExporter commented 9 years ago
Umm, I can't seem to find a bsh_r1.zip in the downlaods section.

And would these same comments also apply to the rhino stuff?  Because I get the 
same issues with rhino.

Original comment by natural....@gmail.com on 16 Jul 2010 at 12:45

GoogleCodeExporter commented 9 years ago
Hmmm.  BeanShell and Rhino seem to be the *only* ones missing "bsh_r1.zip" and 
"rhino_r1.zip".  Perl, Python, Tcl all have their corresponding versions.

Original comment by natural....@gmail.com on 16 Jul 2010 at 12:49

GoogleCodeExporter commented 9 years ago
Maybe someone who has maybe 2.1 could try to install and run BeanShell or 
Rhino? ;)

Original comment by natural....@gmail.com on 16 Jul 2010 at 12:51

GoogleCodeExporter commented 9 years ago
And actually while BeanShell might be a shell, it runs in a Java VM, so it 
still needs all the (bloated) setup with classpaths etc. that any Java code 
needs.

Original comment by natural....@gmail.com on 16 Jul 2010 at 12:55

GoogleCodeExporter commented 9 years ago
I can't seem to find a shell script to test even the basic install -- shouldn't 
there be one included somewhere?

Original comment by natural....@gmail.com on 16 Jul 2010 at 12:57

GoogleCodeExporter commented 9 years ago
I can install and run lua OK.  So it looks like there is some stuff missing for 
Beanshell and Rhino.

Lemme know when I can try again, 'k?

Original comment by natural....@gmail.com on 16 Jul 2010 at 1:10

GoogleCodeExporter commented 9 years ago

Original comment by damonkoh...@gmail.com on 16 Jul 2010 at 3:25