Starting pdfmod with argument . causes uncomprehensive failure due to attempt to write directory without permissions

Bug #1795158 reported by Karl-Philipp Richter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pdfmod (Ubuntu)
New
Undecided
Unassigned

Bug Description

Actual outcome:
Running `pdfmod .` on console causes

```
[1 Debug 18:56:18.769] Starting PdfMod 0.9.1
[1 Debug 18:56:18.773] Initializing i18n catalog from /usr/share/locale/

(PdfMod:21604): dbind-WARNING **: 18:56:18.801: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[1 Debug 18:56:18.809] Loaded custom AccelMap from /home/richter/.config/pdfmod/gtk_accel_map
[1 Debug 18:56:18.815] Cache directory set to /home/richter/.cache/pdfmod
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
GLib.GException: Configuration server couldn't be contacted: D-BUS error: Es konnte kein Wert beim Schlüssel »/apps/pdfmod/last_folder« gespeichert werden, da der Konfigurationsserver keine schreibbare Datenbank hat. Für dieses Problem gibt es mehrere mögliche Ursachen: 1) Ihre Konfigurationspfad-Datei /etc/gconf/2/Pfad enthält keine Datenbanken oder konnte nicht gefunden werden 2) Es wurden versehentlich zwei gconfd-Prozesse gestartet. 3) Ihr Betriebssystem ist nicht richtig konfiguriert, so dass das Sperren einer NFS-Datei in Ihrem Heimverzeichnis nicht funktioniert oder 4) Ihr NFS-Client-Rechner ist abgestürzt und hat den Server beim Starten nicht darüber informiert, dass Dateisperren aufgehoben werden sollen. Falls zwei gconfd-Prozesse laufen (oder zwei liefen, als der Zweite gestartet wurde), hilft möglicherweise das Abmelden, das Abwürgen aller laufenden gconfd-Instanzen und das neu Anmelden. Falls eine nicht aufhebbare Sperren vorliegt, löschen Sie ~/.gconf*/*lock. Möglicherweise ist das Problem auch, dass Sie versuchen, GConf von zwei Maschinen aus gleichzeitig zu verwenden und ORBits Vorgabekonfiguration CORBA-Verbindungen aus dem Netz verhindert. Schreiben Sie »ORBIIOPIPv4=1« in die Datei /etc/orbitrc. Sie sollten wie immer das user.* syslog auf Details auf Probleme mit gconfd hin überprüfen. Es darf nur einen gconfd pro Heimverzeichnis laufen und er muss eine Sperrdatei in ~/gconfd besitzen, aber auch Sperrdateien an individuellen Speicherorten, wie z.B. ~/.gconf.
  at GConf.Client.SetValue (System.String key, GConf.Value val) [0x0002a] in <90ad041783924b4eb57da7f26d733f0c>:0
  at GConf.ClientBase.Set (System.String key, System.Object val) [0x00008] in <90ad041783924b4eb57da7f26d733f0c>:0
  at PdfMod.Core.Configuration.Set[T] (System.String key, T val) [0x00012] in <f0dc559292ae4b2493dd6ac4a0372682>:0
  at PdfMod.Core.Configuration.set_LastOpenFolder (System.String value) [0x00039] in <f0dc559292ae4b2493dd6ac4a0372682>:0
  at PdfMod.Gui.Client.LoadPath (System.String path, System.String suggestedFilename, System.Action finishedCallback) [0x000b8] in <f0dc559292ae4b2493dd6ac4a0372682>:0
  at PdfMod.Core.Client.LoadPath (System.String path, System.String suggestedFilename) [0x00000] in <f0dc559292ae4b2493dd6ac4a0372682>:0
  at PdfMod.Core.Client.LoadPath (System.String path) [0x00000] in <f0dc559292ae4b2493dd6ac4a0372682>:0
  at PdfMod.Gui.Client.LoadFiles (System.Collections.Generic.IList`1[T] files) [0x00014] in <f0dc559292ae4b2493dd6ac4a0372682>:0
  at PdfMod.Core.Client.LoadFiles () [0x00011] in <f0dc559292ae4b2493dd6ac4a0372682>:0
  at PdfMod.Gui.Client+<RunIdle>c__AnonStorey4.<>m__0 () [0x00000] in <f0dc559292ae4b2493dd6ac4a0372682>:0
  at GLib.Idle+IdleProxy.Handler (System.IntPtr data) [0x0003c] in <5a439e0caae7469886e7119d9f6bc621>:0
  at GLib.ExceptionManager.RaiseUnhandledException (System.Exception e, System.Boolean is_terminal) [0x00000] in <5a439e0caae7469886e7119d9f6bc621>:0
  at GLib.Idle+IdleProxy.Handler (System.IntPtr data) [0x00000] in <5a439e0caae7469886e7119d9f6bc621>:0
  at Gtk.Application.gtk_main () [0x00000] in <7a41aae9f05e45b7b5a8cedfab67f8ff>:0
  at Gtk.Application.Run () [0x00000] in <7a41aae9f05e45b7b5a8cedfab67f8ff>:0
  at PdfMod.Gui.Client..ctor (System.Boolean loadFiles) [0x00000] in <f0dc559292ae4b2493dd6ac4a0372682>:0
  at PdfMod.PdfMod.Main (System.String[] args) [0x00000] in <f0dc559292ae4b2493dd6ac4a0372682>:0
```

I attempted to get the English version of the error message using `env LANG=C LC_ALL=C LANGUAGE=C pdfmod .` which didn't help. I'm willing to provide it, but need assistance.

Expected outcome:
The application should provide a comprehensive error message explaining the error and assist in case it's a user error.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: pdfmod 0.9.1-8
Uname: Linux 4.15.18-041518-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.9-0ubuntu7.4
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sat Sep 29 18:56:49 2018
PackageArchitecture: all
SourcePackage: pdfmod
UpgradeStatus: Upgraded to bionic on 2018-04-30 (152 days ago)

Revision history for this message
Karl-Philipp Richter (krichter722) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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