Forum

Full Version: Pre Alpha Bugs
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
(01-24-2017, 02:31 AM)r3dhawk95 Wrote: [ -> ]
(01-23-2017, 11:15 PM)seabas3 Wrote: [ -> ]I cannot run the application. I have downloaded the PreAlpha zipped folder from Google Drive. When I go to run the application...both zipped and extracted...neither of it works.

try running as administrator

I have, it does not run.
Have you installed .NET Framework 4.61?

@Julian: Are you sure you can't simulate a flight, since I tried it myself with success? And I will also fix the issue you reported.

I am currently updating a lot of different things, and I hope to release a new prealpha in the next 14 days with even more features :-)
(01-24-2017, 01:41 PM)pjank42 Wrote: [ -> ]Have you installed .NET Framework 4.61?

@Julian: Are you sure you can't simulate a flight, since I tried it myself with success? And I will also fix the issue you reported.

I am currently updating a lot of different things, and I hope to release a new prealpha in the next 14 days with even more features :-)

Yes I have .NET Framework 4.61 installed. I even re-downloaded the file. I run on admin it does not work, I do not run on admin it does not work. this is so frustrating!   Huh
Do you have the log file (TAPv2.log) which you could sent to me?
(01-24-2017, 04:45 PM)pjank42 Wrote: [ -> ]Do you have the log file (TAPv2.log) which you could sent to me?

Yes I do, here is a full copy of it since I am unable to upload it as an attachment:

2017-01-24: 8:21 AM D:\The Airline Project\Prealpha\data
2017-01-24: 8:21 AM System.FormatException: String was not recognized as a valid DateTime.
   at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
   at System.Convert.ToDateTime(String value)
   at SQLiter.SQLiter.getObjectValue(Object type, Type otype) in C:\Users\Christian\Documents\Visual Studio 2015\Projects\SQLiter\SQLiter\SQLiter.cs:line 288
   at SQLiter.SQLiter.getObjectValue(Object type, PropertyInfo property) in C:\Users\Christian\Documents\Visual Studio 2015\Projects\SQLiter\SQLiter\SQLiter.cs:line 263
   at SQLiter.SQLiter.GetElement[T](SQLiteDataReader reader) in C:\Users\Christian\Documents\Visual Studio 2015\Projects\SQLiter\SQLiter\SQLiter.cs:line 190
   at SQLiter.SQLiter.GetTable[T]() in C:\Users\Christian\Documents\Visual Studio 2015\Projects\SQLiter\SQLiter\SQLiter.cs:line 215
   at TheAirlineProjectV2.Infrastructure.Model.GeneralModel.Setup.SetupGame() in C:\Users\Christian\documents\visual studio 2015\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\GeneralModel\Setup.cs:line 44
   at TheAirlineProjectV2.Bootstrapper.InitializeShell() in C:\Users\Christian\documents\visual studio 2015\Projects\TheAirlineProjectV2\TheAirlineProjectV2\Bootstrapper.cs:line 37
   at Prism.Unity.UnityBootstrapper.Run(Boolean runWithDefaultConfiguration)
   at TheAirlineProjectV2.App.OnStartup(StartupEventArgs e) in C:\Users\Christian\documents\visual studio 2015\Projects\TheAirlineProjectV2\TheAirlineProjectV2\App.xaml.cs:line 24
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at TheAirlineProjectV2.App.Main() in C:\Users\Christian\documents\visual studio 2015\Projects\TheAirlineProjectV2\TheAirlineProjectV2\obj\x64\Debug\App.g.cs:line 0
Thanks and now I know exactly where the issue is. We are having different formats for dates which I haven't taken into account. I will hopefully create a new version later today, which will fix this
(01-24-2017, 04:57 PM)pjank42 Wrote: [ -> ]Thanks and now I know exactly where the issue is. We are having different formats for dates which I haven't taken into account. I will hopefully create a new version later today, which will fix this
Ah that's good! I apologize I do not know anything about coding and such therefore I could not have been of use. Anyways, good luck on further development of the new versions.

Thank You.
I have updated the code so now I really hope it works, since I can't test it myself :-) Same link as before
Hi Pjank,

I have downloaded the updated file from google drive, unzipped it but the application will not start. I have attached the log file if it will help.

Thanks

1/24/2017: 8:04 PM System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.SQLite.SQLiteException: unable to open database file
   at System.Data.SQLite.SQLite3.Open(String strFilename, String vfsName, SQLiteConnectionFlags connectionFlags, SQLiteOpenFlagsEnum openFlags, Int32 maxPoolSize, Boolean usePool)
   at System.Data.SQLite.SQLiteConnection.Open()
   at SQLiter.SQLiter.GetTableEntry[T](String attribute, String id) in C:\Users\Christian\Documents\Visual Studio 2015\Projects\SQLiter\SQLiter\SQLiter.cs:line 137
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at SQLiter.SQLiter.GetElement[T](SQLiteDataReader reader) in C:\Users\Christian\Documents\Visual Studio 2015\Projects\SQLiter\SQLiter\SQLiter.cs:line 176
   at SQLiter.SQLiter.GetTable[T]() in C:\Users\Christian\Documents\Visual Studio 2015\Projects\SQLiter\SQLiter\SQLiter.cs:line 215
   at TheAirlineProjectV2.Infrastructure.Model.GeneralModel.Setup.SetupGame() in C:\Users\Christian\documents\visual studio 2015\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\GeneralModel\Setup.cs:line 39
   at TheAirlineProjectV2.Bootstrapper.InitializeShell() in C:\Users\Christian\documents\visual studio 2015\Projects\TheAirlineProjectV2\TheAirlineProjectV2\Bootstrapper.cs:line 37
   at Prism.Unity.UnityBootstrapper.Run(Boolean runWithDefaultConfiguration)
   at TheAirlineProjectV2.App.OnStartup(StartupEventArgs e) in C:\Users\Christian\documents\visual studio 2015\Projects\TheAirlineProjectV2\TheAirlineProjectV2\App.xaml.cs:line 24
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at TheAirlineProjectV2.App.Main() in C:\Users\Christian\documents\visual studio 2015\Projects\TheAirlineProjectV2\TheAirlineProjectV2\obj\x64\Debug\App.g.cs:line 0
Have you downloaded the latest version from the forum, because that bug should already has been fixed?
Pages: 1 2 3 4