togatoga / procon-gardener Goto Github PK
View Code? Open in Web Editor NEWArchive your accepted code
License: MIT License
Archive your accepted code
License: MIT License
I came across following error.
our distribution is Ubuntu 18.04.5 LTS and the version of Go is go1.11.5
go get github.com/togatoga/procon-gardener
# github.com/thoas/go-funk
go/src/github.com/thoas/go-funk/retrieve.go:16:34: result.IsZero undefined (type reflect.Value has no field or method IsZero)
go/src/github.com/thoas/go-funk/retrieve.go:60:59: resultValue.IsZero undefined (type reflect.Value has no field or method IsZero)
go/src/github.com/thoas/go-funk/transform.go:530:10: fRet.IsZero undefined (type reflect.Value has no field or method IsZero)
go/src/github.com/thoas/go-funk/transform.go:538:9: ret.IsZero undefined (type reflect.Value has no field or method IsZero)
go/src/github.com/thoas/go-funk/utils.go:49:36: actualValue.IsZero undefined (type reflect.Value has no field or method IsZero)
Windows11 Pro 22H2 OSビルド22621.2428
go1.21.4
(GitHub Actions上のUbuntu-latest、go1.18でも同様の症状を確認しました。)
procon-gardener archive
を実行すると、コードが保存されないまま実行が終了する。
具体的には、
$ procon-gardener archive
2023/11/10 23:39:15 Archiving 192 code...
と表示され、そのまま数分待機の後、何も表示されず、ファイルの作成もせずに実行が終了します。
AtcoderのエディタがAceに変更になったことで、提出ページのコードを取得するためのCSSセレクタも変更されたことが原因だと思います。実際、上記環境において、
Line 443 in 7128766
#submission-code
に変更したところ、正常にアーカイブされました。
doc.Find("#submission-code").Each(func(i int, gs *goquery.Selection) {
なので、このようにCSSセレクタを変更することで対応できると思います。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.