View Full Version : PgcEdit error in Jump topgc upon dvd insert
vidario
13th October 2008, 18:48
Hi, I've used this function many times and I've never had any problem. Take a look at the attachment: it contains the error message and the log file. What's happening?
can't read "::buttons::butsinfo(pgc,1,6,numcellids)": no such element in array
can't read "::buttons::butsinfo(pgc,1,6,numcellids)": no such element in array
while executing
"for {set cid 1} {$cid <= $::buttons::butsinfo(pgc,$vts,$vid,numcellids)} {incr cid} {
if {[info exists ::buttons::butsinfo(pgc,$vts,$vid,$cid,nu..."
(procedure "find_unused_gprms" line 62)
invoked from within
"find_unused_gprms true true"
(procedure "::macros::jump2pgc" line 162)
invoked from within
"::macros::jump2pgc"
(menu invoke)
Thank you
blutach
14th October 2008, 00:53
I occasionally run into this problem as well (oftentimes the Jump2PGC works just fine, btw, so test it in trace). Delete your menubuttons files in your backup folder and reload the project and try again.
Regards
vidario
14th October 2008, 08:38
I deleted the menubutton but it didn't work. I still have the same error. What else should I check?
Thank you very much!
r0lZ
14th October 2008, 09:11
Be sure to scan the whole DVD for BOVs. Menu: File -> Find BOVs, then select ALL VTS and click Scan. Finally, launch Jump2PGC again.
Please let me know if that solved the problem.
vidario
14th October 2008, 09:32
Be sure to scan the whole DVD for BOVs. Menu: File -> Find BOVs, then select ALL VTS and click Scan. Finally, launch Jump2PGC again.
Please let me know if that solved the problem.
I've done the scan, look at this screenshot:
http://img521.imageshack.us/img521/4752/bovbv2.th.jpg (http://img521.imageshack.us/my.php?image=bovbv2.jpg)http://img521.imageshack.us/images/thpix.gif (http://g.imageshack.us/thpix.php)
Always the same error when i try the jump2pgc macro...:(:(
thank you
r0lZ
14th October 2008, 09:48
That's strange. Maybe your DVD has something special. Is it a commercial DVD? Which title and region? What ripper did you use?
vidario
14th October 2008, 09:57
That's strange. Maybe your DVD has something special. Is it a commercial DVD? Which title and region? What ripper did you use?
Yes, it's a commercial dvd. It's FOOLS GOLD, region 2 and I used dvdfab hd decrypter version 5.1.0.0 (I think it's the last one)
r0lZ
14th October 2008, 10:21
Well, it's a Warner Bros release, so it should not be protected. That's even more strange.
Could you try Info -> GPRMs, and report if a similar problem occurs?
vidario
14th October 2008, 10:42
Well, it's a Warner Bros release, so it should not be protected. That's even more strange.
Could you try Info -> GPRMs, and report if a similar problem occurs?
Sorry, but I've never used that function... :helpful:
What should I do?
r0lZ
14th October 2008, 11:04
Just try it. It doesn't modify the DVD.
vidario
14th October 2008, 11:55
No way :(:(
I have traced my dvd again and then i've tried what you suggested (info --> GPRMs): same error
r0lZ
14th October 2008, 12:28
OK, that's fine. I see now where is the problem, but I still don't understand it. It should never occur.
Are you sure you have tried blutach's suggestion? You have to quit PgcEdit, delete the backup folder or at least the menubuttons.but file, and retry.
Also, as this DVD is probably not protected, can you try to rip it with DVD Decrypter? I don't like DVDFab Decrypter, as it considers any read-error as a protection, and that can produce a very bad rip. DVD Decrypter warns you in case of error.
vidario
14th October 2008, 12:50
Absolutely sure: I've done what blutach suggested, and now I've also tried your suggestion: ripped the dvd with dvd decrypter but I got always the same error. Is there any chance to manually set the jump2pgc?
r0lZ
14th October 2008, 16:31
Yes, there are several guides on my homepage, written before I wrote the function for PgcEdit. I recommend the guides by Jeanl. See here: http://jean.laroche.free.fr/
But note that you will need to find a free GPRM, and the function that does that automatically causes the crash. So, you will need to search for each GPRM in turn. I hope also that the problem will not occur during the search...
vidario
14th October 2008, 16:55
But what happens if I simply use the "kill playback" function on the video before the menu?
r0lZ
14th October 2008, 17:09
The playback will be skipped, of course, but all PGCs visited before going to the menu will still be visited, even if they are not played, and that could cause a relatively long delay before the menu appears, especially if the visited PGCs are in several different VTSs. It's up to you...
The bug is probably caused by missing Cell IDs in some VOBs in your DVD. So, another thing you may want to try is to process the whole DVD with FixVTS (or VobBlanker if you prefer) to reorganize the VOB and Cell IDs in the VOB files. I hope this is sufficient, but anyway, that cannot hurt.
BTW, although I haven't understood yet why the bug happens, I have modified the code to skip the missing cell IDs. The bug should not occur any more, but I'm still not sure it's a safe way to avoid the crash...
vidario
15th October 2008, 08:35
So, another thing you may want to try is to process the whole DVD with FixVTS (or VobBlanker if you prefer) to reorganize the VOB and Cell IDs in the VOB files. I hope this is sufficient, but anyway, that cannot hurt.
COOL! :thanks:
Processing the dvd with FixVTS solved my problem
Thank you again :cool::cool::cool:
r0lZ
15th October 2008, 11:14
:) Thanks for the confirmation. It's a good thing to know for me too, as I am now almost sure that the problem was caused by a missing Cell ID in a VOB. I will modify PgcEdit to trap this situation. Strangely, I remember that I have already envisaged this possible bug, and handled it in my code. Obviously, I did something wrong. I'll have a look right now.
Thanks!
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.