alice-teacher Alice 2 "Current method will not be called" warning

Michael L Owen MrGrog at outlook.com
Fri Mar 17 17:33:11 EDT 2017


Hi Guys- I downloaded the program and tried it on my machine (win10/64-bit) running Alice 2.4.3. It worked fine for me. Bunny hopped every time I pressed the Spacebar. I'm starting to wonder if maybe it's an installation issue.

Might be helpful to add machine and O/S type, Alice Version and folder placement,


Mike Owen


________________________________
From: alice-teachers <alice-teachers-bounces+mrgrog=outlook.com at lists.andrew.cmu.edu> on behalf of Donald Slater <djslater107 at mac.com>
Sent: Friday, March 17, 2017 11:28 AM
To: Alice Teachers
Subject: Re: alice-teacher Alice 2 "Current method will not be called" warning

James,
You continue to stretch the system, and find things we did not know that are there. This is something we will have to look at…

This does not interfere with execution of the program after the warning box is closed, correct? I am sure that you are aware that when the Play button is clicked, Alice does does look through the program and identify methods that have been created and not called (as this is a relatively common non-student error). ButI suspect that it only looks through the program code, starting at my first method, and the events editor.

This is a more subtle problem, and and is probably not an easy fix, as it will require that Alice look at every object in a scene for object-event linkages. But hopefully it is not as a big of a problem as I fear. We will look into it.

Thank you,
All the best,

Don Slater

On Mar 16, 2017, at 3:16 PM, Vanderhyde, James <vanderhyde at sxu.edu<mailto:vanderhyde at sxu.edu>> wrote:

I am using Alice 2. I have recently learned I can associate an event with an object by dragging the object from the world tree into the Events pane.

However, I get a warning “The current method (…) is not called by any events …” even though the method is called by an event. I don’t get the warning if the method is called by a world-level event, but I do get the warning when the method is called by an object-level event.

See the attached Alice world. Open the bunny.jump method, and the Play the scene. The warning erroneously pops up.

James
—
James Vanderhyde
Assistant Professor, Computer Science
Program Director, Master of Applied Computer Science
Saint Xavier University
3700 W. 103rd St.
Chicago, IL 60655
773-298-3454
<bunny events.a2w>_______________________________________________
alice-teachers mailing list
alice-teachers at lists.andrew.cmu.edu<mailto:alice-teachers at lists.andrew.cmu.edu>
https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20170317/e1b8a6d1/attachment-0001.html>


More information about the alice-teachers mailing list