Code Monkey home page Code Monkey logo

privnote's People

Contributors

dombo avatar mhogerheijde avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

privnote's Issues

breaking changes on privnote broke the tool

I have been trying a nodejs package and this one and they're both erroring.
It looks like something changed on their side. Below is the output of the error:

./privnote -c ~/test.yaml -f /etc/hosts
Using config file: /home/maxadamo/test.yaml
2022/09/13 11:52:45 failed parse response invalid character '<' looking for beginning of value
panic: failed parse response invalid character '<' looking for beginning of value

goroutine 1 [running]:
log.Panicf({0x824c1f?, 0x11ab?}, {0xc00012db60?, 0x79c660?, 0xc0001a3040?})
	/usr/lib/go-1.18/src/log/log.go:392 +0x67
github.com/dombo/privnote/lib.CreateNote(0x7c2000?, {0x81c0b3, 0x1})
	/home/maxadamo/repos/privnote/lib/privnote.go:123 +0x131a
github.com/dombo/privnote/cmd.glob..func3(0xb02be0?, {0x81c6db?, 0x4?, 0x4?})
	/home/maxadamo/repos/privnote/cmd/privnote.go:85 +0x85
github.com/spf13/cobra.(*Command).execute(0xb02be0, {0xc0000120b0, 0x4, 0x4})
	/home/maxadamo/go/pkg/mod/github.com/spf13/[email protected]/command.go:846 +0x663
github.com/spf13/cobra.(*Command).ExecuteC(0xb02be0)
	/home/maxadamo/go/pkg/mod/github.com/spf13/[email protected]/command.go:950 +0x39c
github.com/spf13/cobra.(*Command).Execute(...)
	/home/maxadamo/go/pkg/mod/github.com/spf13/[email protected]/command.go:887
github.com/dombo/privnote/cmd.Execute(...)
	/home/maxadamo/repos/privnote/cmd/privnote.go:109
main.main()
	/home/maxadamo/repos/privnote/main.go:6 +0x25

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.