Error using TCC: "Label not found"

May 5, 2010
9
0
We're starting using Mule ESB at work and when I try to start it within TCC, I get a "Label not found" error. It works well using the standard Windows command prompt. In fact the error I get is "Label non trouvé" because my system is in french, but I guess the error would be "Label not found" on an english system.

The error is very easy to reproduce:

1. Download MuleESB : http://dist.codehaus.org/mule/distributions/mule-standalone-3.1.1.zip

2. Unzip it to C:\mule-standalone-3.1.1

3. In TCC, go to C:\mule-standalone-3.1.1\bin and run "mule.bat"

4. Error:

Code:
TCC: C:\mule-standalone-3.1.1\bin\mule.bat [153]  Label non trouvé ":console"
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,461
88
Albuquerque, NM
prospero.unm.edu
The issue isn't where the error message suggests. What I think is going on here is:

In line 73, variable COMMAND is set to value ":console".

Line 108 is call :%COMMAND%
which works out to call ::console

No label matches that string -- no label can match that string -- so you get an error message. How it fails to malfunction in CMD.EXE I don't know....

I suspect that removing the colon from line 73 would be a short-term solution. But it would probably be better to rewrite the whole mess as a .BTM.
 
Aug 9, 2009
229
1
AND Why would anyone want to download a 65mb file just to find the bat
file is C.R.A.P
you could just post the offending batch file.. Like Charles said
re-write it in a real batch language


> -----Original Message-----
> From: electrotype [mailto:]
> Sent: Wednesday, 16 March 2011 3:23 a.m.
> Subject: [Support-t-2677] Error using TCC: "Label not found"
>
>
> We're starting using Mule ESB at work and when I try to start
> it within TCC, I get a "Label not found" error. It works well
> using the standard Windows command prompt. In fact the error
> I get is "Label non trouvé" error because my system is in
> french, but I guess the error would be "Label not found" on
> an english system.
>
> The error is very easy to reproduce:
>
> 1. Download MuleESB :
> http://dist.codehaus.org/mule/distributions/mule-standalone-3.1.1.zip
>
> 2. Unzip it to C:\mule-standalone-3.1.1
>
> 3. In TCC, go to C:\mule-standalone-3.1.1\bin and run "mule.bat"
>
> 4. Error:
>
>
> Code:
> ---------
> TCC: C:\mule-standalone-3.1.1\bin\mule.bat [153] Label non
> trouvé ":console"
> ---------
>
>
>
 
May 20, 2008
3,515
4
Elkridge, MD, USA
---- Original Message ----
From: Kachupp
To: ESFabian@zenge.org
Sent: Tuesday, 2011. March 15. 12:05
Subject: RE: [Support-t-2677] Error using TCC: "Label not found"

| AND Why would anyone want to download a 65mb file just to find the bat
| file is C.R.A.P
| you could just post the offending batch file.. Like Charles said
| re-write it in a real batch language

65 millibit file? That's really tiny! While I agree that posting just the batch file would be sufficient for the experts among us in this forum, there are definite benefits to making the whole failing project available for examination. And as to the original .BAT file - not all customers of the vendor are sophisticated enough to have obtained the JP Software, Inc. product, so they must sell to the lowest common denominator - Microsoft Windows' command processor, which tolerates different syntax errors than TCC. If your development tool processes invalid code the way you want it done, you will not detect the errors it contains. For example, it tests for "windows nt" command processor, but if it finds something else, it uses WinNT syntax to quit (goto :EOF - where the :EOF label is implied only, a feature in CMD.EXE but not in COMMAND.COM). If you have only WinNT platforms on which to test, you'll never detect the wrong syntax.

Please be more respectful of other people's code, even if it were truly appallingly poor quality. If it works in the environment for which it is intended it is OK!
--
Steve
 
Aug 9, 2009
229
1
> ---- Original Message ----
> From: Kachupp
> To: ESFabian@zenge.org
> Sent: Tuesday, 2011. March 15. 12:05
> Subject: RE: [Support-t-2677] Error using TCC: "Label not found"
>
> | AND Why would anyone want to download a 65mb file just to
> find the bat
> | file is C.R.A.P
> | you could just post the offending batch file.. Like Charles said
> | re-write it in a real batch language
>
> Please be more respectful of other people's code, even if it
> were truly appallingly poor quality. If it works in the
> environment for which it is intended it is OK!
> --
> Steve

I don't think its ok! Rexx gets, everyone [even seasoned 4nt/tcc/tc]
users "batch's" not working as intended why?
When I said dl 65MegaByte (to) I'm not interested. 65k I'd look at!
"send the offending batch"!~

Respects
Kach
 
Similar threads
Thread starter Title Forum Replies Date
S How to? How do I distinguish missing source file from download error when using HTTP? Support 6
C Copy (sys) error Support 3
T Error: This page can’t be displayed Make sure the web address //ieframe.dll/dnserrordiagoff.htm# is correct. Support 8
kb6ojs How to? "Specified Account Already Exists" error installing TCMD v27 Support 12
samintz How to? Abort on error DO loop Support 10
mfarah Fixed The DATE command produces the wrong error message. Support 1
vefatica ON ERROR terminates DO loop. Support 0
C Google intregration error Support 4
C FB intregration error Support 0
gworley rd (Remove Directory) gives interesting error: Support 2
D How to? Skip removing directory (RMDIR) without error message Support 2
Dmitry L. Kobyakov Documentation Error in the Help: the WINDOW command Support 0
M Strange error messages from TCC in FTP copy Support 7
vefatica Error message from TOUCH Support 2
R FIND command error Support 9
fpefpe Python dll error Support 3
D error in help documentation? Support 0
R FOR usage error from TCC but not from CMD Support 16
K_Meinhard Help file error Support 1
X small translation error. Support 0
W pdir returns diff results between tcc and tcmd - one is an error msg Support 5
Dmitry L. Kobyakov From old version: had the setup's error been corrected? Support 6
vefatica Why no error message? Support 2
vefatica ON ERROR and pipes? Support 8
MickeyF Why does this batch file give me 'unknown command "else"' error? Support 17
Joe Caverly TASKDIALOG Help link error Support 1
J Error "Contents lost before copy" Support 3
vefatica What's causing this error? Support 4
vefatica Error 203? Support 4
C Activation Error. Support 2
J Error running Python at command line Support 9
Joe Caverly PSHELL Error? Support 16
M Fixed PSHELL command returns error Support 2
vefatica REGDIR, strange error message Support 7
O Error in plugin /u Support 2
O TPIPE: Error -Can´t access textpipeengine.dll Support 24
fpefpe How to? script error Support 1
fpefpe How to? script error Support 0
D Error 0xc0000142 and FAR Manager Support 10
F Powershell call fails with "Scripting Integrator 2016 (PowerShell)" license error Support 9
cgunhouse FTP Error Support 5
C How to? Error updating from 20.00.16 to 20.00.21 Support 10
vefatica Missing post and security error Support 4
samintz Documentation TCANSI error Support 8
vefatica WAD ON ERROR GOTO ... Support 11
dcantor Documentation Documentation error in UNSET Support 0
vefatica Error updating Support 2
C tpipe /simple=28 error Support 5
B Fixed Error messages from TCMD.INI Support 2
Alpengreis [Bug?] View (V) Prefs Error (TC 18.00.27 x64) Support 4

Similar threads