PDA

View Full Version : Problem in latest 6.9 (2415)



NewsArchive
12-13-2008, 02:51 AM
Hi Friedrich,

I have been happily building installs in the past few days with whatever was
the latest before today. I updated this morning and now I'm getting weird
file locking issues.

I normally do NOT close the SB IDE when I run my BuildAutomator scripts as
that has never caused problems before. Now I'm getting errors when BA
attempts to clean folders (delete files and folders) to prepare for a new
install stating that this or that file causes "Access denied". Now I
compiled an install and then SB itself told me that it could not access the
projectname.sb6 because it was in use by another process:

PowerToolbar.sb6(153): GEN1018: The process cannot access the file because
it is being used by another process.

I presume that (153) refers to the line in error - but there are only 152
lines in the script<g>

I have never seen this before and never had any issues with this kind of
errors. Never seen BA have issues with deleting those files either. The
_only_ thing that has changed since couple of days ago when I was
recompiling those installs over and over again is the update this morning.

If I make sure that the IDE is CLOSED before I run the script it works fine.
But if the IDE is open, then it seems to fail on various files or lock
certain files so that the BA script can't delete them (I've seen this happen
mostly on a single .TPL file that is set to register in Clarion)

Best regards,

--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com

Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
12-13-2008, 02:53 AM
Hi Friedrich,

> PowerToolbar.sb6(153): GEN1018: The process cannot access the file because
> it is being used by another process.

Scratch that! I had the exe open on my test computer and that's what it was
complaining about. However, it would be nice in this case that it indicated
WHICH file it can't access<g>

Best regards,

--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com

Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
12-14-2008, 03:42 AM
Hi Arnór,

> Scratch that! I had the exe open on my test computer and that's what it
> was complaining about. However, it would be nice in this case that it
> indicated WHICH file it can't access<g>

I "think" before that GEN1018 message there is something like:

"An error occurred generating [EXE NAME GOES HERE]. Check to make sure the
..exe is not currently in use by another process."

But I'll add the name to the GEN1018 message. I'll also fix the "line
number" error :)

Thank you for your suggestion.

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
12-14-2008, 03:42 AM
Hi Arnór,

BTW, if this "GEN1018" error occurs, it displays a "message box" if you do a
command line compile, right? I think we should change this behavior. Log
the error and then abort the compilation process. What are your thoughts on
this? You are definitely the command line compile Guru.

Thanks,
Friedrich

NewsArchive
12-14-2008, 03:43 AM
Hi Friedrich,

> BTW, if this "GEN1018" error occurs, it displays a "message box" if you do a
> command line compile, right? I think we should change this behavior. Log
> the error and then abort the compilation process. What are your thoughts on
> this? You are definitely the command line compile Guru.

There was no message box and I don't think a MB should be displayed at least
not when doing command line compile:)

Best regards,

--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com

Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
12-15-2008, 02:34 AM
Hi Arnór,

>> BTW, if this "GEN1018" error occurs, it displays a "message box" if
>> you do a command line compile, right? I think we should change this
>> behavior. Log the error and then abort the compilation process.
>> What are your thoughts on this? You are definitely the command line
>> compile Guru.
>
> There was no message box and I don't think a MB should be displayed at
> least not when doing command line compile:)

Yes, that's what I meant :)

I checked the SB7 compiler source codes and it *always* displays the
"GEN1018 message box". In SB6 it does not display it when doing a
command line compile. I have no idea why the code change (you requested
it on November 12, 2008 - Subject: Compile fails - silent error?") is
not in SB7. Fixed in SB7 now.

When doing a command line compile, both SB6 and SB7 do not display a
message box and longer and the executable name is logged.

Thanks,
Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
12-15-2008, 02:35 AM
Hi Friedrich,

> When doing a command line compile, both SB6 and SB7 do not display a
> message box and longer and the executable name is logged.

Cool! Since I have an option to pop up the error log or html in BA at the
end of a compile it can act as a message() and halt the process. I also
pull the error from the SB error log if the compiler.txt contains "ERROR"

Best regards,

--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com

Icetips product subscriptions at http://www.icetips.com/subscribe.php