[Olympus developers 249]: tutorial 1 problem and a request for clarification

lang@cs.rochester.edu lang at cs.rochester.edu
Mon Aug 16 13:40:07 EDT 2010


> It looks like the "internal error" happens in MyBus when the backend
returns
> a "result" with "result.failed". Can you look at the logs from the
backend process?
This is true, and I apologize for not being clearer. I had explored the
logs and discovered that the program was failing, but the part I cannot
figure out is why the result fails when it seems that all of the correct
information is readily available. If providing you with one of the logs
would prove helpful, please tell me what file(s) you need from me.

As for my second question, I have attached my code for clarification.  I
am trying to print out a summary of the gathered information to the user
to test my program and show that it is indeed doing what I want.  However,
from what I understand of the logs, answers from the user are being
collected, but I cannot seem to print out what the program has gathered.

Thank you for your time,
Kate Lang

>
> If I understand your question properly - I don't think that destination
place is bound to the result concept in MyBus. The result concept is a
list
> of routes designations with departure times, but there are no
destination variables to bind in it. See line 100 in
> http://trac.speech.cs.cmu.edu/olympus/browser/tutorials/Tutorial1/branches/2.5/Agents/RavenClawDM/DialogTask.cpp
>
> -Thomas
>
> On Sat, Jul 17, 2010 at 2:42 PM, <lang at cs.rochester.edu> wrote:
>
>> Hello!
>>
>> Below (and attached) are the messages concerning my problem.
>> Specifically, I am having problems getting the tutorial 1 to completely
work.  Here is the dialog that occurs:
>>
>> > S:  Welcome to MyBus.
>> > S:  Where are you leaving from?
>> > cmu
>> > S:  Where are you going?
>> > downtown
>> > S:  Just a minute. Let me check that for you.
>> > S:  I'm sorry, I could not complete your request due to an internal
>> error.
>> > S:  Where are you leaving from?
>> What does it mean 'internal error' and can I fix it?
>>
>> Also, could you shed some light on how the destination_place is bound
to the result concept?  I am fairly certain that my program is is
retaining the information provided by the user, but I cannot seem to
print out a summary of it.
>>
>> Thank you for your time,
>> Kate Lang
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Hi Kate,
>>
>> I'm not able to look at this right now, but maybe over the weekend.
>>
>> Yes, continue sending these to the olympus address. You're likely to get a
>> response sooner that way.
>>
>> Thanks,
>> -Thomas
>>
>> On Fri, Jul 16, 2010 at 5:00 AM, <lang at cs.rochester.edu> wrote:
>>
>> > Hello Thomas,
>> >
>> > Thank you for your quick reply and I apologize for my late response.
>> Yes,
>> > the spelling error was the problem with my program.  As for the
>> tutorial
>> > this is the dialog that I have:
>> >
>> > S:  Welcome to MyBus.
>> > S:  Where are you leaving from?
>> > cmu
>> > S:  Where are you going?
>> > downtown
>> > S:  Just a minute. Let me check that for you.
>> > S:  I'm sorry, I could not complete your request due to an internal
>> error.
>> > S:  Where are you leaving from?
>> >
>> > Also, could you shed some light on how the destination_place is bound
>> to
>> > the result concept?  I am fairly certain that my program is is
>> retaining
>> > the information provided by the user, but I cannot seem to print out
a summary of it.
>> >
>> > Lastly, should I be replying to this email address, or should I
>> continue
>> > sending questions to the olympus address?
>> >
>> > Thank you very much for your time,
>> > Kate Lang
>> >
>> > > Hello Kate,
>> > >
>> > > I'm not familiar with the "internal error", can you give more
>> details
>> > > about
>> > > that?
>> > >
>> > > I noticed in the source file that you sent that a variable appears
>> to
>> be
>> > > declared as num_total_ppl and then used as total_num_ppl. Maybe this
>> > could
>> > > be the root of the error.
>> > >
>> > > Thanks,
>> > > -Thomas
>> > >
>> > > On Wed, Jun 30, 2010 at 12:07 PM, <lang at cs.rochester.edu> wrote:
>> > >
>> > >> Hello!
>> > >>
>> > >> My name is Katherine (Kate) Lang and I am a graduate student at
the University of Rochester.  I am currently trying to adapt the
>> Olympus
>> > >> system so that I may study the RavenClaw part.  However I am
>> running
>> > >> into
>> > >> a couple problems.
>> > >>
>> > >> I have been working with tutorial 1 and on my computer I answer
>> both
>> the
>> > >> original and destination places, but then there is an internal
>> error.
>> > >> Is
>> > >> this common?  Is there a fix for it?
>> > >>
>> > >> Lastly, I attempted to write my own dialogue system (which happens
>> to
>> be
>> > >> my goal for the summer) based on the tutorial 1 code, but I cannot
>> get
>> > >> it
>> > >> to work.  This is asking a lot, and it is very short, but could
you please
>> > >> take a look at it and/or tell me common mistakes that I should look
>> out
>> > >> for?
>> > >>
>> > >> The problem is that the Welcome inform agent does not print out (I
>> am
>> > >> using the tty option) anything when I have the request agent
uncommented.
>> > >> If the request agent is commented out, then both of my inform
>> agents
>> > >> work
>> > >> perfectly. I also tried something similar with a copy of RoomLine,
>> but
>> > >> got
>> > >> the same results, so I do not believe that it is the internal error
>> that
>> > >> I
>> > >> mentioned before.
>> > >>
>> > >> Thank you very much for your time,
>> > >> Kate Lang
>> > >>
>> > >>
>> > >>
>> > >
>> >
>> >
>>
>

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: DialogTask.cpp
Url: http://mailman.srv.cs.cmu.edu/pipermail/olympus-developers/attachments/20100816/25d348b7/DialogTask.ksh


More information about the Olympus-developers mailing list