I'm an open source developer. 🌱
adbeveridge / raider Goto Github PK
View Code? Open in Web Editor NEWPermanently delete your files
Home Page: https://apps.gnome.org/Raider/
License: GNU General Public License v3.0
Permanently delete your files
Home Page: https://apps.gnome.org/Raider/
License: GNU General Public License v3.0
The files finish shredding when the progress icon is still not done.
I've created a copr for raider
https://copr.fedorainfracloud.org/coprs/0xmrtt/raider
Run
dnf copr enable 0xmrtt/raider
dnf in raider
When Raider starts it should check if shred (part of the GNU Coreutils) exists. Raider is only meant for Linux, which always has the Coreutils installed, but maybe some dont.
Hi, I just tested Raider from flatpak manifest against commit b4acc1e
Wheel only shows "Estimating..." and takes forever. I didn't change any setting.
The icon style used in the application is not symbolic, as recommended in the GNOME HIG. Change all of them to symbolic.
The screenshots in the appdata file are not themed with Adwaita. They are themed with Adapta Night, which is not the default mode. Take them in Adwaita.
When opening up to a 1000 files at once, Raider freezes. Also it freezes when the Shred button is clicked.
To fix, I'll make it asynchronous.
Description
File Shredder's icon (version 0.1.0 installed from Flathub) is not being picked up by neither window switcher nor task manager when using under KDE Plasma 5.24.5 in Wayland session (generic Wayland icon is being used instead).
Steps to reproduce
Expected results
File Shredder's own icon should be shown in both window switcher and on the panel in task manager.
Actual results
Generic Wayland icon is shown in both window switcher and on the panel in task manager.
Screenshots
Additional information
System information:
Operating System: Fedora Linux 36
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.17.8-300.fc36.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-2520M CPU @ 2.50GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 3000
I came across this post by KDE's contributor, Nico, which may help:
https://nicolasfella.de/posts/fixing-wayland-taskbar-icons/
Thank you for your attention!
raider v1.2.1
manjaro gnome 42.4
Installed from AUR http://aur.archlinux.org/packages/raider-file-shredder
when starting raider using the command line and passing filenames, the files are show in the raider UI, but shredding fails.
$ raider /tmp/xyzzy
(raider:20766): GLib-GIO-CRITICAL **: 08:57:44.826: g_file_get_path: assertion 'G_IS_FILE (file)' failed
(raider:20766): GLib-GIO-CRITICAL **: 08:57:44.829: g_file_get_path: assertion 'G_IS_FILE (file)' failed
No shred output found.
(raider:20766): GLib-GObject-CRITICAL **: 08:57:49.773: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
or alternatively with a core dump .
$ raider /tmp/xyzzy
zsh: segmentation fault (core dumped) raider /tmp/xyzzy
When a window is closed during shredding the application crashes, thus leading to other possibly open windows.
Add a keyboard shortcuts window for accessibility.
Raider already has the offset thing, but now the length thing would be nice too.
The HdyActionRows are plain text, not the way they look when I snapshot it in Glade. Why is this?
There is no template.pot, where I can get .po file to translate?
Use HdyStatusPage or AdwStatusPage to make it look uniform with all GNOME apps.
The use of toast to signal completion of a single file being shred introduces significant delays when processing many smaller files located on tmpfs filesystem. Shredding many small files using "shred -zuv" is very quick to complete. Shredding the same number of small files in raider takes considerably longer due to the delays introduced by toasting the shredding of each individual file. A rough estimation is that the toast takes a number of seconds per file, whereas the native shred command takes 1 second to complete.
In my case the process would be optimised if the toast was only used to signal the end of all shredding.
Make sure that the shredding button is always red for all themes. Using the .destructive-action
class.
If there is a notification in the empty view and it is closed via its X button, the application crashes. Nemiver points it to grabbing a widget ancestor to focus.
I am using Arch + XFCE and the latest Shredder flatpak. I get this error:
libEGL warning: MESA-LOADER: failed to retrieve device information
libEGL warning: DRI2: could not open /dev/dri/card0 (No such file or directory)
libGL error: MESA-LOADER: failed to retrieve device information
(raider:2): Gtk-WARNING **: 03:42:53.861: Theme parser error: gtk.css:4403:12-17: "shade" is not a valid color name.
(raider:2): Gtk-WARNING **: 03:42:53.861: Theme parser error: gtk.css:4420:12-15: "mix" is not a valid color name.
(raider:2): Gtk-WARNING **: 03:42:53.861: Theme parser error: gtk.css:4425:12-15: "mix" is not a valid color name.
No provider of glGetShaderiv found. Requires one of:
Desktop OpenGL 2.0
OpenGL ES 2.0
I'd like to suggest a new feature:
Adding folders to the regular shredding list.
That is, the user selects folders and the cleaning interval (1 hour, 3 hours, 1 day, 1 week, 1 month). Files in this folder are automatically shredded according to a schedule.
On iMac late 2012, right when shredding starts, the application aborts.
After clicking the "Shred All" button the notifications appears one after another for each file shredded and blocks the shred button so the user must click X over and over on all of the notifications or simply wait it out before being able to shred any more files.
Hi,
It's under Advanced Setting and we may ignore but could you add a bit description about removing methods?
I have no idea why I have to select Wipesync instead of Wipe or Unlink.
We may change string someting like this:
I found the descriptions on this man page: https://man7.org/linux/man-pages/man1/shred.1.html
Raider segfaults when trying to launch all those processes with:
** (raider:2): ERROR **: 10:20:14.485: Process launching failed: Too many open files
To fix this, lets put a cap on how many files can be loaded at once, perhaps by figuring out dynamically from the system the max number of files that can be open, and corresponding processes can be launched.
v e8168f6
Command line error messages issued when testing shredding large number of files. In practice this is more prevalent the greater number of files being shredded and does not seem to happen if shredding smaller numbers < 200.
$ for i in {0001..1000}
do
dd if=/dev/zero of=xyzzy$i count=1024 bs=1024
done
$ raider xyzzy*
(raider:44317): GLib-GObject-WARNING **: 11:42:02.318: invalid uninstantiatable type '(null)' in cast to 'RaiderShredBackend'
(raider:44317): GLib-GObject-WARNING **: 11:42:02.318: invalid uninstantiatable type '(null)' in cast to 'RaiderShredBackend'
(raider:44317): GLib-GObject-WARNING **: 11:42:02.318: invalid uninstantiatable type '(null)' in cast to 'RaiderShredBackend'
(raider:44317): GLib-GObject-WARNING **: 11:42:02.318: invalid unclassed pointer in cast to 'RaiderShredBackend'
(raider:44317): GLib-GObject-WARNING **: 11:42:02.318: invalid uninstantiatable type '' in cast to 'RaiderShredBackend'
(raider:44317): GLib-GObject-WARNING **: 11:42:02.318: invalid uninstantiatable type '(null)' in cast to 'RaiderShredBackend'
Hi,
When you drag files/a file into the window of the app it shows the message "Some files did not exist" and doesn't run the task.
Best regards!
The progress update are not smooth. The progress should update when the progress goes up by 1%, not 3.5% or what it is right now.
@oscfdezdz, @albanobattistella, and @eson57, Raider's been ported to GTK4, and the translations need to be updated. This time, generated a POT file, so this time around should be easier, but please contact me if there is any issues. Thanks! :)
I have a problem since last update when I shred at least 25 files from an unique folder. It does not go to the end of the shredding. (It waits like it was waiting for something, if I click on Abort and relaunch, it shreds all the remaining file but continues to mark them as if it was waiting to be shredded).
And when one is done, emptying the remaining, I have to stop and relaunch Raider.
Fedora; Flatpak; Raider 1.3.0;
Any plans for adding option for shredding the "free" space?
The app listing is pretty high quality, but there are a few minor issues:
Flathub quality guidelines: https://docs.flathub.org/docs/for-app-authors/appdata-guidelines/quality-guidelines
"The GNOME 40 runtime is no longer supported as of March 21, 2022. Please ask your application developer to migrate to a supported platform."
Platform: Ubuntu 20.04
app: File Shredder
version: 1.3.1
The preferences dialog as it is is too detailed. Get rid of
Hi, a couple of weeks ago I contributed Slovenian translation. Today I got new version from Flathub (3.0.0), but when I run it, it is in English language.
Did something went wrong or I am doing something wrong? I have Ubuntu 23.10.
OS: Arch Linux
Compiling in a docker container hosted on a Debian 11 system using the AUR PKGBUILD: https://aur.archlinux.org/packages/raider-file-shredder
Error:
08:48:44 [15/27] Generating src/blueprints with a custom command
08:48:44 Traceback (most recent call last):
08:48:44 File "/usr/share/blueprint-compiler/blueprintcompiler/gir.py", line 411, in __init__
08:48:44 self.includes = { include["name"]: get_namespace(include["name"], include["version"]) for include in xml.get_elements("include") }
08:48:44 File "/usr/share/blueprint-compiler/blueprintcompiler/gir.py", line 411, in <dictcomp>
08:48:44 self.includes = { include["name"]: get_namespace(include["name"], include["version"]) for include in xml.get_elements("include") }
08:48:44 File "/usr/share/blueprint-compiler/blueprintcompiler/gir.py", line 53, in get_namespace
08:48:44 raise CompileError(f"Namespace {namespace}-{version} could not be found")
08:48:44 blueprintcompiler.errors.CompileError: Namespace Gio-2.0 could not be found
08:48:44
08:48:44 During handling of the above exception, another exception occurred:
08:48:44
08:48:44 Traceback (most recent call last):
08:48:44 File "/usr/share/blueprint-compiler/blueprintcompiler/main.py", line 58, in main
08:48:44 opts.func(opts)
08:48:44 File "/usr/share/blueprint-compiler/blueprintcompiler/main.py", line 106, in cmd_batch_compile
08:48:44 xml, warnings = self._compile(data)
08:48:44 File "/usr/share/blueprint-compiler/blueprintcompiler/main.py", line 141, in _compile
08:48:44 if len(ast.errors):
08:48:44 File "/usr/lib/python3.10/functools.py", line 981, in __get__
08:48:44 val = self.func(instance)
08:48:44 File "/usr/share/blueprint-compiler/blueprintcompiler/ast_utils.py", line 76, in errors
08:48:44 return list(self._get_errors())
08:48:44 File "/usr/share/blueprint-compiler/blueprintcompiler/ast_utils.py", line 81, in _get_errors
08:48:44 validator(self)
08:48:44 File "/usr/share/blueprint-compiler/blueprintcompiler/ast_utils.py", line 157, in inner
08:48:44 func(self)
08:48:44 File "/usr/share/blueprint-compiler/blueprintcompiler/language/ui.py", line 69, in gir_errors
08:48:44 self.gir
08:48:44 File "/usr/share/blueprint-compiler/blueprintcompiler/language/ui.py", line 51, in gir
08:48:44 if i.gir_namespace is not None:
08:48:44 File "/usr/share/blueprint-compiler/blueprintcompiler/language/imports.py", line 74, in gir_namespace
08:48:44 return gir.get_namespace(self.tokens["namespace"], self.tokens["version"])
08:48:44 File "/usr/share/blueprint-compiler/blueprintcompiler/gir.py", line 47, in get_namespace
08:48:44 repository = Repository(xml)
08:48:44 File "/usr/share/blueprint-compiler/blueprintcompiler/gir.py", line 413, in __init__
08:48:44 raise CompilerBugError(f"Failed to load dependencies.")
08:48:44 blueprintcompiler.errors.CompilerBugError: Failed to load dependencies.
08:48:44
08:48:44 Arguments: ['/usr/sbin/blueprint-compiler', 'batch-compile', 'src/.', '../raider-1.2.1/src', '../raider-1.2.1/src/raider-window.blp', '../raider-1.2.1/src/raider-file-row.blp', '../raider-1.2.1/src/raider-preferences.blp', '../raider-1.2.1/src/raider-progress-info-popover.blp']
08:48:44
08:48:44 ***** COMPILER BUG *****
08:48:44 The blueprint-compiler program has crashed. Please report the above stacktrace,
08:48:44 along with the input file(s) if possible, on GitLab:
08:48:44 https://gitlab.gnome.org/jwestman/blueprint-compiler/-/issues/new?issue
08:48:44
08:48:44 [16/27] Generating src/raider-resources_h with a custom command
08:48:44 FAILED: src/raider-resources.h
08:48:44 /usr/sbin/glib-compile-resources ../raider-1.2.1/src/raider.gresource.xml --sourcedir src --sourcedir ../raider-1.2.1/src --c-name raider --internal --generate --target src/raider-resources.h
08:48:44 ../raider-1.2.1/src/raider.gresource.xml: Failed to locate “raider-window.ui” in any source directory.
08:48:44 [17/27] Generating src/raider-resources_c with a custom command
08:48:44 FAILED: src/raider-resources.c
08:48:44 /usr/sbin/glib-compile-resources ../raider-1.2.1/src/raider.gresource.xml --sourcedir src --sourcedir ../raider-1.2.1/src --c-name raider --internal --generate --target src/raider-resources.c --dependency-file src/raider-resources.c.d
08:48:44 ../raider-1.2.1/src/raider.gresource.xml: Failed to locate “raider-window.ui” in any source directory.
08:48:44 ninja: build stopped: subcommand failed.
Will add a full build log as a 1st comment.
Could you add "How to" instructions to README.md file which I can use to build raider from scratch and don't use flatpack/etc on my live-cd/usb ?
Redesign the icon so it is compliant with the GNOME Icon HIG.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.