Bug 1784747

Summary: Missing package dependency - pdfmod cannot start
Product: [Fedora] Fedora Reporter: Milan Zink <mzink>
Component: pdfmodAssignee: Ismael Olea <ismael>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 31CC: ismael
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-18 09:45:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Milan Zink 2019-12-18 09:04:56 UTC
Description of problem:
pdfmod is not working unless you have gnome-sharp installed

❱ pdfmod 
[1 Debug 09:54:32.118] Starting PdfMod 0.9.1
[1 Debug 09:54:32.136] Initializing i18n catalog from /usr/share/locale/

Unhandled Exception:
System.TypeLoadException: Could not load type of field 'PdfMod.Core.Configuration:client' (0) due to: Could not load file or assembly 'gconf-sharp, Version=2.24.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.
  at PdfMod.PdfMod.Main (System.String[] args) [0x0004d] in <0cab43656a5b4e3895301a82b0acd3a0>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type of field 'PdfMod.Core.Configuration:client' (0) due to: Could not load file or assembly 'gconf-sharp, Version=2.24.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.
  at PdfMod.PdfMod.Main (System.String[] args) [0x0004d] in <0cab43656a5b4e3895301a82b0acd3a0>:0


Version-Release number of selected component (if applicable):
pdfmod-0.9.1-21.fc31.x86_64


How reproducible:
install pdfmod on system where gnome-sharp is not installed and run it.

Steps to Reproduce:
1.install pdfmod on system where gnome-sharp is not installed and run it.
2.try to run pdfmod


Actual results:
Unhandled Exception:
System.TypeLoadException: Could not load type of field 'PdfMod.Core.Configuration:client' (0) due to: Could not load file or assembly 'gconf-sharp, Version=2.24.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.
  at PdfMod.PdfMod.Main (System.String[] args) [0x0004d] in <0cab43656a5b4e3895301a82b0acd3a0>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type of field 'PdfMod.Core.Configuration:client' (0) due to: Could not load file or assembly 'gconf-sharp, Version=2.24.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.
  at PdfMod.PdfMod.Main (System.String[] args) [0x0004d] in <0cab43656a5b4e3895301a82b0acd3a0>:0


Expected results:
pdfmod runs, all dependencies are defined the package manifest

Additional info:
Fix:
sudo dnf install gnome-sharp
pdfmod 
[1 Debug 09:58:52.651] Starting PdfMod 0.9.1
[1 Debug 09:58:52.670] Initializing i18n catalog from /usr/share/locale/
[1 Debug 09:58:52.713] Cache directory set to /home/brq/mzink/.cache/pdfmod
...Works now.

Comment 1 Ismael Olea 2019-12-18 09:45:23 UTC

*** This bug has been marked as a duplicate of bug 1778960 ***