|
Post by brittanylgibb on Dec 23, 2020 13:30:48 GMT -5
Hopefully someone can help me with this. I updated my S4S today and as soon as I open the program I immidiately recieive this error message:
The Sims 4 Studio - Version 3.1.4.1
S4Studio.Logging.S4SLogException: Failed to write to log file. ---> System.UnauthorizedAccessException: Access to the path 'D:\britt\Documents\Sims 4 Studio\Logs\Log_2020-12-18.txt' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.IO.File.Create(String path)
at S4Studio.Logging.S4SLog.get_Stream()
at S4Studio.Logging.S4SLog.Log(LogLevel level, String text)
--- End of inner exception stack trace ---
at S4Studio.Logging.S4SLog.Log(LogLevel level, String text)
at S4Studio.Shared.AppModel.Init()
Can anyone help me figure this out? I really want to do the window and door batch fix. If I try it just gives me this message again.
THANKS FOR ANY HELP!!!!
|
|
|
Post by Purple Sparkler on Dec 23, 2020 13:40:37 GMT -5
I received a error message too when I updated S4S today
The Sims 4 Studio - Version 3.1.4.2 System.AggregateException: Une ou plusieurs erreurs se sont produites. ---> SQLite.SQLiteException: Could not open database file: C:\Users\[UserName]\Documents\Sims 4 Studio\S4Studio_v3.2.sqlite (CannotOpen) à SQLite.SQLiteConnection..ctor(String databasePath, SQLiteOpenFlags openFlags, Boolean storeDateTimeAsTicks) à SQLite.SQLiteConnection..ctor(String databasePath, Boolean storeDateTimeAsTicks) à S4Studio.Data.FileDb.Sims4FileTable.CreateConnection() à S4Studio.Data.FileDb.Sims4FileTable.InitializeMetadata[TResource,TMetadata](Func`2 extra_func) à S4Studio.Data.FileDb.Sims4FileTable.InitCAS() à S4Studio.Data.FileDb.Sims4FileTable.get_CASItems() à S4Studio.Shared.CASFeatureViewModel.BuildItemList() à S4Studio.Shared.FeatureViewModel.<get_CreateCommand>b__27_1() à System.Threading.Tasks.Task.InnerInvoke() à System.Threading.Tasks.Task.Execute() --- Fin de la trace de la pile d'exception interne --- ---> (Exception interne #0) SQLite.SQLiteException: Could not open database file: C:\Users\[UserName]\Documents\Sims 4 Studio\S4Studio_v3.2.sqlite (CannotOpen) à SQLite.SQLiteConnection..ctor(String databasePath, SQLiteOpenFlags openFlags, Boolean storeDateTimeAsTicks) à SQLite.SQLiteConnection..ctor(String databasePath, Boolean storeDateTimeAsTicks) à S4Studio.Data.FileDb.Sims4FileTable.CreateConnection() à S4Studio.Data.FileDb.Sims4FileTable.InitializeMetadata[TResource,TMetadata](Func`2 extra_func) à S4Studio.Data.FileDb.Sims4FileTable.InitCAS() à S4Studio.Data.FileDb.Sims4FileTable.get_CASItems() à S4Studio.Shared.CASFeatureViewModel.BuildItemList() à S4Studio.Shared.FeatureViewModel.<get_CreateCommand>b__27_1() à System.Threading.Tasks.Task.InnerInvoke() à System.Threading.Tasks.Task.Execute()<---
I hope someone can help
|
|
|
Post by stygia2002 on Dec 26, 2020 17:05:50 GMT -5
I'm having the same issue!
The Sims 4 Studio - Version 3.1.4.2 System.AggregateException: One or more errors occurred. ---> SQLite.SQLiteException: near "VALUES": syntax error at SQLite.SQLite3.Prepare2(IntPtr db, String query) at SQLite.SQLiteCommand.Prepare() at SQLite.SQLiteCommand.ExecuteNonQuery() at SQLite.SQLiteConnection.Execute(String query, Object[] args) at S4Studio.Data.FileDb.Sims4FileTable.InsertPackage(SQLiteConnection connection, Int32 gameId, Int32 priority, PackageType type, String filename, String fullpath) at S4Studio.Data.FileDb.Sims4FileTable.InsertDLC(SQLiteConnection connection, String product, String install, String delta_path, Boolean is_reinit, Boolean load_simulation) at S4Studio.Data.FileDb.Sims4FileTable.Init(Boolean load_simulation, Boolean is_reinit) at S4Studio.Data.FileDb.Sims4FileTable.ReInit(Boolean load_simulation) at S4Studio.Data.FileDb.Sims4FileTable.Init(Boolean load_simulation, Boolean is_reinit) at S4Studio.Shared.AppModel.DoInit() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- ---> (Inner Exception #0) SQLite.SQLiteException: near "VALUES": syntax error at SQLite.SQLite3.Prepare2(IntPtr db, String query) at SQLite.SQLiteCommand.Prepare() at SQLite.SQLiteCommand.ExecuteNonQuery() at SQLite.SQLiteConnection.Execute(String query, Object[] args) at S4Studio.Data.FileDb.Sims4FileTable.InsertPackage(SQLiteConnection connection, Int32 gameId, Int32 priority, PackageType type, String filename, String fullpath) at S4Studio.Data.FileDb.Sims4FileTable.InsertDLC(SQLiteConnection connection, String product, String install, String delta_path, Boolean is_reinit, Boolean load_simulation) at S4Studio.Data.FileDb.Sims4FileTable.Init(Boolean load_simulation, Boolean is_reinit) at S4Studio.Data.FileDb.Sims4FileTable.ReInit(Boolean load_simulation) at S4Studio.Data.FileDb.Sims4FileTable.Init(Boolean load_simulation, Boolean is_reinit) at S4Studio.Shared.AppModel.DoInit() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute()<---
|
|
|
Post by Purple Sparkler on Jan 1, 2021 19:59:10 GMT -5
It keeps going at the new version
The Sims 4 Studio - Version 3.1.4.3
S4Studio.Logging.S4SLogException: Failed to write to log file. ---> System.UnauthorizedAccessException: L'accès au chemin d'accès 'C:\Users\[UserName]\Documents\Sims 4 Studio\Logs\Log_2021-1-1.txt' est refusé.
à System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
à System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
à System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
à System.IO.File.Create(String path)
à S4Studio.Logging.S4SLog.get_Stream()
à S4Studio.Logging.S4SLog.Log(LogLevel level, String text)
--- Fin de la trace de la pile d'exception interne ---
à S4Studio.Logging.S4SLog.Log(LogLevel level, String text)
à S4Studio.Shared.AppModel.Init()
Because of that, I can't merge my CC, or doing anything
|
|
|
Post by frogc4sserole on Jan 3, 2021 0:56:49 GMT -5
Having the same problem here, I wrote a thread about it. It's really disappointing not having any answers, given that this looks to be a common problem atm.
|
|
|
Post by Purple Sparkler on Jan 5, 2021 13:44:14 GMT -5
Having the same problem here, I wrote a thread about it. It's really disappointing not having any answers, given that this looks to be a common problem atm. I agree, and I don't want to wait an eternity to have help, it's really annoying P.S: Also, maybe it's a stupid question, but how can we write a thread? I don't go here often, and I went to the "help" section, but I really don't know how to do it :/
|
|
|
Post by andrew on Jan 5, 2021 18:25:53 GMT -5
Purple Sparkler , This error seems to be from antivirus software preventing Studio from running. frogc4sserole was able to get Studio running (in this thread), and others with the same error were also able to fix it by configuring their antivirus (so far I've seen AVG and Avast users) to allow Sims 4 Studio to run.
|
|
|
Post by Purple Sparkler on Jan 8, 2021 10:54:42 GMT -5
Purple Sparkler , This error seems to be from antivirus software preventing Studio from running. frogc4sserole was able to get Studio running (in this thread), and others with the same error were also able to fix it by configuring their antivirus (so far I've seen AVG and Avast users) to allow Sims 4 Studio to run. Thank you really much, It finally worked!
|
|
|
Post by simweave on Jan 16, 2021 10:41:40 GMT -5
I had this exact same problem and I have AVG antivirus. I went into the Menu, Settings, Blocked and Allowed Apps in AVG and added Sims4Studio to allowed apps, it fixed the problem!
|
|