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
349 stars 44 forks source link

No way to see the scan results #99

Closed Michal-Mikolas closed 5 years ago

Michal-Mikolas commented 6 years ago

Hello,
I downloaded ClamTK and scan my home directory. The result screen looks like this:

screenshot_18-06-26_09-12-07

But I'm not able to see what the threats are. So I can not delete them!

I've also tried to see the scan history. But it's empty:

screenshot_18-06-26_09-14-05

-- Linux Mint 18.1 64bit, ClamtTK 5.25

dave-theunsub commented 6 years ago

Hi,

That doesn't look right at all. Please open a terminal window and type "clamtk" (no quotes). Then run a quick scan. Sometimes there are error messages that pop up in the terminal window; if so, please send them as they might help us figure this out.

respectfully Dave M

ttsrg commented 5 years ago

Hello. Me too have such trouble in ubuntu 18.04 http://joxi.ru/V2VNVypcxKWol2 And I don't know why I don't see that "result window"? image

ttsrg commented 5 years ago

image

Achaean commented 5 years ago

Same problem here (on Devuan ASCII x64 KDE), with ClamTk v.5.26.

dave-theunsub commented 5 years ago

Hi,

Thanks for reporting the issues. I can't duplicate it on my current system, but will have better access this weekend. Please give me a few days to check it out.

Thanks,

Dave M

dave-theunsub commented 5 years ago

Ok, I finally got 18.04 installed and patched up.

So far, the only thing I can duplicate is the "canberra-gtk-module" statement, which is solved by installing libcanberra-gtk-module as you've done.

Since the Perl module Encode is complaining, can you tell me what is the result of typing this in a terminal window?

echo $LANG

You should see something like

en_US.UTF-8

Thanks, Dave M

Achaean commented 5 years ago

Personally, I'm using Greek language. el_GR.UTF-8.

dave-theunsub commented 5 years ago

@Achaean , are you seeing anything different than the above (if you start it from the commandline "clamtk")?

Achaean commented 5 years ago

No. :-(

gdzi commented 5 years ago

So, how can I see scan results, are there a solution that I did not see. Sorry 3 month only in linux, great so far, but such hicaps irritate me a little.

Achaean commented 5 years ago

@gdzi: Why don't use ClamAv from console, until this issue get fixed? It's (more or less) easy and straightforward.

For providing a bit more personalized instructions, please tell me: 1) Which one distribution you use? 2) Are you using ClamAv on a daily basis, or in a while?

dave-theunsub commented 5 years ago

@gdzi Can you try this (if you haven't already):

Please open a terminal window and type "clamtk" (no quotes). Then run a quick scan. Sometimes there are error messages that pop up in the terminal window; if so, please send them as they might help us figure this out.

There has to be a reason nothing is showing up...

gdzi commented 5 years ago

I'm used to interfaces, console is hard for me, I'm getting used to it. 1) Kubuntu 18.10 2) No, recently installed, wanted to try. screenshot_20181228_180229 unhandled exception in callback: Wide character at /usr/lib/x86_64-linux-gnu/perl/5.26/Encode.pm line 212. *** ignoring at /usr/share/perl5/ClamTk/GUI.pm line 145.

Achaean commented 5 years ago

Kubuntu? Great! Lets try:

1) You need to edit (as root) the text config file /etc/clamav/freshclam.conf (that means the freshclam.conf file who lives at the /etc/clamav/ directory). Give from Konsole "kdesu kate" (without quotes). If Kubuntu throws an error (because it don't likes the root account), try "kdesudo kate" (means you with root rights).

Open the /etc/clamav/freshclam.conf file.

2) Now that you opened it, you can edit it, Change: a) Checks 4 (or a similar number) -> Checks 0 (so you can disable the autoupdate). Leave it intact, if you prefer autoupdate. b) There's a line who starts with "NotifyClamd..." Comment it out (or delete the entire line), in order to avoid a silly warning message. If you left Clamav autoupdate, don't bother with this line.

3) If you disabled autoupdate, every time you want to update, run (as root) "freshclam". Give "su -", in order to get to a root konsole and then run "freshclam". If Kubuntu denies the root konsole try: "sudo freshclam". If you left the autoupdate, don't bother with it either.

4) Now the important stuff. You have a directory with the files in question (you want to check) and you just want to check them. Point the konsole to that directory and run: "clamscan -r --bell".

Note: Do you know how to point Konsole to the desired directory? At Dolphin go to Settings -> Configure Dolphin -> Services -> and enable "open terminal here" or "run in Konsole".

Problems? Questions?

gdzi commented 5 years ago

@Achaean Yes, yes, very detailed, most likely very useful. Do not think that I'm rude, but I have a small question: How is this fix the result screen problem in clamTK?

dave-theunsub commented 5 years ago

@gdzi Thanks for bearing with me. Since I can't duplicate this error, I'm relying on your help. More questions:

  1. Has this always happened, or is it recent? I'm wondering if something broke in a recent version. If this is your first version, then we can't answer that.
  2. What kind of file names are they? Do they use any special characters?
  3. Kind of the same question, but ... Does this happen on every scan of every file or directory, or only in certain cases?

Thanks again!

gdzi commented 5 years ago

@dave-theunsub

  1. Always. I use 5.25 and 5.26, bug (or is it?) still here.
  2. The usual. No.
  3. Yes. Always.

Sooo, this helps to solve everything: sudo LC_ALL=en_US.UTF-8 clamtk Why, I dunno ¯\_(ツ)_/¯ By the way, solution found here: Potential threats found but nothing in history, thanks to @woohgit!

dave-theunsub commented 5 years ago

@gdzi Thanks for answering! This is really weird since I don't remember changing anything that would prompt that.

Anyway, if you wouldn't mind, would you please post what the result of "echo $LANG" is? Thanks again

gdzi commented 5 years ago

@dave-theunsub echo $LANG ru_RU.UTF-8 locale LANG=ru_RU.UTF-8 LANGUAGE=en_US LC_CTYPE="ru_RU.UTF-8" LC_NUMERIC="ru_RU.UTF-8" LC_TIME="ru_RU.UTF-8" LC_COLLATE="ru_RU.UTF-8" LC_MONETARY="ru_RU.UTF-8" LC_MESSAGES="ru_RU.UTF-8" LC_PAPER="ru_RU.UTF-8" LC_NAME="ru_RU.UTF-8" LC_ADDRESS="ru_RU.UTF-8" LC_TELEPHONE="ru_RU.UTF-8" LC_MEASUREMENT="ru_RU.UTF-8" LC_IDENTIFICATION="ru_RU.UTF-8" LC_ALL=

Strange to see a language may affect on GUI, a really strange bug indeed. And yes I'm Russian, but for many programs I use English, it is better to learn language this way.

dave-theunsub commented 5 years ago

The weird thing is this only happens with certain languages, not all. I can duplicate it using el_GR.UTF-8, but not with French.

I think this has come up before when there is more than one locale in the LC_* settings. I'm going to keep investigating... maybe I can find out if there's a fix.

Thanks for reporting and helping!

Achaean commented 5 years ago

@Achaean Yes, yes, very detailed, most likely very useful. Do not think that I'm rude, but I have a small question: How is this fix the result screen problem in clamTK?

It wont! :-) (As I said earlier), it's only a temporary solution, until this bug ironed out.

dave-theunsub commented 5 years ago

Closing for now. Please open a new issue if you have further questions.

pythogoras commented 4 years ago

file clamtk: 42| setlocale( LC_ALL, ' ' ); => setlocale( LC_ALL, 'en_US.UTF-8' ); ubuntu: usr/bin/clamtk 42| setlocale( LC_ALL, ' ' ); => setlocale( LC_ALL, 'en_US.UTF-8' );

pythogoras commented 4 years ago

https://music.youtube.com/watch?v=B9uNTT5WBSQ&list=PLAHNHamfBpdEg3Wj8lmeZxtCGeKH287VH

dave-theunsub commented 3 years ago

Fixed in 6.09.

Thank you to everyone who reported!

respectfully,
Dave M