I want to give at all members of a Plone (4.3.7) site the possibility to restore a file accidentally deleted.
I only found ecreall.trashcan for this purpose, but I've some problem with installation. After add it in buildout.conf and do a bin/buildout the output contain some error like...

File "build/bdist.linux-x86_64/egg/ecreall/trashcan/skins/ecreall_trashcan_templates/isTrashcanOpened.py", line 11
      return session and session.get('trashcan', False) or False
  SyntaxError: 'return' outside function
File "build/bdist.linux-x86_64/egg/ecreall/trashcan/skins/ecreall_trashcan_templates/object_trash.py", line 23
      return context.translate(msg)
  SyntaxError: 'return' outside function
File "build/bdist.linux-x86_64/egg/ecreall/trashcan/skins/ecreall_trashcan_templates/object_restore.py", line 23
      return context.translate(msg)
  SyntaxError: 'return' outside function

...
And so, I don't find any new add-on to enable or configure in site setup.
Someone know what could be, or is there another method for do what I want?
Please.... thanks in advance
If you don't find a proper add-on, know that in Plone a trash can only be a matter of workflow.
You can customize your workflow adding a new trash transition that move the content in a state (trashed) where users can't see it (maybe keep the visibility open for Manager and/or Site Administrators).
Probably you must also customize the content_status_modify script because after the trash on a content you must be redirected to another location (or you'll get an Unhautorized error).
Is there a metod to have a trash can in Plone?