Logos4 has stopped working (please help)

Cody Hauch
Cody Hauch Member Posts: 3 ✭✭
edited November 2024 in English Forum

When I try to open logos it says "Logos Bible software 4 has stopped working"

 

Here's the log:


Program Version: 4.6 SR-1 (4.60.0.2993)

Windows Version: 6.1.7601.65536

Time: 2012-09-14 08:05:31 -05:00 (2012-09-14T13:05:31Z)

Installed memory: 3,834 MB

Install path: C:\Users\Cody\AppData\Local\Logos4\System\Logos4.exe

Free install space: 217,182 MB

Temp path: C:\Users\Cody\AppData\Local\Temp\

Free temp space: 217,182 MB

 

Error ID: 4992

Error detail: InvalidOperationException: Invalid database: C:\Users\Cody\AppData\Local\Logos4\Users\UserManager.db

 

System.InvalidOperationException: Invalid database: C:\Users\Cody\AppData\Local\Logos4\Users\UserManager.db ---> System.Data.SQLite.SQLiteException: Attempt to write a read-only database

   at System.Data.SQLite.SQLite3.Open(String strFilename, SQLiteOpenFlagsEnum flags, Int32 maxPoolSize, Boolean usePool)

   at System.Data.SQLite.SQLiteConnection.Open()

   at Libronix.Utility.Data.Connector.OpenConnection()

   at Libronix.Utility.Data.PoolableConnector.get_OpenConnector()

   at Libronix.Utility.Data.PoolableConnector.OpenConnection()

   at Libronix.Utility.Data.LocalFileDatabase..ctor(String strPath, Func`2 fnCreateConnection, Func`2 fnValidateDatabase, Action`1 fnCreateDatabase)

   --- End of inner exception stack trace ---

   at Libronix.Utility.Data.LocalFileDatabase..ctor(String strPath, Func`2 fnCreateConnection, Func`2 fnValidateDatabase, Action`1 fnCreateDatabase)

   at Libronix.DigitalLibrary.UserManager..ctor(String strUserManagerFolder)

   at Libronix.DigitalLibrary.UserManager.CreateCommon()

   at LDLS4.OurApp.OnStartup(StartupEventArgs e)

   at System.Windows.Application.<.ctor>b__0(Object unused)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)

   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

   at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

   at System.Windows.Threading.DispatcherOperation.InvokeImpl()

   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)

   at System.Threading.ExecutionContext.runTryCode(Object userData)

   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)

   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

   at System.Windows.Threading.DispatcherOperation.Invoke()

   at System.Windows.Threading.Dispatcher.ProcessQueue()

   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)

   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

   at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)

   at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)

   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)

   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)

   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)

   at System.Windows.Threading.Dispatcher.Run()

   at System.Windows.Application.RunDispatcher(Object ignore)

   at System.Windows.Application.RunInternal(Window window)

   at System.Windows.Application.Run(Window window)

   at System.Windows.Application.Run()

   at LDLS4.OurApp.InitializeAndRun(ReadOnlyCollection`1 listArgs, SingleInstanceManager sim)

   at LDLS4.OurApp.Main(String[] astrArgs)

Thanks any help will be appreciated.

Comments

  • DMB
    DMB Member Posts: 14,203 ✭✭✭✭

    Cody ... while you're waiting for 'real' expertise, I assume you've done a PC shutdown and then a Logos4 restart. Clearly there's an issue with one of your SQLite dateabases; it sounds like it's got a temporary lock during an attempted write-operation.

    "If myth is ideology in narrative form, then scholarship is myth with footnotes." B. Lincolm 1999.

  • Cody Hauch
    Cody Hauch Member Posts: 3 ✭✭

    Yeah, I tried, but it did not work.  And I am not sure how to fix the problem you suggested.

  • Cody Hauch
    Cody Hauch Member Posts: 3 ✭✭

    Was able to fix it, thanks for the help!

     

  • Douglas Schultz
    Douglas Schultz Member Posts: 3 ✭✭

    How did you fix it?  I am having a similar problem, but with a different program version.  I am running Windows 7.

    I have had Logos running on this PC for a couple of years with no issues, so I'm unsure what to try.  Thanks for any help.

    Program Version: 4.6 SR-2 (4.60.0.3010)
    Windows Version: 6.1.7600.0
    Time: 2012-09-16 21:16:47 -05:00 (2012-09-17T02:16:47Z)
    Installed memory: 12,278 MB
    Install path: C:\Users\Doug\AppData\Local\Logos4\System\Logos4.exe
    Free install space: 891,794 MB
    Data path: C:\Users\Doug\AppData\Local\Logos4\Data\toodekq2.h4n
    Free disk space: 891,794 MB
    Temp path: C:\Users\Doug\AppData\Local\Temp\
    Free temp space: 891,794 MB

    Error ID: 4517
    Error detail: InvalidOperationException: Invalid database: C:\Users\Doug\AppData\Local\Logos4\Documents\toodekq2.h4n\UserPreferences\PreferencesManager.db

    System.InvalidOperationException: Invalid database: C:\Users\Doug\AppData\Local\Logos4\Documents\toodekq2.h4n\UserPreferences\PreferencesManager.db ---> System.Data.SQLite.SQLiteException: The database disk image is malformed
    database disk image is malformed
       at System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain)
       at System.Data.SQLite.SQLiteCommand.BuildNextCommand()
       at System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
       at System.Data.SQLite.SQLiteDataReader.NextResult()
       at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
       at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
       at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
       at System.Data.SQLite.SQLiteConnection.Open()
       at Libronix.Utility.Data.Connector.OpenConnection()
       at Libronix.Utility.Data.PoolableConnector.get_OpenConnector()
       at Libronix.Utility.Data.PoolableConnector.OpenConnection()
       at Libronix.Utility.Data.LocalFileDatabase..ctor(String strPath, Func`2 fnCreateConnection, Func`2 fnValidateDatabase, Action`1 fnCreateDatabase)
       --- End of inner exception stack trace ---
       at Libronix.Utility.Data.LocalFileDatabase..ctor(String strPath, Func`2 fnCreateConnection, Func`2 fnValidateDatabase, Action`1 fnCreateDatabase)
       at Libronix.DigitalLibrary.PreferencesManager..ctor(String strPreferencesManagerFolder)
       at Libronix.DigitalLibrary.Utility.DigitalLibraryServices.CreateOldUserPreferences()
       at Libronix.Utility.LazyObject`1.get_Value()
       at Libronix.DigitalLibrary.Utility.DigitalLibraryServices.get_OldUserPreferences()
       at LDLS4.AppModel.AppStartupCallback.StartServices(Boolean bWorkingOnline, Action onFirstSyncFinished)
       at LDLS4.AppStartupModel.UserValidated()
       at LDLS4.AppStartupModel.CheckForPendingProducts()
       at LDLS4.AppStartupModel.<GetLicensesFromServer>b__3(GetLicensesResult result)
       at LDLS4.WebServiceClient.<GetLicensesWork>d__3b.MoveNext()
       at Libronix.Utility.Threading.AsyncWorkerTask`1.EnumMoveNext()
       at Libronix.Utility.Threading.AsyncWorkerTask`1.ContinueExecution(Object unused)
       at Libronix.Utility.Threading.AsyncAction.ContinueCallback(Object unused)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
       at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
       at System.Threading.ExecutionContext.runTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Windows.Threading.DispatcherOperation.Invoke()
       at System.Windows.Threading.Dispatcher.ProcessQueue()
       at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.Run()
       at System.Windows.Application.RunDispatcher(Object ignore)
       at System.Windows.Application.RunInternal(Window window)
       at System.Windows.Application.Run(Window window)
       at System.Windows.Application.Run()
       at LDLS4.OurApp.InitializeAndRun(ReadOnlyCollection`1 listArgs, SingleInstanceManager sim)
       at LDLS4.OurApp.Main(String[] astrArgs)

  • DMB
    DMB Member Posts: 14,203 ✭✭✭✭

    Douglas ... your issue is a little different. Your preferences database seems to be the problem.

    While you're waiting for expertise you probably should upload your crash logs so they can check:

    http://wiki.logos.com/Windows_Troubleshooting

    The normal solution is to delete some of the user files and let Logos download the replacements for you. The key of course is 'the correct ones'.

    And, of course, welcome to the forums!!

    "If myth is ideology in narrative form, then scholarship is myth with footnotes." B. Lincolm 1999.

  • C:\Users\Doug\AppData\Local\Logos4\Documents\toodekq2.h4n\UserPreferences\PreferencesManager.db ---> System.Data.SQLite.SQLiteException: The database disk image is malformed

    Welcome [:D]

    Suggest moving PreferencesManager.db file to the trash, then launch Logos 4.6 SR-2.

    Keep Smiling [:)]

  • Douglas Schultz
    Douglas Schultz Member Posts: 3 ✭✭

    Thanks for the quick response and the welcome.  First time I have been on the forums.  Guess that points to a solid product, but I also usually don't participate in the beta program.

  • Douglas Schultz
    Douglas Schultz Member Posts: 3 ✭✭

    Thanks much.  I did as you indicated and that has fixed the problem.  I am back in business.


    Doug Schultz