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

[Win 11] Can't open images #60

Open
RitschAlex opened this issue Feb 2, 2023 · 2 comments
Open

[Win 11] Can't open images #60

RitschAlex opened this issue Feb 2, 2023 · 2 comments

Comments

@RitschAlex
Copy link

I can't open images.

image

@hnvy
Copy link

hnvy commented Jul 14, 2023

Getting the same error on epr24.exe (but not epr23.exe). See the error below:

The issue seems to be fixed in epy.

Traceback (most recent call last):
  File "epr.py", line 1272, in <module>
  File "epr.py", line 1268, in main
  File "curses\__init__.py", line 94, in wrapper
  File "epr.py", line 1162, in preread
  File "epr.py", line 1055, in reader
  File "epr.py", line 648, in open_media
  File "subprocess.py", line 345, in call
  File "subprocess.py", line 969, in __init__
  File "subprocess.py", line 1438, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified
[12104] Failed to execute script 'epr' due to unhandled exception!

@kai0200
Copy link

kai0200 commented Mar 18, 2024

You can try

1036 # img = re.search("(?<=[IMG:)[0-9]+(?=])", i)
img = re.search("[IMG:[0-9]+]", i)

1044 #impath = imgs[int(gambar[0])
impath = imgs[int(gambar[0].strip('[]').split(':')[1])]

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

No branches or pull requests

3 participants