ClamTk does not run scan

Bug #1927065 reported by Paul W
30
This bug affects 3 people
Affects Status Importance Assigned to Milestone
clamtk (Debian)
Fix Released
Unknown
clamtk (Ubuntu)
Fix Released
Medium
Unassigned
Hirsute
Fix Released
Medium
Unassigned

Bug Description

Impact
------
The bug makes ClamTk unusable for its major purpose: manual start of a scan of a file or directory, and analysis (reputation check).

Test Case
---------
1) run "clamtk" in the terminal
2) click either on "Scan a file" or "Scan a directory" or "Analysis" in the ClamTk GUI

Observe that the file selection window does not open and following is output into the terminal:

*** unhandled exception in callback:
*** FATAL: invalid GtkDialogFlags value no-separator, expecting: modal / GTK_DIALOG_MODAL, destroy-with-parent / GTK_DIALOG_DESTROY_WITH_PARENT, use-header-bar / GTK_DIALOG_USE_HEADER_BAR at /usr/share/perl5/Gtk3.pm line 1136.
*** ignoring at /usr/share/perl5/Gtk3.pm line 572.

Similarly, no scan starts when a file or directory is "opened" with ClamTk using the context menu, intending to start the test on it.

With the version 6.03-3 of the package from Impish the issue does not occur (tested by manually downloading the DEB of Impish and installing it in Hirsute). Attached patch is the original one, as used there.

Regression Potential
--------------------
The change compared to the current version 6.03-1 is minimal. Currently, ClamTk is not usable for its major intended purpose (manual scan start, analysis). So, it can hardly get worse.

Original Description
--------------------
Window for scanning directories does not open when the "scan a directory" button is pressed.

clamtk 6.03-1
Ubuntu 21.04

$ clamtk
about to run
after alarm and launch
running parser
*** unhandled exception in callback:
*** FATAL: invalid GtkDialogFlags value no-separator, expecting: modal / GTK_DIALOG_MODAL, destroy-with-parent / GTK_DIALOG_DESTROY_WITH_PARENT, use-header-bar / GTK_DIALOG_USE_HEADER_BAR at /usr/share/perl5/Gtk3.pm line 1136.
*** ignoring at /usr/share/perl5/Gtk3.pm line 572.

Thanks & regards,

Revision history for this message
Dave M (dave-nerd) wrote :

Hi,

This was fixed several versions ago.

https://gitlab.com/dave_m/clamtk/-/wikis/Home

Follow the Downloads links, download the latest .deb, double-click to install.

respectfully,
Dave M

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in clamtk (Ubuntu):
status: New → Confirmed
Revision history for this message
John100 (john100) wrote (last edit ):

Same issue here, same output when ClamTk is started in a terminal.

Ubuntu MATE Release 21.04 (Hirsute Hippo) 64-bit. ClamTk 6.03-1 from default repository.

If, according to previous comment, ClamTk has been fixed, then its Ubuntu package needs to be updated, as this bug makes it absolutely useless - it can't scan neither when started from the GUI, nor via file context menu.

Revision history for this message
John100 (john100) wrote :

P.S.: Same happens not only with "Scan a directory", but also with "Scan a file" and "Analysis".

Signatures update works.

summary: - clamtk does not run scan on directory
+ ClamTk does not run scan
Revision history for this message
John100 (john100) wrote :

According to https://gitlab.com/dave_m/clamtk/blob/master/CHANGES, this issue seems to have been fixed on version 6.08 - 20210218.

Related Debian bug report (seems to have been erroneously closed, as the package has not been updated): https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981384 .

Revision history for this message
Dave M (dave-nerd) wrote :

Hi @John100,

Please try 6.13 from https://gitlab.com/dave_m/clamtk/-/wikis/Home .

I'm sorry, I don't control the Debian or Ubuntu repos.

Just download the latest deb, double-click to install.

respectfully,
Dave M

Revision history for this message
John100 (john100) wrote (last edit ):

Hi @Dave M,

Thank you very much for your feedback!

@Ubuntu repos maintainer: According to the Debian ClamTk package maintainer, the version in Debian testing/unstable should work. They back-ported the changes and verified that scanning files is possible. That means that ClamTk version 6.03-3, which is currently part of the future 21.10 release and fixes the corresponding Debian bug 981384 (in version 6.03-2) according to its changelog, should work.

==> It would be great if that version 6.03-3 was back-ported to the current 21.04 release, to fix this issue there.

P.S.: I downloaded the version 6.03-3 of Ubuntu 21.10 from https://packages.ubuntu.com/impish/all/clamtk/download and installed it in Ubuntu 21.04, and the issue disappeared with that.

Thanks to @Dave M for the fix!

John100 (john100)
tags: added: upgrade-software-version
Changed in clamtk (Debian):
status: Unknown → Fix Released
Revision history for this message
John100 (john100) wrote :
description: updated
John100 (john100)
Changed in clamtk (Ubuntu Hirsute):
status: New → Confirmed
John100 (john100)
description: updated
John100 (john100)
description: updated
Mathew Hodson (mhodson)
Changed in clamtk (Ubuntu):
importance: Undecided → Medium
Changed in clamtk (Ubuntu Hirsute):
importance: Undecided → Medium
Revision history for this message
Brian Murray (brian-murray) wrote :

The version in impish includes the following fix.

clamtk (6.03-2) experimental; urgency=medium

  * Remove no-separator from window decoration (Closes: #981384).

 -- Sebastian Andrzej Siewior <email address hidden> Sun, 07 Mar 2021 23:38:23 +0100

Changed in clamtk (Ubuntu):
status: Confirmed → Fix Released
Changed in clamtk (Ubuntu Hirsute):
status: Confirmed → Triaged
Revision history for this message
William Wilson (jawn-smith) wrote :
tags: added: hirsute verification-needed-hirsute
tags: added: verification-needed
Revision history for this message
Brian Murray (brian-murray) wrote :

 $ dput clamtk_6.03-1ubuntu1_source.changes
Trying to upload package to ubuntu
Checking signature on .changes
gpg: /tmp/pkgs/hirsute/clamtk_6.03-1ubuntu1_source.changes: Valid signature from 1E918B66765B3E31
Checking signature on .dsc
gpg: /tmp/pkgs/hirsute/clamtk_6.03-1ubuntu1.dsc: Valid signature from 1E918B66765B3E31
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading clamtk_6.03-1ubuntu1.dsc: done.
  Uploading clamtk_6.03-1ubuntu1.debian.tar.xz: done.
  Uploading clamtk_6.03-1ubuntu1_source.buildinfo: done.
  Uploading clamtk_6.03-1ubuntu1_source.changes: done.
Successfully uploaded packages.

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Paul, or anyone else affected,

Accepted clamtk into hirsute-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/clamtk/6.03-1ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-hirsute to verification-done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-hirsute. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in clamtk (Ubuntu Hirsute):
status: Triaged → Fix Committed
Revision history for this message
John100 (john100) wrote :

Successfully tested the proposed update by manually downloading the DEB file from https://launchpad.net/ubuntu/hirsute/amd64/clamtk/6.03-1ubuntu1 and installing it in Ubuntu MATE Release 21.04 (Hirsute Hippo) 64-bit.

tags: added: verification-done-hirsute
removed: verification-needed verification-needed-hirsute
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for clamtk has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package clamtk - 6.03-1ubuntu1

---------------
clamtk (6.03-1ubuntu1) hirsute; urgency=medium

  * d/patches/Remove-no-separator.patch:
    - Remove no-separator from window decoration as it has been
      deprecated. (LP: #1927065)

 -- William 'jawn-smith' Wilson <email address hidden> Fri, 19 Nov 2021 11:29:37 -0600

Changed in clamtk (Ubuntu Hirsute):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.