ElectronicObserverEN / ElectronicObserver

Electronic Observer is a game viewer for Kantai Collection.
Other
83 stars 20 forks source link

グループ画面でのグループタブの全ロスト #486

Open ja1krg opened 3 months ago

ja1krg commented 3 months ago

一昨日、グループ画面にあった20個以上のグループタブが全て消え、「全所属艦」だけになりました。 その前後で、グループタブの追加や変更は行っていません。 不便なので、現在は新しくタブを追加して使っています。 アプリのバージョンはVer.5.3.6.0です。

myangelkamikaze commented 3 months ago

Is there any error in logs? The most likely reason is that "Settings\ShipGroups.xml" got corrupted somehow.

ja1krg commented 3 months ago

The contents of the error log are pasted below.

Error Report [ver. 5.3.6.0]: 2024/07/22 19:12:44 Error: SerializationException There was an error deserializing the object of type ElectronicObserver.Data.ShipGroupManager. Root element is missing. Additional info: Failed to load ShipGroupManager Stack trace: at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver) at ElectronicObserver.Utility.Storage.DataStorage.Load(String path) in F:\ElectronicObserver\ElectronicObserver\Utility\Storage\DataStorage.cs:line 93

myangelkamikaze commented 3 months ago

Yeah, the file got corrupted somehow, so there's nothing we can do here.

ja1krg commented 3 months ago

Understood. I'm assuming my data won't come back... That being said, if there is no way to recover it, and if this kind of trouble is occurring more or less, I think the app needs to process the backup. This is just a request.

ja1krg commented 3 months ago

This issue has occurred again. It has never happened before, but it has happened twice recently. Is it really just my environment's fault?

myangelkamikaze commented 3 months ago

Can you upload the ShipGroups.xml file? Note that it'll be overridden when you close 七四式, so you need to make a copy before that.

ja1krg commented 3 months ago

I haven't closed the app yet. I can't send it as it is, so I'll edit the extension to txt and send it. By the way, the contents of this file look blank.

ShipGroups.txt

myangelkamikaze commented 3 months ago

I get this. Is that the content? image

ja1krg commented 3 months ago

No, it really is a zero byte file. For example in a hex editor it looks like this:

スクリーンショット 2024-08-08 10 28 05

myangelkamikaze commented 3 months ago

Hmm, maybe something happens when the file attempts to get saved. Can you check if there are any errors in the windows event viewer? unknown

ja1krg commented 3 months ago

I checked the logs. There are several logs from the time in question, but none were from EOBrowser.exe. Instead, the security software and Nkdnssd Servive (?) were reporting errors.

スクリーンショット 2024-08-08 16 02 47

myangelkamikaze commented 3 months ago

That's from a different application. Are you getting unexpected crashes or anything? Can you check if your disk is okay?

I have no idea why that file would be getting corrupted if there weren't any unexpected crashes or something like that.