[Olympus developers 517]: Re: Could not open bin\Release

Matthew Marge mmarge at gmail.com
Sat Feb 14 11:26:20 EST 2015


This is a known issue. We will be applying the fix some time this week. In
the near term, please read below:

The root of the problem is with the session_timeout flag in Apollo.cfg in
the project. Commenting out/removing the flag allows the project to
function.

 If you want to have session_timeout enabled, you can edit the code below:

I found the bug in SessionAgent.cpp. Upon entering "init_session" with an
active flag for "session_timeout" the program crashes on this line:

SessionAgent.cpp: Line 130
Log(AGENTS_STREAM, "Session Agent Configuration: session_timeout=%s",
sSessionTimeOut);

The fix:
Log(AGENTS_STREAM, "Session Agent Configuration: session_timeout=%s",
sSessionTimeOut.c_str());

Thanks,
Matt
On Sat, Feb 14, 2015 at 5:24 AM Ugan Yasavur <uyasa001 at fiu.edu> wrote:

> Hello,
>
> I actually solved the problem above. I asked the question one day ago.
>
> I am in the stage of running an example system. I think only example
> system that is compatible with version 2.6 is Mandeleine. I could able to
> build the version in Trunk folder, but the version in Branches\2.6 does not
> build. It tells that there is a syntax error in perl script.
>
> So application starts, and everything is green (used SystemRunFlite.bat).
> As soon as I write "init_session" to "TTYRecognitionServer", Apollo stops
> working. I can restart Apollo but I don't know is it same thing for the
> whole system. I write some messages to TTYRecognitionServer, such as "hi",
> "I have fever" etc.. I can see that phoenix is parsing my inputs, NLG
> Server and MandeleineNLG does not generate any output. I am not sure if
> RavenClaw do anything. I do not hear any TTS voice..
>
> It would be great if I could only use Phoenix + RavenClaw or RavenClaw
> only. My goal is to create new system by using RavenClaw.
>
> Thanks for the help.
> Ugan
>
>
> On Thu, Feb 12, 2015 at 4:53 PM, Ugan Yasavur <uyasa001 at fiu.edu> wrote:
>
>> Hello,
>>
>> I am trying to run Olympus 2.6 in Windows 7. I installed all the
>> perquisite softwares with the correct version. However I am getting
>> following problem at the end of the build.
>>
>> Could not open bin\Release for reading.
>> Do you have permission to read it's contents?
>>
>>
>> I shared below my build log. When I go to bin directory there is not a
>> folder named Release. I think I am stuck in this point.  I actually want to
>> only use RavenClaw, or Phoenix Ravenclaw Rosetta, I don't need TTS and
>> Speech. I am just sharing my intention if there is an alternative way to
>> make it work. I read that it is not possible to use RavenClaw as a
>> standalone dialog manager for now.
>>
>> Thanks for the help.
>>
>> ===============
>>
>> OLYMPUS_ROOT... .
>> BUILD_TYPE... Build
>> CMAKE_PARAMS... -D KALLIOPE_USE_FLITE:BOOL=yes -D
>> KALLIOPE_USE_SAPI:BOOL=no
>> LOGIOS_ROOT... Tools\logios
>> BUILD_CONF... Release
>> BUILD_LOG... build.log
>> Windows
>> Searching for File::Spec Perl Module... Found
>> Searching for File::Copy Perl Module... Found
>> Searching for IPC::Open3 Perl Module... Found
>> Searching for IO::Handle Perl Module... Found
>> Searching for Getopt::Long Perl Module... Found
>> Searching for Win32 Perl Module... Found
>> Searching for Win32::API Perl Module... Found
>> Searching for Win32::TieRegistry Perl Module... Found
>> Creating bin\x86-nt directory for build output... Done
>> Searching for TortoiseSVN... Found
>> Checking if the project is using CMake... Yes
>> Searching for CMake 2.6 or higher... Searching for maximum valid Visual
>> Studio version... 12.0 Found. [32bit]
>> Searching for Sun Java JDK... Found
>> Searching for NetBeans Ant... Found 'C:\Program Files (x86)\NetBeans
>> 8.0.2\extide\ant\bin\ant.bat'
>>
>>
>> ---|>- Running command: "C:\Program Files\TortoiseSVN\bin\SubWCRev.exe"
>> "C:\Olympus" Build\SVN_Data_Template.h Build\SVN_Data.h -f
>> SubWCRev: 'C:\Olympus'
>>
>> Last committed at revision 4563
>>
>> Updated to revision 4563
>>
>> Unversioned items found
>>
>>
>>
>>
>> ---|>- Running command: "C:\Program Files (x86)\CMake\bin\cmake.exe" -G
>> "Visual Studio 12" -D KALLIOPE_USE_FLITE:BOOL=yes -D
>> KALLIOPE_USE_SAPI:BOOL=no ../..
>>
>> ---|>- Running command: "C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
>> "Olympus.sln" /m:4 /p:Configuration=Release /p:Platform=Win32
>> Microsoft (R) Build Engine version 12.0.31101.0
>>
>> [Microsoft .NET Framework, version 4.0.30319.18408]
>>
>> Copyright (C) Microsoft Corporation. All rights reserved.
>>
>>
>>
>> Build started 2/12/2015 4:30:39 PM.
>>
>>      1>Project "C:\Olympus\build\cmake\Olympus.sln" on node 1 (default
>> targets).
>>
>>      1>ValidateSolutionConfiguration:
>>
>>          Building solution configuration "Release|Win32".
>>
>>      1>Done Building Project "C:\Olympus\build\cmake\Olympus.sln"
>> (default targets).
>>
>>
>>
>> Build succeeded.
>>
>>     0 Warning(s)
>>
>>     0 Error(s)
>>
>>
>>
>> Time Elapsed 00:00:00.45
>>
>> Copying compiled executables and libraries from bin\Release to
>> bin\x86-nt.... Could not open bin\Release for reading.
>> Do you have permission to read it's contents?
>>
>> ------------------------------------------------------------
>> --------------------------------------------
>> Build an ant script using C:\Program Files (x86)\NetBeans
>> 8.0.2\extide\ant\bin\ant.bat
>> ---|>- Running command: "C:\Program Files (x86)\NetBeans
>> 8.0.2\extide\ant\bin\ant.bat" -quiet -buildfile Agents\JavaTTY\build.xml
>> default
>> Trying to override old definition of task http://www.netbeans.org/ns/j2s
>> e-project/3:javac
>>
>> Trying to override old definition of task http://www.netbeans.org/ns/j2s
>> e-project/3:depend
>>
>> Trying to override old definition of task http://www.netbeans.org/ns/j2s
>> e-project/3:junit
>>
>> Trying to override old definition of task http://www.netbeans.org/ns/j2s
>> e-project/1:nbjpdastart
>>
>> Trying to override old definition of task http://www.netbeans.org/ns/j2s
>> e-project/3:debug
>>
>> Trying to override old definition of task http://www.netbeans.org/ns/j2s
>> e-project/1:java
>>
>>   [javadoc] Warning: Leaving out empty argument '-windowtitle'
>>
>>   [javadoc] C:\Olympus\Agents\JavaTTY\src\edu\cmu\ravenclaw\javatty\DecoderInterpreter.java:30:
>> warning: no @param for jconsole
>>
>>   [javadoc]   public DecoderInterpreter(JConsole jconsole, JConsole
>> jconsoleWrite, DrawingPad pad) {
>>
>>   [javadoc]          ^
>>
>>   [javadoc] C:\Olympus\Agents\JavaTTY\src\edu\cmu\ravenclaw\javatty\DecoderInterpreter.java:30:
>> warning: no @param for jconsoleWrite
>>
>>   [javadoc]   public DecoderInterpreter(JConsole jconsole, JConsole
>> jconsoleWrite, DrawingPad pad) {
>>
>>   [javadoc]          ^
>>
>>   [javadoc] C:\Olympus\Agents\JavaTTY\src\edu\cmu\ravenclaw\javatty\DecoderInterpreter.java:30:
>> warning: no @param for pad
>>
>>   [javadoc]   public DecoderInterpreter(JConsole jconsole, JConsole
>> jconsoleWrite, DrawingPad pad) {
>>
>>   [javadoc]          ^
>>
>>   [javadoc] C:\Olympus\Agents\JavaTTY\src\edu\cmu\ravenclaw\javatty\JavaTTYServer.java:23:
>> warning: no @param for mainserver
>>
>>   [javadoc]     public JavaTTYServer(MainServer mainserver,
>> java.net.Socket socket) throws IOException {
>>
>>   [javadoc]            ^
>>
>>   [javadoc] C:\Olympus\Agents\JavaTTY\src\edu\cmu\ravenclaw\javatty\JavaTTYServer.java:23:
>> warning: no @param for socket
>>
>>   [javadoc]     public JavaTTYServer(MainServer mainserver,
>> java.net.Socket socket) throws IOException {
>>
>>   [javadoc]            ^
>>
>>   [javadoc] C:\Olympus\Agents\JavaTTY\src\edu\cmu\ravenclaw\javatty\JavaTTYServer.java:23:
>> warning: no @throws for java.io.IOException
>>
>>   [javadoc]     public JavaTTYServer(MainServer mainserver,
>> java.net.Socket socket) throws IOException {
>>
>>   [javadoc]            ^
>>
>>
>>
>> BUILD SUCCESSFUL
>>
>> Total time: 1 second
>>
>>
>> ------------------------------------------------------------
>> --------------------------------------------
>> Build an ant script using C:\Program Files (x86)\NetBeans
>> 8.0.2\extide\ant\bin\ant.bat
>> ---|>- Running command: "C:\Program Files (x86)\NetBeans
>> 8.0.2\extide\ant\bin\ant.bat" -quiet -buildfile Libraries\libOlympusUtility\
>> javaLibOlympusUtility\build.xml default
>>   [javadoc] Warning: Leaving out empty argument '-windowtitle'
>>
>>
>>
>> BUILD SUCCESSFUL
>>
>> Total time: 1 second
>>
>>
>> ------------------------------------------------------------
>> --------------------------------------------
>> Build an ant script using C:\Program Files (x86)\NetBeans
>> 8.0.2\extide\ant\bin\ant.bat
>> ---|>- Running command: "C:\Program Files (x86)\NetBeans
>> 8.0.2\extide\ant\bin\ant.bat" -quiet -buildfile Agents\MultiDecoder\
>> AMSwitcher\build.xml default
>>      [echo] To run this application from the command line without Ant,
>> try:
>>
>>      [echo] java -cp "C:\Olympus\Libraries\Galaxy\c
>> ontrib\MITRE\bindings\java\lib\galaxy.jar;C:\Olympus\Agents\MultiDecoder\
>> AMSwitcher\dist\AMSwitcher.jar" edu.cmu.olympus.amswitcher.AMSwitcher
>>
>>   [javadoc] Warning: Leaving out empty argument '-windowtitle'
>>
>>   [javadoc] C:\Olympus\Agents\MultiDecoder\AMSwitcher\src\edu\cmu\
>> olympus\amswitcher\AMSwitcher.java:163: warning: no description for
>> @param
>>
>>   [javadoc]      * @param name
>>
>>   [javadoc]        ^
>>
>>   [javadoc] C:\Olympus\Agents\MultiDecoder\AMSwitcher\src\edu\cmu\
>> olympus\amswitcher\AMSwitcher.java:53: warning: no @param for
>> switcherHook
>>
>>   [javadoc]     public AMSwitcher(AMSwitcherHook switcherHook) {
>>
>>   [javadoc]            ^
>>
>>   [javadoc] C:\Olympus\Agents\MultiDecoder\AMSwitcher\src\edu\cmu\
>> olympus\amswitcher\AMSwitcherHook.java:15: warning: no @param for
>> acousticModel
>>
>>   [javadoc]     public void switchTo(String acousticModel);
>>
>>   [javadoc]                 ^
>>
>>
>>
>> BUILD SUCCESSFUL
>>
>> Total time: 1 second
>>
>>
>> ------------------------------------------------------------
>> --------------------------------------------
>> Build an ant script using C:\Program Files (x86)\NetBeans
>> 8.0.2\extide\ant\bin\ant.bat
>> ---|>- Running command: "C:\Program Files (x86)\NetBeans
>> 8.0.2\extide\ant\bin\ant.bat" -quiet -buildfile
>> Agents\File2GFrames\build.xml default
>> Trying to override old definition of task http://www.netbeans.org/ns/j2s
>> e-project/3:javac
>>
>> Trying to override old definition of task http://www.netbeans.org/ns/j2s
>> e-project/3:depend
>>
>> Trying to override old definition of task http://www.netbeans.org/ns/j2s
>> e-project/3:junit
>>
>> Trying to override old definition of task http://www.netbeans.org/ns/j2s
>> e-project/1:nbjpdastart
>>
>> Trying to override old definition of task http://www.netbeans.org/ns/j2s
>> e-project/3:debug
>>
>> Trying to override old definition of task http://www.netbeans.org/ns/j2s
>> e-project/1:java
>>
>>   [javadoc] Warning: Leaving out empty argument '-windowtitle'
>>
>>   [javadoc] C:\Olympus\Agents\File2GFrames\src\edu\cmu\olympus\
>> file2gframes\File2GFramesServer.java:35: warning: no @param for
>> mainserver
>>
>>   [javadoc]     public File2GFramesServer(MainServer mainserver,
>> java.net.Socket socket)
>>
>>   [javadoc]            ^
>>
>>   [javadoc] C:\Olympus\Agents\File2GFrames\src\edu\cmu\olympus\
>> file2gframes\File2GFramesServer.java:35: warning: no @param for socket
>>
>>   [javadoc]     public File2GFramesServer(MainServer mainserver,
>> java.net.Socket socket)
>>
>>   [javadoc]            ^
>>
>>   [javadoc] C:\Olympus\Agents\File2GFrames\src\edu\cmu\olympus\
>> file2gframes\File2GFramesServer.java:35: warning: no @throws for
>> java.io.IOException
>>
>>   [javadoc]     public File2GFramesServer(MainServer mainserver,
>> java.net.Socket socket)
>>
>>   [javadoc]            ^
>>
>>
>>
>> BUILD SUCCESSFUL
>>
>> Total time: 1 second
>>
>>
>>
>>
>> ============================================================
>> ====================
>> Build SUMMARY
>>
>> Could not open bin\Release for reading.
>> Do you have permission to read it's contents?
>>
>>
>> time: 0:08
>> ============================================================
>> ====================
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.srv.cs.cmu.edu/pipermail/olympus-developers/attachments/20150214/a36de434/attachment-0001.html>


More information about the Olympus-developers mailing list