Indigo Rose Software
  #1  
Old 10-31-2007
Dnixon's Avatar
Dnixon Dnixon is offline
Indigo Rose Customer
 
Join Date: Jun 2007
Posts: 94
Unable to Extract .dif File

Hi. I have been searching the forums for hours & I can't seem to find an answer to my problem. When I run my patch I get an error message saying it failed to extract 000003.dif, & then the program exits.

I've read the suggestions about the folder path not existing or the folder attributes being set to read-only, but they do not help. I am getting an error code: 104 in my patch log & I can't figure out what that means. Any thoughts?

Here's my patch log:

Code:
[10/31/2007 11:47:39] Success	Patch started: C:\MySmartPlans\Customer Projects\JE Dunn\CCA Correctional Facility 102007\MySmartPlans\Construction Package\v1.1\Executable\Patch\cca_update_1-1.exe
[10/31/2007 11:47:39] Notice	Patch engine version: 3.0.1.0
[10/31/2007 11:47:39] Notice	Product: MySmartPlans
[10/31/2007 11:47:39] Success	Language set: Primary = 9, Secondary = 1
[10/31/2007 11:47:40] Success	Include script: _Global_Functions.lua
[10/31/2007 11:47:40] Notice	Start project event: Global Functions
[10/31/2007 11:47:40] Success	Run project event: Global Functions
[10/31/2007 11:47:40] Notice	Start project event: On Startup
[10/31/2007 11:47:40] Success	Located installed version 1.0: C:\Program Files\MySmartPlans\CCA New Eloy AZ Facility - Construction Issue
[10/31/2007 11:47:41] Success	Run project event: On Startup
[10/31/2007 11:47:41] Notice	Start project event: On Pre Patch
[10/31/2007 11:47:41] Success	Run project event: On Pre Patch
[10/31/2007 11:47:41] Success	Free space check on drive: C:\
[10/31/2007 11:47:41] Success	Backup file: C:\Program Files\MySmartPlans\CCA New Eloy AZ Facility - Construction Issue\10242_const.cdd -> C:\Program Files\MySmartPlans\CCA New Eloy AZ Facility - Construction Issue\Backup\10242_const.cdd.bak
[10/31/2007 11:47:41] Success	Patch file: C:\Program Files\MySmartPlans\CCA New Eloy AZ Facility - Construction Issue\10242_const.cdd
[10/31/2007 11:47:41] Success	Backup file: C:\Program Files\MySmartPlans\CCA New Eloy AZ Facility - Construction Issue\10242_const.exe -> C:\Program Files\MySmartPlans\CCA New Eloy AZ Facility - Construction Issue\Backup\10242_const.exe.bak
[10/31/2007 11:47:41] Success	Patch file: C:\Program Files\MySmartPlans\CCA New Eloy AZ Facility - Construction Issue\10242_const.exe
[10/31/2007 11:47:41] Error		Patch during extraction (7): C:\Program Files\MySmartPlans\CCA New Eloy AZ Facility - Construction Issue\jed\Jobsite_Photos\album.html (104)
[10/31/2007 11:47:43] Success	File rollback C:\Program Files\MySmartPlans\CCA New Eloy AZ Facility - Construction Issue\Backup\10242_const.cdd.bak -> C:\Program Files\MySmartPlans\CCA New Eloy AZ Facility - Construction Issue\10242_const.cdd
[10/31/2007 11:47:43] Success	File rollback C:\Program Files\MySmartPlans\CCA New Eloy AZ Facility - Construction Issue\Backup\10242_const.exe.bak -> C:\Program Files\MySmartPlans\CCA New Eloy AZ Facility - Construction Issue\10242_const.exe
[10/31/2007 11:47:43] Success	Rolling back installed file: C:\Program Files\MySmartPlans\CCA New Eloy AZ Facility - Construction Issue\jed\Jobsite_Photos\album.html
[10/31/2007 11:47:43] Notice	Exit patch process (Return code: 104)

Thanks in advance.

Darren Nixon
Reply With Quote
  #2  
Old 10-31-2007
eric_darling's Avatar
eric_darling eric_darling is offline
Indigo Rose Customer
 
Join Date: Jun 2002
Location: Southeast USA
Posts: 1,804
Funny, I just encountered this same error today. In my case it was a thumbs.db file, which I removed from the build, and then everything worked fine. Yours looks to be an HTML file, so there goes my theory that it had something to do with thumbs.db. Maybe you could try creating a new version of the html file and give it another go...
__________________
Eric Darling
eThree Media
http://www.ethreemedia.com
Reply With Quote
  #3  
Old 11-01-2007
Lorne's Avatar
Lorne Lorne is offline
Indigo Rose Staff Member
 
Join Date: Feb 2001
Location: Indigo Rose Software
Posts: 2,588
Quote:
Originally Posted by Dnixon View Post
[CODE][10/31/2007 11:47:41] Error Patch during extraction (7): C:\Program Files\MySmartPlans\CCA New Eloy AZ Facility - Construction Issue\jed\Jobsite_Photos\album.html (104)[code]
Error 7 means the diff (or the whole file) for the album.html file wasn't found in the archive -- something went wrong when you built that patch.

Is that album.html file hidden on the system where you build the patches? (Right-click on the file, choose Properties...is the Hidden option checked?)

Are there any unusual permissions set for that file?

Was the whole file included in the patch, or was a binary diff used? (The build log will indicate this.)

Could you provide the build log from when that patch was built?

Is this a multi-version patch?

How many versions are in the project? Are they all selected to be included in the patch? If not, which versions are excluded? (The first one? The last?)
__________________
--[[ Indigo Rose Software Developer ]]
Reply With Quote
  #4  
Old 11-01-2007
Dnixon's Avatar
Dnixon Dnixon is offline
Indigo Rose Customer
 
Join Date: Jun 2007
Posts: 94
There are only two versions. I'm updating v1.0 to v1.1 with this patch. The file was hidden before. I un-hide it and rebuilt the patch just now, but I still got the same error. The patch log contains the same information again as I submitted before as well.

Attached is the log from the patch I just tried to build with the files visible. It was too long to post directly to the thread.

Thanks for your input and assistance!
Attached Files
File Type: txt 1-1Update_01-11-2007_10-49-47.txt (39.0 KB, 5 views)
Reply With Quote
  #5  
Old 11-01-2007
Lorne's Avatar
Lorne Lorne is offline
Indigo Rose Staff Member
 
Join Date: Feb 2001
Location: Indigo Rose Software
Posts: 2,588
Thanks for the log, I might have found a clue.

It looks like you have the build cache enabled. (Publish > Settings > Optimizations)

Try clearing your cache, and build the project again.

If that doesn't work, try turning the build cache off: first try turning off "Cache compressed file sizes" and test. If that doesn't work, try turning off "Cache diff files" as well.

Let me know if any of those changes work.
__________________
--[[ Indigo Rose Software Developer ]]

Last edited by Lorne; 11-01-2007 at 11:09 AM.
Reply With Quote
  #6  
Old 11-01-2007
Dnixon's Avatar
Dnixon Dnixon is offline
Indigo Rose Customer
 
Join Date: Jun 2007
Posts: 94
That did it!!! Thank you! Thank you! Thank you! This has been driving me crazy for days. So I suppose it is safe to say that the hidden files gave the error, and because I had the .diff file cached, when I rebuilt it this morning it was not using the newly un-hidden files, but instead the old hidden ones. Is that fair to say?

BTW: How would I know in the future what those different error codes in the log represent?

Thanks so much again,

Darren Nixon
Reply With Quote
  #7  
Old 11-01-2007
eric_darling's Avatar
eric_darling eric_darling is offline
Indigo Rose Customer
 
Join Date: Jun 2002
Location: Southeast USA
Posts: 1,804
Follow-up question here, too, Lorne...

Does this mean that VP doesn't deal well with hidden files? I would imagine that's the reason my thumbs.db file(s) weren't building in right.
__________________
Eric Darling
eThree Media
http://www.ethreemedia.com
Reply With Quote
  #8  
Old 11-01-2007
Lorne's Avatar
Lorne Lorne is offline
Indigo Rose Staff Member
 
Join Date: Feb 2001
Location: Indigo Rose Software
Posts: 2,588
Quote:
Originally Posted by Dnixon View Post
That did it!!! Thank you! Thank you! Thank you! This has been driving me crazy for days. So I suppose it is safe to say that the hidden files gave the error, and because I had the .diff file cached, when I rebuilt it this morning it was not using the newly un-hidden files, but instead the old hidden ones. Is that fair to say?
It could be -- although there was a bug introduced in 3.0.0.0 that we fixed in 3.0.1.0, and if the files were cached using 3.0.0.0, it might be due to that bug.

I won't know for sure until we look into the code though.
Quote:
BTW: How would I know in the future what those different error codes in the log represent?
Most of the error codes are documented in the help file, but not all of them. In some cases the error messages are reporting standard windows error values along with our own internal error codes, as a way of being more specific.

(The error messages and logging could both use some work; it's something I'd like to address in a future version.)

If you run into any error codes that aren't listed in the help file, for now just contact our support department or post a message in this forum and we'll look into it for you.
Quote:
Originally Posted by eric_darling View Post
Follow-up question here, too, Lorne...

Does this mean that VP doesn't deal well with hidden files? I would imagine that's the reason my thumbs.db file(s) weren't building in right.
No, VP should handle hidden files okay -- the issue has more to do with people including files that they didn't think they were including, because they were hidden. For example, the thumbs.db file isn't something you want to be patching in most cases.

I'll make a note to have hidden files tested further, though, just in case.
__________________
--[[ Indigo Rose Software Developer ]]
Reply With Quote
  #9  
Old 11-05-2007
Dnixon's Avatar
Dnixon Dnixon is offline
Indigo Rose Customer
 
Join Date: Jun 2007
Posts: 94
I started getting this error again today becuase AutoPlay is creating 2 .dat files that Windows thinks are "Protected System Files", and therefore I can not un-hide them.

It seems as though when I build my AutoPlay project with the setting "Rename Resource Files" it creates 2 .dat files that are always hidden because Windows thinks they are "Protected System Files". In v1.1 of my software, they are the last 2 .dat files (ap79.dat & ap80.dat - of 80 total .dat files). In v1.2, they are ap81.dat and ap84.dat (of 84 total .dat files). What are these files? Why does Windows think they are protected system files?

I created my patch this morning to update my software from v1.1 to v1.2 and I got it to work only after I deleted ap81.dat and ap84.dat from the file list in Visual Patch (atleast I don't experience any problems in my software after applying the patch). Should I expect some problems that I may not be seeing yet because I did not include these 2 files in my patch? Is there a way to force them to be un-hidden in Windows?

Thanks for everyone's help in advance.

Darren Nixon
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best way to share custom buttons with the group? mwreyf1 AutoPlay Media Studio 6.0 10 09-03-2009 05:01 AM
http://yourfilelink.com - 50MB max upload, free! Intrigued General Chat 14 09-26-2006 09:44 AM
Error 3038: Could not seek in compressed file Rikard Setup Factory 7.0 Discussion 2 05-25-2006 12:55 PM
HOWTO: "Hide" Externally Referenced Files Support AutoPlay Media Studio 4.0 Examples 0 10-23-2002 04:19 PM
Install only into one of several directories with specific existing file? RichardShaw Setup Factory 5.0 0 08-17-2000 03:29 PM


All times are GMT -6. The time now is 10:26 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software