MarkAusten / TDHelper

GUI for Trade Dangerous and EDDBlink
MIT License
7 stars 4 forks source link

Unhandled exception at startup. #13

Closed eyeonus closed 6 years ago

eyeonus commented 6 years ago
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
SharpConfig.SettingValueCastException: Failed to convert value '' to type System.Decimal. ---> System.FormatException: Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseDecimal(String value, NumberStyles options, NumberFormatInfo numfmt)
   at SharpConfig.DecimalStringConverter.ConvertFromString(String value, Type hint)
   at SharpConfig.Setting.CreateObjectFromString(String value, Type dstType)
   --- End of inner exception stack trace ---
   at SharpConfig.Setting.CreateObjectFromString(String value, Type dstType)
   at SharpConfig.Setting.GetValue[T]()
   at TDHelper.MainForm.SetShipList(Boolean refreshList)
   at TDHelper.MainForm.MainForm_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(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: 4.0.0.0
    Win32 Version: 4.7.3131.0 built by: NET472REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
TDHelper
    Assembly Version: 2.0.4.2
    Win32 Version: 2.0.4.2
    CodeBase: file:///S:/Elite%20Dangerous%20Programs/Trade%20Dangerous%20Helper/TDHelper.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3110.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3120.0 built by: NET472REL1LAST
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Deployment
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
SharpConfig
    Assembly Version: 3.2.8.0
    Win32 Version: 3.2.8.0
    CodeBase: file:///S:/Elite%20Dangerous%20Programs/Trade%20Dangerous%20Helper/SharpConfig.DLL
----------------------------------------
System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.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.
eyeonus commented 6 years ago

Hey Mark, you still alive? There hasn't been any new commit in over a week, and there hasn't been a new release in THREE. What's going on?

MarkAusten commented 6 years ago

Yep, still here. July & August are very busy doing other things so Elite time is restricted. That said, in my spare time I dived into the TDH2 code to deal with the remaining things that annoyed me and also to add the EDDBlink option form that I was talking about. If you're interested take a look at the latest TDH2 branch. There's a fair few commits there. Nearly ready for testing. It was testing this new code where I found the Antiquities bug I reported. Away again this weekend but look for new updates next week.

eyeonus commented 6 years ago

Sounds good. Waiting for the next release. I tried compiling it myself, but among other things you've hard coded all the paths in the compile script, and I didn't have the time to figure out what all needed to be done to get it to stop complaining and start compiling.

MarkAusten commented 6 years ago

The pack script does not compile the app, just copies it, zips it up and creates the update manifest for publishing. Just rebuild the app in visual studio and the run the exe from the debug or release folders.

MarkAusten commented 6 years ago

Oh, you'll probably need to start a new ini file as these's an ergot in the old one. That or delete the route jumps entry which should have the value of not true!

eyeonus commented 6 years ago

I click build, it runs the script, the script errors out, the build is cancelled, no binary is made.

MarkAusten commented 6 years ago

The release build calls the pack script on successful compilation. I should not if you compile the debug version.

eyeonus commented 6 years ago
1>------ Build started: Project: TDHelper, Configuration: Release x86 ------
1>S:\Elite Dangerous Programs\TDHelper-master\TradeDangerousGUI\Database.cs(4,19,4,25): error CS0234: The type or namespace name 'SQLite' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
1>S:\Elite Dangerous Programs\TDHelper-master\TradeDangerousGUI\DataRetriever.cs(4,19,4,25): error CS0234: The type or namespace name 'SQLite' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
1>S:\Elite Dangerous Programs\TDHelper-master\TradeDangerousGUI\DataRetriever.cs(234,30,234,46): error CS0246: The type or namespace name 'SQLiteConnection' could not be found (are you missing a using directive or an assembly reference?)
1>S:\Elite Dangerous Programs\TDHelper-master\TradeDangerousGUI\Database.cs(97,38,97,54): error CS0246: The type or namespace name 'SQLiteConnection' could not be found (are you missing a using directive or an assembly reference?)
1>S:\Elite Dangerous Programs\TDHelper-master\TradeDangerousGUI\Database.cs(113,42,113,58): error CS0246: The type or namespace name 'SQLiteConnection' could not be found (are you missing a using directive or an assembly reference?)
1>S:\Elite Dangerous Programs\TDHelper-master\TradeDangerousGUI\Database.cs(144,31,144,47): error CS0246: The type or namespace name 'SQLiteConnection' could not be found (are you missing a using directive or an assembly reference?)
1>S:\Elite Dangerous Programs\TDHelper-master\TradeDangerousGUI\Database.cs(401,40,401,56): error CS0246: The type or namespace name 'SQLiteConnection' could not be found (are you missing a using directive or an assembly reference?)
1>S:\Elite Dangerous Programs\TDHelper-master\TradeDangerousGUI\Database.cs(567,17,567,33): error CS0246: The type or namespace name 'SQLiteConnection' could not be found (are you missing a using directive or an assembly reference?)
1>S:\Elite Dangerous Programs\TDHelper-master\TradeDangerousGUI\Database.cs(719,37,719,53): error CS0246: The type or namespace name 'SQLiteConnection' could not be found (are you missing a using directive or an assembly reference?)
1>S:\Elite Dangerous Programs\TDHelper-master\TradeDangerousGUI\Database.cs(754,35,754,51): error CS0246: The type or namespace name 'SQLiteConnection' could not be found (are you missing a using directive or an assembly reference?)
1>S:\Elite Dangerous Programs\TDHelper-master\TradeDangerousGUI\Database.cs(974,38,974,54): error CS0246: The type or namespace name 'SQLiteConnection' could not be found (are you missing a using directive or an assembly reference?)
1>S:\Elite Dangerous Programs\TDHelper-master\TradeDangerousGUI\Database.cs(1503,34,1503,50): error CS0246: The type or namespace name 'SQLiteConnection' could not be found (are you missing a using directive or an assembly reference?)
1>S:\Elite Dangerous Programs\TDHelper-master\TradeDangerousGUI\Database.cs(1529,35,1529,51): error CS0246: The type or namespace name 'SQLiteConnection' could not be found (are you missing a using directive or an assembly reference?)
1>S:\Elite Dangerous Programs\TDHelper-master\TradeDangerousGUI\Database.cs(1599,34,1599,50): error CS0246: The type or namespace name 'SQLiteConnection' could not be found (are you missing a using directive or an assembly reference?)
1>S:\Elite Dangerous Programs\TDHelper-master\TradeDangerousGUI\Database.cs(1645,39,1645,55): error CS0246: The type or namespace name 'SQLiteConnection' could not be found (are you missing a using directive or an assembly reference?)
1>S:\Elite Dangerous Programs\TDHelper-master\TradeDangerousGUI\Database.cs(1676,40,1676,56): error CS0246: The type or namespace name 'SQLiteConnection' could not be found (are you missing a using directive or an assembly reference?)
1>S:\Elite Dangerous Programs\TDHelper-master\TradeDangerousGUI\Database.cs(1717,40,1717,56): error CS0246: The type or namespace name 'SQLiteConnection' could not be found (are you missing a using directive or an assembly reference?)
1>S:\Elite Dangerous Programs\TDHelper-master\TradeDangerousGUI\DataRetriever.cs(226,17,226,34): error CS0246: The type or namespace name 'SQLiteDataAdapter' could not be found (are you missing a using directive or an assembly reference?)
1>S:\Elite Dangerous Programs\TDHelper-master\TradeDangerousGUI\DataRetriever.cs(230,17,230,30): error CS0246: The type or namespace name 'SQLiteCommand' could not be found (are you missing a using directive or an assembly reference?)
1>S:\Elite Dangerous Programs\TDHelper-master\TradeDangerousGUI\Database.cs(39,17,39,33): error CS0246: The type or namespace name 'SQLiteConnection' could not be found (are you missing a using directive or an assembly reference?)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I'm just going to wait for you to make a new release. "The System.Data.SQLite.dll .., included in this repository" isn't included, and none of the SQLite-related updates and extensions I've installed seem to provide it.

This is just way too much effort for something that should literally be push build and wait.

MarkAusten commented 6 years ago

I'll deal with it when I get back to my development computer sometime tomorrow.