-
Notifications
You must be signed in to change notification settings - Fork 80
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
Installation fails due to missing photoslibrary/v1 go package #53
Comments
Yes, it has been removed by Google. I could fetch it manually from: https://github.com/influxdata/influxdata-operator/blob/master/vendor/google.golang.org/api/photoslibrary/v1/photoslibrary-gen.go Recommendation from Google is to "vendor" the package directly in this git |
How does one install this now? |
That's I want to know also... EDIT: Found it... :-) |
@coltc50 could you share your workaround? it looks like that library has been deprecated, so I can work to vendor it here is a little more info. |
@nmrshll I'm planning on vendoring the library and will submit a PR. let me know if you can think of a better approach. |
@leoalekseyev wanted to say thanks for reporting the bug sorry for the delay. |
@leoalekseyev @coltc50 please test this PR |
|
@voltcraft1 @calisro Workaround until fix is merged: Download https://github.com/influxdata/influxdata-operator/blob/master/vendor/google.golang.org/api/photoslibrary/v1/photoslibrary-gen.go to the directory mentioned above. Re-run the installation as mentioned in the readme. |
@goldcove export GO111MODULE=on Then it complains about non-....v1 module: go: finding github.com/mattn/go-isatty v0.0.4 I found this: But it seems too many levels deep for me to succeed. I just want to upload photos... What step am I missing? |
I can confirm that @goldcove steps are working by slighting changing the command:
|
I got it installed and running with the help of this thread, thanks all! |
@poleguy would you mind posting your installation steps? I can't get it working. |
Tried Yexiaoxing's workaround, still can't install. Am on macOS.
|
Note if you get an error on the last step like
it means you didn't download the |
I'm trying to update my rfgamaral/docker-gphotos-uploader with the latest version but I'm failing with the instructions described here. This is what I get:
Thoughts? |
I've reverted the previous PR. go doesn't allow to have some dependancies as vendor and others as Go Modules. I'm currently blocked at this stage. I don't want to put all dependancies as vendor. I'd like to put only this one. One approach is converting this library into an internal module. What do you think? |
Not working yet... |
Hi guys! |
Installation via
go get -u github.com/nmrshll/gphotos-uploader-cli/cmd/gphotos-uploader-cli
fails withpackage google.golang.org/api/photoslibrary/v1: cannot find package "google.golang.org/api/photoslibrary/v1"
Indeed, this package is not in the list if you go to https://godoc.org/google.golang.org/api -- has it been removed?
The text was updated successfully, but these errors were encountered: