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
Description :
When you execute any script that uses python as the process, it outputs this error :
Traceback (most recent call last): File "C:\Users\Mohamed\Desktop\protonio-v1.0.0-win32-x64\resources\app\src\menu\libs\python\lib\site.py", line 703, in main() File "C:\Users\Mohamed\Desktop\protonio-v1.0.0-win32-x64\resources\app\src\menu\libs\python\lib\site.py", line 692, in main aliasmbcs() File "C:\Users\Mohamed\Desktop\protonio-v1.0.0-win32-x64\resources\app\src\menu\libs\python\lib\site.py", line 515, in aliasmbcs import locale, codecs File "C:\Users\Mohamed\Desktop\protonio-v1.0.0-win32-x64\resources\app\src\menu\libs\python\lib\locale.py", line 17, in import functools ImportError: No module named functools
Steps to reproduce
Just choose a script that uses python, for example an image processing script or search and replace script, and try to execute it by hitting apply.
Cause & temporal solution
I think I didn't embed python in the app properly. So a temporal solution would be to install python v2.7 because that's where "protonio-v1.0.0-win32-x64\resources\app\src\menu\libs\python\Lib\orig-prefix.txt" is looking at.
You can also make the scripts point to your own version of python, by going to Builder (right click in tray icon, select Builder), and start typing the name of the script then select it in the dropdown list, and just change the Proton Process input to your python exe path.
You can also change this directly in the interface.json of the script instead.
The text was updated successfully, but these errors were encountered:
This issue has been fixed now. I found that python 3 is available in embedded version, so I used that instead. proton-io v1.0.1 now comes with an embedded python 3.6.
Description :
When you execute any script that uses python as the process, it outputs this error :
Traceback (most recent call last): File "C:\Users\Mohamed\Desktop\protonio-v1.0.0-win32-x64\resources\app\src\menu\libs\python\lib\site.py", line 703, in main() File "C:\Users\Mohamed\Desktop\protonio-v1.0.0-win32-x64\resources\app\src\menu\libs\python\lib\site.py", line 692, in main aliasmbcs() File "C:\Users\Mohamed\Desktop\protonio-v1.0.0-win32-x64\resources\app\src\menu\libs\python\lib\site.py", line 515, in aliasmbcs import locale, codecs File "C:\Users\Mohamed\Desktop\protonio-v1.0.0-win32-x64\resources\app\src\menu\libs\python\lib\locale.py", line 17, in import functools ImportError: No module named functools
Steps to reproduce
Just choose a script that uses python, for example an image processing script or search and replace script, and try to execute it by hitting apply.
Cause & temporal solution
I think I didn't embed python in the app properly. So a temporal solution would be to install python v2.7 because that's where "protonio-v1.0.0-win32-x64\resources\app\src\menu\libs\python\Lib\orig-prefix.txt" is looking at.
You can also make the scripts point to your own version of python, by going to Builder (right click in tray icon, select Builder), and start typing the name of the script then select it in the dropdown list, and just change the Proton Process input to your python exe path.
You can also change this directly in the interface.json of the script instead.
The text was updated successfully, but these errors were encountered: