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

Error opening path when selecting "Reveal in Finder" from alfred #870

Open
woodstok opened this issue Nov 30, 2022 · 0 comments
Open

Error opening path when selecting "Reveal in Finder" from alfred #870

woodstok opened this issue Nov 30, 2022 · 0 comments

Comments

@woodstok
Copy link

When I try to open a file from alfred, fman throws an exception

Error opening path: file:///Users/appujoseph/Downloads/PPR00728.jpg

Traceback (most recent call last):
  File "/Users/appujoseph/Library/Application Support/fman/Plugins/Third-party/ReplaceFinder/replace_finder/__init__.py", line 45, in safe_file_opened
    self.file_opened(url)
  File "/Users/appujoseph/Library/Application Support/fman/Plugins/Third-party/ReplaceFinder/replace_finder/__init__.py", line 69, in file_opened
    target_pane.set_path(target_dir, directory_opened)
  File "fman/__init__.py", line 130, in set_path
  File "fman/impl/widgets.py", line 122, in set_location
  File "fman/impl/model/__init__.py", line 48, in set_location
  File "fman/impl/model/__init__.py", line 45, in set_location
  File "fman/impl/model/__init__.py", line 76, in _set_location
  File "/Users/appujoseph/Library/Application Support/fman/Plugins/Third-party/ReplaceFinder/replace_finder/__init__.py", line 67, in directory_opened
    target_pane.place_cursor_at(url)
  File "fman/__init__.py", line 115, in place_cursor_at
  File "fman/impl/util/qt/thread.py", line 11, in result
  File "fman/impl/util/qt/thread.py", line 66, in run_in_thread
  File "fman/impl/widgets.py", line 127, in place_cursor_at
  File "fman/impl/view/__init__.py", line 124, in place_cursor_at
  File "fman/impl/model/__init__.py", line 147, in find
  File "fman/impl/model/model.py", line 327, in find
ValueError: 'file:///Users/appujoseph/Downloads/PPR00728.jpg' is not in list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants