Giter VIP home page Giter VIP logo

Comments (12)

maicardi avatar maicardi commented on August 23, 2024 1

from trash-cli.

andreafrancia avatar andreafrancia commented on August 23, 2024

Credo che ti stia dicendo che '/media/array/.Trash/0' non è una directory, dato che non esiste ripiega su .Trash-0 e funziona.

from trash-cli.

maicardi avatar maicardi commented on August 23, 2024

Uhm... Sono passati più 3 anni e mezzo dal mio post... devo riprovare.

Grazie cmq di avermi risposto.

Buon Natale.

from trash-cli.

maicardi avatar maicardi commented on August 23, 2024

Al momento in realtà non riesco a riprovare...

Su Ubuntu 16.10 installando la versione 0.12.9.14-2:

$ sudo mkdir --parent /.Trash
$ sudo chmod a+rw /.Trash
$ sudo chmod +t /.Trash
$ touch foo
$ trash foo
$ trash-list 
Errore di segmentazione (core dump creato)
$ trash-restore
trash-restore: comando non trovato

Qualcosa mi sfugge... Problema di packaging Ubuntu?

from trash-cli.

maicardi avatar maicardi commented on August 23, 2024

No, non par essere un problema di packaging Ubuntu.

$ sudo easy_install trash-cli
Searching for trash-cli
Reading https://pypi.python.org/simple/trash-cli/
Downloading https://pypi.python.org/packages/c7/95/ceda4a06c0a8e6b57ded4a7f0a3fc9a22f443f755f06c4e562fbab5dddbe/trash-cli-0.12.9.14.tar.gz#md5=79135954bbe5d0c806d298c38e3e0527
Best match: trash-cli 0.12.9.14
Processing trash-cli-0.12.9.14.tar.gz
Writing /tmp/easy_install-NHTZzo/trash-cli-0.12.9.14/setup.cfg
Running trash-cli-0.12.9.14/setup.py -q bdist_egg --dist-dir /tmp/easy_install-NHTZzo/trash-cli-0.12.9.14/egg-dist-tmp-QoSTGi
/usr/lib/python2.7/dist-packages/setuptools/command/egg_info.py:203: UserWarning: tag_svn_revision is deprecated and will not be honored in a future release
  "tag_svn_revision is deprecated and will not be honored "
zip_safe flag not set; analyzing archive contents...
Moving trash_cli-0.12.9.14.post0-py2.7.egg to /usr/local/lib/python2.7/dist-packages
Adding trash-cli 0.12.9.14.post0 to easy-install.pth file
Installing restore-trash script to /usr/local/bin
Installing trash-put script to /usr/local/bin
Installing trash-list script to /usr/local/bin
Installing trash-rm script to /usr/local/bin
Installing trash script to /usr/local/bin
Installing trash-empty script to /usr/local/bin

Installed /usr/local/lib/python2.7/dist-packages/trash_cli-0.12.9.14.post0-py2.7.egg
Processing dependencies for trash-cli
Finished processing dependencies for trash-cli
$ restore-trash 
Errore di segmentazione (core dump creato)
$ /usr/local/bin/restore-trash foo
Errore di segmentazione (core dump creato)
$ /usr/local/bin/trash-list 
Errore di segmentazione (core dump creato)

from trash-cli.

andreafrancia avatar andreafrancia commented on August 23, 2024

Mi puoi dire che versione di python hai?

from trash-cli.

maicardi avatar maicardi commented on August 23, 2024

Python 2.7.12+ (default, Sep 17 2016, 12:08:02)
[GCC 6.2.0 20160914] on linux2

Linux 4.8.0-30-generic #32-Ubuntu SMP Fri Dec 2 03:43:27 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

from trash-cli.

andreafrancia avatar andreafrancia commented on August 23, 2024

Quella che riscontri dovrebbe essere la issue #52, ho committato oggi la soluzione ( 0c3f3bf )

from trash-cli.

andreafrancia avatar andreafrancia commented on August 23, 2024

Ho pubblicato la versione "0.16.12.26" su PyPI, se fai sudo easy_install trash-cli dovrebbe scaricartela e risolvere il problema. Ti prego di confermare se puoi.

from trash-cli.

maicardi avatar maicardi commented on August 23, 2024

from trash-cli.

andreafrancia avatar andreafrancia commented on August 23, 2024

È normale, trash-cli cerca sempre di spostare il file nella trash dir che sta sulla stessa partizione del file cestinato. Probabilmente la tua /tmp sta su una partizione diversa da quella di home.

from trash-cli.

maicardi avatar maicardi commented on August 23, 2024

from trash-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.