Skip to first unread message
Assigned to andrew.f...@gmail.com by taifu...@gmail.com

David Kay

unread,
Jun 8, 2016, 11:34:49 AM6/8/16
to MIT App Inventor Forum
I would appreciate any help folks can give me. I see no other Forum coverage of this problem.

I am trying a project with Sall's tone detector extension, but compilation fails at the final step as shown below

I tried deleting all blocks and compiling just with the extension component on screen1, and get the same result. 

The image processing example extension does compile in the same simple project (i.e. with no blocks of my own).



App Inventor is unable to compile this project.
The compiler error output was
________Preparing application icon
________Creating animation xml
________Generating manifest file
________Attaching native libraries
________Attaching component assets
________Compiling source files
(compiling appinventor/ai_dave_brightleaf/testSoundExtension/Screen1.yail to appinventor.ai_dave_brightleaf.testSoundExtension.Screen1)
(compiling /tmp/runtime4664125830798891747.scm to com.google.youngandroid.runtime)
Kawa compile time: 2.151 seconds
________Invoking DX
YAIL compiler - DX execution failed.


Thanks - Dave

Taifun

unread,
Jun 8, 2016, 1:10:06 PM6/8/16
to mitappinv...@googlegroups.com
there are loads of threads about DX exectution failed...

It does not look like you have used the forums yet, as a search using the search box above would have returned several threads about this topic.

In case these do not help, then please prepare an example as small as possible, which demonstrates this issue and add the project (aia file) into this thread together with exact instructions for how to elicit the error, so someone can take a look

Taifun

Trying to push the limits of App Inventor! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun. 





Advice: Before posting, it's a good idea to search in this forum. Many others have likely run into problems similar to yours. How to search see screenshot.

David Kay

unread,
Jun 8, 2016, 2:21:11 PM6/8/16
to MIT App Inventor Forum
Thanks -- I did search before posting, but nothing that resulted seemed to apply to my case. 

Since there was essentially NO code in my project (1 label on the screen and the extension object, no blocks at all), I assumed there was something fundamental at fault with the sample, such as a change in AI that rendered a previously functional sample inoperative.

But apparently that's not the case, so I will scrutinize the results more.

Apologies for the bother.

Taifun

unread,
Jun 8, 2016, 2:53:08 PM6/8/16
to MIT App Inventor Forum
where did you find that extension? any link?

Please prepare an example as small as possible, which demonstrates this issue and add the project (aia file) into this thread together with exact instructions for how to elicit the error, so someone can take a look

Taifun

unread,
Jun 8, 2016, 3:16:04 PM6/8/16
to MIT App Inventor Forum
it seems to be, you are talking about the sound analysis extension by Mouhamadou, which can be found here http://appinventor.mit.edu/extensions/
I just created a small test project, imported that extension and built the project, works fine for me, see attachment...

Taifun
soundAnalysis.aia

David Kay

unread,
Jun 8, 2016, 3:59:55 PM6/8/16
to MIT App Inventor Forum
Thank you.

Your project compiles. It also does if I replace the Mouhamadou Sall extension in your project with the one I downloaded from http://appinventor.mit.edu/extensions/data/extensions/com.gmail.at.oumar.dot.mouha.SoundAnalysis.aix, so it would appear I am using the correct extension file.

If, however, I start a new project identical to yours in every apparent way, compilation fails. (My AIA file attached, FWIW)

Intellectually frustrating, but practically speaking, that means I now have a workaround to my problem. I just build on your project.

So sincere thanks for the workaround. 

I conclude I have an anomaly of some kind that does not affect others, so no point extending this thread, I suspect.
DaveSoundTest_copy.aia

Taifun

unread,
Jun 8, 2016, 4:20:33 PM6/8/16
to MIT App Inventor Forum
I can confirm your issue, tested on both the extension test server and http://ai2-test.appinventor.mit.edu/
@MIT: are you interested in finding out, why David's project does not build?
Taifun


Yuri Sá

unread,
Jun 9, 2016, 8:35:25 AM6/9/16
to MIT App Inventor Forum
I can confirm the error here.

Getting error too.

Too bad, I really needed this for simple communications with arduino.

Taifun

unread,
Jun 9, 2016, 10:29:05 AM6/9/16
to MIT App Inventor Forum
@Yuri Sá: it seems to be, you are talking about something completely different. You might want to start a new thread together with your question. Thank you.
If you need help with a specific problem, please include details in your post about what was happening when the problem occurred, and anything that seemed unusual.
Taifun
Reply all
Reply to author
Forward
0 new messages