Author |
Message |
Remco Guest
|
Posted: Tue Jan 03, 2006 8:31 am Post subject: Unable to delete folder |
|
|
During synchronization ViveVersa is unable to delete a folder. It complains the folder is not empty. Upon check in Explorer a hidden folder (.svn) is present in the folder that cannot be deleted. I did not put that hidden folder there, but VV did during a previous sync. I want that VV deletes the folder anyway. Is this possible? |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8769
|
Posted: Tue Jan 03, 2006 11:24 am Post subject: |
|
|
Can you please post the ViceVersa log file showing this problem? You can enable the log file in the profile settings. thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
Guest
|
Posted: Wed Jan 04, 2006 7:40 am Post subject: |
|
|
Here you go.
Code: |
2006-01-04 08:38:18 :
2006-01-04 08:38:18 : -
2006-01-04 08:38:18 : ************************************************************
2006-01-04 08:38:18 : Profile Started.
2006-01-04 08:38:18 : ************************************************************
2006-01-04 08:38:18 : Command Line: "C:\Program Files\ViceVersa Pro 2\ViceVersa.exe" "F:\laptop_remco.fsf" /hiddenautosync
2006-01-04 08:38:18 : System: Windows 2000 (Professional), (Uniprocessor Free), (x86-32 Processor) v5.0 Build:2195 Service Pack:4
2006-01-04 08:38:18 : User: remco
2006-01-04 08:38:18 : Computer: mlw138
2006-01-04 08:38:18 : **** Profile: F:\laptop_remco.fsf
2006-01-04 08:38:18 : **** - Folders -
2006-01-04 08:38:18 : **** Sources: (Archived)
2006-01-04 08:38:18 : **** Targets: (Archived)
2006-01-04 08:38:18 : **** "U:\" <to> "F:\u\" (Include Subfolders)
2006-01-04 08:38:18 : **** "H:\" <to> "F:\h\" (Include Subfolders)
2006-01-04 08:38:18 : **** "S:\" <to> "F:\s_system\" (Include Subfolders)
2006-01-04 08:38:18 : **** "R:\Demonstrator\Blanker\" <to> "F:\r_electronoptics\Blanker\" (Include Subfolders)
2006-01-04 08:38:18 : **** "R:\Demonstrator\Light Optics SS\" <to> "F:\r_electronoptics\Light Optics SS\" (Include Subfolders)
2006-01-04 08:38:18 : **** "R:\Demonstrator\Deflector\Deflector Control\" <to> "F:\r_electronoptics\Deflector\Deflector Control\" (Include Subfolders)
2006-01-04 08:38:18 : **** Exclude files: "*.spe"
2006-01-04 08:38:18 : **** Exclude files: "*.bmp"
2006-01-04 08:38:18 : **** Exclude files: "*.tif"
2006-01-04 08:38:18 : **** Exclude hidden files
2006-01-04 08:38:18 : **** Exclude subfolders: "H:\profile\"
2006-01-04 08:38:18 : **** Exclude subfolders: "S:\Maskless feasibility\"
2006-01-04 08:38:18 : **** Exclude subfolders: "R:\Demonstrator\Blanker\manufacturing blanker deflector\"
2006-01-04 08:38:18 : **** Exclude subfolders: "R:\Demonstrator\Blanker\calculations\"
2006-01-04 08:38:18 : **** Exclude subfolders: "R:\Demonstrator\Blanker\Deflector\"
2006-01-04 08:38:18 : **** - Comparison Settings -
2006-01-04 08:38:18 : **** Comparison Type: Size and Timestamp
2006-01-04 08:38:18 : **** - Execution Settings -
2006-01-04 08:38:18 : **** Method: Synchronization
2006-01-04 08:38:18 : **** Tracking Database: "F:\viceversa pro databases\database_u.tdb"
2006-01-04 08:38:18 : **** Log File: "f:\ViceVersa PRO 2\log1.log" (max 1000 KB)
2006-01-04 08:38:18 : **** Log only summary and errors
2006-01-04 08:38:18 : **** Archive deleted/replaced source files to: "D:\" (Compressed) (Encrypted)
2006-01-04 08:38:18 : **** Archive deleted/replaced target files to: "F:\" (Compressed) (Encrypted)
2006-01-04 08:38:18 : **** Smart archive
2006-01-04 08:38:18 : **** Archive conflicts only
2006-01-04 08:38:18 : Checking source U:\ ...
2006-01-04 08:38:22 : Checking target F:\u\ ...
2006-01-04 08:38:23 : Comparing ...
2006-01-04 08:38:23 : Checking tracking database...
2006-01-04 08:38:23 : Comparing done.
2006-01-04 08:38:23 : Checking source H:\ ...
2006-01-04 08:38:23 : Checking target F:\h\ ...
2006-01-04 08:38:23 : Comparing ...
2006-01-04 08:38:23 : Checking tracking database...
2006-01-04 08:38:23 : Comparing done.
2006-01-04 08:38:23 : Checking source S:\ ...
2006-01-04 08:38:25 : Checking target F:\s_system\ ...
2006-01-04 08:38:25 : Comparing ...
2006-01-04 08:38:25 : Checking tracking database...
2006-01-04 08:38:25 : Comparing done.
2006-01-04 08:38:25 : Checking source R:\Demonstrator\Blanker\ ...
2006-01-04 08:38:26 : Checking target F:\r_electronoptics\Blanker\ ...
2006-01-04 08:38:26 : Comparing ...
2006-01-04 08:38:26 : Checking tracking database...
2006-01-04 08:38:26 : Comparing done.
2006-01-04 08:38:26 : Checking source R:\Demonstrator\Light Optics SS\ ...
2006-01-04 08:38:27 : Checking target F:\r_electronoptics\Light Optics SS\ ...
2006-01-04 08:38:28 : Comparing ...
2006-01-04 08:38:28 : Checking tracking database...
2006-01-04 08:38:28 : Comparing done.
2006-01-04 08:38:28 : Checking source R:\Demonstrator\Deflector\Deflector Control\ ...
2006-01-04 08:38:28 : Checking target F:\r_electronoptics\Deflector\Deflector Control\ ...
2006-01-04 08:38:28 : Comparing ...
2006-01-04 08:38:28 : Checking tracking database...
2006-01-04 08:38:28 : Comparing done.
2006-01-04 08:38:28 : - Status Summary -
2006-01-04 08:38:28 : - Total Files - Source: 14,508 (10.05GB) - Target: 11,507 (3.63GB)
2006-01-04 08:38:28 : - Excluded Files - Source: 4,547 (7.72GB) - Target: 1,549 (1.30GB)
2006-01-04 08:38:28 : - Matched Files - Source: 9,955 (2.33GB) - Target: 9,955 (2.33GB)
2006-01-04 08:38:28 : - Single Files - Source: 3 (2.17MB) - Target: 0 (0)
2006-01-04 08:38:28 : -- Added Files (Since Last Execution)- Source: 3,013 (6.44GB) - Target: 9 (20.71MB)
2006-01-04 08:38:28 : -- Removed Files (Since Last Execution) - Source: 3 (6.90MB) - Target: 0 (0)
2006-01-04 08:38:28 : - Newer Files - Source: 2 (846B) - Target: 1 (43.50KB)
2006-01-04 08:38:28 : - Older Files - Source: 1 (43.50KB) - Target: 2 (846B)
2006-01-04 08:38:28 : -- Conflict Files - Source: 1 (43.50KB) - Target: 1 (43.50KB)
2006-01-04 08:38:28 : - Total Subfolders - Source: 2,128 - Target: 2,125
2006-01-04 08:38:28 : - Excluded Subfolders - Source: 106 - Target: 102
2006-01-04 08:38:28 : - Matched Subfolders - Source: 2,022 - Target: 2,022
2006-01-04 08:38:28 : - Single Subfolders - Source: 0 - Target: 1
2006-01-04 08:38:28 : - To Do - Synchronization
2006-01-04 08:38:28 : - Files to Add - Source: 0 (0) - Target: 3 (2.17MB)
2006-01-04 08:38:28 : - Files to Update - Source: 0 (0) - Target: 2 (846B)
2006-01-04 08:38:28 : - Files to Delete - Source: 0 (0) - Target: 0 (0)
2006-01-04 08:38:28 : - Subfolders to Add - Source: 0 - Target: 0
2006-01-04 08:38:28 : - Subfolders to Delete - Source: 0 - Target: 1
2006-01-04 08:38:28 : - Files to Archive - Source: 0 (0) - Target: 0 (0)
2006-01-04 08:38:28 :
2006-01-04 08:38:28 : ---- Start Execution ----
2006-01-04 08:38:28 : ---- Synchronization (Source: U:\ | H:\ | S:\ | R:\Demonstrator\Blanker\ | R:\Demonstrator\Light Optics SS\ | R:\Demonstrator\Deflector\Deflector Control\ Target: F:\u\ | F:\h\ | F:\s_system\ | F:\r_electronoptics\Blanker\ | F:\r_electronoptics\Light Optics SS\ | F:\r_electronoptics\Deflector\Deflector Control\) ----
2006-01-04 08:38:28 : ---- Start deleting ----
2006-01-04 08:38:28 : -- Deleting from target ...
2006-01-04 08:38:28 : Deleting folder F:\u\TAXApp\VectorScan\ [Can not delete folder "F:\u\TAXApp\VectorScan\". The directory is not empty.] [ERROR].
2006-01-04 08:38:28 : -- Done: 0 (0) Err: 1 (0) Skipped: 0 (0) Tot: 1 (0) --
2006-01-04 08:38:28 : -- Objects Deleted per Second: 0.00 -- Elapsed Time: 0 sec
2006-01-04 08:38:29 : Re-comparing ...
2006-01-04 08:38:29 : ---- Deleting finished ----
2006-01-04 08:38:29 : ---- Start copying ----
2006-01-04 08:38:29 : -- Copying to target...
2006-01-04 08:38:29 : Copying file R:\Demonstrator\Blanker\Measurements\Rebutantus\beam disturbance LOS.xls <to> F:\r_electronoptics\Blanker\Measurements\Rebutantus\beam disturbance LOS.xls (2.09MB) [Can not open "R:\Demonstrator\Blanker\Measurements\Rebutantus\beam disturbance LOS.xls". The process cannot access the file because it is being used by another process.] [ERROR].
2006-01-04 08:38:29 : Copying file R:\Demonstrator\Blanker\Measurements\Rebutantus\2005-12-30 stability test over weekend\stability.xls <to> F:\r_electronoptics\Blanker\Measurements\Rebutantus\2005-12-30 stability test over weekend\stability.xls (40.50KB) [Can not open "R:\Demonstrator\Blanker\Measurements\Rebutantus\2005-12-30 stability test over weekend\stability.xls". The process cannot access the file because it is being used by another process.] [ERROR].
2006-01-04 08:38:29 : Copying file R:\Demonstrator\Blanker\Measurements\Rebutantus\2006-01-03\stability with LOS.xls <to> F:\r_electronoptics\Blanker\Measurements\Rebutantus\2006-01-03\stability with LOS.xls (45.00KB) [Can not open "R:\Demonstrator\Blanker\Measurements\Rebutantus\2006-01-03\stability with LOS.xls". The process cannot access the file because it is being used by another process.] [ERROR].
2006-01-04 08:38:29 : -- Done: 2 (846B) Err: 3 (2.17MB) Skipped: 0 (0) Tot: 5 (2.17MB) --
2006-01-04 08:38:29 : -- Average Transfer Rate: 826.17KB/Sec -- Elapsed Time: 0 sec
2006-01-04 08:38:29 : -- Cleaning archive copies ...
|
|
|
Back to top |
|
|
Remco Guest
|
Posted: Wed Jan 04, 2006 7:44 am Post subject: |
|
|
Please ignore the last three errors at the end of the log. The folder error is the line:
Code: |
2006-01-04 08:38:28 : Deleting folder F:\u\TAXApp\VectorScan\ [Can not delete folder "F:\u\TAXApp\VectorScan\". The directory is not empty.] [ERROR]. |
|
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8769
|
Posted: Wed Jan 04, 2006 10:13 pm Post subject: |
|
|
Thanks, for the folder in question, what are its file security attributes? Are there other hidden or system files in this folder ? _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
Remco Guest
|
Posted: Thu Jan 05, 2006 3:22 pm Post subject: |
|
|
Everybody has full control over the folder. As I already mentioned, inside the folder a hidden folder is present (.svn). This hidden folder is copied there during a previous sync. Otherwise the folder is empty. |
|
Back to top |
|
|
Remco Guest
|
Posted: Tue Jan 10, 2006 10:01 am Post subject: |
|
|
Dear mr. Site Admin, just to make things clear: my problem is not over yet. I understand your analysis that the folder cannot be removed because a hidden folder is present. But that hidden folder was put there by VV during a previous sync. If the hidden folder has been removed from the source, VV should remove the hidden folder and thus also the folder above it and not complain about 'unable to delete a folder'. |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8769
|
Posted: Tue Jan 10, 2006 10:15 am Post subject: |
|
|
From the log I can see the VV is not even trying to delete the hidden folder (.svn) but only the parent folder F:\u\TAXApp\VectorScan\ and it fails because the directory is not empty.
To solve this I need you to send a screenshot of the comparison window showing the comparison between source and target to support@tgrmn.com Please make sure the folder in question is visible in the screenshot. Could it be that the hidden folder is excluded? Is it a folder or a file? I see from the profile settings that you have excluded hidden files. _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
Remco Guest
|
Posted: Tue Jan 10, 2006 12:56 pm Post subject: |
|
|
OK, I think I almost understand it. You write that you can see in the profile settings I have excluded hidden files. After digging through the options I have found an option 'exclude hidden files'. I have unchecked it and will test if it works. |
|
Back to top |
|
|
Remco Guest
|
Posted: Tue Jan 10, 2006 1:13 pm Post subject: |
|
|
It works. The folder is removed. Thanks.
Before this I used VV 1.3. Maybe I was forgotten I had turned the feature off in that feature or maybe it was default behaviour? |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8769
|
Posted: Tue Jan 10, 2006 10:45 pm Post subject: |
|
|
The option 'Exclude Hidden Files' is not active by default.
It seems that the folder that could not be deleted contained an excluded hidden file, so the folder could not be deleted because not empty. _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
|