kianzarrin / LoadOrder

12 stars 6 forks source link

File not found error #8

Closed originalfoo closed 2 years ago

originalfoo commented 2 years ago

Just started using LOM and when clicking the Startup tab get this error:

image

[Error]  282,990ms | gap=198,125ms | '' not found.
   at KianCommons.Log.Error(System.String message, Boolean copyToGameLog)
   at KianCommons.Log.Error(System.String message, Boolean copyToGameLog)
   at KianCommons.Prompt.Error(System.String title, System.String message)
   at LoadOrderMod.Settings.Tabs.SubscriptionsTab.CheckSteamPath(System.String path)
   at LoadOrderMod.Settings.Tabs.SubscriptionsTab+<>c.<Make>b__5_4(System.String text)
   at UIHelper+<AddTextfield>c__AnonStorey3.<>m__1(ColossalFramework.UI.UIComponent c, System.String sel)
   at ColossalFramework.UI.UITextField.OnSubmit()
   at ColossalFramework.UI.UITextField.OnLostFocus(ColossalFramework.UI.UIFocusEventParameter p)
   at ColossalFramework.UI.UIView.SetFocus(ColossalFramework.UI.UIComponent component)
   at ColossalFramework.UI.UIComponent.Focus()
   at ColossalFramework.UI.UIComponent.OnMouseDown(ColossalFramework.UI.UIMouseEventParameter p)
   at ColossalFramework.UI.UIButton.OnMouseDown(ColossalFramework.UI.UIMouseEventParameter p)
   at ColossalFramework.UI.UIInput+MouseHandler.ProcessInput(IInputTranslator translator, Ray ray, ColossalFramework.UI.UIComponent component, Boolean retainFocusSetting)
   at ColossalFramework.UI.UIInput.ProcessMouseInput()
   at ColossalFramework.UI.UIInput.FpsBoosterUpdate()
   at BehaviourUpdater.UiInputUpdater.UpdateInput()
   at BehaviourUpdater.Updater.Update()

output_log.txt

Looks like it's due to blank start-up path in Subscriptions tab maybe?

image

Also, Paradox Account panel is gone from main menu (not sure if caused by LOM or Control It - however neither mod mentions that it removes the account panel).

originalfoo commented 2 years ago

LoadOrderTool.log LoadOrder.log LoadOrderIPatch.log

kianzarrin commented 2 years ago

if you could go to startup you could show ad. panels. image

kianzarrin commented 2 years ago

@aubergine10 you still can go to startup right?

if you click on that text box and click out of it (eg: pressing another tab) then the text value is evaluated (see OnSubmit() from your stack trace). if the value is invalid it gives error that path does not exit. that is expected. OnSubmit() is called if you click out or if you press enter.

kianzarrin commented 2 years ago

So can we close this issue?

originalfoo commented 2 years ago

Ah, I didn't expect ad panels to incude account login panel. A better checkbox label might be remove ad and login panels (or just leave that stuff to Control It / Hide It, Bobby mods).

And yes, I could still access the startup tab after closing the error panel.

kianzarrin commented 2 years ago

its an advert disguised as login :)

originalfoo commented 2 years ago

users don't know that