Bug 380490 - Selecting "Encrypt Folder" crashes Kleopatra
Summary: Selecting "Encrypt Folder" crashes Kleopatra
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kleopatra
Classification: Applications
Component: general (show other bugs)
Version: 2.3.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Andre Heinecke
URL: https://bugs.debian.org/cgi-bin/bugre...
Keywords:
: 389689 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-06-03 05:44 UTC by futahito.arc
Modified: 2018-01-31 17:25 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description futahito.arc 2017-06-03 05:44:11 UTC
Steps to reproduce: 
1. Press "Sign/Encrypt Folder" in toolbar or in "File" menu. 
2. Choose folder to encrypt. 

File encryption still works just fine.
Comment 1 futahito.arc 2017-06-07 06:12:28 UTC
Error that crashes kleopatra
f5.kio.core: KSambaShare: Could not find smb.conf!
kleopatra: /build/kleopatra-zcOy1_/kleopatra-16.12.3/src/crypto/signencryptfilescontroller.cpp:275: std::shared_ptr<Kleo::ArchiveDefinition> getDefaultAd(): Assertion `!ads.empty()' failed.
Aborted (core dumped)
Comment 2 nemeyes 2017-07-21 12:33:47 UTC
Right button with mouse on dolphin and kleopatra opened by terminal
or
1. Press "Sign/Encrypt Folder" in toolbar or in "File" menu. 
2. Choose folder to encrypt.

QObject(0x0)
QObject(0x0)
QObject(0x0)
kleopatra: /build/kleopatra-zcOy1_/kleopatra-16.12.3/src/crypto/signencryptfilescontroller.cpp:275: std::shared_ptr<Kleo::ArchiveDefinition> getDefaultAd(): asserzione "!ads.empty()" non riuscita.
Annullato (core dump creato)
Comment 3 Andre Heinecke 2017-07-24 07:16:05 UTC
This might be caused by a missing libkleopatrarc

Could you check if /etc/xdg/libkleopatrarc exists.

Which distribution are you using?
Comment 4 nemeyes 2017-07-25 10:02:05 UTC
(In reply to Andre Heinecke from comment #3)
> This might be caused by a missing libkleopatrarc
> 
> Could you check if /etc/xdg/libkleopatrarc exists.
> 
> Which distribution are you using?

[Solved] Thanks

Ubuntu 17.04

INFO https://packages.ubuntu.com/hu/yakkety/amd64/libkleo4/filelist

1. sudo apt install libkleo4
2. ln -s /usr/share/kde4/config/libkleopatrarc /etc/xdg/libkleopatrarc
Comment 5 Andre Heinecke 2017-07-25 10:06:32 UTC
In debian this is in libkf5libkleo-data

Maybe a missing dependency in the kleopatra or libkleo package to libkf5libkleo-data.

I'll report it to debian.
Comment 6 Andre Heinecke 2017-07-25 10:22:51 UTC
For the record a link to the downstream report.
Comment 7 nemeyes 2017-07-25 11:34:05 UTC
(In reply to Andre Heinecke from comment #6)
> For the record a link to the downstream report.

ok thanks
Comment 8 Andre Heinecke 2018-01-31 17:25:33 UTC
*** Bug 389689 has been marked as a duplicate of this bug. ***