mirror of
https://github.com/go-shiori/shiori.git
synced 2026-04-25 06:25:54 +03:00
[GH-ISSUE #279] Failed to build from source using go get command, warc processor throw error #202
Labels
No labels
component:backend
component:builds
component:builds
component:extension
component:frontend
component:readability
database
database:mysql
database:postgres
database:sqlite
feature:ebooks
github_actions
good first issue
hacktoberfest
note:duplicate?
note:fixed?
note:out-of-scope?
os:windows
priority:high
priority:low
pull-request
resolution:as-intended
resolution:cant-reproduce
resolution:duplicate
resolution:fixed
resolution:wontfix
tag:TBD
tag:big-task
tag:help-wanted
tag:huge-data
tag:meta
tag:more-info
tag:next
tag:no-stale
tag:requires-migrations
tag:research
tag:security 🛡️
tag:stale
tag:waiting-for-assignee
type:bug
type:documentation
type:enhancement
type:meta
type:ux
user:cli
user:web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shiori#202
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @venssy on GitHub (Oct 17, 2020).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/279
I try to build by running
go get -u -v github.com/go-shiori/shiori, then i can't find executable in $GOPATH/bin, and i notice two problem or warning, what should i do?# github.com/go-shiori/warc/internal/processor
go/src/github.com/go-shiori/warc/internal/processor/css.go:39:23: cannot use input (type io.Reader) as type *parse.Input in argument to css.NewLexer
go/src/github.com/go-shiori/warc/internal/processor/js.go:27:22: cannot use input (type io.Reader) as type *parse.Input in argument to js.NewLexer
I run on debian9, try with go1.12, 1.13 and 1.15, all same output.
@mailinglists35 commented on GitHub (Oct 23, 2020):
same here. ubuntu 18.04 lts, golang 1.15
@jcm4atx commented on GitHub (Jul 11, 2021):
I found a fix, but now have another problem. Although looks like a completely unrelated problem.
In the file
go/pkg/mod/github.com/go-shiori/shiori@v1.5.0/pkg/warc/internal/archiver/processor.goI changed these lines near the top:to this
But now I have an error further into the build.
I don't know golang whatsoever and I'm not certain what I changed even makes sense.
@fmartingr commented on GitHub (Feb 10, 2022):
It seems that one shiori dependency to package archives is unmaintained. We need to replace it.
Moved to #353