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

AppleEvent timed out #6

Open
devrushit opened this issue Aug 19, 2022 · 0 comments
Open

AppleEvent timed out #6

devrushit opened this issue Aug 19, 2022 · 0 comments

Comments

@devrushit
Copy link

Hi, nice tool. I'm having an issue with it. It seems that its an apple script timeout.

Any idea on how to deal with it ?

INFO: found 4157 classes containing 5856 duplicates
Traceback (most recent call last):
  File "/usr/local/Cellar/[email protected]/3.10.6_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/Cellar/[email protected]/3.10.6_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.10/site-packages/photosdup/__main__.py", line 8, in <module>
    cli.main(args)
  File "/usr/local/lib/python3.10/site-packages/photosdup/cli.py", line 20, in main
    classes = df.scan(thumbs=not args.no_thumbs,dimensions=tuple(zip(args.xdims,args.ydims)),radiuses=args.radiuses,prefix=args.prefix if args.tag else None)
  File "/usr/local/lib/python3.10/site-packages/photosdup/__init__.py", line 104, in scan
    self.tag(classes=classes,prefix=prefix)
  File "/usr/local/lib/python3.10/site-packages/photosdup/__init__.py", line 234, in tag
    duplicates_folder = photoscript.run_script("_folder_by_name",prefix+"-duplicates",True)
  File "/usr/local/lib/python3.10/site-packages/photoscript/script_loader.py", line 18, in run_script
    return SCRIPT_OBJ.call(name, *args)
  File "/usr/local/lib/python3.10/site-packages/applescript/__init__.py", line 110, in call
    return self._unpackresult(*self._script.executeAppleEvent_error_(evt, None))
  File "/usr/local/lib/python3.10/site-packages/applescript/__init__.py", line 65, in _unpackresult
    raise ScriptError(errorinfo)
applescript.ScriptError: Photos got an error: AppleEvent timed out. (-1712) app='Photos' range=7242-7249
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

1 participant