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

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

Open
DocBrown101 opened this issue Oct 18, 2022 · 0 comments

Comments

@DocBrown101
Copy link

DocBrown101 commented Oct 18, 2022

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
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