IronyModManager icon indicating copy to clipboard operation
IronyModManager copied to clipboard

Crash

Open Namerian opened this issue 4 years ago • 8 comments

Describe the bug Crashed when I pressed "resolve"

Logs Unhandled error ocurred. Please use this information to file a bug report:

2022-11-11 20:49:53.7308 Version: 1.24.81+ebb6106bc5 OS Description: Linux 5.15.0-52-generic #58-Ubuntu SMP Thu Oct 13 08:03:55 UTC 2022 Runtime Identifier: ubuntu.22.04-x64 RepoDb.Exceptions.MissingFieldsException: There are no database fields found for table 'playsets'. Make sure that the target table 'playsets' is present in the database and/or at least a single field is available. at RepoDb.DbFieldCache.ValidateDbFields(String tableName, IEnumerable1 dbFields) at RepoDb.DbFieldCache.GetAsyncInternal[TDbConnection](TDbConnection connection, String tableName, IDbTransaction transaction, Boolean enableValidation, CancellationToken cancellationToken) at RepoDb.CommandTextCache.GetTargetFieldsAsync(IDbConnection connection, String tableName, IEnumerable1 fields, IDbTransaction transaction, CancellationToken cancellationToken) at RepoDb.CommandTextCache.GetQueryTextAsync(QueryRequest request, CancellationToken cancellationToken) at RepoDb.DbConnectionExtension.QueryAsyncInternalBase[TEntity](IDbConnection connection, String tableName, QueryGroup where, IEnumerable1 fields, IEnumerable1 orderBy, Nullable1 top, String hints, String cacheKey, Nullable1 cacheItemExpiration, Nullable1 commandTimeout, String traceKey, IDbTransaction transaction, ICache cache, ITrace trace, IStatementBuilder statementBuilder, CancellationToken cancellationToken) at RepoDb.DbConnectionExtension.QueryAsyncInternal[TEntity](IDbConnection connection, String tableName, QueryGroup where, IEnumerable1 fields, IEnumerable1 orderBy, Nullable1 top, String hints, String cacheKey, Nullable1 cacheItemExpiration, Nullable1 commandTimeout, String traceKey, IDbTransaction transaction, ICache cache, ITrace trace, IStatementBuilder statementBuilder, CancellationToken cancellationToken) at IronyModManager.IO.Mods.Exporter.SQLiteExporter.RecreateCollectionV2Async(ModWriterParameters parameters) in D:\Working\IronyModManager\src\IronyModManager.IO\Mods\Exporter\SQLiteExporter.cs:line 228 at IronyModManager.IO.Mods.Exporter.SQLiteExporter.ExportAsync(ModWriterParameters parameters) in D:\Working\IronyModManager\src\IronyModManager.IO\Mods\Exporter\SQLiteExporter.cs:line 120 at IronyModManager.IO.Mods.ModWriter.<>c__DisplayClass7_0.<b__2>d.MoveNext() in D:\Working\IronyModManager\src\IronyModManager.IO\Mods\ModWriter.cs:line 114 --- End of stack trace from previous location --- at IronyModManager.IO.Mods.ModWriter.ApplyModsAsync(ModWriterParameters parameters) in D:\Working\IronyModManager\src\IronyModManager.IO\Mods\ModWriter.cs:line 117

Version:

  • OS: Ubuntu
  • Irony Version: 1.24.81

Namerian avatar Nov 11 '22 19:11 Namerian

Same, see: https://github.com/bcssov/IronyModManager/issues/408#issuecomment-1312085300

bcssov avatar Nov 11 '22 20:11 bcssov

I had this, all I had to do was to open the normal game launcher (something which I never use). It was out of date and just needed updating.

Spritzen avatar Nov 12 '22 10:11 Spritzen

I use the default launcher all the time so it is up to date. It seems to be a database issue inside the irony mod manager, it cannot find a field it is looking for.

Namerian avatar Nov 12 '22 15:11 Namerian

The error states that playsets table is missing as in does not exist.

bcssov avatar Nov 12 '22 15:11 bcssov

Do I have to create it?

Namerian avatar Nov 12 '22 21:11 Namerian

If you delete the database file Irony will create a new database, or to be more precise copy one that it has shipped.

bcssov avatar Nov 12 '22 21:11 bcssov

Deleting the two databases in the stellaris folder seems to have fixed the issue.

Namerian avatar Nov 12 '22 23:11 Namerian

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Nov 17 '22 00:11 github-actions[bot]