localpcguy / cbloader

Automatically exported from code.google.com/p/cbloader
1 stars 0 forks source link

CBLoader not merging changed files #72

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use an index file and download some parts with updateinfo.
2. Change just one part with the proper updateinfo.
3. Start up the builder. It is downloading the new version but not merging it. 
Even if you restart the client several times.

What is the expected output? What do you see instead?
I would expect the combined file to be updated but instead the builder starts 
up and CBLoader window closes.

What version of the product are you using? On what operating system?
V1.2.4.1 (Multiple windows versions)

Please provide any additional information below.

I did a patch this morning to fix several issue and correct an index file. It 
worked fine. Tonight I did a small patch to only two files. CBLoader detected 
the change and downloaded but simply refused to merge them. I restarted 3 or 4 
times and it didn't recompile but instead started up with the old combined 
files. Once I deleted the combined and temporary files it merged just fine.

I have confirmed with four different users that CBLoader is not merging files 
as expected at this time.

My observation has been that the Part files will download their updates but 
CBLoader is not merging them unless a new file was also added or another file 
was deleted. If all of the filenames stay the same it appears that it ain't 
working. It just proceeds to start up the builder eventhough it downloaded the 
new files.

I have been having this problem for weeks actually but I have four copies of 
CBLoader installed and thought it was an issue with my system until I confirmed 
it with four people tonight.

Original issue reported on code.google.com by greyhawk...@hotmail.com on 17 Jul 2011 at 6:58

GoogleCodeExporter commented 9 years ago
Here is the log file after I changed two files on the remote side. You will 
notice it downloads them but doesn't do anything.

Settings:
  <FastMode> false </FastMode>
  <UpdateFirst> true </UpdateFirst>

Original comment by greyhawk...@hotmail.com on 17 Jul 2011 at 8:07

Attachments:

GoogleCodeExporter commented 9 years ago
That is very Odd.  could you upload the cbloader.merged file of an affected 
system?

Original comment by YeOldeSt...@gmail.com on 17 Jul 2011 at 10:56

GoogleCodeExporter commented 9 years ago
Certainly.

Original comment by greyhawk...@hotmail.com on 17 Jul 2011 at 4:01

Attachments:

GoogleCodeExporter commented 9 years ago
Here is some further testing. New log file for a new update and still no 
merging.

Original comment by greyhawk...@hotmail.com on 17 Jul 2011 at 4:22

Attachments:

GoogleCodeExporter commented 9 years ago
Here is an example where I added a new file and hence a new file-name to the 
index. It does a re-merge when a new file is added but not when a file is 
update. Even when the updated file is successfully downloaded.

Original comment by greyhawk...@hotmail.com on 17 Jul 2011 at 8:15

Attachments:

GoogleCodeExporter commented 9 years ago
I don't know if this stuff is useful or not but here is another log file 
showing updates but no merging. This time it said it was going to merge but 
didn't.

Original comment by greyhawk...@hotmail.com on 18 Jul 2011 at 9:56

Attachments:

GoogleCodeExporter commented 9 years ago
Very Curious...
I'm currently completely lacking in internet (Posting this from the public 
Library), so I won't be able to do much on this for the next week or so (Until 
the phone line gets fixed).  That said, I'm completely stumpped as to why 
cbloader.merged would be empty.

Jeff, any ideas?

Original comment by YeOldeSt...@gmail.com on 19 Jul 2011 at 9:48

GoogleCodeExporter commented 9 years ago
I have done some further testing. First I uninstalled CBLoader and freshly 
installed the latest build. I created two directories in %AppData% one called 
"%AppData%\CBL-CustomParts\" and the other "%AppData%\CBL-WorkFiles\". I should 
have total write permissions there no matter what. I have UAC slid all the way 
down to the bottom in Windows 7 Ultimate. I am using an Administrator group 
account (but not the secret one). I downloaded a third party UAC elevation tool 
to simulate clicking "Run As Admin" every time I launch CBloader. With only an 
index file placed in %AppData%\CBL-CustomParts\" I started CBloader. It 
downloaded the part files as normal and merged no problem. For the first time 
in a while I seen data in the cbloader.merged file. To continue the test I then 
went to my drop box index and change a part file and pushed the update out. I 
then started up CBloader again. I got the same results as before unfortunately. 
It detected the update, downloaded the update, but REFUSED to merge the update. 
Further my cbloader.merged was empty of data AGAIN! Somehow this data is 
getting lost. This has been occuring since atleast the last CBLoader patch and 
perhaps longer. I have been using an index file privately and have been having 
this issue since before the recent part reorganization.

Original comment by greyhawk...@hotmail.com on 19 Jul 2011 at 9:56

Attachments:

GoogleCodeExporter commented 9 years ago
Update: I have totally pinned the bug down. If you use a custom application 
work space directory for your combined files (the <BasePath> configuration 
option) then CBLoader is screwing up the "cbloader.merged" file. Either it 
ALWAYS has or it has been doing it at-least since auto-updating (v1.2) was 
introduced.

I had to have several configurations set up for something so I had to use 
<BasePath>. It is somehow zeroing out the cbloader.merged file if it does not 
exist in %AppData%\CBLoader. That is the bug. The cbloader.merged file is 
corrupted if you are using <BasePath>.

Original comment by greyhawk...@hotmail.com on 22 Jul 2011 at 7:36

GoogleCodeExporter commented 9 years ago
Confirmed.  We load the cbloader.merged file before changing the BasePath.

Original comment by YeOldeSt...@gmail.com on 24 Jul 2011 at 4:44

GoogleCodeExporter commented 9 years ago
Fixed in 1.3.0

Original comment by YeOldeSt...@gmail.com on 20 Aug 2011 at 6:17