-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Error when uploading RubyGems packages #19837
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
Comments
I've just tried uploading a Docker image and that worked fine |
Yeah, packages are disabled for try.gitea.io as far as I know. |
Could you upload you gem file and/or project? I added only a basic marshal implementation to get it working. Maybe something is missing. |
As it's a private gem, I can't share the contents of it but I did have issues uploading the rails gem |
Hmm, I'll give it another go then. What version are you using there? |
Gitea is current master but there were no changes to the packages registry since 1.17-RC1.
|
Just tried it with another gem of mine, twitchrb and I get a similar error, but different lines:
|
Thank you for the new example. Found the error this time and fixed it in #20470. |
Just to confirm this is now fixed for a few Rubygems I've tested. Thanks! |
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:
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
The text was updated successfully, but these errors were encountered: