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

Compilation for Windows fails #483

Open
flotux2 opened this issue Oct 19, 2024 · 4 comments
Open

Compilation for Windows fails #483

flotux2 opened this issue Oct 19, 2024 · 4 comments
Labels
wontfix This will not be worked on

Comments

@flotux2
Copy link

flotux2 commented Oct 19, 2024

Hi,

I'd like to use gphotos-uploader-cli with Windows but already fail to compile it.

I tried the following command:

go install github.com/gphotosuploader/gphotos-uploader-cli@latest

Then I get the following error message:

go: downloading github.com/gphotosuploader/gphotos-uploader-cli v1.2.0
go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: downloading github.com/gphotosuploader/googlemirror v0.4.0
go: downloading github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b
go: downloading github.com/sirupsen/logrus v1.4.2
go: downloading github.com/spf13/cobra v0.0.5
go: downloading github.com/spf13/afero v1.1.2
go: downloading github.com/gphotosuploader/google-photos-api-client-go/v2 v2.0.0-beta-1
go: downloading github.com/spf13/pflag v1.0.3
go: downloading github.com/client9/xson v0.0.0-20180321172152-0e50cdfc08c0
go: downloading github.com/k0kubun/go-ansi v0.0.0-20180517002512-3bf9e2903213
go: downloading github.com/syndtr/goleveldb v1.0.0
go: downloading golang.org/x/text v0.3.2
go: downloading github.com/pierrec/xxHash v0.1.5
go: downloading github.com/99designs/keyring v1.1.5
go: downloading golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4
go: downloading github.com/mattn/go-colorable v0.1.2
go: downloading github.com/mattn/go-isatty v0.0.9
go: downloading github.com/konsorten/go-windows-terminal-sequences v1.0.1
go: downloading google.golang.org/api v0.19.0
go: downloading github.com/inconshreveable/mousetrap v1.0.0
go: downloading cloud.google.com/go v0.38.0
go: downloading github.com/gadelkareem/cachita v0.2.1
go: downloading github.com/lestrrat-go/backoff v1.0.0
go: downloading golang.org/x/net v0.0.0-20190628185345-da137c7871d7
go: downloading github.com/danieljoos/wincred v1.0.2
go: downloading github.com/dvsekhvalnov/jose2go v0.0.0-20180829124132-7f401d37b68a
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/mtibben/percent v0.2.1
go: downloading github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db
go: downloading github.com/pkg/errors v0.8.1
go: downloading github.com/mediocregopher/radix/v3 v3.2.0
go: downloading github.com/vmihailenco/msgpack v4.0.1+incompatible
go: downloading golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a

github.com/gphotosuploader/gphotos-uploader-cli/internal/datastore/tokenstore

go\pkg\mod\github.com\gphotosuploader\gphotos-uploader-cli@v1.2.0\internal\datastore\tokenstore\keyring.go:117:36: cannot use syscall.Stdin (variable of type syscall.Handle) as int value in argument to terminal.ReadPassword

Has someone experience if compilation with Windows works?

Kind regards
Florian

@julianpensionjar
Copy link

I don't have a solution I'm afraid, but also interested in this. This looks like the tool I've been seeking to move from OneDrive file-based storage to Google Photos, but given starting from MS, ideally want to run this all from my Windows laptop. Any interest from the developer in providing a compiled release for Windows?!

@pacoorozco
Copy link
Member

pacoorozco commented Oct 27, 2024

Hi folks!

The CLI is not intended to be used in Windows. Windows (and Mac) users can enjoy the official Google Photos application.

In order to make it run in Windows several dependencies should be replaced by another that are Windows compatible 😢

Thanks for the interest

@pacoorozco pacoorozco added the wontfix This will not be worked on label Oct 27, 2024
@flotux2
Copy link
Author

flotux2 commented Nov 3, 2024

Sad to hear that it will not be ported to Windows. The official Google Photos application can of course be used with Windows to upload album by album but is not capable to do an bulk upload of several folders together with adding them to an album.
I need to use int128/gpup that is working but not maintained. I fear that it will stop working if Google changes something at the API.

At least you know that 2 guys would be happy if there would be a Windows version of it. ;-)

@pacoorozco
Copy link
Member

HI,

Yes I know there are some ppl interested on the Windows portability but unfortunately I'm not using Windows since a lot of years ago and maintaining a software without being active user is not something easy to do.

Feel free, of course, to submit patches or test cases and I'll be more than happy to review them and merge them...

And tbh the chanllenge of bringing it to Windows is interesting 😓

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants