You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python-bridge works fine in the dev environment, but once I package the app using electron-builder it breaks. This seems to be related to ASAR. Node.js is able to properly read ASAR paths, but python is not. Note the app.asar in the path. It would be much appreciated if someone knows how to fix this. Until then I will try to exclude the file from ASAR.
This is the output when I run my packaged app on the command line:
C:\Program Files\binpro\resources\assets\WinPython\python.exe: can't open file 'C:\\Program Files\\binpro\\resources\\app.asar\\node_modules\\python-bridge\\node_python_bridge.py': [Errno 2] No such file or directory
The text was updated successfully, but these errors were encountered:
Python-bridge works fine in the dev environment, but once I package the app using electron-builder it breaks. This seems to be related to ASAR. Node.js is able to properly read ASAR paths, but python is not. Note the app.asar in the path. It would be much appreciated if someone knows how to fix this. Until then I will try to exclude the file from ASAR.
This is the output when I run my packaged app on the command line:
C:\Program Files\binpro\resources\assets\WinPython\python.exe: can't open file 'C:\\Program Files\\binpro\\resources\\app.asar\\node_modules\\python-bridge\\node_python_bridge.py': [Errno 2] No such file or directory
The text was updated successfully, but these errors were encountered: