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.

VC++ 2012 redists are not bundled for sqlite dependency

See original GitHub issue

Installed 6.2 fresh tonight along with Twitch and other clients but Playnite never seems to be able to detect that Twitch is logged in when it does the handoff to the Twitch app and I return after auth. I’ve created a diag package: 825b98df-07fb-4e01-9353-dba6f0423b51

A quick look at the playnite.log entries shows a bunch of entries complaining about the sqlite dll

2019-11-22 23:10:57.9306|ERROR:Failed to get Twitch auth token.System.DllNotFoundException: Unable to load DLL 'sqlite3': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at SQLitePCL.SQLite3Provider.NativeMethods.sqlite3_open_v2(Byte[] filename, IntPtr& db, Int32 flags, Byte[] vfs)
   at SQLitePCL.SQLite3Provider.SQLitePCL.ISQLite3Provider.sqlite3_open_v2(String filename, IntPtr& db, Int32 flags, String vfs)
   at SQLite.SQLiteConnection..ctor(String databasePath, SQLiteOpenFlags openFlags, Boolean storeDateTimeAsTicks)
   at Playnite.Common.Sqlite..ctor(String dbPath, SqliteOpenFlags openFlags)
   at TwitchLibrary.TwitchLibrary.GetAuthToken()

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
JosefNemeccommented, Nov 26, 2019

I’ll start bundling 2012 redists, that should prevent this from happening to anybody else.

1reaction
JosefNemeccommented, Nov 26, 2019

The only difference between portable and installed versions is where they store user data, everything else is the same.

You are the only who reported this so far and Twitch integration is there for almost a year now. It must be something weird with your system, but I have not idea what.

The reason we reference older sqlite-net is because new packages are built for netstandard 2 and this brings a lot of additional references from .NET Core and causing some issues in references everywhere, because we are still targeting Framework 4.6.2. I’ll be updating everything to latest versions once we switch from Framework to Core in #1141

Read more comments on GitHub >

github_iconTop Results From Across the Web

could not load file or assembly system.data.sqlite on target ...
I've tried to install Visual C++ 2010 SP1 Redistributable x86 but that didn't solve the problem. But when I Installed Visual Studio, it...
Read more >
Missing System.Data.SQLite.dll reported after installation
Are there any dependencies I'm not seeing? Or is it a missing Microsoft Visual C++ Runtime Library (Not present in the application directory)? ......
Read more >
Could not load file or assembly 'System.Data.SQLite.dll' or one ...
First we need to install SQLite and in my case I installed it from NuGet gallery.To do that you can follow the steps...
Read more >
Port to .NET 6+ · Issue #1141 · JosefNemec/Playnite
VC++ 2012 redists are not bundled for sqlite dependency #1542. Closed. @JosefNemec JosefNemec mentioned this issue on Feb 2, 2020.
Read more >
Frequently Asked Questions
What is a "bundle" package (i.e. from the downloads page)? ... When the solution is loaded in Visual Studio, why do no files...
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