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

[BUG REPORT] #24

Closed
JasonMHasperhoven opened this issue Feb 26, 2024 · 1 comment
Closed

[BUG REPORT] #24

JasonMHasperhoven opened this issue Feb 26, 2024 · 1 comment

Comments

@JasonMHasperhoven
Copy link

An error occurred

(node:27976) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 auto-update-toast:width listeners added to [IpcMainImpl]. Use emitter.setMaxListeners() to increase limit
    at _addListener (node:events:588:17)
    at IpcMainImpl.addListener (node:events:606:10)
    at _fireToast (/Applications/Bitfinex Report Staging PDF.app/Contents/Resources/app/src/auto-updater/index.js:172:11)
    at BfxMacUpdater.<anonymous> (/Applications/Bitfinex Report Staging PDF.app/Contents/Resources/app/src/auto-updater/index.js:344:40)
    at BfxMacUpdater.emit (node:events:514:28)
    at BfxMacUpdater.onUpdateAvailable (/Applications/Bitfinex Report Staging PDF.app/Contents/Resources/app/node_modules/electron-updater/out/AppUpdater.js:358:14)
    at BfxMacUpdater.doCheckForUpdates (/Applications/Bitfinex Report Staging PDF.app/Contents/Resources/app/node_modules/electron-updater/out/AppUpdater.js:344:14)
    at async checkForUpdatesAndNotify (/Applications/Bitfinex Report Staging PDF.app/Contents/Resources/app/src/auto-updater/index.js:510:17)

Debug info
Version 4.20.0-beta.3
Commit Hash 289daf0
Commit Date 2024-02-21T11:46:49Z
Electron 27.2.0
Chrome 118.0.5993.159
Node.js 18.17.1
V8 11.8.172.18-electron.0
OS version Darwin Kernel Version 22.6.0: Wed Oct 4 21:25:26 PDT 2023; root:xnu-8796.141.3.701.17~4/RELEASE_X86_64
OS release Darwin x64 22.6.0
CPUs Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz x 4
RAM 8GB (0.01GB free)
App RAM limit 2072Mb (12.74MB used)
Is BFX API Staging used Yes
Main log
[2024-02-22 1
[2024-02-22 15:42:20.169] [warn]  sysctl shell command to check for macOS Rosetta environment failed: Error: Command failed: sysctl sysctl.proc_translated
sysctl: unknown oid 'sysctl.proc_translated'
[2024-02-22 15:45:30.908] [error] Error: Error: EEXIST: file already exists, symlink 'Versions/Current/Electron Framework' -> '/Applications/Bitfinex Report.app/Contents/Frameworks/Electron Framework.framework/Electron Framework'
[2024-02-26 14:10:08.988] [warn]  sysctl shell command to check for macOS Rosetta environment failed: Error: Command failed: sysctl sysctl.proc_translated
sysctl: unknown oid 'sysctl.proc_translated'
[2024-02-26 15:10:21.602] [warn]  sysctl shell command to check for macOS Rosetta environment failed: Error: Command failed: sysctl sysctl.proc_translated
sysctl: unknown oid 'sysctl.proc_translated'
[2024-02-26 16:10:21.832] [warn]  sysctl shell command to check for macOS Rosetta environment failed: Error: Command failed: sysctl sysctl.proc_translated
sysctl: unknown oid 'sysctl.proc_translated'
[2024-02-26 17:10:20.303] [warn]  sysctl shell command to check for macOS Rosetta environment failed: Error: Command failed: sysctl sysctl.proc_translated
sysctl: unknown oid 'sysctl.proc_translated'
[2024-02-26 18:10:10.362] [error] (node:27976) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 auto-update-toast:width listeners added to [IpcMainImpl]. Use emitter.setMaxListeners() to increase limit
    at _addListener (node:events:588:17)
    at IpcMainImpl.addListener (node:events:606:10)
    at _fireToast (/Applications/Bitfinex Report Staging PDF.app/Contents/Resources/app/src/auto-updater/index.js:172:11)
    at BfxMacUpdater.<anonymous> (/Applications/Bitfinex Report Staging PDF.app/Contents/Resources/app/src/auto-updater/index.js:344:40)
    at BfxMacUpdater.emit (node:events:514:28)
    at BfxMacUpdater.onUpdateAvailable (/Applications/Bitfinex Report Staging PDF.app/Contents/Resources/app/node_modules/electron-updater/out/AppUpdater.js:358:14)
    at BfxMacUpdater.doCheckForUpdates (/Applications/Bitfinex Report Staging PDF.app/Contents/Resources/app/node_modules/electron-updater/out/AppUpdater.js:344:14)
    at async checkForUpdatesAndNotify (/Applications/Bitfinex Report Staging PDF.app/Contents/Resources/app/src/auto-updater/index.js:510:17)
Worker errors
    at _route (/Applications/Bitfinex Report Staging PDF.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/wor
    at Object.apply (/Applications/Bitfinex Report Staging PDF.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:121:27)
    at Proxy._request (/Applications/Bitfinex Report Staging PDF.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-api-node-rest/lib/rest2.js:148:26)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async _asyncApplyHook (/Applications/Bitfinex Report Staging PDF.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:65:21)
    at async _asyncApplyHook (/Applications/Bitfinex Report Staging PDF.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:65:21)
    at async _asyncApplyHook (/Applications/Bitfinex Report Staging PDF.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:65:21)
    at async _getResAndParams (/Applications/Bitfinex Report Staging PDF.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/prepare-response/index.js:54:18)
    at async FrameworkReportService._prepareApiResponse (/Applications/Bitfinex Report Staging PDF.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/prepare-response/index.js:152:19)
    at async ApiMiddleware.request (/Applications/Bitfinex Report Staging PDF.app/Contents/Resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/api.middleware/index.js:32:20)
    at async DataInserter.getDataFromApi (/Applications/Bitfinex Report Staging PDF.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-data-from-api.js:93:15)
    at async DataInserter._insertApiDataArrObjTypeToDb (/Applications/Bitfinex Report Staging PDF.app/Contents/Resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/index.js:566:11)
    at async DataInserter._insertApiData (/Applications/Bitfinex Report Staging PDF.app/Contents/Resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/index.js:483:7)
Worker exceptions
Empty

The issue was opened from the electron app

@ZIMkaRU
Copy link
Owner

ZIMkaRU commented Mar 4, 2024

I have reproduced this issue, will fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants