dave-theunsub / clamtk

An easy to use, light-weight, on-demand virus scanner for Linux systems
https://gitlab.com/dave_m/clamtk/wikis/home
Other
357 stars 46 forks source link

Unable to delete previous analysis result #150

Closed Revival8697 closed 1 year ago

Revival8697 commented 1 year ago

Describe the bug Unable to delete previous analysis result.

To Reproduce Steps to reproduce the behavior:

  1. Go to Analysis.
  2. Click on Analysis.
  3. Go to View or delete previous results.
  4. Click on the select box.
  5. Choose an analysis result.
  6. Click on the trash bin button.
  7. See error: Nothing happen on the GUI, the chosen analysis result is not deleted.

Expected behavior The chosen analysis result is deleted and can no longer be viewed.

Screenshots Screenshot_20221225_213655 cleaned Example: An attempt to delete the analysis result for the file ENG.7z.

OS:

clamtk:

Additional context This problem has always occurred since the installation of ClamTK. Console output:

*** unhandled exception in callback:
***   Can't locate object method "get_active_text" via package "Gtk3::ComboBox" at /usr/share/perl5/vendor_perl/ClamTk/Analysis.pm line 431.
***  ignoring at /usr/share/perl5/vendor_perl/Gtk3.pm line 1154.
dave-theunsub commented 1 year ago

Hi @sp1cyf0x ,

Can confirm. Looking to see what needs to be changed to fix this.

respectfully, Dave M

dave-theunsub commented 1 year ago

Hi @sp1cyf0x ,

I believe it's fixed now and pushed. I still have to build packages though. If you can test it, please let me know how it works for you.

respectfully, Dave M

Revival8697 commented 1 year ago

Hey @dave-theunsub. I tried building from source using Arch's PKGBUILD, but it outputted this on launch:

Can't locate Proc/ProcessTable.pm in @INC (you may need to install the Proc::ProcessTable module) (@INC contains: /usr/lib/perl5/5.36/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.36/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.36/core_perl /usr/share/perl5/core_perl) at /usr/share/perl5/vendor_perl/ClamTk/Startup.pm line 16.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/ClamTk/Startup.pm line 16.
Compilation failed in require at /usr/bin/clamtk line 35.
BEGIN failed--compilation aborted at /usr/bin/clamtk line 35.

I also tried the method in the README file, that had the same result. Maybe it is just me building it wrong. It would be great if you could help me build the package.

dave-theunsub commented 1 year ago

Hi @sp1cyf0x ,

No, I messed up. I was working on different functionality and did not finish it - then forgot to remove it since it wasn't going to be in 6.15... :(

I re-pushed that file, so it should work now. If not, let me know and I'll just upload a build here for you to try that should work.

respectfully, Dave M

Revival8697 commented 1 year ago

Hey @dave-theunsub, I just built it again and was able to delete the analysis result. No errors spotted.

dave-theunsub commented 1 year ago

Hi @sp1cyf0x ,

Excellent, thanks for the feedback. Hopefully I can get 6.15 out soon.

respectfully, Dave M