WowUp / WowUp.CF

GNU General Public License v3.0
34 stars 10 forks source link

WowUp 2.11 window goes blank. #73

Open Plyply99 opened 7 months ago

Plyply99 commented 7 months ago

WowUp starts fine, after a few seconds window goes blank. Version 2.10.0 works as expected, however it will force update to 2.11.0, (no option to turn off update that I can see) and permamently REMOVE old version so I have to download it again.

To Reproduce Steps to reproduce the behavior:

  1. Start app.
  2. If on version 2.10.0 it will force update to 2.11.0 and REMOVE 2.10.0
  3. 2.11.0 will open and be fine for a few seconds then window goes blank.

2024-02-06-195942_hyprshot

19:59:13.866 › IPC_APP_UPDATE_STATE app-update-state 19:59:13.866 › { state: 3 } 19:59:13.940 › [GET] https://api.tukui.org/v1/addons 200 200ms 19:59:14.314 › [GET] https://api.tukui.org/v1/changelog/elvui 200 374ms 19:59:14.437 › Checking for addon updates... 19:59:17.516 › webContents render-process-gone 19:59:17.516 › { reason: 'crashed', exitCode: 139 } 19:59:17.517 › Restarting main window Error sending from webFrameMain: Error: Render frame was disposed before WebFrameMain could be accessed at WebFrameMain.send (node:electron/js2c/browser_init:2:94495) at WebContents.send (node:electron/js2c/browser_init:2:79721) at BrowserWindow. (/tmp/.mount_WowUp-C2msjr/resources/app.asar/app/main.js:257:67) at BrowserWindow.emit (node:events:525:35)<

Fedora Linux 39, Gnome and Hyprland. Kernel 6.7.3 but happens on older kernels also.

Edu4rdSHL commented 7 months ago

Duplicate of #63

nickquerques commented 7 months ago

I am having the same issue. Debian 12 , XFCE 4.18, XFWM4, Kernel: 6.1.0-12-amd64

rasmustilljander commented 7 months ago

Until it's fixed how can I keep using 2.10? Starting 2.10 auto updates to 2.11 and removes the old executable...

Jemikwa commented 7 months ago

vSame issue after the 2.11 WowUp CF update installed this morning. Running the old 2.10 appimage doesn't work either. Using Kubuntu 22.04, KDE, Wayland, AMD GPU

omitted:~/Downloads/Applications$ ./WowUp-CF-2.11.0.AppImage 
09:38:19.944 › Main starting
09:38:19.947 › Electron: 26.2.0
09:38:19.947 › BinaryPath: /tmp/.mount_WowUp-73YELd/wowup-cf
09:38:19.947 › ExecPath /tmp/.mount_WowUp-73YELd/wowup-cf
09:38:19.948 › Args [ '/tmp/.mount_WowUp-73YELd/wowup-cf' ]
09:38:19.948 › Log path: /home/x/.config/WowUpCf/logs
09:38:19.948 › ARGV { _: [], serve: false, hidden: false }
09:38:19.949 › USER_AGENT WowUp-Client/2.11.0 (Linux; 6.5.0-15-generic; x64; CF;  +https://wowup.io)
09:38:20.176 › Hardware acceleration enabled
09:38:20.418 › App ready: 470ms
09:38:20.469 › process.versions {
  node: '18.16.1',
  acorn: '8.8.2',
  ada: '1.0.4',
  ares: '1.19.1',
  brotli: '1.0.9',
  cldr: '43.0',
  icu: '73.1',
  llhttp: '6.0.11',
  modules: '116',
  napi: '8',
  nghttp2: '1.52.0',
  openssl: '1.1.1',
  simdutf: '3.2.2',
  tz: '2023c',
  undici: '5.21.0',
  unicode: '15.0',
  uv: '1.44.2',
  uvwasi: '0.0.15',
  v8: '11.6.189.20-electron.0',
  zlib: '1.2.13.1-motley',
  electron: '26.2.0',
  chrome: '116.0.5845.179'
}
09:38:20.469 › Loading app URL: 521ms
09:38:20.506 › Error: ERR_FAILED (-2) loading 'file:///tmp/.mount_WowUp-73YELd/resources/app.asar/dist/index.html'
    at rejectAndCleanup (node:electron/js2c/browser_init:2:85371)
    at WebContents.stopLoadingListener (node:electron/js2c/browser_init:2:85758)
    at WebContents.emit (node:events:513:28)

Update: I rebooted and swapped to KDE X11. The UI appeared for a second to show my addons list and the new installed update, then it disappeared and is back to the same broken state. Same error from running the appimage from the terminal.

2nd Update: The new behavior of loading UI and going blank is the default now in both X11 and Wayland. Happens when the program launches, no reboot required. App launches, shows UI, then crashes. I can interact with the UI to install addon updates, then it crashes.

x:~/Downloads/Applications$ ./WowUp-CF-2.11.0.AppImage 
10:06:52.998 › Main starting
10:06:53.002 › Electron: 26.2.0
10:06:53.002 › BinaryPath: /tmp/.mount_WowUp-XnIKRR/wowup-cf
10:06:53.002 › ExecPath /tmp/.mount_WowUp-XnIKRR/wowup-cf
10:06:53.002 › Args [ '/tmp/.mount_WowUp-XnIKRR/wowup-cf' ]
10:06:53.003 › Log path: /home/x/.config/WowUpCf/logs
10:06:53.003 › ARGV { _: [], serve: false, hidden: false }
10:06:53.004 › USER_AGENT WowUp-Client/2.11.0 (Linux; 6.5.0-15-generic; x64; CF;  +https://wowup.io)
10:06:53.313 › Hardware acceleration enabled
10:06:53.623 › App ready: 620ms
10:06:53.679 › process.versions {
  node: '18.16.1',
  acorn: '8.8.2',
  ada: '1.0.4',
  ares: '1.19.1',
  brotli: '1.0.9',
  cldr: '43.0',
  icu: '73.1',
  llhttp: '6.0.11',
  modules: '116',
  napi: '8',
  nghttp2: '1.52.0',
  openssl: '1.1.1',
  simdutf: '3.2.2',
  tz: '2023c',
  undici: '5.21.0',
  unicode: '15.0',
  uv: '1.44.2',
  uvwasi: '0.0.15',
  v8: '11.6.189.20-electron.0',
  zlib: '1.2.13.1-motley',
  electron: '26.2.0',
  chrome: '116.0.5845.179'
}
10:06:53.680 › Loading app URL: 677ms
START_WITH_SYSTEM_PREFERENCE_KEY: undefined
START_MINIMIZED_PREFERENCE_KEY: undefined
10:06:54.183 › Checking for update
10:06:54.184 › autoUpdater checking-for-update
10:06:54.408 › Platform linux true
10:06:54.409 › [CreateDirectory] '/home/x/.config/WowUpCf/downloads'
10:06:54.418 › Language setup start
10:06:54.420 › getStartMinimized undefined null
10:06:54.421 › Set Language Preference: en
10:06:54.425 › loginItemSettings { __zone_symbol__state: null, __zone_symbol__value: [] }
10:06:54.426 › [GET] ./assets/i18n/en.json 200 5ms
10:06:54.439 › using locale en
10:06:54.444 › Failed to search for Lutris library location Error
    at file:///tmp/.mount_WowUp-XnIKRR/resources/app.asar/dist/main.f421da7cf63015b0.js:1:1328809
    at Generator.next (<anonymous>)
    at MK (file:///tmp/.mount_WowUp-XnIKRR/resources/app.asar/dist/main.f421da7cf63015b0.js:1:737613)
    at a (file:///tmp/.mount_WowUp-XnIKRR/resources/app.asar/dist/main.f421da7cf63015b0.js:1:737816)
    at v.invoke (file:///tmp/.mount_WowUp-XnIKRR/resources/app.asar/dist/polyfills.74362bc7c9f71f5d.js:1:6583)
    at Object.onInvoke (file:///tmp/.mount_WowUp-XnIKRR/resources/app.asar/dist/main.f421da7cf63015b0.js:1:634704)
    at v.invoke (file:///tmp/.mount_WowUp-XnIKRR/resources/app.asar/dist/polyfills.74362bc7c9f71f5d.js:1:6523)
    at L.run (file:///tmp/.mount_WowUp-XnIKRR/resources/app.asar/dist/polyfills.74362bc7c9f71f5d.js:1:1964)
    at file:///tmp/.mount_WowUp-XnIKRR/resources/app.asar/dist/polyfills.74362bc7c9f71f5d.js:1:16722
    at v.invokeTask (file:///tmp/.mount_WowUp-XnIKRR/resources/app.asar/dist/polyfills.74362bc7c9f71f5d.js:1:7201)
10:06:54.444 › Failed to search for blizzard products Error: Lutris library not found
    at file:///tmp/.mount_WowUp-XnIKRR/resources/app.asar/dist/main.f421da7cf63015b0.js:1:1327700
    at Generator.next (<anonymous>)
    at MK (file:///tmp/.mount_WowUp-XnIKRR/resources/app.asar/dist/main.f421da7cf63015b0.js:1:737613)
    at a (file:///tmp/.mount_WowUp-XnIKRR/resources/app.asar/dist/main.f421da7cf63015b0.js:1:737816)
    at v.invoke (file:///tmp/.mount_WowUp-XnIKRR/resources/app.asar/dist/polyfills.74362bc7c9f71f5d.js:1:6583)
    at Object.onInvoke (file:///tmp/.mount_WowUp-XnIKRR/resources/app.asar/dist/main.f421da7cf63015b0.js:1:634704)
    at v.invoke (file:///tmp/.mount_WowUp-XnIKRR/resources/app.asar/dist/polyfills.74362bc7c9f71f5d.js:1:6523)
    at L.run (file:///tmp/.mount_WowUp-XnIKRR/resources/app.asar/dist/polyfills.74362bc7c9f71f5d.js:1:1964)
    at file:///tmp/.mount_WowUp-XnIKRR/resources/app.asar/dist/polyfills.74362bc7c9f71f5d.js:1:16722
    at v.invokeTask (file:///tmp/.mount_WowUp-XnIKRR/resources/app.asar/dist/polyfills.74362bc7c9f71f5d.js:1:7201)
10:06:54.447 › Language setup complete
10:06:54.448 › Cannot import wow installations, no agent path
10:06:54.454 › onAutoUpdateInterval
10:06:54.455 › WowUpProtocolService 
10:06:54.458 › Creating app menu
10:06:54.474 › zoomPref null
10:06:54.474 › App menu created true
10:06:54.475 › Creating tray
Creating tray
10:06:54.483 › Tray created true
10:06:54.500 › Set Language Preference: en
IPC_OW_IS_CMP_REQUIRED failed TypeError: Cannot read properties of undefined (reading 'isCMPRequired')
    at /tmp/.mount_WowUp-XnIKRR/resources/app.asar/app/ipc-events.js:104:50
    at WebContents.<anonymous> (node:electron/js2c/browser_init:2:89468)
    at WebContents.emit (node:events:513:28)
10:06:54.730 › Checking for addon updates...
10:06:54.782 › AG Grid: Since v31, 'columnApi.applyColumnState' is deprecated and moved to 'api.applyColumnState'.
10:06:54.794 › getCollapseToTray true
10:06:54.797 › Set Language Preference: en
10:06:54.800 › getStartMinimized undefined null
10:06:54.810 › AG Grid: Since v31, 'columnApi.getColumnState' is deprecated and moved to 'api.getColumnState'.
10:06:54.816 › AG Grid: setRowData is deprecated. Please use 'api.setGridOption('rowData', newValue)' or 'api.updateGridOptions({ rowData: newValue })' instead.
10:06:54.835 › Update for version 2.11.0 is not available (latest version: 2.11.0, downgrade is disallowed).
10:06:54.835 › autoUpdater update-not-available {
  tag: 'v2.11.0',
  version: '2.11.0',
  files: [
    {
      url: 'WowUp-CF-2.11.0.AppImage',
      sha512: 'zM+FkgE6M70PHkJVpup2zDbDZZ6q6hYsP+y2eRIk8eOrZ/PVsnyheDAJQjqrO0k7zA60hQojlmXbykvVwpTATw==',
      size: 120553003,
      blockMapSize: 126527
    }
  ],
  path: 'WowUp-CF-2.11.0.AppImage',
  sha512: 'zM+FkgE6M70PHkJVpup2zDbDZZ6q6hYsP+y2eRIk8eOrZ/PVsnyheDAJQjqrO0k7zA60hQojlmXbykvVwpTATw==',
  releaseDate: '2024-02-05T17:09:55.424Z',
  releaseName: '2.11.0',
  releaseNotes: '<p>Lots of changes</p>'
}
10:06:54.835 › checkForUpdates {
  versionInfo: {
    tag: 'v2.11.0',
    version: '2.11.0',
    files: [ [Object] ],
    path: 'WowUp-CF-2.11.0.AppImage',
    sha512: 'zM+FkgE6M70PHkJVpup2zDbDZZ6q6hYsP+y2eRIk8eOrZ/PVsnyheDAJQjqrO0k7zA60hQojlmXbykvVwpTATw==',
    releaseDate: '2024-02-05T17:09:55.424Z',
    releaseName: '2.11.0',
    releaseNotes: '<p>Lots of changes</p>'
  },
  updateInfo: {
    tag: 'v2.11.0',
    version: '2.11.0',
    files: [ [Object] ],
    path: 'WowUp-CF-2.11.0.AppImage',
    sha512: 'zM+FkgE6M70PHkJVpup2zDbDZZ6q6hYsP+y2eRIk8eOrZ/PVsnyheDAJQjqrO0k7zA60hQojlmXbykvVwpTATw==',
    releaseDate: '2024-02-05T17:09:55.424Z',
    releaseName: '2.11.0',
    releaseNotes: '<p>Lots of changes</p>'
  }
}
10:06:54.897 › AG Grid: Since v31, 'columnApi.autoSizeColumns' is deprecated and moved to 'api.autoSizeColumns'.
10:06:54.906 › IPC_APP_UPDATE_STATE app-update-state
10:06:54.906 › { state: 3 }
10:06:55.094 › [POST] https://hub.wowup.io/addons/batch 200 617ms
10:06:55.536 › Found the WowUp addon notification addon, trying to sync updates available to wowup_data_addon
10:06:55.642 › File exists, skipping copy: /home/x/.var/app/com.usebottles.bottles/data/bottles/bottles/Battle.net/drive_c/Program Files (x86)/World of Warcraft/_classic_era_/Interface/AddOns/wowup_data_addon/ldbicon.tga
10:06:55.643 › Available update data synced to wowup_data_addon/{data.lua,wowup_data_addon.toc}
10:06:55.644 › Checking for addon updates...
10:07:00.352 › webContents render-process-gone
10:07:00.353 › { reason: 'crashed', exitCode: 139 }
10:07:00.353 › Restarting main window
Edu4rdSHL commented 7 months ago

Latest beta fixed the issue for me.

Plyply99 commented 7 months ago

Latest beta fixed the issue for me.

Can confirm, newest beta, 2.11.1-beta.1 works. Thank you!

Edit: I had to delete my old .config/WowUpCF directory for it to work. Thanks again for the quick fix to this issue.