saramibreak / DiscImageCreator

This is the disc (CD, GD, DVD, HD-DVD, BD, GC/Wii, XBOX, XBOX 360) and disk (Floppy, MO, USB etc) image creation tool
http://forum.redump.org/topic/10483/discimagecreator/
Apache License 2.0
538 stars 46 forks source link

_mainError.txt does not show the complete info #281

Closed malvarenga123 closed 3 months ago

malvarenga123 commented 3 months ago

Version 20240601

Describe the bug When you get an error regarding (Track 1) (-LBA), the error message is not complete in _mainError.txt

I think _mainError.txt should show the complete info so that we won't lose it when closing the console. As it is now, it seems that the dump failed when it was actually successful.

Screenshots Console

Creating (Track AA).scm & .sub (LBA)   301561/  301561
Creating (Track 0).scm & .sub, (Track 1)(-LBA).scm & .sub (LBA)    -1154/  -10000
Failed to read. readsize=2232, total_read=20805792/20808024 [F:ConvertScmToBin][L:3490]
[F:ConvertScmToBin][L:2854] GetLastError: 2, The system cannot find the file specified.

Failed to get (Track 1)(-LBA)
Retry 1/5
Creating (Track AA).scm & .sub (LBA)   301561/  301561
Creating (Track 0).scm & .sub, (Track 1)(-LBA).scm & .sub (LBA)    -1154/  -10000
Failed to read. readsize=2232, total_read=20805792/20808024 [F:ConvertScmToBin][L:3490]
[F:ConvertScmToBin][L:2854] GetLastError: 2, The system cannot find the file specified.

Failed to get (Track 1)(-LBA)
Retry 2/5
Creating (Track AA).scm & .sub (LBA)   301561/  301561
Creating (Track 0).scm & .sub, (Track 1)(-LBA).scm & .sub (LBA)    -1154/  -10000
Failed to read. readsize=2232, total_read=20805792/20808024 [F:ConvertScmToBin][L:3490]
[F:ConvertScmToBin][L:2854] GetLastError: 2, The system cannot find the file specified.

Failed to get (Track 1)(-LBA)
Retry 3/5
Creating (Track AA).scm & .sub (LBA)   301561/  301561
Creating (Track 0).scm & .sub, (Track 1)(-LBA).scm & .sub (LBA)    -1154/  -10000
Failed to read. readsize=2232, total_read=20805792/20808024 [F:ConvertScmToBin][L:3490]
[F:ConvertScmToBin][L:2854] GetLastError: 2, The system cannot find the file specified.

Failed to get (Track 1)(-LBA)
Retry 4/5
Creating (Track AA).scm & .sub (LBA)   301561/  301561
Creating (Track 0).scm & .sub, (Track 1)(-LBA).scm & .sub (LBA)    -1154/  -10000
Failed to read. readsize=2232, total_read=20805792/20808024 [F:ConvertScmToBin][L:3490]
[F:ConvertScmToBin][L:2854] GetLastError: 2, The system cannot find the file specified.

Failed to get (Track 1)(-LBA)
Retry 5/5

_mainError.txt

Failed to read. readsize=2232, total_read=20805792/20808024 [F:ConvertScmToBin][L:3490]
Failed to read. readsize=2232, total_read=20805792/20808024 [F:ConvertScmToBin][L:3490]
Failed to read. readsize=2232, total_read=20805792/20808024 [F:ConvertScmToBin][L:3490]
Failed to read. readsize=2232, total_read=20805792/20808024 [F:ConvertScmToBin][L:3490]
Failed to read. readsize=2232, total_read=20805792/20808024 [F:ConvertScmToBin][L:3490]
saramibreak commented 3 months ago

some changed. DiscImageCreator_test.zip

malvarenga123 commented 3 months ago

I think it's much better now.

Failed to read. readsize=2232, total_read=20805792/20808024 [F:ConvertScmToBin][L:3490]
[F:ConvertScmToBin][L:2854] GetLastError: 2, The system cannot find the file specified.

is gone and _mainError only shows.

Failed to get (Track 1)(-LBA)
Retry 1/5
Failed to get (Track 1)(-LBA)
Retry 2/5
Failed to get (Track 1)(-LBA)
Retry 3/5
Failed to get (Track 1)(-LBA)
Retry 4/5
Failed to get (Track 1)(-LBA)
Retry 5/5

Thanks @saramibreak!