SnosMe / awakened-poe-trade

:heavy_dollar_sign: :hammer: Path of Exile trading app for price checking
https://snosme.github.io/awakened-poe-trade/download
MIT License
2.08k stars 452 forks source link

App does not open after given it Accessibility Access in the Mac M1 #1439

Open messor2000 opened 2 months ago

messor2000 commented 2 months ago

After installing app, I give it required Accessibility Access in the Accessibility settings.

Screenshot 2024-08-07 at 12 00 14

But after re-run app with given permission it still crushed with the same error

Screenshot 2024-08-07 at 12 00 01

What I'm doing incorrectly or wrong. Please give an advise how can I solve this error. Thank you!

vitor-jotave commented 2 months ago

Right-click Awakened Poe Trade > Show Package Contents > Contents > MacOS > and open the app with the exec in that folder.

Give accessibility permissions to the "Terminal" app.

messor2000 commented 2 months ago

Did what you said. Launch an exec from the Awakened Poe Trade > Show Package Contents > Contents > MacOS folder. Give Accessibility permission both to the Terminal and Awakened Poe Trade.

Screenshot 2024-08-07 at 21 54 29 Screenshot 2024-08-07 at 21 50 49

Relaunch Awakened Poe Trade app. But still got an error.

Screenshot 2024-08-07 at 21 52 49 Screenshot 2024-08-07 at 21 53 08
haaakon commented 2 months ago

i also did as ordered here, which results in an error throwing in the terminal

/Applications/Awakened\ PoE\ Trade.app/Contents/MacOS/Awakened\ PoE\ Trade ; exit; hakonbogen@Hakons-MacBook-Pro ~ % /Applications/Awakened\ PoE\ Trade.app/Contents/MacOS/Awakened\ PoE\ Trade ; exit; Checking for update Found version 3.25.102 (url: Awakened-PoE-Trade-3.25.102-universal.dmg) Downloading update from Awakened-PoE-Trade-3.25.102-universal.dmg Checking for macOS Rosetta environment Checked for macOS Rosetta environment (isRosetta=false) Checking for arm64 in uname Checked 'uname -a': arm64=true Error: Error: ZIP file not provided: [ { "url": "https://github.com/SnosMe/awakened-poe-trade/releases/download/v3.25.102/Awakened-PoE-Trade-3.25.102-universal.dmg", "info": { "url": "Awakened-PoE-Trade-3.25.102-universal.dmg", "sha512": "v77/CbYHoYMy0Fjxmv+qM1lgnZJ7kGrWjFmpSX44c7gY4BRk6zG1PWfG0n6vPH4oISSib9/HMxUbOqchA6inNg==", "size": 184114152 } } ] at G_ (/Applications/Awakened PoE Trade.app/Contents/Resources/app.asar/main.js:30:10877) at Uu.doDownloadUpdate (/Applications/Awakened PoE Trade.app/Contents/Resources/app.asar/main.js:73:18323) at Uu.downloadUpdate (/Applications/Awakened PoE Trade.app/Contents/Resources/app.asar/main.js:69:13493) at Uu.doCheckForUpdates (/Applications/Awakened PoE Trade.app/Contents/Resources/app.asar/main.js:69:12852) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async vo.check (/Applications/Awakened PoE Trade.app/Contents/Resources/app.asar/main.js:76:16420) (node:2568) UnhandledPromiseRejectionWarning: Error: ZIP file not provided: [ { "url": "https://github.com/SnosMe/awakened-poe-trade/releases/download/v3.25.102/Awakened-PoE-Trade-3.25.102-universal.dmg", "info": { "url": "Awakened-PoE-Trade-3.25.102-universal.dmg", "sha512": "v77/CbYHoYMy0Fjxmv+qM1lgnZJ7kGrWjFmpSX44c7gY4BRk6zG1PWfG0n6vPH4oISSib9/HMxUbOqchA6inNg==", "size": 184114152 } } ] at G_ (/Applications/Awakened PoE Trade.app/Contents/Resources/app.asar/main.js:30:10877) at Uu.doDownloadUpdate (/Applications/Awakened PoE Trade.app/Contents/Resources/app.asar/main.js:73:18323) at Uu.downloadUpdate (/Applications/Awakened PoE Trade.app/Contents/Resources/app.asar/main.js:69:13493) at Uu.doCheckForUpdates (/Applications/Awakened PoE Trade.app/Contents/Resources/app.asar/main.js:69:12852) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async vo.check (/Applications/Awakened PoE Trade.app/Contents/Resources/app.asar/main.js:76:16420) (UseAwakened PoE Trade --trace-warnings ...to show where the warning was created) (node:2568) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)

messor2000 commented 2 months ago

By the way, after several times rerunning exec I got the same error as @haaakon got. But Awakened Poe Trade app launched in the background. I can see it by the icon

Screenshot 2024-08-08 at 11 31 53

But app working only when this terminal tab with the launched exec is open Screenshot 2024-08-08 at 11 33 02 If I close it and try to launch app as usually I will still got the same error that app does not have Accessibility permission. And little P.S. when I keep open terminal tab with the running exec and with error as @haaakon have. I can open PoE and use Awakened Poe Trade) But is it possible to fix error and launch Awakened Poe Trade from the icon, not from exec with errors)

vitor-jotave commented 2 months ago

seems like you both are not using the latest version, download it from the releases page and try to run it again.

messor2000 commented 2 months ago

I have 3.25.101 version. Screenshot 2024-08-08 at 18 34 31 Which is the last version which I can download from the link: https://snosme.github.io/awakened-poe-trade/download

nakhodkin commented 2 months ago

Right-click Awakened Poe Trade > Show Package Contents > Contents > MacOS > and open the app with the exec in that folder.

Give accessibility permissions to the "Terminal" app.

Thank you! This worked like a charm! 👍