Help - Search - Members - Calendar
Full Version: MP3Gain Error
Hydrogenaudio Forums > Lossy Audio Compression > MP3 > MP3 - General
britannica
I'm getting an error in MP3Gain when 'Radio Analysing' a file I cut using MP3Direct cut.

"Error 91 in txtProgWatch_Change(MP3Gain): Objectvariable or With block variable not set"

The error dialog occurs twice - and if I click 'OK' the analysis completes - but I haven't applied the gain in case it spoils the file.

Any ideas what is causing the error ? File was encoded at 160 ABR, is 31 minutes long and I have listened through it once without hearing any audible defects.

ß
cd-rw.org
I get crashes when handling a large amount of files.
Hanky
This is not a MP3gain error I suppose. If I remember well mp3directcut tends to cause file corruption especially with vbr files.
You could test your file first with mp3utility:
Mp3 utility homepage
britannica
Thanks Hanky - here's the log....

Processing: D:Mozart~Clarinet Quintet In A major.mp3

No errors found.
Summary: 71,673 total frames processed (0 padded, 71,673 unpadded). Bitrate is constant.

I guess it claims CBR because the Xing header is missing - it would be nice if MP3Directcut could grab this and stick it back on a saved selection smile.gif

Anyway I'm relieved the file is OK - it's a recording not available commercially. I'll apply the gain to a copy - just to be safe.

ß
Snelg
QUOTE
Originally posted by britannica
I'm getting an error in MP3Gain when 'Radio Analysing' a file I cut using MP3Direct cut. 

\"Error 91 in txtProgWatch_Change(MP3Gain): Objectvariable or With block variable not set\"



Shoot. I thought I had all those bugs worked out. This is just the part of the program that updates the File Progress bar, so it shouldn't... oh, wait.
...thinking... thinking...

Can you do me a favor? The simplest thing would be for you to post that mp3 somewhere I could download it and experiment with it.
If you can't/won't do that, can you help me debug remotely?
Step 1 would be to run the command-line mp3gain.exe on that file and let me know if any weird messages show up.
Step 2 would be to use a customized version of the GUI that will spit out extra information in that particular subroutine.
You can do step 1 right now, but obviously step 2 would require me adding the debugging code to the GUI and sending the modified version to you...

-Glen

P.S.: cd-rw.org, at least one person has told me that they did 11,000 files at once and didn't have a problem. Even though I wouldn't necessarily recommend doing that many at once wink.gif , I'm curious about what problems you had.
cd-rw.org
Snelg,

I tried to Gain my MP3 collection on the HD. This is few gigs, few hudreds of files. Several attempts failed. Gain was able to analyse the files but it crashed when moving up & down the list.

Windows2000sp1
Snelg
QUOTE
Gain was able to analyse the files but it crashed when moving up & down the list.


You wouldn't happen to have some of the actual error messages, would you?
If it was an error internal to mp3gain, then it should have spit it out to a .log file in the same directory as the .exe file.
If it was some screwy Windows fatal error, then the error wouldn't be recorded by mp3gain.

-Glen
cd-rw.org
The log information is not very helpful:

QUOTE
4.6.2002 13:12:54 Error running mp3gain


I will see if I find time to reproduce the error - it takes hours to analyze such amount of files and I've been reducing my HD collection in the last few days.
Snelg
The log information is not very helpful:

quote:
--------------------------------------------------------------------------------
4.6.2002 13:12:54 Error running mp3gain
--------------------------------------------------------------------------------

Heh. You're right, that isn't very useful.... oh, wait. It actually is just a little bit useful: what that actually means is, "Error running mp3gain.exe", which is the back end. The GUI is saying, "I got an unexpected error returned from the back end while processing one of the mp3 files, but I'm not sure what the error was."
I should have appended the filename of the current mp3 to that error message. That would have given the user (and me) something to work with.

...oh, wait again. That message is a handled error. The fact that it's in the log means you had the error log specified. You never would have seen that error while running mp3gain. If the GUI actually crashed, then the crashing error wouldn't be in the error log you specified in the "Options->Logs..." window. When the GUI has a real problem, if it's able to write out an error it always writes it to "MP3 Gain Analysis.log" (unless you've changed the file name of the GUI to something besides "MP3 Gain Analysis.exe").

So we're back to square one. Ah, well.

-Glen
britannica
QUOTE
Originally posted by Snelg


Step 1 would be to run the command-line mp3gain.exe on that file and let me know if any weird messages show up.


I did that and got no errors.

However the GUI errors were perhaps an early warning I susbsequently started getting vmm.vxd errors all over the place- turns out the cpu fan was on the blink. Since replacing it I can't reproduce the error in the GUI on that file or any other biggrin.gif

Sorry to have raised a false alarm....and thanks for a _really_ useful utility.

ß
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.