Closed
Description
Description
When trying to upload a RubyGem package to Gitea (main version 1.17.0+dev-629-ge0273bad7), I get a cannot unmarshal !!seq into string
error.
gem push --host http://localhost:3000/api/packages/dean/rubygems mygem.gem
Pushing gem to http://localhost:3000/api/packages/dean/rubygems...
yaml: unmarshal errors:
line 57: cannot unmarshal !!seq into string
Looking at the server logs, it shows this:
2022/05/29 11:58:23 ...rubygems/rubygems.go:24:apiError() [E] [629351cf] yaml: unmarshal errors:
line 57: cannot unmarshal !!seq into string
2022/05/29 11:58:23 [629351cf] router: completed POST /api/packages/dean/rubygems/api/v1/gems for 127.0.0.1:39502, 500 Internal Server Error in 13.3ms @ rubygems/rubygems.go:193(rubygems.UploadPackageFile)
When trying to reproduce the error on try.gitea.io, it doesn't show an error but when checking my account, no Gem has been uploaded so I'm not sure if packages are fully enabled on that system?
Gitea Version
1.17.0+dev-629-ge0273bad7
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.34.1
Operating System
Ubuntu 22.04
How are you running Gitea?
Just running the binary in the command line
Database
SQLite