Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
27th September 2002, 01:10 | #1 | Link |
Registered User
Join Date: Sep 2002
Location: The Sunshine State
Posts: 181
|
IFOUpdate 0.51 run-time error
I downloaded IFOUpdate 0.51 tonight and get an error when I run it:
Run-time error '52': Bad file name or number I experience the error on two separate PCs - one running XP and one Win2K. Also, 0.49 runs fine on these PCs. Is anyone else getting this error? |
27th September 2002, 22:32 | #3 | Link |
Moderator
Join Date: Oct 2001
Posts: 20,976
|
I can't seem to repeat this. Could you post the current contents of your .INI file? If possible let me also know what steps you take up until the run-time error occurs (assuming there are any).
The only file that IFOUpdate attempts to open at the offset is the original IFO when "Automatically Analyze Original IFO" is on. But I've tried every combination I can imagine of bad filename and path, and it doesn't crash for me. |
19th October 2002, 06:14 | #6 | Link |
Registered User
Join Date: Sep 2002
Location: TX
Posts: 22
|
jdobbs - run time error 52
Not sure if this has been solved or not. I ran in to the same problme and found this thread on a search.
I get that runtime error on v54 and v55. I double click on the exe file and the error box pops up. For some reason (and i am thankful for this) v53 works. Any clues on how to get the newer verions working? (WinXP, Athlon XP 2100) |
19th October 2002, 14:24 | #8 | Link |
Moderator
Join Date: Oct 2001
Posts: 20,976
|
If anyone else gets this... please put a copy of your .INI file in a ZIP and post it. I'd like to get this fixed. The error is occuring when trying to open a nonexistent file that is designated in the INI. But I've gone through the code, and even tried to force the error without success, I also can't find an area where I don't first do a check before attempting to open. I'm obviously missing something and I'd like to kill this error.
Thanks, jdobbs |
25th October 2002, 01:40 | #12 | Link |
Registered User
Join Date: Apr 2002
Posts: 1,215
|
@Jdobbs
Take a look at what the code does when it is first kicked off. I ran into the same problem after downloading the 0.55 that was posted. The ini in the zip file is as follows: Code:
[Paths] Original=D:\cd_image2\VTS_01_0.IFO New=D:\cd_image2\VTS_09_0.IFO Backup=D:\cd_image2\VTS_01_0_IFO.BAK [Flags] CellCopy=0 AutoCorrect=0
__________________
Das UberGuide lives! Check it out! --> HTTP://DVDGUIDES.TRILIGHT.NET |
25th October 2002, 10:44 | #13 | Link |
Moderator
Join Date: Oct 2001
Posts: 20,976
|
@TRILIGHT
It definitely tries to open the original file at startup if the "Automatically Analyze Original IFO" flag is on -- but in following the code, it first checks to see if it exists. Unfortunately, I've tried it on 3 different computers, and only one of them have these directories... I also changed the names in the .INI to goofy names (like "jkljkajd\ddjl" and it wouldn't cause an error. I pointed to files that existed but weren't INIs --- and couldn't repeat it. I've since deleted the INI from the zip file for next release -- it really didn't need to be there and will get created at first use anyway. It just drives me nuts that I can't seem to repeat this, and several people have reported it... jdobbs Last edited by jdobbs; 25th October 2002 at 10:47. |
25th October 2002, 13:34 | #14 | Link |
Registered User
Join Date: Sep 2002
Location: The Sunshine State
Posts: 181
|
jdobbs:
Not sure what development tool you use, but perhaps whatever Windows function you use to check for the existence of a file is varying. In other words, maybe some of us have a different version of the .dll containing the function... |
25th October 2002, 16:09 | #16 | Link |
Registered User
Join Date: Apr 2002
Posts: 1,215
|
I didn't even think about that. Good idea though. FWIW, I am running Windows XP with Service Pack 1 installed.
__________________
Das UberGuide lives! Check it out! --> HTTP://DVDGUIDES.TRILIGHT.NET |
26th October 2002, 20:42 | #18 | Link |
Registered User
Join Date: Apr 2002
Posts: 1,215
|
Ok, I don't understand enough about the code to say exactly what you would need to change but I at least know the actual cause now, Jdobbs. Apparently, this only occurs when the drive letter corresponds to the CDROM drive. I can alter the ini file to point to the C: drive or even a drive letter that does not exist, and the program simply returns a "file doesn't exist" error. The same is true, of course, if the directory doesn't exist. The runtime error is only returned when the drive letter listed in the ini file refers to the CDROM drive. Sorry I can't provide an exact solution but hopefully this will point you in the right direction.
__________________
Das UberGuide lives! Check it out! --> HTTP://DVDGUIDES.TRILIGHT.NET |
26th October 2002, 22:32 | #19 | Link |
Moderator
Join Date: Oct 2001
Posts: 20,976
|
Nope. You hit it exactly. I can repeat it by pointing to my CDROM drive also. The program attempts to look in the directory of the specified drive to see if the path exists. If there is no CD in the drive, it encounters an error (no media...).
Thanks TRILIGHT! This thing really had me wondering, and since my CD is drive "H:" it was unlikely I would have ever tried this! |
26th October 2002, 23:30 | #20 | Link |
Registered User
Join Date: Apr 2002
Posts: 1,215
|
Yeah, I wouldn't have caught it on my other system. The drives are X, Y, and Z there! hehe It's drive D on my laptop though where I tried running it first. Hopefully I'll have all my stuff moved this week and can get my main system and servers up and running again. time to get off this laptop and get back to some heavy duty encoding!
__________________
Das UberGuide lives! Check it out! --> HTTP://DVDGUIDES.TRILIGHT.NET |
|
|