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

Export of CustomTalkDefineClient failed: Unable to read beyond the end of the stream. #150

Open
ilitirit-za opened this issue Jun 20, 2023 · 0 comments

Comments

@ilitirit-za
Copy link

I get this error if I run exd in an older version (release b848919 in this case). It also fails on QuestDefineClient.

Defined sheet Frontline04 is missing.
Game version: 2023.06.14.0000.0000
Definition version: 2023.06.14.0000.0000
SaintCoinach.Cmd (Version 0.1.0.0)
> exd
Export of CustomTalkDefineClient failed: Unable to read beyond the end of the stream.
Export of QuestDefineClient failed: Unable to read beyond the end of the stream.
6779 files exported, 2 failed

However, in the most recent versions it just fails outright so I can't properly update the definitions:

 (...)
 45% (710 / 1578): Structure > LogKind
 45% (711 / 1578): Structure > LogMessage
 45% (713 / 1578): Structure > CustomTalkDefineClient

Unhandled Exception: System.AggregateException: One or more errors occurred. ---> System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
   at System.IO.BinaryReader.ReadByte()
   at SaintCoinach.Text.XivStringDecoder.DecodeTag(BinaryReader input) in D:\a\SaintCoinach\SaintCoinach\SaintCoinach\Text\XivStringDecoder.cs:line 129
   at SaintCoinach.Text.XivStringDecoder.Decode(BinaryReader input, Int32 length) in D:\a\SaintCoinach\SaintCoinach\SaintCoinach\Text\XivStringDecoder.cs:line 116
   at SaintCoinach.Text.XivStringDecoder.Decode(Byte[] buffer) in D:\a\SaintCoinach\SaintCoinach\SaintCoinach\Text\XivStringDecoder.cs:line 99
   at SaintCoinach.Ex.DataReaders.StringDataReader.Read(Byte[] buffer, Column col, IDataRow row) in D:\a\SaintCoinach\SaintCoinach\SaintCoinach\Ex\DataReaders\StringDataReader.cs:line 56
   at SaintCoinach.Ex.Relational.RelationalColumn.Read(Byte[] buffer, IDataRow row) in D:\a\SaintCoinach\SaintCoinach\SaintCoinach\Ex\Relational\RelationalColumn.cs:line 59
   at SaintCoinach.Ex.DataRowBase.get_Item(Int32 columnIndex) in D:\a\SaintCoinach\SaintCoinach\SaintCoinach\Ex\DataRowBase.cs:line 46
   at SaintCoinach.Ex.Relational.Update.SheetUpdater.<>c__DisplayClass18_0.<MatchVariant2Rows>b__4(RelationalColumn _) in D:\a\SaintCoinach\SaintCoinach\SaintCoinach\Ex\Relational\Update\SheetUpdater.cs:line 232
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at SaintCoinach.Ex.Relational.Update.SheetUpdater.MatchVariant2Rows(DefinitionUpdater[] defUpdaters, ColumnComparer[] comparers) in D:\a\SaintCoinach\SaintCoinach\SaintCoinach\Ex\Relational\Update\SheetUpdater.cs:line 231
   at SaintCoinach.Ex.Relational.Update.SheetUpdater.MatchRows() in D:\a\SaintCoinach\SaintCoinach\SaintCoinach\Ex\Relational\Update\SheetUpdater.cs:line 204
   at SaintCoinach.Ex.Relational.Update.SheetUpdater.Update() in D:\a\SaintCoinach\SaintCoinach\SaintCoinach\Ex\Relational\Update\SheetUpdater.cs:line 74
   at SaintCoinach.Ex.Relational.Update.RelationUpdater.<>c__DisplayClass13_1.<Update>b__2() in D:\a\SaintCoinach\SaintCoinach\SaintCoinach\Ex\Relational\Update\RelationUpdater.cs:line 91
   at SaintCoinach.Ex.Relational.Update.RelationUpdater.MemoryGuard[T](Func`1 func) in D:\a\SaintCoinach\SaintCoinach\SaintCoinach\Ex\Relational\Update\RelationUpdater.cs:line 139
   at SaintCoinach.Ex.Relational.Update.RelationUpdater.<>c__DisplayClass13_0.<Update>b__0(SheetDefinition prevSheetDef) in D:\a\SaintCoinach\SaintCoinach\SaintCoinach\Ex\Relational\Update\RelationUpdater.cs:line 91
   at System.Threading.Tasks.Parallel.<>c__DisplayClass31_0`2.<ForEachWorker>b__0(Int32 i)
   at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
   at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IList`1 list, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Action`1 body)
   at SaintCoinach.Ex.Relational.Update.RelationUpdater.Update(Boolean detectDataChanges) in D:\a\SaintCoinach\SaintCoinach\SaintCoinach\Ex\Relational\Update\RelationUpdater.cs:line 70
   at SaintCoinach.ARealmReversed.Update(Boolean detectDataChanges, IProgress`1 progress) in D:\a\SaintCoinach\SaintCoinach\SaintCoinach\ARealmReversed.cs:line 382
   at SaintCoinach.Cmd.Program.Main(String[] args) in D:\a\SaintCoinach\SaintCoinach\SaintCoinach.Cmd\Program.cs:line 52

This is on Windows 11.

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

No branches or pull requests

1 participant