Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error cleaning ~/.cache/doc/by-app FUSE mount point related to Flatpak #573

Closed
Ub3rZ4cH opened this issue Jul 1, 2019 · 7 comments
Closed

Error cleaning ~/.cache/doc/by-app FUSE mount point related to Flatpak #573

Ub3rZ4cH opened this issue Jul 1, 2019 · 7 comments
Assignees
Labels
bug
Milestone

Comments

@Ub3rZ4cH
Copy link

@Ub3rZ4cH Ub3rZ4cH commented Jul 1, 2019

Using 2.3 running from source from git clone.
Username was omitted.

Error: system.cache: Command to delete /home//.cache/doc/by-app
Traceback (most recent call last):
File "/home//bleachbit/bleachbit/Worker.py", line 83, in execute
for ret in cmd.execute(self.really_delete):
File "/home//bleachbit/bleachbit/Command.py", line 84, in execute
FileUtilities.delete(self.path, self.shred)
File "/home//bleachbit/bleachbit/FileUtilities.py", line 265, in delete
os.rmdir(delpath)
OSError: [Errno 38] Function not implemented: '/home//.cache/doc/by-app'
Error: system.cache: Command to delete /home//.cache/doc
Traceback (most recent call last):
File "/home//bleachbit/bleachbit/Worker.py", line 83, in execute
for ret in cmd.execute(self.really_delete):
File "/home//bleachbit/bleachbit/Command.py", line 84, in execute
FileUtilities.delete(self.path, self.shred)
File "/home//bleachbit/bleachbit/FileUtilities.py", line 265, in delete
os.rmdir(delpath)
OSError: [Errno 16] Device or resource busy: '/home//.cache/doc'

@az0

This comment has been minimized.

Copy link
Member

@az0 az0 commented Jul 1, 2019

Do you know if ~/.cache/doc/by-app and ~/.cache/doc are normal objects? Do you know which application made them?

Could you please run the stat command on them?

@Ub3rZ4cH

This comment has been minimized.

Copy link
Author

@Ub3rZ4cH Ub3rZ4cH commented Jul 1, 2019

~/cache/doc/by-app doesn't exist so either never did exist or has been removed now. However running ~/cache/doc I get...

@pc:~$ sudo stat ~/.cache/doc
File: /home//.cache/doc
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 801h/2049d Inode: 2121742 Links: 2
Access: (0700/drwx------) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2019-07-01 17:47:41.919775870 +0100
Modify: 2019-07-01 17:47:41.919775870 +0100
Change: 2019-07-01 17:47:41.919775870 +0100
Birth: -

@az0

This comment has been minimized.

Copy link
Member

@az0 az0 commented Jul 20, 2019

@az0 az0 changed the title Error cleaning /.cache/doc/ Error cleaning ~/.cache/doc/by-app FUSE mount point related to Flatpak Jul 20, 2019
@az0 az0 added this to the 3.0 milestone Jul 20, 2019
@az0 az0 self-assigned this Jul 20, 2019
az0 added a commit that referenced this issue Jul 20, 2019
This harmless error existed in BleachBit 2.2 and earlier versions.

Reported by ineuw
https://www.bleachbit.org/forum/error-execution-command-delete-rootcachedocby-app

Later reports
https://www.bleachbit.org/forum/errors-bleachbit-22-linux-mint-19-tara
#573

Clsoes #573
@az0

This comment has been minimized.

Copy link
Member

@az0 az0 commented Jul 20, 2019

The fix was pushed to Git. You can test it various ways, including

  1. Update to the latest Git version (see: run from source)
  2. Just replace FileUtilities.py with the latest version
  3. Wait for the next beta or final release
@az0 az0 closed this Jul 20, 2019
az0 added a commit that referenced this issue Jul 20, 2019
@az0 az0 added the bug label Jul 20, 2019
@az0

This comment has been minimized.

Copy link
Member

@az0 az0 commented Oct 10, 2019

You could test this fix in the newly-released BleachBit 2.3 beta

@Ub3rZ4cH

This comment has been minimized.

Copy link
Author

@Ub3rZ4cH Ub3rZ4cH commented Oct 16, 2019

I can confirm I no longer get this issue, with the latest git version build from source :)

@az0

This comment has been minimized.

Copy link
Member

@az0 az0 commented Oct 22, 2019

@Ub3rZ4cH Thanks for confirming

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.