twardoch/subtitle-edit-mac-wine

Installation stuck

Opened this issue ยท 2 comments

Hi. Thank you very much for your effort. I am one of "Mac and Subtitleedit" lover.
In the installation, the process stacked with some warning and dialogue.
Captura de pantalla 2021-08-29 a las 15 11 42
Captura de pantalla 2021-08-29 a las 15 29 52
"subtitleeditw" does not open wine.
My environment is as attached. I have used wine on my machine several times.
Any thoughts on this?

I have the same issue. after installation "subtitleeditw" doesn't open anything.

โžœ  subtitle-edit-mac-wine-main brew install --cask --no-quarantine wine-stable
==> Caveats
wine-stable supports both 32-bit and 64-bit. It is compatible with an existing
32-bit wine prefix, but it will now default to 64-bit when you create a new
wine prefix. The architecture can be selected using the WINEARCH environment
variable which can be set to either win32 or win64.

To create a new pure 32-bit prefix, you can run:
  $ WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg

See the Wine FAQ for details: https://wiki.winehq.org/FAQ#Wineprefixes

==> Downloading https://github.com/Gcenx/macOS_Wine_builds/releases/download/6.0.2/wine-stable-6.0.2-osx64.tar.xz
Already downloaded: /Users/alizarezade/Library/Caches/Homebrew/downloads/52f16c47ae7fdd8fb00c46e2b777d54fcfa338acd4385fc3ce2b4f2368d5a340--wine-stable-6.0.2-osx64.tar.xz
All formula dependencies satisfied.
==> Installing Cask wine-stable
Warning: macOS's Gatekeeper has been disabled for this Cask
==> Moving App 'Wine Stable.app' to '/Applications/Wine Stable.app'
==> Linking Binary 'appdb' to '/usr/local/bin/appdb'
==> Linking Binary 'winehelp' to '/usr/local/bin/winehelp'
==> Linking Binary 'msiexec' to '/usr/local/bin/msiexec'
==> Linking Binary 'notepad' to '/usr/local/bin/notepad'
==> Linking Binary 'regedit' to '/usr/local/bin/regedit'
==> Linking Binary 'regsvr32' to '/usr/local/bin/regsvr32'
==> Linking Binary 'wine' to '/usr/local/bin/wine'
==> Linking Binary 'wine64' to '/usr/local/bin/wine64'
==> Linking Binary 'wineboot' to '/usr/local/bin/wineboot'
==> Linking Binary 'winecfg' to '/usr/local/bin/winecfg'
==> Linking Binary 'wineconsole' to '/usr/local/bin/wineconsole'
==> Linking Binary 'winedbg' to '/usr/local/bin/winedbg'
==> Linking Binary 'winefile' to '/usr/local/bin/winefile'
==> Linking Binary 'winemine' to '/usr/local/bin/winemine'
==> Linking Binary 'winepath' to '/usr/local/bin/winepath'
==> Linking Binary 'wineserver' to '/usr/local/bin/wineserver'
๐Ÿบ  wine-stable was successfully installed!
โžœ  subtitle-edit-mac-wine-main ./install-mac.command                          
INSTALLING https://github.com/SubtitleEdit/ on macOS

1. Go to https://github.com/SubtitleEdit/subtitleedit/releases
2. In 'Latest release', right click the ZIP with 'Portable version' (e.g. 'SE360.zip') and copy link address
3. Paste it here and press Enter:
https://github.com/SubtitleEdit/subtitleedit/releases/download/3.6.3/SE363.zip
Thank you, proceeding with installation...
Warning: The Ruby Homebrew installer is now deprecated and has been rewritten in
Bash. Please migrate to the following command:
  /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

==> Checking for `sudo` access (which may request your password)...
Password:
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew

Press RETURN to continue or any other key to abort:
==> /usr/bin/sudo /usr/sbin/chown -R alizarezade:admin /usr/local/Homebrew
==> Downloading and installing Homebrew...
Updating files: 100% (2720/2720), done.
HEAD is now at c75aaed83 Merge pull request #12513 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-ast-1.14.0
==> Installation successful!

==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
  https://docs.brew.sh/Analytics
No analytics data has been sent yet (nor will any be during this install run).

==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
  https://github.com/Homebrew/brew#donations

==> Next steps:
- Run brew help to get started
- Further documentation:
    https://docs.brew.sh

Warning: tesseract 4.1.3 is already installed and up-to-date.
To reinstall 4.1.3, run:
  brew reinstall tesseract
Warning: Cask 'wine-crossover' is already installed.

To re-install wine-crossover, run:
  brew reinstall wine-crossover
Warning: winetricks 20210825 is already installed and up-to-date.
To reinstall 20210825, run:
  brew reinstall winetricks
warning: taskset/cpuset not available on your platform!
------------------------------------------------------
warning: Your version of wine  is no longer supported upstream. You should upgrade to 5.x
------------------------------------------------------
Executing mkdir -p /Users/alizarezade
ls: /Users/alizarezade/.wine//drive_c: No such file or directory
grep: /Users/alizarezade/.wine//*.reg: No such file or directory
------------------------------------------------------
WINEPREFIX INFO:
Drive C: 

Registry info:
/Users/alizarezade/.wine//*.reg:
------------------------------------------------------
------------------------------------------------------
warning: wine cmd.exe /c echo '%AppData%' returned empty string, error message "/usr/local/bin/winetricks: line 3455: /usr/local/bin/wine: Bad CPU type in executable" 
------------------------------------------------------
warning: taskset/cpuset not available on your platform!
------------------------------------------------------
warning: Your version of wine  is no longer supported upstream. You should upgrade to 5.x
------------------------------------------------------
Executing mkdir -p /Users/alizarezade
ls: /Users/alizarezade/.wine//drive_c: No such file or directory
grep: /Users/alizarezade/.wine//*.reg: No such file or directory
------------------------------------------------------
WINEPREFIX INFO:
Drive C: 

Registry info:
/Users/alizarezade/.wine//*.reg:
------------------------------------------------------
------------------------------------------------------
warning: wine cmd.exe /c echo '%AppData%' returned empty string, error message "/usr/local/bin/winetricks: line 3455: /usr/local/bin/wine: Bad CPU type in executable" 
------------------------------------------------------
warning: taskset/cpuset not available on your platform!
------------------------------------------------------
warning: Your version of wine  is no longer supported upstream. You should upgrade to 5.x
------------------------------------------------------
Executing mkdir -p /Users/alizarezade
ls: /Users/alizarezade/.wine//drive_c: No such file or directory
grep: /Users/alizarezade/.wine//*.reg: No such file or directory
------------------------------------------------------
WINEPREFIX INFO:
Drive C: 

Registry info:
/Users/alizarezade/.wine//*.reg:
------------------------------------------------------
------------------------------------------------------
warning: wine cmd.exe /c echo '%AppData%' returned empty string, error message "/usr/local/bin/winetricks: line 3455: /usr/local/bin/wine: Bad CPU type in executable" 
------------------------------------------------------
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   646  100   646    0     0    928      0 --:--:-- --:--:-- --:--:--   928
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Failed to create the file ./se.zip: Permission denied
  0 9706k    0   594    0     0    326      0  8:28:10  0:00:01  8:28:09   718
curl: (23) Failed writing body (0 != 594)
Archive:  ./se.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of ./se.zip or
        ./se.zip.zip, and cannot find ./se.zip.ZIP, period.
override rw-r--r--  root/staff for ./se.zip? 
Ready! Now open Terminal.app and type
subtitleeditw
to run the GUI or
subtitleeditw /help
to run the CLI

I have the same issue. after installation "subtitleeditw" doesn't open anything.

โžœ  subtitle-edit-mac-wine-main brew install --cask --no-quarantine wine-stable
==> Caveats
wine-stable supports both 32-bit and 64-bit. It is compatible with an existing
32-bit wine prefix, but it will now default to 64-bit when you create a new
wine prefix. The architecture can be selected using the WINEARCH environment
variable which can be set to either win32 or win64.

To create a new pure 32-bit prefix, you can run:
  $ WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg

See the Wine FAQ for details: https://wiki.winehq.org/FAQ#Wineprefixes

==> Downloading https://github.com/Gcenx/macOS_Wine_builds/releases/download/6.0.2/wine-stable-6.0.2-osx64.tar.xz
Already downloaded: /Users/alizarezade/Library/Caches/Homebrew/downloads/52f16c47ae7fdd8fb00c46e2b777d54fcfa338acd4385fc3ce2b4f2368d5a340--wine-stable-6.0.2-osx64.tar.xz
All formula dependencies satisfied.
==> Installing Cask wine-stable
Warning: macOS's Gatekeeper has been disabled for this Cask
==> Moving App 'Wine Stable.app' to '/Applications/Wine Stable.app'
==> Linking Binary 'appdb' to '/usr/local/bin/appdb'
==> Linking Binary 'winehelp' to '/usr/local/bin/winehelp'
==> Linking Binary 'msiexec' to '/usr/local/bin/msiexec'
==> Linking Binary 'notepad' to '/usr/local/bin/notepad'
==> Linking Binary 'regedit' to '/usr/local/bin/regedit'
==> Linking Binary 'regsvr32' to '/usr/local/bin/regsvr32'
==> Linking Binary 'wine' to '/usr/local/bin/wine'
==> Linking Binary 'wine64' to '/usr/local/bin/wine64'
==> Linking Binary 'wineboot' to '/usr/local/bin/wineboot'
==> Linking Binary 'winecfg' to '/usr/local/bin/winecfg'
==> Linking Binary 'wineconsole' to '/usr/local/bin/wineconsole'
==> Linking Binary 'winedbg' to '/usr/local/bin/winedbg'
==> Linking Binary 'winefile' to '/usr/local/bin/winefile'
==> Linking Binary 'winemine' to '/usr/local/bin/winemine'
==> Linking Binary 'winepath' to '/usr/local/bin/winepath'
==> Linking Binary 'wineserver' to '/usr/local/bin/wineserver'
๐Ÿบ  wine-stable was successfully installed!
โžœ  subtitle-edit-mac-wine-main ./install-mac.command                          
INSTALLING https://github.com/SubtitleEdit/ on macOS

1. Go to https://github.com/SubtitleEdit/subtitleedit/releases
2. In 'Latest release', right click the ZIP with 'Portable version' (e.g. 'SE360.zip') and copy link address
3. Paste it here and press Enter:
https://github.com/SubtitleEdit/subtitleedit/releases/download/3.6.3/SE363.zip
Thank you, proceeding with installation...
Warning: The Ruby Homebrew installer is now deprecated and has been rewritten in
Bash. Please migrate to the following command:
  /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

==> Checking for `sudo` access (which may request your password)...
Password:
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew

Press RETURN to continue or any other key to abort:
==> /usr/bin/sudo /usr/sbin/chown -R alizarezade:admin /usr/local/Homebrew
==> Downloading and installing Homebrew...
Updating files: 100% (2720/2720), done.
HEAD is now at c75aaed83 Merge pull request #12513 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-ast-1.14.0
==> Installation successful!

==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
  https://docs.brew.sh/Analytics
No analytics data has been sent yet (nor will any be during this install run).

==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
  https://github.com/Homebrew/brew#donations

==> Next steps:
- Run brew help to get started
- Further documentation:
    https://docs.brew.sh

Warning: tesseract 4.1.3 is already installed and up-to-date.
To reinstall 4.1.3, run:
  brew reinstall tesseract
Warning: Cask 'wine-crossover' is already installed.

To re-install wine-crossover, run:
  brew reinstall wine-crossover
Warning: winetricks 20210825 is already installed and up-to-date.
To reinstall 20210825, run:
  brew reinstall winetricks
warning: taskset/cpuset not available on your platform!
------------------------------------------------------
warning: Your version of wine  is no longer supported upstream. You should upgrade to 5.x
------------------------------------------------------
Executing mkdir -p /Users/alizarezade
ls: /Users/alizarezade/.wine//drive_c: No such file or directory
grep: /Users/alizarezade/.wine//*.reg: No such file or directory
------------------------------------------------------
WINEPREFIX INFO:
Drive C: 

Registry info:
/Users/alizarezade/.wine//*.reg:
------------------------------------------------------
------------------------------------------------------
warning: wine cmd.exe /c echo '%AppData%' returned empty string, error message "/usr/local/bin/winetricks: line 3455: /usr/local/bin/wine: Bad CPU type in executable" 
------------------------------------------------------
warning: taskset/cpuset not available on your platform!
------------------------------------------------------
warning: Your version of wine  is no longer supported upstream. You should upgrade to 5.x
------------------------------------------------------
Executing mkdir -p /Users/alizarezade
ls: /Users/alizarezade/.wine//drive_c: No such file or directory
grep: /Users/alizarezade/.wine//*.reg: No such file or directory
------------------------------------------------------
WINEPREFIX INFO:
Drive C: 

Registry info:
/Users/alizarezade/.wine//*.reg:
------------------------------------------------------
------------------------------------------------------
warning: wine cmd.exe /c echo '%AppData%' returned empty string, error message "/usr/local/bin/winetricks: line 3455: /usr/local/bin/wine: Bad CPU type in executable" 
------------------------------------------------------
warning: taskset/cpuset not available on your platform!
------------------------------------------------------
warning: Your version of wine  is no longer supported upstream. You should upgrade to 5.x
------------------------------------------------------
Executing mkdir -p /Users/alizarezade
ls: /Users/alizarezade/.wine//drive_c: No such file or directory
grep: /Users/alizarezade/.wine//*.reg: No such file or directory
------------------------------------------------------
WINEPREFIX INFO:
Drive C: 

Registry info:
/Users/alizarezade/.wine//*.reg:
------------------------------------------------------
------------------------------------------------------
warning: wine cmd.exe /c echo '%AppData%' returned empty string, error message "/usr/local/bin/winetricks: line 3455: /usr/local/bin/wine: Bad CPU type in executable" 
------------------------------------------------------
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   646  100   646    0     0    928      0 --:--:-- --:--:-- --:--:--   928
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Failed to create the file ./se.zip: Permission denied
  0 9706k    0   594    0     0    326      0  8:28:10  0:00:01  8:28:09   718
curl: (23) Failed writing body (0 != 594)
Archive:  ./se.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of ./se.zip or
        ./se.zip.zip, and cannot find ./se.zip.ZIP, period.
override rw-r--r--  root/staff for ./se.zip? 
Ready! Now open Terminal.app and type
subtitleeditw
to run the GUI or
subtitleeditw /help
to run the CLI

same