elodie: 🐞 #Bug Fix --trash directive

Hey,

Hope you’re well

Thanks for awesome software

I’m currently unable to use the --trash directive

I’m using the latest version and believe I’ve upgraded all requirements, but still no luck…

Device: Apple MBP (desktop) Platform: OS X Type: Desktop Version: 10.11.3

Apple-MacBook-Pro:~ ldexterldesign$ cd /Applications/elodie/
Apple-MacBook-Pro:elodie ldexterldesign$ ./elodie.py import --source="/Volumes/server/_todo/image/_1" --destination="/Volumes/server/_todo/image/_2" --trash
Traceback (most recent call last):
  File "./elodie.py", line 232, in <module>
    main()
  File "/Library/Python/2.7/site-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/Library/Python/2.7/site-packages/click/core.py", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Library/Python/2.7/site-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Library/Python/2.7/site-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "./elodie.py", line 98, in _import
    trash)
  File "./elodie.py", line 61, in import_file
    send2trash(_file)
  File "/Library/Python/2.7/site-packages/send2trash/plat_osx.py", line 48, in send2trash
    check_op_result(op_result)
  File "/Library/Python/2.7/site-packages/send2trash/plat_osx.py", line 37, in check_op_result
    raise OSError(msg)
OSError: Directory not found
Apple-MacBook-Pro:elodie ldexterldesign$ pip install -r requirements.txt
Requirement already satisfied (use --upgrade to upgrade): click<7.0,>=6.2 in /Library/Python/2.7/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): requests<3.0,>=2.9.1 in /usr/local/lib/python2.7/site-packages (from -r requirements.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): send2trash<2.0,>=1.3.0 in /Library/Python/2.7/site-packages (from -r requirements.txt (line 3))
Apple-MacBook-Pro:elodie ldexterldesign$ pip install -r requirements.txt --upgrade
Requirement already up-to-date: click<7.0,>=6.2 in /Library/Python/2.7/site-packages (from -r requirements.txt (line 1))
Requirement already up-to-date: requests<3.0,>=2.9.1 in /usr/local/lib/python2.7/site-packages (from -r requirements.txt (line 2))
Requirement already up-to-date: send2trash<2.0,>=1.3.0 in /Library/Python/2.7/site-packages (from -r requirements.txt (line 3))

Are there currently any known issues and/or can you help fix it?

Hope to hear back

Kind regards

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 17 (7 by maintainers)

Commits related to this issue

Most upvoted comments

Thanks for following up. I install git repos somewhere in my home directory and not alongside other apps.