Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: window.setZoom After Initial Start of Wournal #8

Closed
qhga opened this issue May 22, 2024 · 2 comments
Closed

Error: window.setZoom After Initial Start of Wournal #8

qhga opened this issue May 22, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@qhga
Copy link
Collaborator

qhga commented May 22, 2024

Error happens right after the initial start of version 0.0.5 after the update, on cosecutive starts the error does not happen. Wournal still functions normal after the error message is dismissed:

{
  "buildInfo": {
    "wournalVersion": "0.0.5",
    "gitVersion": "bd853c1",
    "buildTime": "2024-05-22T13:00:08.948Z",
    "production": true,
    "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) wournal/0.0.5 Chrome/118.0.5993.159 Electron/27.1.3 Safari/537.36"
  },
  "error": {
    "name": "Error",
    "constructor": "Error",
    "message": "Error invoking remote method 'window:setZoom': TypeError: Error processing argument at index 0, conversion failure from undefined",
    "stack": [
      "Error: Error invoking remote method 'window:setZoom': TypeError: Error processing argument at index 0, conversion failure from undefined"
    ]
  },
  "logs": [
    "2024-05-22T13:48:41.416Z [info]: Logging initialized",
    "2024-05-22T13:48:41.418Z [info]: got ConfigDTO version 0.5, wanted 0.8",
    "2024-05-22T13:48:41.418Z [info]: Versions to Update: 0.6,0.7,0.8",
    "2024-05-22T13:48:41.418Z [info]: updating ConfigDTO to version 0.6",
    "2024-05-22T13:48:41.418Z [info]: updating ConfigDTO to version 0.7",
    "2024-05-22T13:48:41.418Z [info]: updating ConfigDTO to version 0.8",
    "2024-05-22T13:48:41.421Z [debug]: Undo stack cleared"
  ]
}
@dominiksta
Copy link
Owner

Thank you for bringing this to my attention. I just checked and at least this does not happen on a fresh install of Wournal, only after an upgrade. But for the next release, I will try to fix this.

@dominiksta
Copy link
Owner

Should be fixed in the next release.

@dominiksta dominiksta added the bug Something isn't working label Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants