how do not calculate size of not a real folders?

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2AntonDudarenko
Thanks for your tests.

1) I have never seen such a misplacement of the cancel button. For me it's right beside the OK button. Can anyone reproduce this?

2) 3) I have to confirm these. :oops:

4) As far as I remember It's a general error. This should not happen. Can you give more information how to reproduce this?
Also as I've noticed file DirSizeCalc.lng - not in UTF-8 encoding
Yes TC content plugin language files don't support UTF-8. The character interpretation depends on the current language in TC.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Yes TC content plugin language files don't support UTF-8. The character interpretation depends on the current language in TC.
Since it is a regular Windows INI file, UTF-16 should be valid for it (Windows API supports both ANSI and UTF-16 for INI files). But of course it will double its size.
User avatar
AntonyD
Power Member
Power Member
Posts: 1674
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Post by *AntonyD »

And if to be more correct - bottom line that inside TC program itself there is NO built-in ability to prevent TC to follow all type of reparse points ONLY for operation "Calculate occupied size"?
#146217 personal license
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2AntonDudarenko
Does it work for you okay using DirSizeCalc?
User avatar
AntonyD
Power Member
Power Member
Posts: 1674
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Post by *AntonyD »

2Lefteous
mmm, about 4) you are talking about symbols "F 0" ?
folder 'Addons' is a junction to D:\ drive for original folder located originally on C:\ drive
I've made it with help of tool http://flint-inc.ru/rus/info/ntfslinks.html
with default settings on machine running Windows XP SP3 rus.

And of course I've created a new Custom Panel with ALL chosen fields from your plugin with default settings for each field.
On a pic you should see that they just follow one by one on my custom panel.
And I stepped in a directory with that junction and waited while plugin will calculate all dir sizes except of course all dirs made with help of any type of reparse points.
http://postimg.org/image/rvgmwy3in/

P.S. !!also that is important DirSizeCalcSettings.exe does not remember its windows position on each start and do not understand double monitors system.
Last edited by AntonyD on 2015-10-13, 11:38 UTC, edited 1 time in total.
#146217 personal license
User avatar
AntonyD
Power Member
Power Member
Posts: 1674
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Post by *AntonyD »

Lefteous wrote:2AntonDudarenko
Does it work for you okay using DirSizeCalc?
I am still in a test phase - but looks like rather yes than no

P.S. and indeed make ini file at least in UTF-16. Otherwise how chine - hebrew - arabic translations will be stored in it?

P.P.S http://postimg.org/image/qx18kk2zv/
another bugs?

P.P.P.S. found most critical bug! I can't select files necessary to me on a custom panel with fields from your plugin and to calculate
general size of selected objects! Your plugins shows size of directories - yes, but it does not give out this information to TC,
so it could use them. So.... not complete realization of a good ideas, IMHO.
picture for more explanations: http://postimg.org/image/63qxa1zah/
#146217 personal license
User avatar
makinero
Senior Member
Senior Member
Posts: 268
Joined: 2013-10-26, 10:05 UTC

Post by *makinero »

I do not know how to use DirSizeCalc
but my other applications very quickly - show
Folder size and number of files and the number of items and the "NTFS File ID"
100 million files, and 1 million folder in just a few seconds and sorting everything with super-speed also few second :D
Memory usage - only 3.8 GB

The less unnecessary code and optimization of sorting = lower memory usage and accelerate speed
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2AntonDudarenko
you are talking about symbols "F 0" ?
Yes. I will try to create a reparse point using this tool and investigate.
And of course I've created a new Custom Panel with ALL chosen fields from your plugin with default settings for each field.
On a pic you should see that they just follow one by one on my custom panel.
And I stepped in a directory with that junction and waited while plugin will calculate all dir sizes except of course all dirs made with help of any type of reparse points.
http://postimg.org/image/rvgmwy3in/
Yes these settings are perfectly fine if you don't want to follow reparse points at all (for DirSizeCalc).
.S. !!also that is important DirSizeCalcSettings.exe does not remember its windows position on each start and do not understand double monitors system.
Yes it's currently placed by Windows itself. I hope that there will be a plugin config integrated in TC so I don't have to care about about these things ;-)
P.S. and indeed make ini file at least in UTF-16. Otherwise how chine - hebrew - arabic translations will be stored in it?
As far as I know this enconding isn't supported by TC. If there is an official statement by Ghisler that this is has changed I will change it immediately.
another bugs?
For these kind of errors you need to go down to the level where the problem exists and give me some hints what could be the culprit.
yes, but it does not give out this information to TC
Well that's not a problem caused by this plugin. The statusbar is almost completely static and cannot be changed to use plugin fields or even calculations based on plugin field values. It has been requested quite a few times to change this.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7022
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

makinero wrote:I do not know how to use DirSizeCalc
but my other applications very quickly - show
Folder size and number of files and the number of items and the "NTFS File ID"
100 million files, and 1 million folder in just a few seconds and sorting everything with super-speed also few second :D
Memory usage - only 3.8 GB

The less unnecessary code and optimization of sorting = lower memory usage and accelerate speed
We have seen your spam several times in the past.
So please stop this useless postings.
User avatar
AntonyD
Power Member
Power Member
Posts: 1674
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Post by *AntonyD »

Yes it's currently placed by Windows itself.
yep, but there are a techniques which allow you to manage these parameters. And all other plugins which I have in TC and which have dialogs - can remember last position OR at least - they understand somehow that I have 2 monitors and never output an one half of dialog on one monitor, and other half - on other monitor like your plug now does. http://postimg.org/image/jsy68a2v3/
For these kind of errors you need to go down ....
stop-stop! first of all so what exactly means these single chars? 'F', 'A'? exactly what? On which conditions your plug output these symbols?
Secondly: E - is an Unknown error. Ok let it be unknown - but in which conditions it is unknown? during dir structure creating? file size calculating, or .... or ....? When exactly your plug decides to output this symbol?

And as for my situation. You want to say that if you will run your plug on drive C:\ you will not get such symbols? Pls, show me your screenshot of this action.
Well that's not a problem caused by this plugin. The statusbar is almost completely static
I agree it's static ;) - but does it mean that if plugin will say to TC that it has Field ready "Size" with proper value "1537688367" - status bar will not accept this info?
#146217 personal license
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2AntonDudarenko
yep, but there are a techniques which allow you to manage these parameters. And all other plugins which I have in TC and which have dialogs - can remember last position OR at least - they understand somehow that I have 2 monitors and never output an one half of dialog on one monitor, and other half - on other monitor like your plug now does.
I will wait for TC 9 and if it doesn't introduce a more integrated plugin-config I will tweak the external settings tool a bit. But hopefuly I can convert the external settings tool to an internal.
first of all so what exactly means these single chars? 'F', 'A'?
Sorry about that. I found out that's just an inconsistency in the default language. Will be fixed in next version.
'F' should be actually 'NF' for not followed which means we have a reparse point which isn't calculated.
'A' should be 'AD' = 'Access denied'.
Both prefixes are displayed if there is a certain condition (access denied, not followed reparse point) met anywhere in the path structure. So I would be glad to hear details about 'E' prefixes. The others are information not errors.
And as for my situation. You want to say that if you will run your plug on drive C:\ you will not get such symbols? Pls, show me your screenshot of this action.
No I wouldn't claim that. Even as an admin there might be folders which cannot be accessed without changing permissions.
I agree it's static Wink - but does it mean that if plugin will say to TC that it has Field ready "Size" with proper value "1537688367" - status bar will not accept this info?
That's not how a plugin works. TC asks the plugin for values. The plugin doesn't ask TC. So TC has to be configured to ask the plugin - and at the moment there is no such configuration setting.
User avatar
AntonyD
Power Member
Power Member
Posts: 1674
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Post by *AntonyD »

Lefteous wrote:2AntonDudarenko
....
first of all so what exactly means these single chars? 'F', 'A'?
Sorry about that. I found out that's just an inconsistency in the default language. Will be fixed in next version.
'F' should be actually 'NF' for not followed which means we have a reparse point which isn't calculated.
'A' should be 'AD' = 'Access denied'.
Both prefixes are displayed if there is a certain condition (access denied, not followed reparse point) met anywhere in the path structure.
So I would be glad to hear details about 'E' prefixes. The others are information not errors.
....
ok here it is my info: in a root of drive C:\ I can see these E symbol for folder C:\Users
Image: http://s7.postimg.org/qvfba97vf/2015_10_14_103918.png

BUT if I will step in this folder:
Image: http://s7.postimg.org/7237hjuhn/2015_10_14_103952.png
I will see that there is NO noticeable reasons for this symbol, coz ALL folders OR have their proper size, OR there are in fact a reparse point -based folders
and I did not want to calculate their size, so they have F (you mean - NF) signature. So IMHO you should take a deep look on sources of plugin and to decide on
in which places of code there in an ability to show this E symbol. Which certain conditions can trigger this symbol.
Lefteous wrote:2AntonDudarenko
...
And as for my situation. You want to say that if you will run your plug on drive C:\ you will not get such symbols? Pls, show me your screenshot of this action.
No I wouldn't claim that. Even as an admin there might be folders which cannot be accessed without changing permissions.
....
Again - on your computer in root of your drive C:\ don't you see such errors from inside the plugin's custom panel? Yes|No?
#146217 personal license
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2AntonDudarenko
I will see that there is NO noticeable reasons for this symbol, coz ALL folders OR have their proper size, OR there are in fact a reparse point -based folders
and I did not want to calculate their size, so they have F (you mean - NF) signature. So IMHO you should take a deep look on sources of plugin and to decide on
in which places of code there in an ability to show this E symbol. Which certain conditions can trigger this symbol.
The folder you display in that screenshot could be anywhere in the folder hierarchy so there is absolutely no indicator why none of the folders doesn't display the E prefix.
My first investigations showed that it might be related to the special reparse points where the target cannot be read but I have to analyse this in more detail.
Again - on your computer in root of your drive C:\ don't you see such errors from inside the plugin's custom panel? Yes|No?
On some systems yes but not on all.
User avatar
AntonyD
Power Member
Power Member
Posts: 1674
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Post by *AntonyD »

Ok, so if you have some systems where you can test your plugin and so you can see such errors - that's very good.
but in any case - just write me PM or post in this thread when new/test plugin will be ready - I will test it with pleasure)))
#146217 personal license
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

Yes of course I can announce it here as well when it's available.
Post Reply