edrlab / thorium-reader

A cross platform desktop reading app, based on the Readium Desktop toolkit
https://www.edrlab.org/software/thorium-reader/
BSD 3-Clause "New" or "Revised" License
1.64k stars 145 forks source link

Power failure, Thorium does not recover #2459

Open Adecabo9 opened 1 month ago

Adecabo9 commented 1 month ago

A user of library: While loading Thorium Reader (TR), the power failed and I turned off my PC. When I restarted I couldn't activate TR, I uninstalled and reinstalled, but it still gives ERROR (attached image) 1st when executing and 2nd when 'Accept' Error-01 My PC data: W 10 updated Chrome updated.

thorium 1

thorium 2

danielweck commented 1 month ago

Try to copy the folder EDRLab.ThoriumReader shown in your second screenshot (make a backup somewhere on your computer), then delete the original C:/Users/ERUPE/AppData/Local/Programs/EDRLab.ThoriumReader, then start Thorium again. What version of Thorium is this (did you install it from the Windows Store?)

Adecabo9 commented 1 month ago

The version is the last (2.4) and he installed it from page of Thorium: https://thorium.edrlab.org/

Adecabo9 commented 3 weeks ago

The user continues with the same error. Can you help us please?

llemeurfr commented 1 week ago

The sudden power failure seems to have made at least one file unusable. Do you mean that the file that failed loading was deleted (along with its parent directory) and the app still does not start?

Warning : Before deleting the directory indicated by Daniel for testing purpose, it must be saved elsewhere. If not Thorium's ebook catalog will be lost. If the original ebook files are correctly saved or easy to download for the user, there is not issue deleting this Thorium catalog. The user will simply have to re-import the ebooks.

ERP-2459 commented 5 days ago

I am the library user.

Last Friday I sent an email and received a response to do the same as they indicated in the first days of opening this matter.

In the new installation with Thorium 3.0.0.0, the file EDRLab.ThoriumReader/resources/... does not appear; and the error indicated above continues to appear.

Directorio de instalación en C

(Shortly after starting this delivery of information to resolve it, I independently deleted ALL the records included in Windows that contained information from Thorium Reader)

arthur-lemeur commented 3 days ago

On windows I uninstalled Thorium 2.4 which deleted all the files in my "User/AppData/Local/Programs/EDRLab.ThoriumReader" folder. Then I installed Thorium 3.0, the files were not recreated in this folder, it remained empty, I did not find the new folder where they were created. I also made a global search for "Thorium.exe" and nothing came back.

danielweck commented 3 days ago

Did you uninstall the Windows Store version of Thorium, or the NSIS standalone installer? If the latter, that is a worrying bug because the NSIS uninstaller is not supposed to remove config files, publication database, etc. If the former, this is an annoying behaviour that needs to be documented!

danielweck commented 3 days ago

follow-up:

https://www.electron.build/configuration/nsis.html

deleteAppDataOnUninstall = false Boolean - one-click installer only. Whether to delete app data on uninstall.

danielweck commented 3 days ago

Also note that since Thorium 3.0 the NSIS installer isn't automatic anymore ("one click"), it is an assisted installer. https://github.com/edrlab/thorium-reader/blob/0edc73d1ccc252227215bdcf4f5ab6263c511930/package.json#L225

ERP-2459 commented 3 days ago

After deleting EVERYTHING related to "Thorium" and "EDRLab" from the Windows Registry (these are the deleted registries):

Registro de Windows (con Thorium) 01 Registro de Windows (con Thorium) 02

Restarting PC, I reinstalled Thorium 3.0.0.0 giving the same errors:

ERROR 01 TR 3 0 0 0 ERROR 02 TR 3 0 0 0

Am I doing something wrong or is it just really bad luck?

danielweck commented 3 days ago

is that Windows 10 or 11?

ERP-2459 commented 2 days ago

Windows 10 x64 Sistema Operativo - Windows

Detalles OS

Web browser: Navegador - Chrome

danielweck commented 2 days ago

Did you install Thorium from the Windows Store or from the standalone installer executable that is downloaded from the GitHub releases?

ERP-2459 commented 1 day ago

https://thorium.edrlab.org/

thorium Reader - EDRLAB

danielweck commented 1 day ago

do you experience the same problem with a test / preview build from here:

https://github.com/edrlab/thorium-reader/releases/tag/latest-windows-intel

ERP-2459 commented 1 day ago

With this new version (3.1.0) it runs perfectly. (Thank you very much)

Thorium 3 1 0

[Although the access code (from my Library) to reading newspapers or magazines is not working and I cannot read the information]

Should I talk to them about my code or is this new version not yet authorized to download and read information?

danielweck commented 1 day ago

unfortunately the preview / test builds do not support LCP-protected publications, which I suspect is why you are not able to access the books in your library portal.

danielweck commented 1 day ago

suggestion: please uninstall the Thorium preview/test build (using the Windows operating system "remove programs" feature), and install the official Thorium v3 again (from the executable installer, not from the Windows Store)

ERP-2459 commented 1 day ago

Uninstalling v3.1 as indicated and installing v3.0, unfortunately the same errors happen again:

Error reinstalación TR 3 0 0 - 5 jul

Error reinstalación TR 3 0 0 0 - 5 jul

I will have to be patient and wait for the final activation of v3.1...

danielweck commented 1 day ago

this is so strange / unexplained. there is no major difference between 3.0 official release and the latest test build.

ERP-2459 commented 1 day ago

I know; I'm devastated but I can't find a solution to these errors.