[GH-ISSUE #153] no output on Windows #66

Closed
opened 2026-06-08 11:25:31 +03:00 by zhus · 9 comments
Owner

Originally created by @thorstenkampe on GitHub (Jun 23, 2021).
Original GitHub issue: https://github.com/bootandy/dust/issues/153

The new version 0.6.0 shows no output on Windows while the previous one (0.5.4) does.

Originally created by @thorstenkampe on GitHub (Jun 23, 2021). Original GitHub issue: https://github.com/bootandy/dust/issues/153 The new version 0.6.0 shows no output on Windows while the previous one (0.5.4) does.
zhus closed this issue 2026-06-08 11:25:31 +03:00
Author
Owner

@bootandy commented on GitHub (Jun 23, 2021):

ok, lets work on this.

Which version of windows are you using?
Can you try different directories / Does it only happen with the root directory or networked folders?
Is there a problem with the permissions on the directory?

<!-- gh-comment-id:867139518 --> @bootandy commented on GitHub (Jun 23, 2021): ok, lets work on this. Which version of windows are you using? Can you try different directories / Does it only happen with the root directory or networked folders? Is there a problem with the permissions on the directory?
Author
Owner

@thorstenkampe commented on GitHub (Jun 24, 2021):

I'm running Windows 10. I'll try a different root - outside my Cygwin home directory - tomorrow. The computer in question is part of an Active Directory domain. On my home machine the issue does not occur.

<!-- gh-comment-id:867157632 --> @thorstenkampe commented on GitHub (Jun 24, 2021): I'm running Windows 10. I'll try a different root - outside my Cygwin home directory - tomorrow. The computer in question is part of an Active Directory domain. On my home machine the issue does not occur.
Author
Owner

@jocwurs commented on GitHub (Oct 6, 2021):

On Windows dust only counts directories without the Archive attribute.
After running "$attrib /s /d -a *" dust shows all directories.
I am using dust 0.7.0 on Windows 10 1909.

<!-- gh-comment-id:935550278 --> @jocwurs commented on GitHub (Oct 6, 2021): On Windows dust only counts directories without the Archive attribute. After running "$attrib /s /d -a *" dust shows all directories. I am using dust 0.7.0 on Windows 10 1909.
Author
Owner

@bootandy commented on GitHub (Oct 11, 2021):

thanks, @jocwurs that's useful, perhaps we can patch up the file walker to handle this.

https://github.com/bootandy/dust/blob/master/src/platform.rs#L106

I guess it is in this function. But I don't currently have a windows machine so I'm not comfortable fixing it myself.

<!-- gh-comment-id:940217513 --> @bootandy commented on GitHub (Oct 11, 2021): thanks, @jocwurs that's useful, perhaps we can patch up the file walker to handle this. https://github.com/bootandy/dust/blob/master/src/platform.rs#L106 I guess it is in this function. But I don't currently have a windows machine so I'm not comfortable fixing it myself.
Author
Owner

@bootandy commented on GitHub (Feb 27, 2022):

https://github.com/bootandy/dust/releases/tag/v0.8.1-alpha.2

I don't know what the root cause of this but if it is because of the archive Attribute then I removed it with this alpha release. Can a windows user who is seeing this issue try the above alpha2 release and tell me if it fixes the problem? If it does I'll merge it into master.

Thanks,

<!-- gh-comment-id:1053521362 --> @bootandy commented on GitHub (Feb 27, 2022): https://github.com/bootandy/dust/releases/tag/v0.8.1-alpha.2 I don't know what the root cause of this but if it is because of the archive Attribute then I removed it with this alpha release. Can a windows user who is seeing this issue try the above alpha2 release and tell me if it fixes the problem? If it does I'll merge it into master. Thanks,
Author
Owner

@thorstenkampe commented on GitHub (Feb 28, 2022):

No change with Dust 0.8.1-alpha.2

<!-- gh-comment-id:1054459425 --> @thorstenkampe commented on GitHub (Feb 28, 2022): No change with `Dust 0.8.1-alpha.2`
Author
Owner

@nico-abram commented on GitHub (Apr 30, 2022):

Sent a pull request that seems to fix it in https://github.com/bootandy/dust/pull/218

<!-- gh-comment-id:1114031867 --> @nico-abram commented on GitHub (Apr 30, 2022): Sent a pull request that seems to fix it in https://github.com/bootandy/dust/pull/218
Author
Owner

@mrbrianevans commented on GitHub (Jun 22, 2022):

I am on version 0.8.0 and also getting this error. No output on windows 10.

Example:

PS C:\Users\brian\Downloads> dust
PS C:\Users\brian\Downloads>

I can assure you that there are plenty of files in my downloads folder, but running the command doesn't print any output. It takes a long to time to run, and CPU is at 100% usage, so its definitely doing something, just not outputing results.

It does seem to work if I run dust on a specific file, such as this:

C:\Users\brian\Downloads>dust ideaIU-2019.2.3.exe
Did not have permissions for all directories
 673M ┌── ideaIU-2019.2.3.exe│█████████████████████████████████████████████████████████████████████████████████████████████████████████████████ │ 100%

but doesn't work if I run it on a folder/directory.

I am not (knowingly) using archive or network storage. This is just the default regular windows downloads folder.

If #218 fixed this, how can I install it using Cargo? I tried cargo install du-dust which installed du-dust v0.8.0.

<!-- gh-comment-id:1162899169 --> @mrbrianevans commented on GitHub (Jun 22, 2022): I am on version 0.8.0 and also getting this error. No output on windows 10. Example: ``` PS C:\Users\brian\Downloads> dust PS C:\Users\brian\Downloads> ``` I can assure you that there are plenty of files in my downloads folder, but running the command doesn't print any output. It takes a long to time to run, and CPU is at 100% usage, so its definitely doing something, just not outputing results. It does seem to work if I run dust on a specific file, such as this: ``` C:\Users\brian\Downloads>dust ideaIU-2019.2.3.exe Did not have permissions for all directories 673M ┌── ideaIU-2019.2.3.exe│█████████████████████████████████████████████████████████████████████████████████████████████████████████████████ │ 100% ``` but doesn't work if I run it on a folder/directory. I am not (knowingly) using archive or network storage. This is just the default regular windows downloads folder. If #218 fixed this, how can I install it using Cargo? I tried `cargo install du-dust` which installed `du-dust v0.8.0`.
Author
Owner

@bootandy commented on GitHub (Jun 29, 2022):

I'll push out a new release soon, that will include the fix.

otherwise you can download the alpha build here: https://github.com/bootandy/dust/releases/tag/v0.8.1-alpha.2

<!-- gh-comment-id:1169950190 --> @bootandy commented on GitHub (Jun 29, 2022): I'll push out a new release soon, that will include the fix. otherwise you can download the alpha build here: https://github.com/bootandy/dust/releases/tag/v0.8.1-alpha.2
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bootandy/archived-dust#66