question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem updating from 1.3.0 to 1.5.2 (EngineSettings must have Filename or DataStream as data source)

See original GitHub issue

Hey, thanks for an awesome plugin. I am trying to update from version 1.3.0 to 1.5.2 with LiteDB. I have set Barrel.Update = true right after setting the ApplicationId. No encryption is used.

When accessing barrel with Barrel.Current I am getting the following error:

EngineSettings must have Filename or DataStream as data source
at LiteDB.Engine.EngineSettings.CreateDataFactory () [0x0008d] in <e37eae51170e472a88b7e61cb2c985c3>:0    
at LiteDB.Engine.DiskService..ctor (LiteDB.Engine.EngineSettings settings, System.Int32[] memorySegmentSizes) [0x00012] in <e37eae51170e472a88b7e61cb2c985c3>:0    
at LiteDB.Engine.LiteEngine..ctor (LiteDB.Engine.EngineSettings settings) [0x00173] in <e37eae51170e472a88b7e61cb2c985c3>:0    
at LiteDB.ConnectionString.CreateEngine () [0x0004a] in <e37eae51170e472a88b7e61cb2c985c3>:0    
at LiteDB.LiteDatabase..ctor (LiteDB.ConnectionString connectionString, LiteDB.BsonMapper mapper) [0x00034] in <e37eae51170e472a88b7e61cb2c985c3>:0    
at LiteDB.LiteDatabase..ctor (System.String connectionString, LiteDB.BsonMapper mapper) [0x00007] in <e37eae51170e472a88b7e61cb2c985c3>:0    
at MonkeyCache.LiteDB.Barrel..ctor (System.String cacheDirectory) [0x0006c] in D:\a\1\s\src\MonkeyCache.LiteDB\Barrel.cs:71    
at MonkeyCache.LiteDB.Barrel.get_Current () [0x00000] in D:\a\1\s\src\MonkeyCache.LiteDB\Barrel.cs:35

Any clues? Thanks

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
jamesmontemagnocommented, Mar 11, 2022

I am goign to try upgrading a few things to the latest and greatest and see if that has any impact

0reactions
jamesmontemagnocommented, Mar 14, 2022

Whoop whoop! yeah I forgot to format the non-encrypted file name lol. I’ll push to production

Read more comments on GitHub >

github_iconTop Results From Across the Web

version V4 to V5 Problem · Issue #1428 · mbdavid/LiteDB
Problem updating from 1.3.0 to 1.5.2 (EngineSettings must have Filename or DataStream as data source) jamesmontemagno/monkey-cache#107.
Read more >
Getting error System.IO.IOException: 'The process cannot ...
I suppose I have to use shared one since I will have to access the same database from different threads. https://www.litedb.org/docs/connection- ...
Read more >
c# - LiteDB 5 System.IO.IOException: The process cannot ...
When we run the same code with a db path on the internal drive it works fine but with the external (Unix) drive...
Read more >
epel-devel - December 2013
Hi, Django is currently in version 1.3 in EPEL6 and version 1.1 in EPEL5. Both don't receive any security fixes any more, and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found