Topic: Create ISO - Timing  (Read 6468 times)

Create ISO - Timing
« on: January 18, 2015, 07:47:18 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi Chris,

also another timing trouble, it shouldn't happen (since there are other precautions..) but it passes all precautions and gives error on that point  :lol: :lol:
(Retrieve,FileSize fails, but when I check .iso file is there  :cool: )

Sorry, timing troubles are not reproducable,
 but I feel since I build too frequently these days, Windows reacts faster  :wink:

This fixes here  :thumbsup: :thumbsup:

Code: [Select]
If,%Tool_ScrollBox%,Equal,oscdimg,Run,%IsoScript%,CreateCD_oscdimg
If,%Tool_ScrollBox%,Equal,mkISOfs,Run,%IsoScript%,CreateCD_mkISOfs
//--
IF,Not,ExistFile,%ISOfileVar%,Wait,1
IF,Not,ExistFile,%ISOfileVar%,Wait,1
IF,ExistFile,%ISOfileVar%,Begin
Retrieve,FileSize,%ISOfileVar%,%sizeISO%
StrFormat,Bytes,%sizeISO%
echo,"ISO build size is %sizeISO%"
End
Else,Call,Echo,"Can NOT find ISO file",Warn

:turtle:


edit:
After current topic, I added more precautions to mkisof, attached
« Last Edit: January 20, 2015, 06:50:36 PM by Lancelot »

Re: Create ISO - Timing
« Reply #1 on: January 20, 2015, 05:38:58 PM »

KYHI

  • Code Baker
  • Sr. Chef
  • ****
  • Location: Kentucky
  • Date Registered: Jan 2015
  • Posts: 909
Run - Processed section [CreateCD_mkISOfs] in file: [%BaseDir%\Projects\Finals\yy_2-iso.script]

IF - File exists: [%BaseDir%\ISO\Win8.1SE_x64.ISO] evaluated string: [IF,Not,ExistFile,%ISOfileVar%,Wait,1]
IF - File exists: [%BaseDir%\ISO\Win8.1SE_x64.ISO] evaluated string: [IF,Not,ExistFile,%ISOfileVar%,Wait,1]
IF - File exists: [%BaseDir%\ISO\Win8.1SE_x64.ISO] evaluated string: [IF,ExistFile,%ISOfileVar%,Begin]

Error > Cannot open file "%BaseDir%\ISO\Win8.1SE_x64.ISO". The process cannot access the file because it is being used by another process:  [Retrieve,FileSize,%ISOfileVar%,%sizeISO%]

added your fix and it still pulls an error



Re: Create ISO - Timing
« Reply #2 on: January 20, 2015, 05:46:38 PM »

KYHI

  • Code Baker
  • Sr. Chef
  • ****
  • Location: Kentucky
  • Date Registered: Jan 2015
  • Posts: 909
line 311, 312, 313

pulls error line 314

adding> timeout /t 5 < before line 314 seems to help do away with error


Re: Create ISO - Timing
« Reply #3 on: January 20, 2015, 05:56:08 PM »

KYHI

  • Code Baker
  • Sr. Chef
  • ****
  • Location: Kentucky
  • Date Registered: Jan 2015
  • Posts: 909
also is this just not script for the message box?? if it is cant we just do away with the > ISO build size is %sizeISO% message

//

Re: Create ISO - Timing
« Reply #4 on: January 20, 2015, 05:59:04 PM »

KYHI

  • Code Baker
  • Sr. Chef
  • ****
  • Location: Kentucky
  • Date Registered: Jan 2015
  • Posts: 909
completed just fine with timeout

Re: Create ISO - Timing
« Reply #5 on: January 20, 2015, 06:06:32 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi KYHI,

As you say, Message not important,

Retrieve,FileSize line only there as insurance for timeout troubles,
 We had faced in the past, we solved in the past, we are facing again !
   timeout never be a nice solution, but a temporary nice one until cause of trouble found.

Your system is faster than mine  :thumbsup:

Maybe this is about mkISOfs,
 on Create ISO plugin interface,
  change Create ISO tool to oscdimg (comment out your timeout /t 5), see how it goes ?
 
:turtle:

Re: Create ISO - Timing
« Reply #6 on: January 20, 2015, 06:17:05 PM »

KYHI

  • Code Baker
  • Sr. Chef
  • ****
  • Location: Kentucky
  • Date Registered: Jan 2015
  • Posts: 909
Intel I7-4770 with 24GB and SSD

And it don't always do it,,  At first I thought it was Max Compression and the file was not completely done - so I added the timeout to allow more time to complete.. But that error was using normal compression

But I will test several builds using oscdimg

Re: Create ISO - Timing
« Reply #7 on: January 20, 2015, 06:20:04 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
SSD difference , you are faster :thumbsup:

let us know if it happens also with oscimg , I don't (can't) test SE these days  :great:

:turtle:

Re: Create ISO - Timing
« Reply #8 on: January 20, 2015, 06:49:51 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi KYHI,

I made some more pre cautions to Create ISO for mkisof, attached to first post,

since you can easly reproduce, let us know if it happens with mkisof on this plugin :thumbsup:

:turtle:

Re: Create ISO - Timing
« Reply #9 on: January 20, 2015, 11:16:38 PM »

KYHI

  • Code Baker
  • Sr. Chef
  • ****
  • Location: Kentucky
  • Date Registered: Jan 2015
  • Posts: 909
you made changes other then just the code box posted before??

Re: Create ISO - Timing
« Reply #10 on: January 21, 2015, 05:10:10 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
 :thumbsup:

After current topic, I added more precautions to mkisof, attached

:turtle:

Re: Create ISO - Timing
« Reply #11 on: January 21, 2015, 01:37:24 PM »

KYHI

  • Code Baker
  • Sr. Chef
  • ****
  • Location: Kentucky
  • Date Registered: Jan 2015
  • Posts: 909
I just ran through about 20 different builds x86 and x64, compressed and normal, with different build options.. oscimg and mkisof

NO Problems using new script
« Last Edit: January 21, 2015, 01:41:54 PM by KYHI »

Re: Create ISO - Timing
« Reply #12 on: January 21, 2015, 07:38:49 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Thanks for feedback KYHI,

hopefully out of many, this winbuilder bug workarounded forever at least on Create ISO plugin :smile:

:turtle:

Re: Create ISO - Timing
« Reply #13 on: January 24, 2015, 06:03:50 AM »

KYHI

  • Code Baker
  • Sr. Chef
  • ****
  • Location: Kentucky
  • Date Registered: Jan 2015
  • Posts: 909
Have not had any issue since the fix..

Re: Create ISO - Timing
« Reply #14 on: January 24, 2015, 07:34:58 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
 :clap: :clap: :clap:
 :djparty:

Winbuilder, full of bugs, yet another better name BugBuilder   :tractor:

 

Powered by EzPortal