View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002508 | Double Commander | File operations | public | 2020-07-03 06:46 | 2023-10-19 14:55 |
| Reporter | jbbarnes77 | Assigned To | Alexx2000 | ||
| Priority | normal | Severity | major | Reproducibility | random |
| Status | closed | Resolution | unable to reproduce | ||
| Projection | none | ETA | none | ||
| Platform | Windows | OS | Windows 10 | OS Version | Windows 10 Pro |
| Product Version | 0.9.9 | Product Build | 2020/06/27 | ||
| Summary | 0002508: Renamed filenames are corrupted | ||||
| Description | I have started having folder names garbled recently. This has happened twice by hitting F2, typing in a new folder name, and then hitting enter. It has happened around four times using the multi-rename tool. I am including a screen shot of the results of a multi-rename. I was removing parts of filenames using a regular expression. The search was for \[.+\] and the replacement text was blank. In this case, there would have been one duplicate, so I agreed to it being appended with (1). The results on that folder were correct, but all other folder names were lost. This is the first time a duplicate folder name would have been an issue. | ||||
| Steps To Reproduce | This occurs seldom, but at least a couple of times per day with lots of activity. | ||||
| Additional Information | I have performed hundreds of renames per day over the past three days. This has occurred about half a dozen times. I was using 0.9.8 and upgraded to 0.9.9 yesterday with the same behavior. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Fixed in Revision | |||||
| Operating system | Windows | ||||
| Widgetset | |||||
| Architecture | 64-bit | ||||
|
|
This just occurred again. In this case, I had hit F2, typed a folder name, and hit enter. I found that it consistently happens if the folder name ends in a period. |
|
|
https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions > Do not end a file or directory name with a space or a period. Although the underlying file system may support such names, the Windows shell and user interface does not. It's strange: if I use F7 then DC can not create folder "test.", but - create "test1"; - run Multi-Rename Tool; - Find "1" > Replase "." > Rename; now I see folder "test." and I can use this folder (view, copy, move and other operations). In this case TC just rename folder to "temp", without any error/warning or other messages. I am not sure which solution will be better. DC can work with such files and it's very good (earlier I fixed such the problems with help Far Manager), but not most other programs cannot do it. Maybe just disable create such file/folder under Windows with Multi-Rename Tool too, bacause it's Windows-only limitation? |
|
|
I just uploaded another example, which just happened. In this case, I was renaming a couple of dozen folders. I used a regular expression of \[.+ to remove everything past the name of the albums involved. I didn't see any potential problems, though there may have been one that would result in a file ending with . But even if there would have been a problem with a single folder, all folder titles were scrambled, as you can see in the attached picture. I believe there has been a similar issue if the filename would end with a question mark. I do understand the issue with illegal characters in NTFS files, but could there be some type of check implemented? Or at least a way to prevent ALL folders from being corrupted? This could have been hundreds or thousands of folders on this media server. Thankfully it was just a couple of dozen that need to be renamed by hand. Thanks. |
|
|
I don't know how it can happen. What names was before? You can to enable logging result in the multi rename tool and try to reproduce it again. If it happen attach log file here. |
|
|
Okay, I am doing a lot of renaming for a large project, which is why I have run into this so frequently lately. I will enable logs and see if I can capture something that might be reproducible. |
|
|
I will try to re-download and reconstruct the folder with contents as before to see if I can reproduce it. I am attaching the names of most of the folders that got renamed and their titles scrambled. I know for certain that I made two replacements: 1) Non-regular expression: "Pink Floyd - " replaced with blank string. 2) Regular expression: " \[.+" with blank string. Both replacements were displayed in the right hand column correctly. Only after I closed the replace window did I see the scrambled names appear in the actual DC folder. |
|
|
Copy folder names as text, from DC Menu->"Mark"->"Copy Filename(s) to Clipboard" and insert here. I will create directories with this names and try to reproduce bug. |
|
|
I have tried to reproduce this behavior six times without success. So I will need to just stay on top of it and keep a log running if and when it happens again. But to document the situation fully, here is what I can tell you: The folder names were as below: Artwork - 03 - Oct - 2010 Pink Floyd - A Momentary Lapse Of Reason 1987 [EAC - FLAC] (oan) Pink Floyd - A Saucerful Of Secrets 1968 [EAC - FLAC] (oan) Pink Floyd - Animals 1977 [EAC - FLAC] (oan) Pink Floyd - Atom Heart Mother 1970 [EAC - FLAC] (oan) Pink Floyd - Echoes - The Best Of Pink Floyd [Disc 1] 2001 [EAC - FLAC] (oan) Pink Floyd - Echoes - The Best Of Pink Floyd [Disc 2] 2001 [EAC - FLAC] (oan) Pink Floyd - Is There Anybody Out There [Disc 1] 2000 [EAC - FLAC] (oan) Pink Floyd - Is There Anybody Out There [Disc 2] 2000 [EAC - FLAC] (oan) Pink Floyd - Meddle 1971 [EAC - FLAC] (oan) Pink Floyd - Obscured By Clouds 1972 [EAC - FLAC] (oan) Pink Floyd - Pulse [Disc 1] 1995 [EAC - FLAC] (oan) Pink Floyd - Pulse [Disc 2] 1995 [EAC - FLAC] (oan) Pink Floyd - Soundtrack From The Film More 1969 [EAC - FLAC] (oan) Pink Floyd - The Dark Side Of The Moon 1973 [EAC - FLAC] (oan) Pink Floyd - The Division Bell 1994 [EAC - FLAC] (oan) Pink Floyd - The Final Cut 1983 [EAC - FLAC] (oan) Pink Floyd - The Piper at the Gates of Dawn 1967 [EAC - FLAC] (oan) Pink Floyd - The Piper At The Gates Of Dawn 40th [Disc 1] 2007 [EAC - FLAC] (oan) Pink Floyd - The Piper At The Gates Of Dawn 40th [Disc 2] 2007 [EAC - FLAC] (oan) Pink Floyd - The Piper At The Gates Of Dawn 40th [Disc 3] 2007 [EAC - FLAC] (oan) Pink Floyd - The Wall [Disc 1] 1979 [EAC - FLAC] (oan) Pink Floyd - The Wall [Disc 2] 1979 [EAC - FLAC] (oan) Pink Floyd - Ummagumma - Live Album 1969 [EAC - FLAC] (oan) Pink Floyd - Ummagumma - Studio Album 1969 [EAC - FLAC] (oan) Pink Floyd - Wish You Were Here 1975 [EAC - FLAC] (oan) Pink Floyd Albums(24 bits) [FLAC,Tracks] VA - Zabriskie Point [Deluxe Edition 1997] [Disc 1] [EAC - FLAC] (oan) VA - Zabriskie Point [Deluxe Edition 1997] [Disc 2] [EAC - FLAC] (oan) I performed two renaming operations: "Pink Floyd - " => "" " \[.+" => "" I was prompted to confirm that there would be a duplicate name and it would be appended with (1) After the second operation, the updated filenames appeared correctly in the righthand column, so everything looked good. I then clicked the Close button. This returned me to the DC file window displaying all the bad folder names. This particular operation occurred using 0.9.9, which I had just installed because 0.9.8 had done similar things around three times in the previous couple of days. 0.9.9 has done this around three times, two of which I have documented here. |
|
|
I haven't see this for a while, but just had one more bad filename appear. This folder was named "Simple Expression" I hit F2 and renamed it to "1990 - Simple Expression" and hit enter. The resulting name was 1BK0ZL~Z |
|
|
Looks like something wrong on your system. DC simply calls system rename function. |
|
|
Judging by icon this is a network drive. So could be server-side or protocol issue. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2020-07-03 06:46 | jbbarnes77 | New Issue | |
| 2020-07-03 06:46 | jbbarnes77 | File Added: 2020-07-02 19_33_52.jpg | |
| 2020-07-03 07:23 | jbbarnes77 | Note Added: 0003459 | |
| 2020-07-03 18:54 | Skif_off | Note Added: 0003460 | |
| 2020-07-04 00:00 | jbbarnes77 | File Added: 2020-07-03 12_58_24.jpg | |
| 2020-07-04 00:06 | jbbarnes77 | Note Added: 0003461 | |
| 2020-07-04 00:56 | Alexx2000 | Note Added: 0003462 | |
| 2020-07-04 00:56 | Alexx2000 | Status | new => feedback |
| 2020-07-04 05:47 | jbbarnes77 | Note Added: 0003463 | |
| 2020-07-04 05:47 | jbbarnes77 | Status | feedback => new |
| 2020-07-04 05:59 | jbbarnes77 | Note Added: 0003464 | |
| 2020-07-04 06:00 | jbbarnes77 | File Added: 2020-07-03 18_49_03.jpg | |
| 2020-07-04 12:18 | Alexx2000 | Note Added: 0003465 | |
| 2020-07-04 12:18 | Alexx2000 | Status | new => feedback |
| 2020-07-04 20:01 | jbbarnes77 | Note Added: 0003466 | |
| 2020-07-04 20:01 | jbbarnes77 | Status | feedback => new |
| 2020-07-12 03:24 | jbbarnes77 | File Added: 2020-07-11 16_21_26.jpg | |
| 2020-07-12 03:26 | jbbarnes77 | Note Added: 0003470 | |
| 2020-11-12 23:51 | Alexx2000 | Note Added: 0003537 | |
| 2020-11-12 23:52 | Alexx2000 | Status | new => acknowledged |
| 2020-11-12 23:52 | Alexx2000 | Resolution | open => unable to reproduce |
| 2020-11-14 07:04 | user01 | Note Added: 0003538 | |
| 2023-10-19 14:55 | Alexx2000 | Assigned To | => Alexx2000 |
| 2023-10-19 14:55 | Alexx2000 | Status | acknowledged => closed |