Skip to content

Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 14: 'unable to open database file' in version 0.5.2.2 #106

@DocBrown101

Description

@DocBrown101

Hello, I tested the new version (papyruscs-dotnetcore-0.1.1.33-linux64) today and unfortunately did not get far. Here is my console output:

Opening world...
Generating a list of all chunk keys in the database.
This could take a few minutes
Total Chunk count 217471

The total dimensions of the map are
  X: -395 to 410
  Z: -1286 to 354

Tilesize is 512x512
Reading terrain_texture.json...

The maximum diameter of the map is 1641
For 2 chunks per tile, new max diameter is 821
To generate the zoom levels, we expand the diameter to 1024
This results in 11 zoom levels
Unhandled exception. Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 14: 'unable to open database file'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteConnection.Open()
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenDbConnection(Boolean errorsExpected)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
   at Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal.SqliteDatabaseCreator.Create()
   at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.Migrate(String targetMigration)
   at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.Migrate(DatabaseFacade databaseFacade)
   at PapyrusAlgorithms.Strategies.Dataflow.DataFlowStrategy`1.Init() in C:\projects\papyruscs-19426\PapyrusAlgorithms\Strategies\Dataflow\DataFlowStrategy.cs:line 413
   at PapyrusCs.Program.RunMapCommand(Options options) in C:\projects\papyruscs-19426\PapyrusCs\Program.cs:line 230
   at PapyrusCs.Program.<>c.<Main>b__4_0(Options opts) in C:\projects\papyruscs-19426\PapyrusCs\Program.cs:line 45
   at CommandLine.ParserResultExtensions.MapResult[T1,T2,T3,TResult](ParserResult`1 result, Func`2 parsedFunc1, Func`2 parsedFunc2, Func`2 parsedFunc3, Func`2 notParsedFunc)
   at PapyrusCs.Program.Main(String[] args) in C:\projects\papyruscs-19426\PapyrusCs\Program.cs:line 40
/usr/local/bin/entrypoint.sh: line 7:     6 Aborted                 /app/bin/PapyrusCs -w /app/input -o /app/map --htmlfile index.html -f webp -d 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions