Keepass Installation

Ask community developers’ help for your most wanted Apps and also discover what the hottest and ultimate Apps are.
Post Reply
Mandraker1000
Starting out
Posts: 10
Joined: Wed Oct 17, 2012 4:38 am

Keepass Installation

Post by Mandraker1000 »

Hi all,
I wanted to install Keepass on my arm based Qnap. Having read a little I have successfully installed Qmono (Qmono_5.12.0.266_arm-x19.qpkg) which i understand to be a pre-requisite (but I'm unclear if I'm missing any additional required packages). I'm comfortable with Linux & compiling code but unfamiliar with mono and it's usage.

Then I downloaded the Keepass zip file (which I understand to be a windows binary, but written in .net) from
https://sourceforge.net/projects/keepas ... p/download

Now I'm unclear on my next steps and would greatly appreciate assistance.

do I need to somehow compile the keepass code prior to executing it against mono (gleamed this from the mono website) , but found no .cs file in either the zip file or source code files which i downloaded

OR

do I somehow execute it against the windows bin file in the zip file I downloaded , as follows

[/opt/Qmono/bin] # ./mono /share/Secure/KeePass.exe
System.TypeInitializationException: The type initializer for 'KeePass.App.AppDefs' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Drawing.KnownColors' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0
at (wrapper managed-to-native) System.Drawing.GDIPlus.GdiplusStartup(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x000b0] in <278bf285a0fd48f4a5d41130129c7984>:0
--- End of inner exception stack trace ---
at System.Drawing.KnownColors..cctor () [0x0001a] in <278bf285a0fd48f4a5d41130129c7984>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at System.Drawing.Color.FromKnownColor (System.Drawing.KnownColor color) [0x00007] in <278bf285a0fd48f4a5d41130129c7984>:0
at System.Drawing.Color.get_Black () [0x00000] in <278bf285a0fd48f4a5d41130129c7984>:0
at System.Windows.Forms.ThemeWin32Classic..cctor () [0x00000] in <de69ac60d81f41e7a66a588e4c205d7a>:0
--- End of inner exception stack trace ---
at KeePass.Program.Main (System.String[] args) [0x00000] in <fbae7671f2e746cc8d58dca1009b7b47>:0

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0
at (wrapper managed-to-native) System.Drawing.GDIPlus.GdiplusStartup(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x000b0] in <278bf285a0fd48f4a5d41130129c7984>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at System.Drawing.Graphics.FromHdcInternal (System.IntPtr hdc) [0x00000] in <278bf285a0fd48f4a5d41130129c7984>:0
at System.Windows.Forms.XplatUIX11.Finalize () [0x00000] in <de69ac60d81f41e7a66a588e4c205d7a>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0
at (wrapper managed-to-native) System.Drawing.GDIPlus.GdiplusStartup(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x000b0] in <278bf285a0fd48f4a5d41130129c7984>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at System.Drawing.Graphics.FromHdcInternal (System.IntPtr hdc) [0x00000] in <278bf285a0fd48f4a5d41130129c7984>:0
at System.Windows.Forms.XplatUIX11.Finalize () [0x00000] in <de69ac60d81f41e7a66a588e4c205d7a>:0


Clearly this is not sufficient as it appears I'm missing packages , but since I can't exactly do an "sudo apt-get ...." what or how would I get the additional packages

Any help greatly appreciated.

Regards

Mandraker
User avatar
OneCD
Guru
Posts: 12146
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: Keepass Installation

Post by OneCD »

The errors appear to indicate a problem when generating graphical display output. Does your model NAS support HD Station?

If not, then KeePass won't run, as it's been written to use a desktop GUI.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
User avatar
dolbyman
Guru
Posts: 35269
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Keepass Installation

Post by dolbyman »

x19 arm units not have any video support...so I guess the answer is no :wink:
Mandraker1000
Starting out
Posts: 10
Joined: Wed Oct 17, 2012 4:38 am

Re: Keepass Installation

Post by Mandraker1000 »

ooh dear, oh well , thanks for the feedback
Post Reply

Return to “Apps Wanted”