thorium-reader icon indicating copy to clipboard operation
thorium-reader copied to clipboard

Windows: admin vs. regular users, filesystem permission crash at startup (EDRLab.ThoriumReader folder user access control?)

Open preevi-singh opened this issue 3 years ago • 34 comments

thorium is not compatible with windows 21H1 version. and I am using latest version 1.7.00 it always shows java script error although I have downloaded it from microsoft store. I would be glad to see hindi language included in the further update.

preevi-singh avatar Jun 17 '21 04:06 preevi-singh

Hi @preevi-singh, I'm surprised by the windows 21H1 issue you're raising, we'll check on our side. Can you please detail what happens, and did you install the June Patch Tuesday? (the initial release was buggy I heard).

Re. the Hindi language, translations are community based. Volunteers maintain the translation of a json document in each supported language. We'll first check if there could be technical issues with Hindi. If being in charge of the Hindi translation would be ok for you, we'll then be able to organize that with you.

llemeurfr avatar Jun 17 '21 17:06 llemeurfr

thorium shows the system cannot find the file specified. exit code 1. I have installed ver 1.7.0.0 on microsoft store it shows it was released on may 2021

On 6/17/21, L. Le Meur @.***> wrote:

Hi @preevi-singh, I'm surprised by the windows 21H1 issue you're raising, we'll check on our side. Can you please detail what happens, and did you install the June Patch Tuesday? (the initial release was buggy I heard).

Re. the Hindi language, translations are community based. Volunteers maintain the translation of a json document in each supported language. We'll first check if there could be technical issues with Hindi. If being in charge of the Hindi translation would be ok for you, we'll then be able to organize that with you.

-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/edrlab/thorium-reader/issues/1514#issuecomment-863410329

preevi-singh avatar Jun 18 '21 04:06 preevi-singh

thorium is not compatible with windows 21H1 version. and I am using latest version 1.7.00 it always shows java script error although I have downloaded it from microsoft store. I would be glad to see hindi language included in the further update.

¦ •*> • /C . "¦1: *

' X

© Error

  • Application init Error

main rootSaga: OpenError: IO error: C:\Users\PREEVI SINGH\AppData\Roaming\EDRLab.ThoriumReader\db\lcp-secret/MANIFEST-000020: The system cannot find the file specified.

zX T CODE

tro Pane

preevi-singh avatar Jun 18 '21 05:06 preevi-singh

code was 01

preevi-singh avatar Jun 18 '21 05:06 preevi-singh

Hi Preevi, did you close this issue by mistake? your last comment is cryptic.

llemeurfr avatar Jun 18 '21 13:06 llemeurfr

Hello, I am building Thorium on a recently-updated Windows machine. I will report back with my findings once I have finished running tests with a conventional app installer, as well as with a Windows Store deployment.

danielweck avatar Jun 18 '21 13:06 danielweck

I am unable to reproduce the reported bug with Windows 10 20H2 and Thorium 1.7.0 (I will publish 1.7.1 soon to the Windows Store ... work in progress)

danielweck avatar Jun 18 '21 13:06 danielweck

I am installing Windows 10 Pro update 21H1 ...

danielweck avatar Jun 18 '21 13:06 danielweck

I am now on Windows 10 Pro 21H1, but I am unable to reproduce the reported bug. Thorium 1.7 installed from the Windows Store launches fine. The app settings are stored in C:\Users\daniel\AppData\Roaming\EDRLab.ThoriumReader\ (not in the special Packages folder which is sometimes used by Windows)

danielweck avatar Jun 18 '21 13:06 danielweck

I uninstalled Thorium 1.7, re-installed the app via the Windows Store, and I tried running the app with both previous / existing settings located in C:\Users\daniel\AppData\Roaming\EDRLab.ThoriumReader\ and fresh new settings in C:\Users\daniel\AppData\Local\Packages\EDRLab.ThoriumReader_xxxx\LocalCache\Roaming\EDRLab.ThoriumReader\.

=> No crash, everything seems to work fine.

danielweck avatar Jun 18 '21 14:06 danielweck

But it is not working at my end..

On Fri, Jun 18, 2021, 19:33 Daniel Weck @.***> wrote:

I uninstalled Thorium 1.7, re-installed the app via the Windows Store, and I tried running the app with both previous / existing settings located in C:\Users\daniel\AppData\Roaming\EDRLab.ThoriumReader\ and fresh new settings in C:\Users\daniel\AppData\Local\Packages\EDRLab.ThoriumReader_xxxx\LocalCache\Roaming\EDRLab.ThoriumReader
.

=> No crash, everything seems to work fine.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/edrlab/thorium-reader/issues/1514#issuecomment-864062192, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASNWHSARWBNYOMHYVSULUXTTTNG3LANCNFSM462ZAEWA .

preevi-singh avatar Jun 18 '21 14:06 preevi-singh

Suggestion: rename your folder C:\Users\PREEVISINGH\AppData\Roaming\EDRLab.ThoriumReader (for example, add a character at the end of the folder name), and launch Thorium again.

danielweck avatar Jun 18 '21 14:06 danielweck

Looking a the path given in the error, C:\Users\PREEVI SINGH\AppData\Roaming\EDRLab.ThoriumReader\db\lcp-secret/MANIFEST-000020, I do not understand your suggestion Daniel.

llemeurfr avatar Jun 18 '21 14:06 llemeurfr

This is a process of elimination: when Thorium starts "from scratch", the Electron framework will generate an app-specific folder in either C:\Users\XX\AppData\Roaming\EDRLab.ThoriumReader\ or C:\Users\XX\AppData\Local\Packages\EDRLab.ThoriumReader_xxxx\LocalCache\Roaming\EDRLab.ThoriumReader\.

danielweck avatar Jun 18 '21 14:06 danielweck

ah ok you mean rename the folder to something else ...

llemeurfr avatar Jun 18 '21 14:06 llemeurfr

I too could not understand and normal person won't understand please improve the app so that a normal person can install it easily in any folder where he/she wants to and can use it easily.

On Fri, Jun 18, 2021, 19:47 L. Le Meur @.***> wrote:

Looking a the path given in the error, C:\Users\PREEVI SINGH\AppData\Roaming\EDRLab.ThoriumReader\db\lcp-secret/MANIFEST-000020, I do not understand your suggestion Daniel.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/edrlab/thorium-reader/issues/1514#issuecomment-864072333, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASNWHSHAZPKU4KBCOWGCKPDTTNIOTANCNFSM462ZAEWA .

preevi-singh avatar Jun 18 '21 14:06 preevi-singh

To improve the app we need your assistance. Could you please rename temporarily this folder so that we can check what happens?

llemeurfr avatar Jun 18 '21 14:06 llemeurfr

How to do so?

On Fri, Jun 18, 2021, 19:59 L. Le Meur @.***> wrote:

To improve the app we need your assistance. Could you please rename temporarily this folder so that we can check what happens?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/edrlab/thorium-reader/issues/1514#issuecomment-864080619, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASNWHSA6PBLITXGLPZBK36TTTNJ45ANCNFSM462ZAEWA .

preevi-singh avatar Jun 18 '21 14:06 preevi-singh

the detail of the answer depends on your technical expertise. Are you a developer, and advanced windows user or casual windows user?

llemeurfr avatar Jun 18 '21 14:06 llemeurfr

Casual

On Fri, Jun 18, 2021, 20:17 L. Le Meur @.***> wrote:

the detail of the answer depends on your technical expertise. Are you a developer, and advanced windows user or casual windows user?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/edrlab/thorium-reader/issues/1514#issuecomment-864092074, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASNWHSERM3NKSC7GI3HCBN3TTNMAJANCNFSM462ZAEWA .

preevi-singh avatar Jun 18 '21 14:06 preevi-singh

If you are a casual Windows user:

  • close Thorium
  • open a terminal
  • type "ren C:\Users\PREEVI SINGH\AppData\Roaming\EDRLab.ThoriumReader EDRLab.ThoriumReader1"
  • check if the command is accepted
  • launch Thorium and advise. The bookshelf should be empty but no ebook is lost.

llemeurfr avatar Jun 18 '21 14:06 llemeurfr

improve the app so that a normal person can install it easily in any folder where he/she wants to and can use it easily.

Hello, you can install Thorium from the Windows Store or from a regular installer (Thorium.Setup.1.7.1.exe): https://github.com/edrlab/thorium-reader/releases/tag/v1.7.1

Windows OS traditionally uses the "C:/Program Files" folder, but for some apps the installation folder is C:\Users\XX\AppData\Roaming\Programs\EDRLab.ThoriumReader\ (if I remember correctly)

danielweck avatar Jun 18 '21 15:06 danielweck

type "ren C:\Users\PREEVI SINGH\AppData\Roaming\EDRLab.ThoriumReader EDRLab.ThoriumReader1"

This is unlikely to work because of the space character in PREEVI SINGH

danielweck avatar Jun 18 '21 15:06 danielweck

How to do so?

You can use the file explorer to go to your C:\Users\PREEVISINGH\AppData\Roaming\EDRLab.ThoriumReader folder, but note that the AppData subfolder is in fact hidden, so you may have to make sure that file explorer displays hidden files.

danielweck avatar Jun 18 '21 15:06 danielweck

similar error message in this project: https://github.com/storj/storjshare-gui/issues/675

danielweck avatar Jul 23 '21 15:07 danielweck

another similar error message: https://github.com/Level/levelup/issues/222

danielweck avatar Jul 23 '21 15:07 danielweck

Similar warning from another user, this time with a screenshot:

image

Version 1.7.1 downloaded directly from the repository.

"I click download and am able to start installing. Then when the installation is supposed to be finished, I receive the following message ..."

llemeurfr avatar Jul 23 '21 15:07 llemeurfr

So, it looks like a LevelDB / LevelDown error, judging by the filepath (the keyword "MANIFEST-xxx" is a clue too).

danielweck avatar Jul 23 '21 15:07 danielweck

Filesystem permission problem? Concurrent process IO access?

danielweck avatar Jul 23 '21 15:07 danielweck

Some details:

  • is it the same message you've seen initially (what you called "notification that a virus was stopped from the download") ?

I use McAfee virus protection, and after I receive the screenshot notification, I receive another notification from McAfee indicating that a virus was stopped from downloading.

  • did you use a previous version of Thorium before, and which one?

Yes I did! I used the last version of Thorium that was available in February 2021 (not sure the version number). I had no issues with this until a Windows update occurred and then I was not able to open Thorium at all. That was when I tried to download the latest version, 1.7.1.

  • did you update your Windows system to the latest version lately (named 21H1 in the litterature)? it seems that the issue could be tied to an update of Windows (but with the new version we still cannot reproduce).

Yes, an automatic update from Windows happened last week which is when my Thorium stopped working.

  • if we recommend that you delete the database of ebooks which is handled by Thorium, will it be an issue for you?

I'm not sure what this means. Currently, I have completely deleted and uninstalled the last version of Thorium that I had, hoping it would help the new installation.

llemeurfr avatar Jul 23 '21 16:07 llemeurfr