Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot find package "github.com/hanwen/go-fuse/v2/fs" #146

Open
fff7d1bc opened this issue Feb 24, 2020 · 4 comments
Open

cannot find package "github.com/hanwen/go-fuse/v2/fs" #146

fff7d1bc opened this issue Feb 24, 2020 · 4 comments

Comments

@fff7d1bc
Copy link

Currently one cannot build go-mtpfs because of how go-fuse branches changed.

@anhofmann
Copy link

I have the same problem on ubuntu 18.04

@hanwen
Copy link
Owner

hanwen commented Apr 23, 2020

you should be able to build it if you clone go-mtpfs, and build inside the dir, as it is using modules these days.

@anhofmann
Copy link

I executed "go build ./" inside the cloned repo:
main.go:15:2: cannot find package "github.com/hanwen/go-fuse/v2/fs" in any of:
/usr/lib/go-1.10/src/github.com/hanwen/go-fuse/v2/fs (from $GOROOT)
/home/anhofman/go/src/github.com/hanwen/go-fuse/v2/fs (from $GOPATH)
main.go:16:2: cannot find package "github.com/hanwen/go-fuse/v2/fuse" in any of:
/usr/lib/go-1.10/src/github.com/hanwen/go-fuse/v2/fuse (from $GOROOT)
/home/anhofman/go/src/github.com/hanwen/go-fuse/v2/fuse (from $GOPATH)
main.go:17:2: cannot find package "github.com/hanwen/go-mtpfs/fs" in any of:
/usr/lib/go-1.10/src/github.com/hanwen/go-mtpfs/fs (from $GOROOT)
/home/anhofman/go/src/github.com/hanwen/go-mtpfs/fs (from $GOPATH)
main.go:18:2: cannot find package "github.com/hanwen/go-mtpfs/mtp" in any of:
/usr/lib/go-1.10/src/github.com/hanwen/go-mtpfs/mtp (from $GOROOT)
/home/anhofman/go/src/github.com/hanwen/go-mtpfs/mtp (from $GOPATH)

I tried the compiled releases from xs4all, it successfully mounted but then got a lot of these errors when I tried to access folders with a lot of files:

2020/04/24 07:08:41 GetStorageInfo 10001: mtp: cannot run operation GetStorageInfo, device is not open 2020/04/24 07:08:43 GetObjectHandles failed: mtp: cannot run operation GetObjectHandles, device is not open

So I gave up on this.

@hanwen
Copy link
Owner

hanwen commented Apr 24, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants