question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

🐞 #Bug Fix --trash directive

See original GitHub issue

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

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
jmathaicommented, Aug 16, 2016

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

0reactions
ldexterldesigncommented, Dec 30, 2016

Cheers for reply

Needless to say, glad we got to the bottom of that one!

Keep up the great work

Kind thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using ngIf, DOM nodes cannot be garbage collected ... - GitHub
I'd be curious to hear if the fix from #39235 resolves the problem that you are seeing in your real app. Thank you....
Read more >
[NEEDS SAVES] No option to turn up the kicked Trashcan
Basically, the bug is that trash cans that aren't supposed to be able to be knocked over suddenly are. Because they are supposed...
Read more >
Report a Problem With Trash, Debris and Containers
Report a problem with missing, misplaced, damaged or overflowing trash containers or commercial dumpster, unsatisfactory collection, billing or collection ...
Read more >
Untitled
... 3.0.3-1 🐞 Fix bugs in the 3.0.2 refactoring - 3.0.2-1 🐞 Workaround Fedora ... than PATH_MAX - powerpc: Fix unrecognized instruction errors...
Read more >
Report a problem with trash, recycling, or city upkeep | Services
You can report illegal dumping, graffiti, sanitation code violations, dead animals in the street, and missed trash or recycling collection.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found