PocketSphinx runtime error in log file - cmusphinx

I am working on PocketSphinx. While running it, it shows some error in a log file. I can't understand them; what do they mean? Here are the errors:
{ ERROR: "forward.c", line 594: All 2 active states, 36 37, zero at time 1
ERROR: "baum_welch.c", line 324: male1/eight ignored
16 0
INFO: cmn.c(133): CMN: 1736.53 3228.30 -899.98 2679.72 -1582.93 -1126.47 -1513.65 -335.25 -1766.16 3463.14 2127.38 -979.71 2194.59
WARN: "corpus.c", line 1481: Utterance id in the transcription file, 'male1/five', does not match id in the control file, 'five'.
ERROR: "forward.c", line 594: All 2 active states, 36 37, zero at time 1
ERROR: "baum_welch.c", line 324: male1/five ignored
utt> 1 five 140 0 20 0
INFO: cmn.c(133): CMN: -798.98 2317.53 -5785.50 5469.77 -6605.24 -5970.96 -792.98 1046.92 -622.59 -6760.83 -853.49 -653.04 6555.86
WARN: "corpus.c", line 1481: Utterance id in the transcription file, 'male1/four', does not match id in the control file, 'four'.
ERROR: "forward.c", line 594: All 2 active states, 36 37, zero at time 1
ERROR: "baum_welch.c", line 324: male1/four ignored
utt> 2 four 77 0 20 0
INFO: cmn.c(133): CMN: 2708.64 -2833.31 4465.99 -2474.95 4256.10 -3710.75 1517.68 -3744.27 217.52 -3049.00 4280.67 3826.02 313.39
WARN: "corpus.c", line 1481: Utterance id in the transcription file, 'male1/nine', does not match id in the control file, 'nine'.
ERROR: "forward.c", line 594: All 2 active states, 36 37, zero at time 1
ERROR: "baum_welch.c", line 324: male1/nine ignored
utt> 3 nine 117 0 20 0
INFO: cmn.c(133): CMN: 4367.13 534.72 1667.75 -2840.18 2580.05 2861.98 2442.50 4493.30 2685.47 2841.25 -2529.57 -2752.00 -1507.38
WARN: "corpus.c", line 1481: Utterance id in the transcription file, 'male1/one', does not match id in the control file, 'one'.
ERROR: "forward.c", line 594: All 2 active states, 36 37, zero at time 1
ERROR: "baum_welch.c", line 324: male1/one ignored
utt> 4 one 110 0 20 0
INFO: cmn.c(133): CMN: -3718.15 -127.92 -3321.35 -1311.25 -1532.32 -1533.98 3016.80 -430.44 -1817.81 -1350.10 -1727.87 -2011.16 2224.16
WARN: "corpus.c", line 1481: Utterance id in the transcription file, 'male1/seven', does not match id in the control file, 'seven'.
ERROR: "forward.c", line 594: All 2 active states, 36 37, zero at time 1
ERROR: "baum_welch.c", line 324: male1/seven ignored
utt> 5 seven 122 0 28 0
INFO: cmn.c(133): CMN: -5035.38 -5103.44 -3878.29 -5700.23 -5596.67 -5654.61 -4015.24 -98.45 -5181.37 1043.58 54.60 5486.20 5289.32
WARN: "corpus.c", line 1481: Utterance id in the transcription file, 'male1/six', does not match id in the control file, 'six'.
ERROR: "forward.c", line 594: All 2 active states, 36 37, zero at time 1
ERROR: "baum_welch.c", line 324: male1/six ignored
utt> 6 six 91 0 24 0
INFO: cmn.c(133): CMN: -387.01 -1261.31 -2724.07 -890.98 2247.32 3631.96 1860.44 -129.39 2424.72 4224.40 -2736.33 2732.74 -2814.56
WARN: "corpus.c", line 1481: Utterance id in the transcription file, 'male1/ten', does not match id in the control file, 'ten'.
ERROR: "forward.c", line 594: All 2 active states, 36 37, zero at time 1
ERROR: "baum_welch.c", line 324: male1/ten ignored
utt> 7 ten 108 0 20 0
INFO: cmn.c(133): CMN: -1375.65 -3763.73 159.53 -2580.91 3806.55 -3326.88 -3192.88 2013.50 -3951.76 -2264.89 -3697.22 330.14 -4154.19
WARN: "corpus.c", line 1481: Utterance id in the transcription file, 'male1/three', does not match id in the control file, 'three'.
ERROR: "forward.c", line 594: All 2 active states, 36 37, zero at time 1
ERROR: "baum_welch.c", line 324: male1/three ignored
utt> 8 three 123 0 20 0
INFO: cmn.c(133): CMN: -660.11 -3743.96 697.49 242.08 -1517.09 -1629.75 6370.77 563.54 5316.62 2227.69 221.45 -547.87 -5667.59
WARN: "corpus.c", line 1481: Utterance id in the transcription file, 'male1/two', does not match id in the control file, 'two'.
ERROR: "forward.c", line 594: All 2 active states, 36 37, zero at time 1
ERROR: "baum_welch.c", line 324: male1/two ignored
}

The error means input audio has wrong format. It has to be 16khz 16bit mono PCM WAV file.

Related

installation errors for Perl Spreadsheet::Write

I'm trying to install Spreadsheet::Write using Strawberry Perl but getting an error. Please help if you can.
perl -v reports
This is perl 5, version 32, subversion 1 (v5.32.1) built for MSWin32-x64-multi-thread
Spreadsheet::Write is failing the tests with the error message "Spreadsheet data does not match reference for 'csv'":
Running make test for AMALTSEV/Spreadsheet-Write-1.03.tar.gz
"C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/all_tests.t .. ====== Expected:
Column1,Column#2,"Column 3","Column 4"
1,"Cell #2/1",C.3/1,"C.4/1/Γÿ║"
2,"Cell #2/2",C.3/2,"C.4/2/Γÿ║"
======
====== Expected:
Column1,Column#2,"Column 3","Column 4"
1,"Cell #2/1",C.3/1,"C.4/1/Γÿ║"
2,"Cell #2/2",C.3/2,"C.4/2/Γÿ║"
======
# t\tlib/Common.pm:79 - WriteCSVTest(test_text_format)
# Boolean assertion failed
# Spreadsheet data does not match reference for 'csv'
# at t\tlib/Common.pm line 79, <DATA> line 1.
# Common::spreadsheet_test(WriteCSVTest=HASH(0x2686580), "csv", GLOB(0x2692390)) called at t\tlib/WriteCSVTest.pm line 15
# WriteCSVTest::test_text_format(WriteCSVTest=HASH(0x2686580)) called at C:/Strawberry/perl/site/lib/Test/Unit/Lite.pm line 602
# eval {...} called at C:/Strawberry/perl/site/lib/Test/Unit/Lite.pm line 601
# Test::Unit::TestSuite::run(Test::Unit::TestSuite=HASH(0x2685e30), Test::Unit::Result=HASH(0x2685e60), Test::Unit::HarnessUnit=HASH(0x78a960)) called at C:/Strawberry/perl/site/lib/Test/Unit/Lite.pm line 750
# Test::Unit::TestRunner::start(Test::Unit::HarnessUnit=HASH(0x78a960), "Test::Unit::Lite::AllTests") called at t/all_tests.t line 23
t/all_tests.t .. Failed 1/3 subtests

How do I fix USER FATAL MESSAGE 740?

How do I fix USER FATAL MESSAGE 740? This error is generated by Nastran when I try to run a BDF/DAT file of mine.
*** USER FATAL MESSAGE 740 (RDASGN)
UNIT NUMBER 5 HAS ALREADY BEEN ASSIGNED TO THE LOGICAL NAME INPUT
USER ACTION: CHANGE THE UNIT NUMBER ON THE ASSIGN STATEMENT AND IF THE UNIT IS USED FOR
PARAM,POST,<0 THEN SPECIFY PARAM,OUNIT2 WITH THE NEW UNIT NUMBER.
AVOID USING THE FOLLOWING UNIT NUMBERS THAT ARE ASSIGNED TO SPECIAL FILES IN MSC.NASTRAN:
1 THRU 12, 14 THRU 22, 40, 50, 51, 91, 92. SEE THE MSC.NASTRAN INSTALLATIONS/OPERATIONS
GUIDE SECTION ON MAKING FILE ASSIGNMENTS OR MSC.NASTRAN QUICK REFERENCE GUIDE ON
ASSIGN PHYSICAL FILE FOR REFERENCE.
Below is the head of my BDF file.
assign userfile='SUB1_PLATE.csv', status=UNKNOWN, form=formatted, unit=52
SOL 200
CEND
ECHO = NONE
DESOBJ(MIN) = 35
set 30=1008,1007,1015,1016
DESMOD=SUB1_PLATE
SUBCASE 1
$! Subcase name : DefaultLoadCase
$LBCSET SUBCASE1 DefaultLbcSet
ANALYSIS = STATICS
SPC = 1
LOAD = 6
DESSUB = 99
DISPLACEMENT(SORT1,PLOT,REAL)=ALL
STRESS(SORT1,PLOT,VONMISES,CORNER)=ALL
BEGIN BULK
param,xyunit,52
[...]
ENDDATA
Below is the solution
Correct
assign userfile='SUB1_PLAT.csv', status=UNKNOWN, form=formatted, unit=52
I shortened the name of CSV file to SUB1_PLAT.csv. This reduced the length of the line to 72 characters.
Incorrect
assign userfile='SUB1_PLATE.csv', status=UNKNOWN, form=formatted, unit=52
The file management section is limited to 72 characters, spaces included. The incorrect line stretches 73 characters. The nastran reader ignores the 73rd character and on. Instead of reading "unit=52" the reader reads "unit=5" which triggers the error.
|<--------------------- 72 Characters -------------------------------->||<- Characters are ignored truncated ->
assign userfile='SUB1_PLATE.csv', status=UNKNOWN, form=formatted, unit=52
References
MSC Nastran Reference Guide
The records of the first four sections are input in free-field format
and only columns 1 through 72 are used for data. Any information in
columns 73 through 80 may appear in the printed echo, but will not be
used by the program. If the last character in a record is a comma,
then the record is continued to the next record.

What does number after semicolon mean in Nodejs error message?

If there is a type error in Nodejs at line 300 of app.js for example. The error message in the console will show up as
TypeError: Cannot read property at postMovement
(C:\Users\David\app.js:300:94)
300 is the line where there is the error message. What does the 94 at the end mean?
It represents the column i.e. line 300 column 94

Problem with extracting BioPerl-1.6.1.tar.gz when running VEP's INSTALL.pl script

I'm trying to install version 77 of Variant Effect Predictor (VEP) on a linux machine and keep encountering errors when running perl INSTALL.pl. After resolving an error with missing the perl module Archive::Extract, I ran into this error:
Hello! This installer is configured to install v77 of the Ensembl API for use by the VEP.
It will not affect any existing installations of the Ensembl API that you may have.
It will also download and install cache files from Ensembl's FTP server.
Checking for installed versions of the Ensembl API...done
Setting up directories
Downloading required files
- fetching ensembl
** GET https://github.com/Ensembl/ensembl/archive/release/77.zip ==> 501 Protocol scheme 'https' is not supported (LWP::Protocol::https not installed)
** GET https://github.com/Ensembl/ensembl/archive/release/77.zip ==> 501 Protocol scheme 'https' is not supported (LWP::Protocol::https not installed)
Trying to fetch using curl
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 124 0 124 0 0 730 0 --:--:-- --:--:-- --:--:-- 729
100 10.7M 0 10.7M 0 0 3535k 0 --:--:-- 0:00:03 --:--:-- 4859k
- unpacking ./Bio/tmp/ensembl.zip
- moving files
- fetching ensembl-variation
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 134 0 134 0 0 737 0 --:--:-- --:--:-- --:--:-- 740
100 3986k 0 3986k 0 0 4378k 0 --:--:-- --:--:-- --:--:-- 7182k
- unpacking ./Bio/tmp/ensembl-variation.zip
- moving files
- fetching ensembl-funcgen
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 132 0 132 0 0 798 0 --:--:-- --:--:-- --:--:-- 800
100 2016k 0 2016k 0 0 3354k 0 --:--:-- --:--:-- --:--:-- 5156k
- unpacking ./Bio/tmp/ensembl-funcgen.zip
- moving files
- fetching BioPerl
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 178 100 178 0 0 2695 0 --:--:-- --:--:-- --:--:-- 2738
100 9340 100 9340 0 0 46698 0 --:--:-- --:--:-- --:--:-- 46698
- unpacking ./Bio/tmp/BioPerl-1.6.1.tar.gz
Invalid header block at offset unknown at /usr/local/share/perl/5.22.1/Archive/Extract.pm line 893.
Invalid header block at offset unknown at /usr/local/share/perl/5.22.1/Archive/Extract.pm line 893.
Invalid header block at offset unknown at /usr/local/share/perl/5.22.1/Archive/Extract.pm line 893.
Invalid header block at offset unknown at /usr/local/share/perl/5.22.1/Archive/Extract.pm line 893.
Invalid header block at offset unknown at /usr/local/share/perl/5.22.1/Archive/Extract.pm line 893.
Invalid header block at offset unknown at /usr/local/share/perl/5.22.1/Archive/Extract.pm line 893.
Invalid header block at offset unknown at /usr/local/share/perl/5.22.1/Archive/Extract.pm line 893.
Invalid header block at offset unknown at /usr/local/share/perl/5.22.1/Archive/Extract.pm line 893.
Invalid header block at offset unknown at /usr/local/share/perl/5.22.1/Archive/Extract.pm line 893.
Invalid header block at offset unknown at /usr/local/share/perl/5.22.1/Archive/Extract.pm line 893.
Invalid header block at offset unknown at /usr/local/share/perl/5.22.1/Archive/Extract.pm line 893.
Invalid header block at offset unknown at /usr/local/share/perl/5.22.1/Archive/Extract.pm line 893.
Invalid header block at offset unknown at /usr/local/share/perl/5.22.1/Archive/Extract.pm line 893.
Invalid header block at offset unknown at /usr/local/share/perl/5.22.1/Archive/Extract.pm line 893.
Invalid header block at offset unknown at /usr/local/share/perl/5.22.1/Archive/Extract.pm line 893.
Invalid header block at offset unknown at /usr/local/share/perl/5.22.1/Archive/Extract.pm line 893.
Invalid header block at offset unknown at /usr/local/share/perl/5.22.1/Archive/Extract.pm line 893.
Invalid header block at offset unknown at /usr/local/share/perl/5.22.1/Archive/Extract.pm line 893.
Unable to extract '/opt/vep/src/ensembl-vep/ensembl-tools-release-77/scripts/variant_effect_predictor/Bio/tmp/BioPerl-1.6.1.tar.gz': Invalid header block at offset unknown at INSTALL.pl line 905.
Error listing contents of archive '/opt/vep/src/ensembl-vep/ensembl-tools-release-77/scripts/variant_effect_predictor/Bio/tmp/BioPerl-1.6.1.tar.gz': /bin/tar: This does not look like a tar archive
/bin/tar: Skipping to next header
/bin/tar: Exiting with failure status due to previous errors
at INSTALL.pl line 905.
Extract failed due to errors at INSTALL.pl line 905.
Can't call method "error" on an undefined value at INSTALL.pl line 905.
And line 905 of the INSTALL.pl script is:
900 # unpack a tarball
901 sub unpack_arch {
902 my ($arch_file, $dir) = #_;
903
904 my $ar = Archive::Extract->new(archive => $arch_file);
905 my $ok = $ar->extract(to => $dir) or die $ae->error;
906 unlink($arch_file);
907 }
I'm not familiar enough with perl to know what's going wrong exactly, but I tried un-taring the BioPerl-1.6.1.tar.gz myself with tar -xvzf and that did not work. How can I resolve this issue?
this archive seems corrupted : /opt/vep/src/ensembl-vep/ensembl-tools-release-77/scripts/variant_effect_predictor/Bio/tmp/BioPerl-1.6.1.tar.gz
/bin/tar is giving you an error "/bin/tar: This does not look like a tar archive"
can you replace this file or delete it and restart the installation?

HaxeFlixel findPath

I've got a little problem with the findPath function.
I'm working with a mix of two tutorials (one from Haxeflixel, and the second from haxecoder) and the second one uses CSV instead of Ogmo and uses a findPath when we click.
But when I click, the game crashes, nice.
This is my code: http://hastebin.com/xunidubiyi.avrasm
The problem is on the 86th line (split into multiple lines to fit the width):
var nodes:Array<FlxPoint> = _mWalls.findPath(
FlxPoint.get(
_player.x + 16 / 2,
_player.y + 16 / 2
),
FlxPoint.get(
tileCoordX * 16 + 16 / 2,
tileCoordY * 16 + 16 / 2
)
);
Output:
Invalid field access : allowCollisions
Called from flixel.tile.FlxTilemap::computePathDistance line 1806
Called from flixel.tile.FlxTilemap::findPath line 796
Called from PlayState::update line 87
Called from flixel.FlxState::tryUpdate line 155
Called from flixel.FlxGame::update line 700
Called from flixel.FlxGame::step line 648
Called from flixel.FlxGame::onEnterFrame line 493
Called from openfl._legacy.events.EventDispatcher::dispatchEvent line 98
Called from openfl._legacy.display.DisplayObject::__dispatchEvent line 182
Called from openfl._legacy.display.DisplayObject::__broadcast line 161
Called from openfl._legacy.display.DisplayObjectContainer::__broadcast line 286
Called from openfl._legacy.display.Stage::__render line 1103
Called from openfl._legacy.display.Stage::__checkRender line 351
Called from openfl._legacy.display.Stage::__pollTimers line 1084
Called from openfl._legacy.display.Stage::__doProcessStageEvent line 430
Done(1)
Does anybody know what went wrong and why?

Resources