Form comes up for a second, then gives this error. ubuntu Mono.

Topics: Help, Windows Forms
Jan 12, 2013 at 8:40 PM

I am using MonoDevelop 2.8.6.3 on ubuntu. 12.4.1 LTS
Thanks for publishing this map!
-jim



jim@ubuntu:~/workspace/gmap_mono/greatmaps_5f3f706f71e8/Demo.WindowsForms/bin/Debug$ ./Demo.WindowsForms.exe 

Unhandled Exception: System.EntryPointNotFoundException: CreateSemaphore
  at (wrapper managed-to-native) GMap.NET.Internals.NativeMethods:CreateSemaphore (intptr,int,int,string)
  at GMap.NET.Internals.FastResourceLock.EnsureEventCreated (System.IntPtr& handle) [0x00000] in :0 
  at GMap.NET.Internals.FastResourceLock.AcquireExclusive () [0x00000] in :0 
  at GMap.NET.Internals.FastReaderWriterLock.AcquireWriterLock () [0x00000] in :0 
  at GMap.NET.Internals.TileMatrix.ClearLevelAndPointsNotIn (Int32 zoom, System.Collections.Generic.List`1 list) [0x00000] in :0 
  at GMap.NET.Internals.Core.ProcessLoadTask () [0x00000] in :0 
  at System.Threading.Thread.StartInternal () [0x00000] in :0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.EntryPointNotFoundException: CreateSemaphore
  at (wrapper managed-to-native) GMap.NET.Internals.NativeMethods:CreateSemaphore (intptr,int,int,string)
  at GMap.NET.Internals.FastResourceLock.EnsureEventCreated (System.IntPtr& handle) [0x00000] in :0 
  at GMap.NET.Internals.FastResourceLock.AcquireExclusive () [0x00000] in :0 
  at GMap.NET.Internals.FastReaderWriterLock.AcquireWriterLock () [0x00000] in :0 
  at GMap.NET.Internals.TileMatrix.ClearLevelAndPointsNotIn (Int32 zoom, System.Collections.Generic.List`1 list) [0x00000] in :0 
  at GMap.NET.Internals.Core.ProcessLoadTask () [0x00000] in :0 
  at System.Threading.Thread.StartInternal () [0x00000] in :0 
jim@ubuntu:~/workspace/gmap_mono/greatmaps_5f3f706f71e8/Demo.WindowsForms/bin/Debug$ ^C
jim@ubuntu:~/workspace/gmap_mono/greatmaps_5f3f706f71e8/Demo.WindowsForms/bin/Debug$

Coordinator
Jan 12, 2013 at 8:56 PM
Edited Jan 12, 2013 at 8:56 PM

check http://greatmaps.codeplex.com/wikipage?title=MONO%20support

Jan 13, 2013 at 12:36 AM
Edited Jan 13, 2013 at 5:10 AM

Here is a picture of my map, its empty.

http://www.wikispeedia.org/mono4.png

http://www.wikispeedia.org/mono3.png

http://www.wikispeedia.org/mono2.png

http://www.wikispeedia.org/mono1.png

http://www.wikispeedia.org/mono.png

thanks for helping.

 

 

User assembly '/home/jim/workspace/gmap_mono/greatmaps_5f3f706f71e8/Testing/BigMapMaker/bin/Debug/BigMapMaker.exe' is missing. Debugger will now debug all code, not just user code.Loaded assembly: /home/jim/workspace/gmap_mono/greatmaps_5f3f706f71e8/Demo.WindowsForms/bin/Debug/Demo.WindowsForms.exeLoaded assembly: /usr/lib/mono/gac/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dllLoaded assembly: /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dllLoaded assembly: /usr/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dllLoaded assembly: /usr/lib/mono/gac/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dllLoaded assembly: /home/jim/workspace/gmap_mono/greatmaps_5f3f706f71e8/Demo.WindowsForms/bin/Debug/GMap.NET.WindowsForms.dllLoaded assembly: /home/jim/workspace/gmap_mono/greatmaps_5f3f706f71e8/Demo.WindowsForms/bin/Debug/GMap.NET.Core.dllLoaded assembly: /usr/lib/mono/gac/Mono.Posix/2.0.0.0__0738eb9f132ed756/Mono.Posix.dllLoaded assembly: /usr/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dllLoaded assembly: /usr/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dllLoaded assembly: /home/jim/workspace/gmap_mono/greatmaps_5f3f706f71e8/Demo.WindowsForms/bin/Debug/Mono.Data.SqliteClient.dllLoaded assembly: /usr/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dllLoaded assembly: /usr/lib/mono/gac/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dllThread started: Thread started: Loaded assembly: /home/jim/workspace/gmap_mono/greatmaps_5f3f706f71e8/Demo.WindowsForms/bin/Debug/Mono.Security.dll

 

Coordinator
Jan 13, 2013 at 10:31 AM

works just fine for me, i don't know what are you doing there...

Jan 14, 2013 at 1:00 AM
Edited Jan 14, 2013 at 1:02 AM

I got it working on Visual Studio Win8. The map looks great.

My goal is to work on ubuntu.

Soo, I cleaned the win8 version and copied the whole tree to my ubuntu box.

 

On ubuntu monodevelop I set the MONO_disabled to MONO and rebuilt both Demo.WindowsForms and GMap.Net.Core

The map times out and gives this output:

http://www.wikispeedia.org/mono6.png

 

Any help appreciated.

 

---trace below-------------

User assembly '/home/jim/workspace/gmap/greatmaps_4471f940e0a9/Testing/BigMapMaker/bin/Release/BigMapMaker.exe' is missing. Debugger will now debug all code, not just user code.Loaded assembly: /home/jim/workspace/gmap/greatmaps_4471f940e0a9/Build/Release/Demo.WindowsForms.exeLoaded assembly: /usr/lib/mono/gac/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dllLoaded assembly: /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dllLoaded assembly: /usr/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dllLoaded assembly: /usr/lib/mono/gac/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dllLoaded assembly: /home/jim/workspace/gmap/greatmaps_4471f940e0a9/Build/Release/GMap.NET.WindowsForms.dllLoaded assembly: /home/jim/workspace/gmap/greatmaps_4471f940e0a9/Build/Release/GMap.NET.Core.dllLoaded assembly: /usr/lib/mono/gac/Mono.Posix/2.0.0.0__0738eb9f132ed756/Mono.Posix.dllLoaded assembly: /usr/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dllLoaded assembly: /usr/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dllLoaded assembly: /home/jim/workspace/gmap/greatmaps_4471f940e0a9/Build/Release/Mono.Data.SqliteClient.dllLoaded assembly: /usr/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dllLoaded assembly: /usr/lib/mono/gac/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dllThread started: Thread started: Loaded assembly: /home/jim/workspace/gmap/greatmaps_4471f940e0a9/Build/Release/Mono.Security.dllThread started: TileLoader: 0Thread started: TileLoader: 1Thread started: TileLoader: 2Thread started: TileLoader: 3Thread started: TileLoader: 4Thread started: Thread started: Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.ProtocThread started: ol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll, type Mono.Security.Protocol.Tls.CertificateValidationCallback2Missing method .ctor in assembly /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089Thread finished: TileLoader: 4Thread finished: TileLoader: 1Thread finished: TileLoader: 3Thread finished: TileLoader: 0Thread finished: TileLoader: 2

Coordinator
Jan 14, 2013 at 9:24 AM

do you some proxy or something, try other providers..

Jan 15, 2013 at 4:10 AM
Edited Jan 15, 2013 at 4:10 AM

1. I dont use proxy.

2. I got rid of all but google provider

ProxyQuery looks wierd

http://www.wikispeedia.org/mono8.png

Q: Do I have to put in a google api key??

thanks for helping

jim

Coordinator
Jan 15, 2013 at 12:15 PM

hm, try set it to null