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

mainブランチでビルドしたエンジンがwindowsで起動しない #652

Closed
Hiroshiba opened this issue Apr 4, 2023 · 3 comments · Fixed by #653
Closed

mainブランチでビルドしたエンジンがwindowsで起動しない #652

Hiroshiba opened this issue Apr 4, 2023 · 3 comments · Fixed by #653

Comments

@Hiroshiba
Copy link
Member

Hiroshiba commented Apr 4, 2023

不具合の内容

mainブランチでビルドしたエンジンがwindowsで起動しないっぽいです。
エラーログを見る感じblas周りなので、もしかしたら↓のPRが影響しているかもしれません。

現象・ログ

こんな感じのActionsログになります。

↓抜粋

Traceback (most recent call last):
  File "run.py", line 29, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "voicevox_engine\cancellable_engine.py", line 16, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "voicevox_engine\synthesis_engine\__init__.py", line 2, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "voicevox_engine\synthesis_engine\make_synthesis_engines.py", line 6, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "voicevox_engine\utility\__init__.py", line 1, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "voicevox_engine\utility\connect_base64_waves.py", line 7, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "scipy\signal\__init__.py", line 309, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "scipy\signal\windows\__init__.py", line 42, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "scipy\signal\windows\_windows.py", line 7, in <module>
  File "scipy\__init__.py", line 230, in __getattr__
  File "importlib\__init__.py", line 127, in import_module
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "scipy\linalg\__init__.py", line 197, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "scipy\linalg\_misc.py", line 3, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "scipy\linalg\blas.py", line 213, in <module>
ImportError: DLL load failed while importing _fblas: The specified module could not be found.
[5416] Failed to execute script 'run' due to unhandled exception!

リリースはこちらです

再現手順

actionsでビルド実行

期待動作

正しく起動できる

その他

実際にmainブランチでビルドしてみます。
2023/04/05 1:55 ビルドしてみたのでリンク差し替えました!

@siketyan さん、知見お持ちだったりしませんか 👀

@sabonerune
Copy link
Contributor

Pyinstallerの問題のような気がします。
https://pyinstaller.org/en/stable/CHANGES.html#id16

@Hiroshiba
Copy link
Member Author

おお、なるほどです!
VOICEVOXで利用されているPyInstallerは5.3なので、そちらのBUGFIXが入った後のを使うと解決するかもですね!!

pyinstaller==5.3 ; python_full_version >= "3.8.1" and python_version < "3.9"

@sabonerune
Copy link
Contributor

pyinstaller5.9.0に更新して手元でビルドしたところ正常に動作したと思うのでPR作成します。

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

Successfully merging a pull request may close this issue.

2 participants