Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ManagerStations_Research.xml to solve an error in developer mode #203

Open
wants to merge 1 commit into
base: 1.4
Choose a base branch
from

Conversation

lisanhu
Copy link

@lisanhu lisanhu commented Jul 12, 2023

Removing tailing white spaces for ManagingSoftware.description and PowerManagement.description for ChineseSimplified. This tailing spaces will trigger an error in developermode (the logs)

Config error in ManagingSoftware: description has trailing whitespace
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.DefDatabase`1<Verse.ResearchProjectDef>:ErrorCheckAllDefs ()
System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
System.Reflection.MethodBase:Invoke (object,object[])
Verse.GenGeneric:InvokeStaticMethodOnGenericType (System.Type,System.Type,string)
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_1 (System.Type)
System.Threading.Tasks.Parallel/<>c__DisplayClass31_0`2<System.Type, object>:<ForEachWorker>b__0 (int)
System.Threading.Tasks.Parallel/<>c__DisplayClass17_0`1<object>:<ForWorker>b__1 ()
System.Threading.Tasks.Task:InnerInvoke ()
System.Threading.Tasks.Task:InnerInvokeWithArg (System.Threading.Tasks.Task)
System.Threading.Tasks.Task/<>c__DisplayClass178_0:<ExecuteSelfReplicating>b__0 (object)
System.Threading.Tasks.Task:InnerInvoke ()
System.Threading.Tasks.Task:Execute ()
System.Threading.Tasks.Task:ExecutionContextCallback (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.Tasks.Task:ExecuteWithThreadLocal (System.Threading.Tasks.Task&)
System.Threading.Tasks.Task:ExecuteEntry (bool)
System.Threading.Tasks.Task:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem ()
System.Threading.ThreadPoolWorkQueue:Dispatch ()
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()

Removing tailing white spaces for ManagingSoftware.description and PowerManagement.description for ChineseSimplified. This tailing spaces will trigger an error in developermode (the logs)
@lisanhu
Copy link
Author

lisanhu commented Jul 12, 2023

Also I find the issue probably exists for French, from this:

 ~/.local/share/Steam/steamapps/workshop/content/294100/715565262 $ grep -r " </ManagingSoftware.description" .
./1.1/Languages/ChineseSimplified/DefInjected/ResearchProjectDef/ManagerStations_Research.xml:        </ManagingSoftware.description>
./1.1/Languages/French/DefInjected/ResearchProjectDef/ManagerStations_Research.xml:        </ManagingSoftware.description>
./1.4/Languages/ChineseSimplified/DefInjected/ResearchProjectDef/ManagerStations_Research.xml:        </ManagingSoftware.description>
./1.4/Languages/French/DefInjected/ResearchProjectDef/ManagerStations_Research.xml:        </ManagingSoftware.description>
./1.2/Languages/ChineseSimplified/DefInjected/ResearchProjectDef/ManagerStations_Research.xml:        </ManagingSoftware.description>
./1.2/Languages/French/DefInjected/ResearchProjectDef/ManagerStations_Research.xml:        </ManagingSoftware.description>
./1.3/Languages/ChineseSimplified/DefInjected/ResearchProjectDef/ManagerStations_Research.xml:        </ManagingSoftware.description>
./1.3/Languages/French/DefInjected/ResearchProjectDef/ManagerStations_Research.xml:        </ManagingSoftware.description>
./Languages/French/DefInjected/ResearchProjectDef/ManagerStations_Research.xml:        </ManagingSoftware.description>
./1.0/Languages/ChineseSimplified/DefInjected/ResearchProjectDef/ManagerStations_Research.xml:        </ManagingSoftware.description>
./1.0/Languages/French/DefInjected/ResearchProjectDef/ManagerStations_Research.xml:        </ManagingSoftware.description>

I don't understand French so I don't want to touch those files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant