University of Southern CaliforniaUSC
USC ICT TwitterUSC ICT FacebookUSC ICT YouTube

text-to-speech relay (TTSRelayGui.exe) problems on SmartBody Windows SDK fixed | General SmartBody Discussion | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
text-to-speech relay (TTSRelayGui.exe) problems on SmartBody Windows SDK fixed
August 16, 2014
6:34 pm
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

Hi,

It looks like the TTSRelayGui.exe was crashing from the Windows SDK distribution (in the menu, choosing Windows->Speech Relay).

This can be fixed by downloading the following two files and place them in the bin/ directory:

 

http://smartbody.ict.usc.edu/s.....valDLL.dll

http://smartbody.ict.usc.edu/s.....sg-net.dll

 

Ari

August 17, 2014
5:11 pm
Avatar
Luxembourg
Member
Members
Forum Posts: 5
Member Since:
August 17, 2014
sp_UserOfflineSmall Offline

Hello,

I added the FestivalDLL.dll and vhmsg-net.dll files to the bin directory of the SmartBody SDK Windows 32-bit .exe (release version 5615), but the TTSRelayGui.exe is still crashing, on my both Windows computers (Wndows 7-32bit and Windows 7-64bit).

Marco Barnig

August 17, 2014
7:09 pm
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

Hmmm..

 

The tts relay communicates over ActiveMQ. Do you have an ActiveMQ server installed on the machine?

You can download it from 

http://activemq.apache.org/download.html

 

Let me know if that fixes your problem.

 

Ari

August 18, 2014
8:22 am
Avatar
Luxembourg
Member
Members
Forum Posts: 5
Member Since:
August 17, 2014
sp_UserOfflineSmall Offline

Thank you for your reply.

I had no ActiveMQ server installed on my machines for two reasons :

1. I read in the manual (page 190 ) that you can run Smartbody without ActiveMQ server

2. The bin directory of the Windows distribution contains the files

  • activemq-cpp.dll
  • activemq-cppd.dll
  • Apache.NMS.ActiveMQ.dll
  • Apache.NMS.dll

Now I installed and run succesfully the ActiveMQ server versions 5.9.1 and 5.4.3 (referenced in the manual). In both cases the result is the same : TTSRelayGui.exe crashes.

In a next step I will try to build a Windows system from the sources to better understand the Smartbody architecture. I will keep you informed about my progress.

Marco Barnig, Luxembourg

August 19, 2014
12:24 am
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

Can I ask on what path you installed the SmartBody SDK?

Ari

August 19, 2014
1:11 pm
Avatar
Luxembourg
Member
Members
Forum Posts: 5
Member Since:
August 17, 2014
sp_UserOfflineSmall Offline

My installation was the following :

French Windows 7 (32bit) Service Pack 1 :  K:/SmartBody/       (external drive)

French Windows 7 (64bit) Service Pack 1 : C:/Program Files(x86)/SmartBody/

After freeing some space up on my C drive, I now did new installations :

(32bit) : C:/user/barnig/documents/SmartBody/       (path proposed by the SDK)

(64bit) : C:/SmartBody

The problem remains, no change, with or without running the ActiveMQ server.

 

Marco Barnig

August 20, 2014
12:59 pm
Avatar
Luxembourg
Member
Members
Forum Posts: 5
Member Since:
August 17, 2014
sp_UserOfflineSmall Offline

Hi Ari,

after a few days struggle with VS SP1 and numerous updates, I was finally able to install Visual Studio 2010 on my two Windows 7 computers. I run the first tutorials for beginners with success.

A great feature of VS is the Just-In-Time debugger, which is enabled by default and which provides the following informations in the case of a TtsRelayGui crash on the 32bit or 64bit Windows 7 computer:

An unhandled exception ("SystemBadImageFormarException") occured in TtsRelayGui.exe[3740]

Call Stack location:

TtsRelayGui.exe!TtsRelayGui.Program:main(string[]args) + 0x3a bytes

'TtsRelayGui.exe' (Managed (v2.0.50727)): Loaded 'C:\Windows\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll'

'TtsRelayGui.exe' (Managed (v2.0.50727)): Loaded 'C:\Windows\assembly\GAC_MSIL\mscorlib.resources\2.0.0.0_fr_b77a5c561934e089\mscorlib.resources.dll'

'TtsRelayGui.exe' (Managed (v2.0.50727)): Loaded 'K:\smartbody\bin\TtsRelayGui.exe'

An unhandled exception of type 'System.BadImageFormatException' occurred in TtsRelayGui.exe

Additional information: Impossible de charger le fichier ou l'assembly 'vhmsg-net, Version=1.0.5249.24448, Culture=neutral, PublicKeyToken=null' ou une de ses dépendances. Le module était censé contenir un manifeste de l'assembly.

The program '[4024] TtsRelayGui.exe: Managed (v2.0.50727)' has exited with code -532459699 (0xe0434f4d).

Actually I have not yet the necessary knowledge to understand these informations, but I hope you have some hints what to try next.

I continue my efforts to set up a complete development system to build SmartBody from sources.

SmartBody is really an outstanding project. I am impressed by the great features implemented in the platform.

best regards,

Marco Barnig

August 21, 2014
7:47 pm
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

Not sure what is happening here. Perhaps we can skype and I can try to work online with you to figure out what is happening?

My email is: shapiro@ict.usc.edu

 

You can contact me directly for this.

 

Ari

August 21, 2014
8:46 pm
Avatar
Luxembourg
Member
Members
Forum Posts: 5
Member Since:
August 17, 2014
sp_UserOfflineSmall Offline

Thank you.

I will contact you soon.

best regards,

Marco

September 30, 2014
12:45 pm
Avatar
Member
Members
Forum Posts: 29
Member Since:
September 30, 2014
sp_UserOfflineSmall Offline

Hi,

I ran into the TTS relay crash problem. But when I try to download the DLLs to fix it, I get a 500 server error. Is the link dead ?

Thanks,

Pierre

November 6, 2014
1:45 am
Avatar
Member
Members
Forum Posts: 21
Member Since:
July 16, 2014
sp_UserOfflineSmall Offline

Hi,

I have the same problem; my relay speech gui crashes! And, the links for the dlls are not working. Would you please update the links or give me any solutions? Thanks

November 6, 2014
3:31 am
Avatar
Member
Members
Forum Posts: 21
Member Since:
July 16, 2014
sp_UserOfflineSmall Offline

I forgot to mention, I am using SmartBody on Windows7-64

November 6, 2014
10:26 pm
Avatar
Member
Members
Forum Posts: 29
Member Since:
September 30, 2014
sp_UserOfflineSmall Offline

Hi najemhs,

I found a way to get these missing DLLs that caused the crash: I downloaded the virtual human toolkit (https://vhtoolkit.ict.usc.edu/), which is also developped at USC ICT and copied the DLLs from there to my SmartBody install dir/bin.

I hope it helps.

Cheers,

 

Pierre

November 7, 2014
8:47 pm
Avatar
Member
Members
Forum Posts: 21
Member Since:
July 16, 2014
sp_UserOfflineSmall Offline

Hey Pierre,

I really appreciate your help. You were right. I could solve the problem by copying the dlls from the ttsRelay from VHtoolkit. Many Thanks

November 10, 2014
11:15 pm
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

I suspect that the crash is related to the festival libraries that I generally don't use on Windows, but didn't include in the SDK.

 

Ari

February 10, 2015
2:46 am
Avatar
Member
Members
Forum Posts: 52
Member Since:
December 9, 2014
sp_UserOfflineSmall Offline

I experience the same problem but it's not about crashing.It says that it cannot be loaded and Festival voice error. 

February 11, 2015
11:52 pm
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

What platform are you using? Which version of SmartBody?

February 12, 2015
2:49 am
Avatar
Member
Members
Forum Posts: 52
Member Since:
December 9, 2014
sp_UserOfflineSmall Offline

Smartbody r5919 after installing. 

February 13, 2015
9:54 pm
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

Oh, right.

I didn't include the festival voices in the SmartBody Windows SDK distributable (although they are available through the SmartBody SVN code) since the Windows SAPI voice system gives pretty good results, and you can buy any number of voices for it, from, for example, Cereproc (https://www.cereproc.com/) or Acapela (http://www.acapela-group.com/) or Ivona (www.ivona.com).

After you install a SAPI voice, when you run the TTSRelayGUI.exe program, you will see a list of valid voices. On Windows 7, the built-in voice is Microsoft|Anna, on Windows 8 there are three voices (Microsoft|David|Desktop, Microsoft|Hazel|Desktop, Microsoft|Zira|Desktop). You need to set the string attribute 'voiceCode' on the character to one of those strings, and set the 'voice' attribute to 'remote'.

Ari

February 16, 2015
2:01 am
Avatar
Member
Members
Forum Posts: 52
Member Since:
December 9, 2014
sp_UserOfflineSmall Offline

I cannot find  Smartbody SVN in sourceforge. 

February 16, 2015
4:27 pm
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

It's here:

sourceforge.net/projects/smartbody

Ari

Forum Timezone: America/Los_Angeles

Top Posters:

jwwalker: 80

jyambao: 52

rbaral: 47

adiaz: 30

WargnierP: 29

lucky7456969: 28

mbarros: 28

avida.matt: 26

JonathanW: 24

laguerre: 23

Member Stats:

Guest Posters: 67

Members: 99543

Moderators: 3

Admins: 4

Forum Stats:

Groups: 1

Forums: 5

Topics: 458

Posts: 2401