[Solved] <Read error!> for locked tabs on startup
Moderators: white, Hacker, petermad, Stefan2
[Solved] <Read error!> for locked tabs on startup
OS: Windows 7
When starting up Total Commander, and one of the active tabs are locked (left, right or both). The listing for the locked tab will just have one item named "<Read error!>".
When starting up with the active tabs being regular non-locked tabs, no such error occurs, and switching to a locked tab works just fine.
Often, this error will persist, even after you change tabs. But sometimes, when enough fiddling around, you can clear the error, and get it to read directories properly again, but it can be a little tricky.
When starting up Total Commander, and one of the active tabs are locked (left, right or both). The listing for the locked tab will just have one item named "<Read error!>".
When starting up with the active tabs being regular non-locked tabs, no such error occurs, and switching to a locked tab works just fine.
Often, this error will persist, even after you change tabs. But sometimes, when enough fiddling around, you can clear the error, and get it to read directories properly again, but it can be a little tricky.
Last edited by Aezay on 2018-07-10, 07:25 UTC, edited 2 times in total.
Of all the planets I've been to, this one is my favorite.
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This isn't a bug, it's a new feature!
Total Commander 9.20 now shows <Read error> for locked tabs only if their directory cannot be accessed during program start. In older TC versions, it would switch to a different directory, which caused a new tab to be opened.
You can double click or press ENTER on <Read error> to force a reload of the directory.
Total Commander 9.20 now shows <Read error> for locked tabs only if their directory cannot be accessed during program start. In older TC versions, it would switch to a different directory, which caused a new tab to be opened.
You can double click or press ENTER on <Read error> to force a reload of the directory.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
But if the directory isn't locked, but is still set to the same exact directory, there is no error, and listing the content works just fine.
It also doesn't explain why the read error persists even when I switch to other tabs, that are not locked.
When I get the read error item, it can be really tricky to get rid of, easiest way is to switch to a non-locked tab, and restart the program.
This doesn't sound like a feature to me. Can I disable it?
It also doesn't explain why the read error persists even when I switch to other tabs, that are not locked.
When I get the read error item, it can be really tricky to get rid of, easiest way is to switch to a non-locked tab, and restart the program.
This doesn't sound like a feature to me. Can I disable it?
Of all the planets I've been to, this one is my favorite.
2Aezay
Help:Can I disable it?
So use IgnoreDirErrors=-1 in the [Configuration] section your wincmd.ini fileIgnoreDirErrors=0 1: allows to switch to inaccessible or non-existent directories, shows <Read error!> in file list instead
0: only shows <Read error!> at the start of Total Commander for unreachable directories on locked tabs
-1: never shows <Read error!>, always switches away from unreachable directories
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Thanks for the reply.
This is an odd behavior, why not have -1 as default. I had to use explorer to navigate to the INI file to even change this, since Total Commander didn't want to list files at all, not even in new tabs.
After changing IgnoreDirErrors to -1, it seemed to work at first, but now I notice there is no file listing for root folders on any drives. And occasionally I get access violation crashes.
Seems like I must have some weird configuration going on, since no one else seems to be suffering from these issues with the new update.
This is an odd behavior, why not have -1 as default. I had to use explorer to navigate to the INI file to even change this, since Total Commander didn't want to list files at all, not even in new tabs.
After changing IgnoreDirErrors to -1, it seemed to work at first, but now I notice there is no file listing for root folders on any drives. And occasionally I get access violation crashes.
Code: Select all
Access violation at address 004278C4. Read of address 0000001C.
Access violation at address 004278C4. Read of address 0000001C
Windows 7 SP1 HomePremium 6.1 (Build 7601), base: 00400000
Please report this error to the Author, with a description
of what you were doing when this error occurred!
Windows exception: C0000005
Stack trace:
004278C4
00449FC2 0044A956 >0042753A 00449EF8 0042753A 00448955
0044A956 0042753A 00449EF8 0042753A 004747E7 004026B8
004094C3 004032DA 004032DA 004032DA
Raw:
00449EF8 0042753A 0044AB55 0043977E 00449F4A 00449FC2
0044A956 0042753A 00449EF8 0042753A 00402E8E 00448955
0044AC25 00429481 00449FC2 0044A956 0042753A 00449EF8
0042753A 00409079 004747E7 004747FD 00403414 004021C8
004023EF 004026B8 00409241 004023EF 004026B8 00403707
004094AC 004094C3 0040352B 00447D33 004476C0 0042DCAE
004032DA 0042CD5F 0042CF0E 004032DA 004032DA
Code: Select all
Exception EAccessViolation in module TOTALCMD.EXE at 0002A8EA.
Access violation at address 0042BB2A. Read of address 00000050.
Of all the planets I've been to, this one is my favorite.
No need to navigate anywhere for this. Menu Configuration > Change Settings Files Directly. Or create a button or entry in TC's start menu with your favorite editor and %COMMANDER_INI% as parameter.Aezay wrote:I had to use explorer to navigate to the INI file to even change this, since Total Commander didn't want to list files at all, not even in new tabs.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
2Aezay
Where are these unreadable directories located?
Where are these unreadable directories located?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I'm running as admin, so it's not a permission issue.
The locked tabs I had issues with before I tried setting IgnoreDirErrors to -1, are just directories directly in the root of my drives.
After changing IgnoreDirErrors to -1, no root on any drive, from c:\ to i:\ would list any files. There was no <Read error!> entry for these, just a completely empty listbox. This is also where I experiences the access violations errors.
To me it seems like it must be a settings issue, something to do with how Total Commander is configured for me, seeing that no one else are having these issues.
The only notable things I can think of and point to are the following:
The locked tabs I had issues with before I tried setting IgnoreDirErrors to -1, are just directories directly in the root of my drives.
After changing IgnoreDirErrors to -1, no root on any drive, from c:\ to i:\ would list any files. There was no <Read error!> entry for these, just a completely empty listbox. This is also where I experiences the access violations errors.
To me it seems like it must be a settings issue, something to do with how Total Commander is configured for me, seeing that no one else are having these issues.
The only notable things I can think of and point to are the following:
- My settings file is TotalCmd.ini located in the program directory.
- I've added many RedirectSection for the following INI sections: Colors, Searches, Left, Right, Selection, Command Line History, RenameTemplates, SearchName, SearchIn, SearchText, RenameSearchFind, RenameSearchReplace, MkDirHistory, LeftTabs, RightTabs, NewFileHistory, LeftHistory, RightHistory.
- I think my INI settings file has persisted since the early 2000s, I've never wiped it or started fresh. I could try that out, but don't have the time right now.
Of all the planets I've been to, this one is my favorite.
Aezay,
Well, you can always quickly try:
assuming TC's dir is writable.
Roman
Well, you can always quickly try:
Code: Select all
totalcmd.exe /i=.\fresh.ini
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
There is a known error which causes <Read error!> everywhere when
OldStyleDir=1
is set in wincmd.ini. But this happens everywhere, not just on locked tabs. Therefore I wonder what the problem is here.
OldStyleDir=1
is set in wincmd.ini. But this happens everywhere, not just on locked tabs. Therefore I wonder what the problem is here.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Aha, OldStyleDir is indeed set to 1 for me.
I wonder when I changed that setting. Looking at the description, it doesn't seem like a setting that would make a huge difference.
9.12 works just fine with this setting set to 1, so I assume the known error is for 9.20 only?
Will try out 9.20 again with this setting off.
I wonder when I changed that setting. Looking at the description, it doesn't seem like a setting that would make a huge difference.
9.12 works just fine with this setting set to 1, so I assume the known error is for 9.20 only?
Will try out 9.20 again with this setting off.
I only had it happen when I started up 9.20 on a locked tab, if I swapped to a non-locked tab, the <Read error!> item remained, as if no new directory refresh was being done. However, when I restarted the program, directory listing worked fine when starting up on the non-locked tab.But this happens everywhere, not just on locked tabs. Therefore I wonder what the problem is here.
Of all the planets I've been to, this one is my favorite.
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I see! TC 9.20 should handle directories much better even with OldStyleDir=0, so you can remove that option.
Last edited by ghisler(Author) on 2018-07-10, 09:18 UTC, edited 1 time in total.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Not really.Consider this solved.
If I set OldStyleDir=1 in Tc 9.20, it doesn't matter whether I set IgnoreDirErrors to -1, 0 or 1 - I end up with a completely dysfunctionel TC that can only show blank file panels (execpt for Virtual dirs, FTP sites and Archives).
So the OldStyleDir=1 setting should be ignored in future versions of TC.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar