Log in

View Full Version : Error in PGCEdit


maksa
3rd December 2004, 03:55
ROiz,
I am getting following error when try to save DVD:

Error: can't read "ttu(0): no such variable.

In Info I get this:

can't read "ttu(0)": no such variable
can't read "ttu(0)": no such variable
while executing
"set ttu($numttus) $ttu($numttus)[d2c $pgc 2][d2c [lindex $i 0] 2]"
(procedure "rebuild_VTS_PTT_SRPT" line 11)
invoked from within
"rebuild_VTS_PTT_SRPT $vtsnum"
(procedure "write_VTS_IFO" line 23)
invoked from within
"write_VTS_IFO $dvddir $vts"
(procedure "::writedvd::writedvd" line 11)
invoked from within
"::writedvd::writedvd $::dvddir"
invoked from within
"if $saveas {
set destdir [tk_chooseNewDirectory -initialdir $::dvddir -title "Save IFOs in folder:"]
if {$destdir == ""} {return -1}
#set ::con..."
(procedure "::main::Write_DVD" line 8)
invoked from within
"::main::Write_DVD false"
invoked from within
".mf.tb.toolbar.save_dvd invoke"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke]"
(procedure "tk::ButtonUp" line 15)
invoked from within
"tk::ButtonUp .mf.tb.toolbar.save_dvd"
(command bound to event)

Is this a bug? I have lattest version.

2COOL
3rd December 2004, 04:07
I figure r0lZ will get to the bottom of this but to aide him further, what exactly did you do prior to saving? Can you save without any edits? I hope so. Try starting all over again and save on each changes.

BTW, you messed up on r0lZ's spelling. It's lower case r, zero, lower case l (el), and upper case Z.

maksa
3rd December 2004, 05:39
It was for the movie Shrek 2. I've tried just opening and saving and same error. In all honesty, some other discs work. I have several versions of PgcEdit and last one that has no problem is 0.37. I gues it has something to do with preview.

2COOL
3rd December 2004, 05:48
Though I reported a bug back then working on R1 Shrek 2 also but I had a different error. It had been fixed with the next version at the time.

http://forum.doom9.org/showthread.php?s=&postid=569657#post569657

Hmmmm...try ripping the movie again just in case you are working with the originals. If you still have problems only with Shrek 2 then r0lZ will take over from here.

+ð/ Check your PM

blutach
3rd December 2004, 05:52
Are you using the latest beta? I had a similar problem which was fixed. Had to do with non-sequential chapters.

Regards

maksa
3rd December 2004, 14:55
Only regular public version.

r0lZ
3rd December 2004, 21:17
OK. Then, it's probably a bug that is already fixed. Try this beta (http://www.videohelp.com/~r0lZ/pgcedit/beta/PgcEdit_winexe_0.4.4beta8.zip) and let me know if it worked.

Anyway, thanks for submitting the bug.

maksa
3rd December 2004, 22:10
I'll try it tonight when I came back from work.
Thanks,
Maksa

maksa
4th December 2004, 01:49
OK. Then, it's probably a bug that is already fixed. Try this beta and let me know if it worked.

Works like a charm. Thanks,
Maksa

2COOL
4th December 2004, 01:57
@r0lZ

So what actually was the problem and fix?

r0lZ
4th December 2004, 11:25
Some bugs when saving the DVD were coming from the new routine I wrote to rebuild the PTT_SRPTI table.
In old versions, the table was never modified by the user, and was written as it was read, without problems.
The bugs were introduced with the PTT Editor feature.
Most of the time, all was correctly saved. The bugs happened when the PTTs were not in ascending order (ie Cells 1-3 were chapters 1 3 2), or when there were multi-PGCs titles with some PGCs without chapters at all for the same title (eg PGC 1: chapter 1,2, PGC 2: same TTN, but no chapters at all, PGC 3: chapters 3,4)