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

Conan package malformed version #21284

Closed
losysh opened this issue Sep 28, 2022 · 0 comments · Fixed by #21275
Closed

Conan package malformed version #21284

losysh opened this issue Sep 28, 2022 · 0 comments · Fixed by #21275
Labels

Comments

@losysh
Copy link

losysh commented Sep 28, 2022

Description

After uploading the libbacktrace/cci.20210118 conan package I got internal server error (500) when was trying to see packages in web interface.

List of uploaded packages:

conan search -r ve-infra
Existing package recipes:

boost/1.77.0
bzip2/1.0.8
flatbuffers/2.0.5
libbacktrace/cci.20210118
openssl/1.0.2u
sqlite3/3.38.1
yaml-cpp/0.7.0
zlib/1.2.12

Gitea log records:

2022/09/28 11:12:28 ...kages/conan/conan.go:62:apiError() [E] [633401ec-13] Malformed version: cci.20210118
2022/09/28 11:13:28 ...kages/conan/conan.go:62:apiError() [E] [633401ec-14] unexpected EOF
2022/09/28 11:14:28 ...kages/conan/conan.go:62:apiError() [E] [63340228] unexpected EOF
2022/09/28 11:14:40 .../web/user/package.go:58:ListPackages() [E] [63340270] GetPackageDescriptors: Malformed version: cci.20210118
2022/09/28 11:14:48 .../web/user/package.go:58:ListPackages() [E] [63340278-8] GetPackageDescriptors: Malformed version: cci.20210118
2022/09/28 11:14:50 .../web/user/package.go:58:ListPackages() [E] [6334027a] GetPackageDescriptors: Malformed version: cci.20210118
2022/09/28 11:14:50 .../web/user/package.go:58:ListPackages() [E] [6334027a-2] GetPackageDescriptors: Malformed version: cci.20210118
2022/09/28 11:15:06 .../web/user/package.go:58:ListPackages() [E] [6334028a] GetPackageDescriptors: Malformed version: cci.20210118
2022/09/28 11:15:54 .../web/user/package.go:58:ListPackages() [E] [633402ba] GetPackageDescriptors: Malformed version: cci.20210118
2022/09/28 11:18:56 .../web/user/package.go:58:ListPackages() [E] [63340370] GetPackageDescriptors: Malformed version: cci.20210118

I'm unable to remove the libbacktrace/cci.20210118 package, got the same error:

2022/09/28 11:34:35 ...kages/conan/conan.go:62:apiError() [E] [6334071b-2] Malformed version: cci.20210118
2022/09/28 11:34:35 ...kages/conan/conan.go:62:apiError() [E] [6334071b-3] Malformed version: cci.20210118
2022/09/28 11:34:35 ...kages/conan/conan.go:62:apiError() [E] [6334071b-4] Malformed version: cci.20210118

Gitea Version

1.17.2

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

I have downloaded binary gitea from official site.
It runs on host by systemd service.

Database

PostgreSQL

@wxiaoguang wxiaoguang linked a pull request Oct 5, 2022 that will close this issue
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant