Comments (10)
👋 Hi @okhadkevich & @rickrich, similarly to this PR #283, this repo needs to get updated with the latest changes we made to urfave/cli
.
Here's an example of someone making this update: purpleidea/mgmt#571.
from cloud-print-connector.
@franzhildenburg
Ahh. Looks like I missed the files targeting Windows. I've applied the windows-related changes on my fork. Now testing it on a Windows machine.
from cloud-print-connector.
You shouldn't be running go get
on the fork as it's meant as a PR to merge to this upstream repo. That's why the imports don't refer to itself and the fork won't compile.
from cloud-print-connector.
When I'm testing the fork, what I do is the ff.:
# The ff. will fail but will pull cloud-print-connector and to your $GOPATH
go get -v github.com/google/cloud-print-connector/...
# Checkout forked branch
cd $GOPATH/src/github.com/google/cloud-print-connector/
git remote add jkcdarunday https://github.com/jkcdarunday/cloud-print-connector
git fetch --all
git checkout -b migrate-urfave-cli jkcdarunday/migrate-urfave-cli
# Build
mkdir build
go build -o build/ ./...
from cloud-print-connector.
Ditto. Running under Fedora 30...
$ go get -insecure -u github.com/google/cloud-print-connector/...
# github.com/google/cloud-print-connector/lib
src/github.com/google/cloud-print-connector/lib/config_unix.go:235:15: context.GlobalString
undefined (type *cli.Context has no field or method GlobalString)
It used to work...
from cloud-print-connector.
Hmm. I'm trying to migrate this at jkcdarunday@ae788e8.
It currently compiles but I should do some tests first before I turn it into a PR.
from cloud-print-connector.
Hmm. I'm trying to migrate this at jkcdarunday@ae788e8.
It currently compiles but I should do some tests first before I turn it into a PR.
With your changes @jkcdarunday , I'm now getting:
$ go get github.com/jkcdarunday/cloud-print-connector/...
# github.com/google/cloud-print-connector/lib
go\src\github.com\google\cloud-print-connector\lib\config_windows.go:162:15: context.GlobalString undefined (type *cli.Context has no field or method GlobalString)
# github.com/jkcdarunday/cloud-print-connector/lib
go\src\github.com\jkcdarunday\cloud-print-connector\lib\config_windows.go:162:15: context.GlobalString undefined (type *cli.Context has no field or method GlobalString)
Thanks
from cloud-print-connector.
$ go get -insecure -u github.com/jkcdarunday/cloud-print-connector/...
# github.com/google/cloud-print-connector/lib
src/github.com/google/cloud-print-connector/lib/config_unix.go:235:15: context.GlobalString undefined (type *cli.Context has no field or method GlobalString)
Still doesn't work!
from cloud-print-connector.
$ go get -insecure -u github.com/jkcdarunday/cloud-print-connector/...
# github.com/google/cloud-print-connector/lib
src/github.com/google/cloud-print-connector/lib/config_unix.go:235:15: context.GlobalString undefined (type *cli.Context has no field or method GlobalString)
Still doesn't work!
I think you have to rename the "imports" that refer to "github.com/google/cloud-print-connector" to make it work under jkcdarunday's fork.
E.g. in jkcdarunday/cloud-print-connector/blob/master/gcp-connector-util/init.go, rename "github.com/google/cloud-print-connector/lib" to "github.com/jkcdarunday/cloud-print-connector/lib".
from cloud-print-connector.
So I should file a bug report on jkcdarunday fork, then?
Where are the Issues for jkcdarunday fork?
$ pwd
/home/rick/go
$ find . -print | grep blob
$
No "blob" at all!
$ vi ./src/github.com/jkcdarunday/cloud-print-connector/gcp-connector-util/init.go
"github.com/jkcdarunday/cloud-print-connector/gcp"
"github.com/jkcdarunday/cloud-print-connector/lib"
:wq
$ go get -insecure -u github.com/jkcdarunday/cloud-print-connector/...
# github.com/google/cloud-print-connector/lib
src/github.com/google/cloud-print-connector/lib/config_unix.go:235:15: context.GlobalString undefined (type *cli.Context has no field or method GlobalString)
from cloud-print-connector.
Related Issues (20)
- Shared printers are unshared if I update printer through CUPS
- unrecognized import path "context"
- No official (Windows) release since Apr 4, 2018
- Raspberry PI Google Cloud Print Connector: Says Job Printed, Printer doesn't Print.
- Wrong usage of fmt.Printf
- Variable j is incorrectly written as variable i
- Paper Sizes not displayed on Android
- Windows Sevice stops HOT 1
- fails to build with newer cups.
- is it possible to compile this for OpenWRT ? HOT 3
- Blank pages printed
- Fail to register printer HOT 1
- After 10 years, Google Cloud Print will finally be out of beta... straight into ad giant's graveyard HOT 5
- cgo-gcc-prolog:94:2: warning: ‘cupsGetPPD3’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] HOT 2
- Rename printer (local) HOT 1
- FTBFS with CUPS 2.3.0 HOT 3
- Google Is Killing Cloud Print at the End of 2020 HOT 1
- google drive select folder
- cannot find module providing package launchpad.net/go-xdg/v0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloud-print-connector.