Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LipidCreator Interactive Tutorials only work on Windows #14

Open
nilshoffmann opened this issue Apr 20, 2021 · 0 comments
Open

LipidCreator Interactive Tutorials only work on Windows #14

nilshoffmann opened this issue Apr 20, 2021 · 0 comments
Assignees
Labels
bug Something isn't working linux mono

Comments

@nilshoffmann
Copy link
Member

nilshoffmann commented Apr 20, 2021

When I run the latest LipidCreator build (https://github.com/lifs-tools/lipidcreator/actions/runs/767101082) or a locally built version and start an interactive Tutorial, e.g. the PRM Tutorial, LipidCreator crashes after I click on "Continue":

2021-04-20 14:32:06,947 [1] INFO  LipidCreator.LipidCreator - Running LipidCreator version 1.1.2.769 in standalone mode on Unix
2021-04-20 14:32:06,955 [1] INFO  LipidCreator.LipidCreator - Using /home/nilshoffmann/Downloads/LipidCreator(1)/LipidCreator as base directory for relative resource lookup. Resolved executing assembly location: /home/nilshoffmann/Downloads/LipidCreator(1)/LipidCreator/LipidCreator.exe
System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]
  at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x00098] in <345861cc94284a0bb0f2f2528d6cd247>:0 
  at System.Drawing.Graphics.DrawImage (System.Drawing.Image image, System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height) [0x00025] in <345861cc94284a0bb0f2f2528d6cd247>:0 
  at System.Drawing.Graphics.DrawImage (System.Drawing.Image image, System.Drawing.Rectangle rect) [0x0002c] in <345861cc94284a0bb0f2f2528d6cd247>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.Graphics.DrawImage(System.Drawing.Image,System.Drawing.Rectangle)
  at System.Windows.Forms.Control.DrawToBitmap (System.Drawing.Bitmap bitmap, System.Drawing.Rectangle targetBounds) [0x000f4] in <6d635ac3dc1c4424ad385ded79f1e868>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.DrawToBitmap(System.Drawing.Bitmap,System.Drawing.Rectangle)
  at System.Windows.Forms.Control.DrawToBitmap (System.Drawing.Bitmap bitmap, System.Drawing.Rectangle targetBounds) [0x000c2] in <6d635ac3dc1c4424ad385ded79f1e868>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.DrawToBitmap(System.Drawing.Bitmap,System.Drawing.Rectangle)
  at LipidCreator.Overlay.update (System.Drawing.Point location, System.String dir) [0x00106] in <3e436ff1f24d4c638595dddbede6f7c3>:0 
  at (wrapper remoting-invoke-with-check) LipidCreator.Overlay.update(System.Drawing.Point,string)
  at LipidCreator.Tutorial.TutorialSRMStep () [0x00287] in <3e436ff1f24d4c638595dddbede6f7c3>:0 
  at LipidCreator.Tutorial.nextTutorialStep (System.Boolean forward) [0x00039] in <3e436ff1f24d4c638595dddbede6f7c3>:0 
  at LipidCreator.TutorialWindow.nextTutorialWindow (System.Object sender, System.EventArgs e) [0x0000d] in <3e436ff1f24d4c638595dddbede6f7c3>:0 
  at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x00019] in <6d635ac3dc1c4424ad385ded79f1e868>:0 
  at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00011] in <6d635ac3dc1c4424ad385ded79f1e868>:0 
  at System.Windows.Forms.ButtonBase.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00069] in <6d635ac3dc1c4424ad385ded79f1e868>:0 
  at System.Windows.Forms.Button.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00000] in <6d635ac3dc1c4424ad385ded79f1e868>:0 
  at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) [0x00078] in <6d635ac3dc1c4424ad385ded79f1e868>:0 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x001b4] in <6d635ac3dc1c4424ad385ded79f1e868>:0 
  at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message& m) [0x00037] in <6d635ac3dc1c4424ad385ded79f1e868>:0 
  at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m) [0x00000] in <6d635ac3dc1c4424ad385ded79f1e868>:0 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <6d635ac3dc1c4424ad385ded79f1e868>:0 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x0000b] in <6d635ac3dc1c4424ad385ded79f1e868>:0 
  at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00085] in <6d635ac3dc1c4424ad385ded79f1e868>:0 
2021-04-20 14:32:26,169 [1] INFO  LipidCreator.CreatorGUI - Closing LipidCreator!

This happens on Ubuntu 20.04 with the latest Mono version:

Mono JIT compiler version 6.12.0.122 (tarball Mon Feb 22 17:33:28 UTC 2021)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug 
	Interpreter:   yes
	LLVM:          yes(610)
	Suspend:       hybrid
	GC:            sgen (concurrent by default)
@nilshoffmann nilshoffmann added the bug Something isn't working label Apr 20, 2021
@nilshoffmann nilshoffmann changed the title LipidCreator NullReference in Tutorial LipidCreator Interactive Tutorials only work on Windows Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working linux mono
Projects
None yet
Development

No branches or pull requests

2 participants