Coder Social home page Coder Social logo

Failed to open tag directory about tmsu HOT 7 CLOSED

oniony avatar oniony commented on June 5, 2024
Failed to open tag directory

from tmsu.

Comments (7)

oniony avatar oniony commented on June 5, 2024

Hello Ahmad,

Sorry to hear you are having problems with TMSU. There is a known issue with the VFS in version 0.5.0 and 0.5.1. I have fixed it on the default branch but have yet to push out 0.5.2. I hope to do so on the train this evening.

In the mean time, if you are able to compile from source then you should find this issue fixed. If not, please let me know.

Regarding mounting using the vfs command, the syntax changed in 0.5.0: the database is no longer specified as the first argument (the error is because it's trying to mount at the database, not at the mount point). It now works the same way as the other commands:

tmsu -v vfs path/to/mountpoint

The -v produces verbose logging which is useful if there is an error. You could try this and see if you are getting the 'transaction already open' error that I fixed in the past few days or if you are getting a different error I need to look at.

Thanks,
Paul

(I'll leave this open until you have confirmed it's the same issue.)

from tmsu.

akhayyat avatar akhayyat commented on June 5, 2024

Thanks for the quick and to-the-point response!

I confirm that I can see this panic now with the proper vfs command:

panic: could not begin transaction: there is already an open transaction

from tmsu.

oniony avatar oniony commented on June 5, 2024

OK, this smells very much like the existing issue #28. If you can bear with me a day then I will push out a 0.5.2 with a fix for this otherwise you are more than welcome to compile from the sources and try that.

Sorry your first experience with TMSU has not been a positive one!

from tmsu.

oniony avatar oniony commented on June 5, 2024

Please give the new v0.5.2 release a try. I would be very interested to know if this fixes this issue for you.

from tmsu.

akhayyat avatar akhayyat commented on June 5, 2024

Works perfectly.. Thank you!

from tmsu.

gcavallo avatar gcavallo commented on June 5, 2024

I'm having a similar issue with 0.6.0 when opening an empty tag folder. If I create a tag without tagging any files to it, opening it's folder with ls or thunar/nautilus will fail:

~$ tmsu mount ~/TMSU
~$ mkdir TMSU/tags/Empty
~$ ls TMSU/tags/Empty/
ls: cannot open directory 'TMSU/tags/Empty/': Software caused connection abort
~$ ls TMSU/tags
ls: cannot access 'TMSU/tags': Transport endpoint is not connected

The only way I've found to fix this is by unmounting with fusermount -uz and delete the tag with tmsu (deleting the mounted folder with rm will fail).

So far only empty directories are causing this issue, browsing tags with files does work fine.

from tmsu.

oniony avatar oniony commented on June 5, 2024

Hi, thanks for raising this and sorry to hear you're having problems. However this issue is closed so this would be better in a new ticket, I think. That way I can assign it to a release and classify it, &c.

If you could raise a new one with the same text then that'd be better as you'll get notifications when it's fixed. If you've don't, I'll copy the text to a new issue later today.

Thanks,
Paul

from tmsu.

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.