kirstiewhite / osm2shp

Automatically exported from code.google.com/p/osm2shp
0 stars 1 forks source link

Fails to create shapefile for output #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open a .osm successfully reads file and displays message for features and 
ways
2. Click save button
3. select a location on the disk and an output filename
4. click save on the filesave dialog
5. Crash dialog raised

What is the expected output? What do you see instead?
A crash dialog appears with the message (attached screenshot)

What version of the product are you using? On what operating system?
Version 0.2 on Windows 7, .net framework 2. 

Please provide any additional information below.
Crash dialog details text:
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.BadImageFormatException: An attempt was made to load a program with an 
incorrect format. (Exception from HRESULT: 0x8007000B)
   at MapTools.ShapeLib.SHPCreate(String szShapeFile, ShapeType shpType)
   at OSM2SHP.ConvertToSHP.SaveToShapefile(String SHPFile, Boolean points, Boolean lines, Boolean polygons)
   at OSM2SHP.frmMain.toolStripButton2_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
OSM2SHP
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/alex.brooker/Downloads/OSM2SHP-0.2/OSM2SHP/OSM2SHP.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
MapTools
    Assembly Version: 1.0.2988.38091
    Win32 Version: 1.0.2988.38091
    CodeBase: file:///C:/Users/alex.brooker/Downloads/OSM2SHP-0.2/OSM2SHP/MapTools.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Original issue reported on code.google.com by alexisbr...@hotmail.com on 26 Aug 2011 at 9:48

Attachments:

GoogleCodeExporter commented 8 years ago
We're having the same problem, please notify us when a fix is available.  

Original comment by amcsandb...@gmail.com on 25 May 2012 at 5:38

GoogleCodeExporter commented 8 years ago
Still no fix for this?

Original comment by rikdepeu...@gmail.com on 4 Sep 2012 at 12:19

GoogleCodeExporter commented 8 years ago
I have the same problem

Original comment by gonlaz...@gmail.com on 26 Sep 2012 at 10:33