You are not logged in.
Pages: 1
I'm not quite sure what this error signifies, but I can't find it when I search it online.
An exception was thrown by the type initializer for KeePassLib.PwDefs
KeePass
at KeePass.UI.PwDocument..ctor () [0x00000] in <filename unknown>:0
at KeePass.UI.DocumentManagerEx..ctor () [0x00000] in <filename unknown>:0
at KeePass.Forms.MainForm..ctor () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) KeePass.Forms.MainForm:.ctor ()
at KeePass.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
Void .ctor()
Inner:
Exception of type 'System.TimeZoneNotFoundException' was thrown.
mscorlib
at System.TimeZoneInfo.get_Local () [0x00000] in <filename unknown>:0
at System.CurrentSystemTimeZone.GetUtcOffset (DateTime time) [0x00000] in <filename unknown>:0
at System.TimeZone.GetLocalTimeDiff (DateTime time) [0x00000] in <filename unknown>:0
at System.DateTime.get_Now () [0x00000] in <filename unknown>:0
at KeePassLib.PwDefs..cctor () [0x00000] in <filename unknown>:0
System.TimeZoneInfo get_Local()
Any help would be appreciated!
Last edited by Sanctanimus (2015-04-29 20:55:07)
Offline
Does KeePass still run after this? What does "ls -l /etc/localtime" say?
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
I can confirm. I was about to create a new thread about this when I noticed this one.
Starting KeePass throws this error dialog:
That extended report is here:
An exception was thrown by the type initializer for KeePassLib.PwDefs
KeePass
at KeePass.UI.PwDocument..ctor () [0x00000] in <filename unknown>:0
at KeePass.UI.DocumentManagerEx..ctor () [0x00000] in <filename unknown>:0
at KeePass.Forms.MainForm..ctor () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) KeePass.Forms.MainForm:.ctor ()
at KeePass.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
Void .ctor()
Inner:
Exception of type 'System.TimeZoneNotFoundException' was thrown.
mscorlib
at System.TimeZoneInfo.get_Local () [0x00000] in <filename unknown>:0
at System.CurrentSystemTimeZone.GetUtcOffset (DateTime time) [0x00000] in <filename unknown>:0
at System.TimeZone.GetLocalTimeDiff (DateTime time) [0x00000] in <filename unknown>:0
at System.DateTime.get_Now () [0x00000] in <filename unknown>:0
at KeePassLib.PwDefs..cctor () [0x00000] in <filename unknown>:0
System.TimeZoneInfo get_Local()
# uname -mrs
Linux 3.19.3-3-ARCH x86_64
$ ls -l /etc/localtime
-rw-r--r-- 1 root root 0 Apr 27 13:44 /etc/localtime
when running via konsole, it just shows a gtk warning:
$ keepass
(process:1613): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
$ sudo pacman -Q keepass
keepass 2.28-2
Last edited by JonnyRobbie (2015-04-28 21:31:55)
Offline
/etc/localtime is supposed to be a symbolic link to a timezone in /usr/share/zoneinfo ...
Also, check your locale "echo $LANG"
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Thank you. It would seem that I made a mistake setting this timezone symlink during installation. Setting it anew properly seems to have worked.
Offline
After reading through the comments, I was able to see what the issue was. I had made a typo when running my initial "ln -s /usr/share/zoneinfo/Zone/SubZone /etc/localtime".
Offline
Pages: 1