[Fixed] Trouble updating to new DB

Post bug reports and ask for game support here.

Moderator: MOD_Command

Post Reply
User avatar
Gunner98
Posts: 5996
Joined: Fri Apr 29, 2005 12:49 am
Location: The Great White North!
Contact:

[Fixed] Trouble updating to new DB

Post by Gunner98 »

Just installed the latest Beta (B1147.7) and trying to update from an old build (DB470) and the process locks up at the point where I should have an opportunity to select the INI file. See clip.

Save in next post

Image
Attachments
DBUpdate.jpg
DBUpdate.jpg (380.86 KiB) Viewed 813 times
Check out our novel, Northern Fury: H-Hour!: http://northernfury.us/
And our blog: http://northernfury.us/blog/post2/
Twitter: @NorthernFury94 or Facebook https://www.facebook.com/northernfury/
chrispman
Posts: 164
Joined: Sun Mar 28, 2010 2:29 pm

RE: Trouble updating to new DB

Post by chrispman »

Can confirm this. The FileChooser doesn't open.
User avatar
SteveMcClaire
Posts: 4344
Joined: Mon Nov 19, 2007 9:31 pm

RE: Trouble updating to new DB

Post by SteveMcClaire »

Logged for investigation. Can you provide the save please? Thanks!
User avatar
SteveMcClaire
Posts: 4344
Joined: Mon Nov 19, 2007 9:31 pm

RE: [Logged] Trouble updating to new DB

Post by SteveMcClaire »

Also - just a hunch. The dialog to open the INI file may be behind the app. Try hitting ALT+TAB when this happens and see if you can find the file open dialog box.
User avatar
Gunner98
Posts: 5996
Joined: Fri Apr 29, 2005 12:49 am
Location: The Great White North!
Contact:

RE: [Logged] Trouble updating to new DB

Post by Gunner98 »

Thought I had put a save up, sorry. Here it is.

Will check the Alt-Tab bit.
Attachments
BalticFur..1994v6.zip
(2.26 MiB) Downloaded 29 times
Check out our novel, Northern Fury: H-Hour!: http://northernfury.us/
And our blog: http://northernfury.us/blog/post2/
Twitter: @NorthernFury94 or Facebook https://www.facebook.com/northernfury/
User avatar
Gunner98
Posts: 5996
Joined: Fri Apr 29, 2005 12:49 am
Location: The Great White North!
Contact:

RE: [Logged] Trouble updating to new DB

Post by Gunner98 »

No luck on the Alt-Tab, worth checking though
Check out our novel, Northern Fury: H-Hour!: http://northernfury.us/
And our blog: http://northernfury.us/blog/post2/
Twitter: @NorthernFury94 or Facebook https://www.facebook.com/northernfury/
papymaj55
Posts: 4
Joined: Sun Jan 23, 2011 8:01 pm

RE: [Logged] Trouble updating to new DB

Post by papymaj55 »

I am having this problem too.
User avatar
SteveMcClaire
Posts: 4344
Joined: Mon Nov 19, 2007 9:31 pm

RE: [Logged] Trouble updating to new DB

Post by SteveMcClaire »

Could you please try this in the 1147.8 update and let me know how it is now? Thanks!
User avatar
Gunner98
Posts: 5996
Joined: Fri Apr 29, 2005 12:49 am
Location: The Great White North!
Contact:

RE: [Logged] Trouble updating to new DB

Post by Gunner98 »

Steve

Unfortunately the problem still persists. The DB upgrade gets hung up at the 'Select INI configuration file...' stage. The prompt does not appear. See screenclip.

But ... when I chose 'Deep-Rebuild (select manually)' things seem to proceed OK. When I check after the update it still says DB470 in the menu but if I reload the scenario it tells me that the DB is 487.

I need to go through to make sure the SBR took but it looks OK so far.

Still a couple problems though:

1. the pop up prompt to select the INI file is still not working
2. when updating through the deep rebuild button, the current DB should be visible immediately, shouldn't have to reload the scenario for it to update.

Thanks



Image
Attachments
DBupdate.jpg
DBupdate.jpg (145.41 KiB) Viewed 810 times
Check out our novel, Northern Fury: H-Hour!: http://northernfury.us/
And our blog: http://northernfury.us/blog/post2/
Twitter: @NorthernFury94 or Facebook https://www.facebook.com/northernfury/
User avatar
Gunner98
Posts: 5996
Joined: Fri Apr 29, 2005 12:49 am
Location: The Great White North!
Contact:

RE: [Logged] Trouble updating to new DB

Post by Gunner98 »

Well having no munitions on any of the bases is an indicator that the SBR didn't take.

Oh and no cargo anywhere. Fixable but not fun.

B
Check out our novel, Northern Fury: H-Hour!: http://northernfury.us/
And our blog: http://northernfury.us/blog/post2/
Twitter: @NorthernFury94 or Facebook https://www.facebook.com/northernfury/
User avatar
Gunner98
Posts: 5996
Joined: Fri Apr 29, 2005 12:49 am
Location: The Great White North!
Contact:

RE: [Logged] Trouble updating to new DB

Post by Gunner98 »

Update - by manually applying the SBR script things now seem to be working.

So the work-around is to update to the latest DB - if the prompt for the INI file does not show up just close the window.

Next go to Editor/SBR/Apply SBR script and navigate to your INI file

This should work but am still checking things out.

B
Check out our novel, Northern Fury: H-Hour!: http://northernfury.us/
And our blog: http://northernfury.us/blog/post2/
Twitter: @NorthernFury94 or Facebook https://www.facebook.com/northernfury/
User avatar
SteveMcClaire
Posts: 4344
Joined: Mon Nov 19, 2007 9:31 pm

RE: [Logged] Trouble updating to new DB

Post by SteveMcClaire »

Thanks for that information Gunner98. Will continue working on it.
Dimitris
Posts: 15750
Joined: Sun Jul 31, 2005 10:29 am
Contact:

RE: [Logged] Trouble updating to new DB

Post by Dimitris »

This _should_ be fixed in the next update release, please cross-check when possible.
User avatar
Gunner98
Posts: 5996
Joined: Fri Apr 29, 2005 12:49 am
Location: The Great White North!
Contact:

RE: [Logged] Trouble updating to new DB

Post by Gunner98 »

Thank you that problem is indeed fixed

But is followed up by an error as seen in the clip.

I've never seen an error like this before but this is a new computer so who knows that is working in the background

When I hit continue the game remains open but is locked up
When I hit quit it shuts the game down




Here is a clip from the ExceptionLog:

2020-09-03 3:33:23 PM -- B1147.9 -- [string "Event - Load all Functions"]:2: syntax error near 'script'
Exception: [string "Event - Load all Functions"]:2: syntax error near 'script'
Stack Trace: at NLua.Lua.ThrowExceptionFromError(Int32 oldTop)
at NLua.Lua.DoString(String chunk, String chunkName)
at Command_Core.Lua.LuaSandBox.RunScript(String str, Boolean RunInteractively, String script)
at .†.(Scenario , SimEvent )
Call Stack & Error details:
Error at 101316,

2020-09-03 3:35:28 PM -- B1147.9 -- An error occurred creating the form. See Exception.InnerException for details. The error is: The calling thread must be STA, because many UI components require this.
Exception: An error occurred creating the form. See Exception.InnerException for details. The error is: The calling thread must be STA, because many UI components require this.
Stack Trace: at †...[T](T )
at †...()
at ‰..(Boolean RefreshEvenIfNotVisible)
Inner Exception: The calling thread must be STA, because many UI components require this.
Inner StackTrace: at System.Windows.Input.InputManager..ctor()
at System.Windows.Input.InputManager.GetCurrentInputManagerImpl()
at System.Windows.Input.KeyboardNavigation..ctor()
at System.Windows.FrameworkElement.FrameworkServices..ctor()
at System.Windows.FrameworkElement.EnsureFrameworkServices()
at System.Windows.FrameworkElement..ctor()
at System.Windows.Controls.Panel..ctor()
at System.Windows.Forms.Integration.AvalonAdapter..ctor(ElementHost hostControl)
at System.Windows.Forms.Integration.ElementHost..ctor()
at Command.MainForm.ˆ()
at Command.MainForm..ctor()
Call Stack & Error details:
Error at 200637, An error occurred creating the form. See Exception.InnerException for details. The error is: The calling thread must be STA, because many UI components require this.

2020-09-03 3:35:28 PM -- B1147.9 -- An error occurred creating the form. See Exception.InnerException for details. The error is: The calling thread must be STA, because many UI components require this.
Exception: An error occurred creating the form. See Exception.InnerException for details. The error is: The calling thread must be STA, because many UI components require this.
Stack Trace: at †...[T](T )
at †...()
at ‰..(Boolean RefreshEvenIfNotVisible)
Inner Exception: The calling thread must be STA, because many UI components require this.
Inner StackTrace: at System.Windows.Input.InputManager..ctor()
at System.Windows.Input.InputManager.GetCurrentInputManagerImpl()
at System.Windows.Input.KeyboardNavigation..ctor()
at System.Windows.FrameworkElement.FrameworkServices..ctor()
at System.Windows.FrameworkElement.EnsureFrameworkServices()
at System.Windows.FrameworkElement..ctor()
at System.Windows.Controls.Panel..ctor()
at System.Windows.Forms.Integration.AvalonAdapter..ctor(ElementHost hostControl)
at System.Windows.Forms.Integration.ElementHost..ctor()
at Command.MainForm.ˆ()
at Command.MainForm..ctor()
Call Stack & Error details:
Error at 200637, An error occurred creating the form. See Exception.InnerException for details. The error is: The calling thread must be STA, because many UI components require this.

2020-09-03 3:35:28 PM -- B1147.9 -- An error occurred creating the form. See Exception.InnerException for details. The error is: The calling thread must be STA, because many UI components require this.
Exception: An error occurred creating the form. See Exception.InnerException for details. The error is: The calling thread must be STA, because many UI components require this.
Stack Trace: at †...[T](T )
at †...()
at ‰..(Boolean RefreshEvenIfNotVisible)
Inner Exception: The calling thread must be STA, because many UI components require this.
Inner StackTrace: at System.Windows.Input.InputManager..ctor()
at System.Windows.Input.InputManager.GetCurrentInputManagerImpl()
at System.Windows.Input.KeyboardNavigation..ctor()
at System.Windows.FrameworkElement.FrameworkServices..ctor()
at System.Windows.FrameworkElement.EnsureFrameworkServices()
at System.Windows.FrameworkElement..ctor()
at System.Windows.Controls.Panel..ctor()
at System.Windows.Forms.Integration.AvalonAdapter..ctor(ElementHost hostControl)
at System.Windows.Forms.Integration.ElementHost..ctor()
at Command.MainForm.ˆ()
at Command.MainForm..ctor()
Call Stack & Error details:
Error at 200637, An error occurred creating the form. See Exception.InnerException for details. The error is: The calling thread must be STA, because many UI components require this.

Successfully loaded Sim Configuration.

DPI registry setting, HKEY_CURRENT_USER\Control Panel\Desktop\LogPixels:0.

DPI registry setting, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontDPI\LogPixels:96.

DPI scale: 1.

Showing splash screen.

Initialization started.

Starting initializing Sim Core.

Successfully started database scan.

Successfully loaded terrain grids and initialized store.

Successfully created Sim World.

Done initializing Sim Core.

Successfully initialized Sim Core.

Successfully switched to High Performance power plan.

Successfully loaded Lua UI Handlers.

Successfully created new game.

Successfully set database hash value.

Successfully completed Set Current Scenario.

Successfully initialized Lua.

Successfully created scenario.

Initialization completed.

Wait for terrain to load.

Terrain loaded.

Starting loading MainForm.

Configured MainForm working area

License: Command full version

Configured range ring colors

Done loading MainForm.

Calling MainForm_Shown.

Populated CanalList.

Added World Window panel.

Built database list.

Preparing Wold Window.

Preparing BMNGv2.

Preparing BMNGv2 done.

Preparing SHP_ColdWar.

Preparing SHP_ColdWar done.

Preparing SHP_NewWorldOrder.

Preparing SHP_NewWorldOrder done.

Preparing SHP_Ice_Arctic.

Preparing SHP_Ice_Arctic done.

Preparing MapScaleLayer.

Preparing MapScaleLayer done.

Preparing CommandLayer.

Preparing CommandLayer done.

Preparing Wold Window done.

Prepared Wold Window.

Calling MainForm_Shown: Show window.

Closed splash screen.

Showed Start Game window.

Finished MainForm_Shown.

2020-09-03 3:36:17 PM -- B1147.9 -- [string "Event - Load all Functions"]:2: syntax error near 'script'
Exception: [string "Event - Load all Functions"]:2: syntax error near 'script'
Stack Trace: at NLua.Lua.ThrowExceptionFromError(Int32 oldTop)
at NLua.Lua.DoString(String chunk, String chunkName)
at Command_Core.Lua.LuaSandBox.RunScript(String str, Boolean RunInteractively, String script)
at .†.(Scenario , SimEvent )
Call Stack & Error details:
Error at 101316,

2020-09-03 3:43:31 PM -- B1147.9 -- An error occurred creating the form. See Exception.InnerException for details. The error is: The calling thread must be STA, because many UI components require this.
Exception: An error occurred creating the form. See Exception.InnerException for details. The error is: The calling thread must be STA, because many UI components require this.
Stack Trace: at †...[T](T )
at †...()
at ‰..(Boolean RefreshEvenIfNotVisible)
Inner Exception: The calling thread must be STA, because many UI components require this.
Inner StackTrace: at System.Windows.Input.InputManager..ctor()
at System.Windows.Input.InputManager.GetCurrentInputManagerImpl()
at System.Windows.Input.KeyboardNavigation..ctor()
at System.Windows.FrameworkElement.FrameworkServices..ctor()
at System.Windows.FrameworkElement.EnsureFrameworkServices()
at System.Windows.FrameworkElement..ctor()
at System.Windows.Controls.Panel..ctor()
at System.Windows.Forms.Integration.AvalonAdapter..ctor(ElementHost hostControl)
at System.Windows.Forms.Integration.ElementHost..ctor()
at Command.MainForm.ˆ()
at Command.MainForm..ctor()
Call Stack & Error details:
Error at 200637, An error occurred creating the form. See Exception.InnerException for details. The error is: The calling thread must be STA, because many UI components require this.

2020-09-03 3:43:31 PM -- B1147.9 -- An error occurred creating the form. See Exception.InnerException for details. The error is: The calling thread must be STA, because many UI components require this.
Exception: An error occurred creating the form. See Exception.InnerException for details. The error is: The calling thread must be STA, because many UI components require this.
Stack Trace: at †...[T](T )
at †...()
at ‰..(Boolean RefreshEvenIfNotVisible)
Inner Exception: The calling thread must be STA, because many UI components require this.
Inner StackTrace: at System.Windows.Input.InputManager..ctor()
at System.Windows.Input.InputManager.GetCurrentInputManagerImpl()
at System.Windows.Input.KeyboardNavigation..ctor()
at System.Windows.FrameworkElement.FrameworkServices..ctor()
at System.Windows.FrameworkElement.EnsureFrameworkServices()
at System.Windows.FrameworkElement..ctor()
at System.Windows.Controls.Panel..ctor()
at System.Windows.Forms.Integration.AvalonAdapter..ctor(ElementHost hostControl)
at System.Windows.Forms.Integration.ElementHost..ctor()
at Command.MainForm.ˆ()
at Command.MainForm..ctor()
Call Stack & Error details:
Error at 200637, An error occurred creating the form. See Exception.InnerException for details. The error is: The calling thread must be STA, because many UI components require this.

2020-09-03 3:43:31 PM -- B1147.9 -- The calling thread cannot access this object because a different thread owns it.
Exception: The calling thread cannot access this object because a different thread owns it.
Stack Trace: at System.Windows.Threading.Dispatcher.VerifyAccess()
at System.Windows.UIElement.set_IsEnabled(Boolean value)
at Command.RightColumnWPF.(Scenario , Side , Unit )
Call Stack & Error details:
Error at 999999,

2020-09-03 3:43:31 PM -- B1147.9 -- The calling thread cannot access this object because a different thread owns it.
Exception: The calling thread cannot access this object because a different thread owns it.
Stack Trace: at System.Windows.Threading.Dispatcher.VerifyAccess()
at Command.MainForm.()
at Command.MainForm.()
at Command.Client.(Scenario , Boolean )
Call Stack & Error details:
Error at 200516, The calling thread cannot access this object because a different thread owns it.

2020-09-03 3:44:03 PM -- B1147.9 -- An error occurred invoking the method. The destination thread no longer exists.
Exception: An error occurred invoking the method. The destination thread no longer exists.
Stack Trace: at System.Windows.Forms.Control.WaitForWaitHandle(WaitHandle waitHandle)
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at System.Windows.Forms.Control.Invoke(Delegate method)
at ‰..?()
at Command.Client..Invoke()
at Command.Client.(Waypoint )
Call Stack & Error details:
Error at 200629, An error occurred invoking the method. The destination thread no longer exists.

Image
Attachments
Darksecondary.jpg
Darksecondary.jpg (198.91 KiB) Viewed 810 times
Check out our novel, Northern Fury: H-Hour!: http://northernfury.us/
And our blog: http://northernfury.us/blog/post2/
Twitter: @NorthernFury94 or Facebook https://www.facebook.com/northernfury/
User avatar
SteveMcClaire
Posts: 4344
Joined: Mon Nov 19, 2007 9:31 pm

RE: [Logged] Trouble updating to new DB

Post by SteveMcClaire »

The threading issue has been identified and fixed for the next update. Thanks for your patience.
User avatar
Gunner98
Posts: 5996
Joined: Fri Apr 29, 2005 12:49 am
Location: The Great White North!
Contact:

RE: [Logged] Trouble updating to new DB

Post by Gunner98 »

Thanks Steve
Check out our novel, Northern Fury: H-Hour!: http://northernfury.us/
And our blog: http://northernfury.us/blog/post2/
Twitter: @NorthernFury94 or Facebook https://www.facebook.com/northernfury/
User avatar
Gunner98
Posts: 5996
Joined: Fri Apr 29, 2005 12:49 am
Location: The Great White North!
Contact:

RE: [Logged] Trouble updating to new DB

Post by Gunner98 »

Everything seems to be working fine with 1147.10

Thanks
Check out our novel, Northern Fury: H-Hour!: http://northernfury.us/
And our blog: http://northernfury.us/blog/post2/
Twitter: @NorthernFury94 or Facebook https://www.facebook.com/northernfury/
Post Reply

Return to “Tech Support”