winbox-mac icon indicating copy to clipboard operation
winbox-mac copied to clipboard

Fails to launch with Big Sur 11.7.10 recent nrlquaker/winbox-mac installed with brew

Open jacuinde opened this issue 1 year ago • 9 comments

Checklist

Describe the bug A clear and concise description of what the bug is. Mac OSX Big Sur 11.7.10

Installed recent winbox-mac via brew

1.- Erased /Users/XXXXX/Library/Application Support/com.mikrotik.winbox 2.- started winbox from terminal 3.- Winbox icon starts jumping in dock but never launches 4.-started winbox from terminal with the following

user@User-MacBook-Pro Application Support % /Applications/Winbox-mac.app/Contents/MacOS/winbox-mac preloader: Warning: failed to reserve range 0000000000010000-0000000000110000 preloader: Warning: failed to reserve range 0000000000110000-0000000068000000 preloader: Warning: failed to reserve range 0000000000010000-0000000000110000 preloader: Warning: failed to reserve range 0000000000110000-0000000068000000 preloader: Warning: failed to reserve range 0000000000010000-0000000000110000 preloader: Warning: failed to reserve range 0000000000110000-0000000068000000 preloader: Warning: failed to reserve range 0000000000010000-0000000000110000 preloader: Warning: failed to reserve range 0000000000110000-0000000068000000 preloader: Warning: failed to reserve range 0000000000010000-0000000000110000 preloader: Warning: failed to reserve range 0000000000110000-0000000068000000 preloader: Warning: failed to reserve range 0000000000010000-0000000000110000 preloader: Warning: failed to reserve range 0000000000110000-0000000068000000 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 preloader: Warning: failed to reserve range 0000000000010000-0000000000110000 preloader: Warning: failed to reserve range 0000000000110000-0000000068000000 preloader: Warning: failed to reserve range 0000000000010000-0000000000110000 preloader: Warning: failed to reserve range 0000000000110000-0000000068000000 preloader: Warning: failed to reserve range 0000000000010000-0000000000110000 preloader: Warning: failed to reserve range 0000000000110000-0000000068000000 preloader: Warning: failed to reserve range 0000000000010000-0000000000110000 preloader: Warning: failed to reserve range 0000000000110000-0000000068000000 wine: failed to start L"Z:\Applications\Winbox-mac.app\Contents\Resources\winbox64.exe" Application could not be started, or no application associated with the specified file. ShellExecuteEx failed: 0024:err:start:fatal_error FormatMessage failed

Thanks

jacuinde avatar Oct 03 '23 18:10 jacuinde

Heya jacuinde -

I recently became a maintainer, happy to see if I can help. Can you give us more information about your device? Specifically, model number and architecture (Intel/Apple Silicon) of your device are handy in this case. Thank you!

belthesar avatar Oct 09 '23 17:10 belthesar

Hi! @belthesar

Intel CPU 2.3 GHz 8-Core Intel Core i9 Big Sur 11.7.10 20G1427 MacBookPro16,1

Installed with brew

jacuinde avatar Oct 10 '23 01:10 jacuinde

1.- Erased /Users/XXXXX/Library/Application Support/com.mikrotik.winbox

When you say you erased this, do you mean you deleted the contents of the folder, or the folder and its contents? This error tends to happen when a WINE prefix fails to be created. Please ensure that if you are attempting to destroy the WINE prefix that you will need to remove the entire folder, and not just its contents.

belthesar avatar Oct 10 '23 03:10 belthesar

Deleted whole com.mikrotik.winbox folder from /Users/XXXXX/Library/Application Support/

past nrlquaker/winbox-mac/ cast worked without issues

jacuinde avatar Oct 10 '23 13:10 jacuinde

Couple things then:

  1. Can you verify that you have a fresh WINE prefix now at ~/Library/Application Support/com.mikrotik.winbox?
  2. Can you ensure that the quarantine extended attribute is not set on the app bundle? xattr -d com.apple.quarantine /Applications/Winbox-mac.app

belthesar avatar Oct 10 '23 23:10 belthesar

Hi!

1.- Verified that com.mikrotik.winbox folder didnt exist 2.- Opened winbox-mac.app 3.- jumping icon on dock and wine box showing "The wine configuration in /Users/XXXX/Library/Application 4.- Support/com.mikrotik.winbox is being updated. 5.- Winbox doesnt start 6.- in terminal i executed sudo xattr -d com.apple.quarantine /Applications/Winbox-mac.app 7.- Same result, jumping icon on dock and Winbox doesnt start

I started using Winbox4Mac.app https://joshaven.com/Winbox4Mac-3.21.tgz and its able to run, but I have resizing screen issues with that app

jacuinde avatar Oct 12 '23 17:10 jacuinde

Same problem on: Apple M1 Pro Sonoma 14.0

And i had it on BigSur.

kubert96 avatar Oct 12 '23 17:10 kubert96

@jacuinde FYI https://github.com/Homebrew/homebrew-cask/pull/80038 Not sure about version 3.21.

nrlquaker avatar Oct 12 '23 17:10 nrlquaker

upgraded to OSX Monterrey, did brew update and brew upgrade and Winbox started working again

jacuinde avatar Oct 25 '23 04:10 jacuinde

Closing this issue in favor of consolidating tracking the issue in #137, as @jacuinde's issue seems different than others, is no longer an issue per https://github.com/nrlquaker/winbox-mac/issues/130#issuecomment-1778479185, and other users that have contributed to the issue are likely experiencing the issue in this issue.

belthesar avatar Feb 13 '24 16:02 belthesar