[Done]Keepass won't run

This forum is dedicated to testing early releases and cauldron : Howtos, tips, tricks and user global feedback and thoughts...

Helpful tip :
For bugs tracking we use : https://bugs.mageia.org = The Mageia Bug Tracker
In this bug tracker you'll find already reported bugs and you'll be able to report those you have found....

[Done]Keepass won't run

Postby tlmiller » May 17th, '15, 02:10

Not sure if keepass (2.28) is being deprecated since you have keepassx 2.x in the repos, but it doesn't launch. Keepassx2 works exactly as expected. Nice to see keepassx finally get updated to v2, only distro I've seen it on.

Code: Select all

Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: libgdiplus.so
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUI..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] in <filename unknown>:0
  at KeePass.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: libgdiplus.so
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUI..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] in <filename unknown>:0
  at KeePass.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
Last edited by tlmiller on May 20th, '15, 03:18, edited 1 time in total.
User avatar
tlmiller
 
Posts: 60
Joined: Apr 11th, '11, 20:45
Location: Mesa, Arizona

Re: Keepass won't run

Postby doktor5000 » May 18th, '15, 09:46

tlmiller wrote:Not sure if keepass (2.28) is being deprecated since you have keepassx 2.x in the repos, but it doesn't launch. Keepassx2 works exactly as expected. Nice to see keepassx finally get updated to v2, only distro I've seen it on.

Well, you mixed the three separate programs up quite a bit.

Keepass is the original, originated on windows and now implemented as .NET so it can be run via Mono. Mono is the open source equivalent to .NET and is able to run quite a lot of .NET applications under linux.

keepassx is a re-implementation of keepass. It misses quite a lot of features compared to windows, especially regarding autotype configurability. But it works quite well, I'm using it too.
Sad point is that it's not being maintained/updated upstream since several years.
For more information on keepassx, check the FAQ and the quote on their homepage
https://www.keepassx.org/ wrote:[...]
Originally KeePassX was called KeePass/L for Linux since it was a port of Windows password manager Keepass Password Safe. After KeePass/L became a cross platform application the name was not appropriate anymore and therefore, on 22 March 2006 it has been changed.


keepassx 2.0 is a complete re-write of keepassx, being developed since ~4 years and it will probably be also as feature-rich as the windows version.

Now, for your issue you need to install one package, it seems that keepass tries to access /usr/lib[64]/libgdiplus.so directly instead of the version one /usr/lib[64]/libgdiplus.so.0.0.0.
Simply run as root
Code: Select all
urpmi 'pkgconfig(libgdiplus)'

or run
Code: Select all
 ln -s libgdiplus.so.0.0.0 /usr/$(rpm -E %_lib)/libgdiplus.so
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Keepass won't run

Postby doktor5000 » May 18th, '15, 09:48

doktor5000 wrote:Now, for your issue you need to install one package, it seems that keepass tries to access /usr/lib[64]/libgdiplus.so directly instead of the version one /usr/lib[64]/libgdiplus.so.0.0.0.
FWIW, reported as bug: https://bugs.mageia.org/show_bug.cgi?id=15972
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Keepass won't run

Postby tlmiller » May 18th, '15, 17:55

No mix up, I know keepass is based on mono, just thought it was only keepassx 1.x that was discontinued, didn't know it was all of it, since I'd never SEEN a distro that had keepassx 2.x before, figured that was still being made therefore. Sucks that it's not, while keepass has quite a few more options than keepassx, keepassx is quite a bit nicer looking since it integrates into the WM whereas I've never found a way to get keepass to do so.
User avatar
tlmiller
 
Posts: 60
Joined: Apr 11th, '11, 20:45
Location: Mesa, Arizona

Re: Keepass won't run

Postby doktor5000 » May 18th, '15, 19:59

tlmiller wrote:No mix up, I know keepass is based on mono, just thought it was only keepassx 1.x that was discontinued, didn't know it was all of it

Huh, what do you mean by all of it? keepass still gets updates, bei it keepass classic or professional:
http://keepass.info/news/news_all.html


tlmiller wrote:since I'd never SEEN a distro that had keepassx 2.x before, figured that was still being made therefore. Sucks that it's not,

Sorry, don't understand what you're trying to say there. keepassx 2.0 is still in development, and the beta has just been announced recently:
https://www.keepassx.org/news/2015/05/459
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Keepass won't run

Postby tlmiller » May 18th, '15, 20:41

Oh, misread your first reply. Re-read, and so I understood everything exactly correct originally. keepassx discontinued, keepassx 2.x still being developed, keepass still active but requires mono (and what most distro's use now). Wish more distro's used keepassx 2.x, just so much better looking than keepass.
Last edited by doktor5000 on May 19th, '15, 11:09, edited 1 time in total.
Reason: removed fullquote
User avatar
tlmiller
 
Posts: 60
Joined: Apr 11th, '11, 20:45
Location: Mesa, Arizona

Re: Keepass won't run

Postby doktor5000 » May 19th, '15, 11:11

Please next time do not use fullquotes, but only use the Reply function. Greatly improves clarity and reading flow ;)

Anyways, as I've already provided the fix to get keepass to run, please mark the thread accordingly by editing the topic of the first post and prefix it by [DONE], thanks
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Testing : Alpha, Beta, RC and Cauldron

Who is online

Users browsing this forum: No registered users and 1 guest

cron