create repo wont work #353

Closed
opened 2021-04-08 10:54:26 +00:00 by Photographix · 3 comments

Hello,

I have been using tea for some time and built myself a script to upload to gitea. This ran for a long time without any problems. Currently I get the following error:

tea repos create --name TestRepo --owner HomeLab

Error: 422 Unprocessable Entity: {"message":"org does not exist [id: 0, name: HomeLab]","url":"http://gitea.tier01.intern/api/swagger"}

unfortunately i can't find the error. i haven't changed anything in the script for a long time.

Gitea Version: 1.15.0+dev-65-g0bb8bd819
Tea Version: 0.7

tea org

+----------------+----------+---------+----------+-------------+
|      NAME      | FULLNAME | WEBSITE | LOCATION | DESCRIPTION |
+----------------+----------+---------+----------+-------------+
| ---_Lokal      |          |         |          |             |
| ---_TempDivers |          |         |          |             |
| ----aris       |          |         |          |             |
| ----Smile      |          |         |          |             |
| HomeLab        |          |         |          |             |
+----------------+----------+---------+----------+-------------+

Kind regards

Hello, I have been using tea for some time and built myself a script to upload to gitea. This ran for a long time without any problems. Currently I get the following error: ``` tea repos create --name TestRepo --owner HomeLab Error: 422 Unprocessable Entity: {"message":"org does not exist [id: 0, name: HomeLab]","url":"http://gitea.tier01.intern/api/swagger"} ``` unfortunately i can't find the error. i haven't changed anything in the script for a long time. Gitea Version: 1.15.0+dev-65-g0bb8bd819 Tea Version: 0.7 ``` tea org +----------------+----------+---------+----------+-------------+ | NAME | FULLNAME | WEBSITE | LOCATION | DESCRIPTION | +----------------+----------+---------+----------+-------------+ | ---_Lokal | | | | | | ---_TempDivers | | | | | | ----aris | | | | | | ----Smile | | | | | | HomeLab | | | | | +----------------+----------+---------+----------+-------------+ ``` Kind regards
Member

Thanks for reporting.
I can't reproduce with tea 0.7 + gitea 1.14.0-rc2 or 1.15.0+dev-21-gf4e677edb (current gitea.com) or 1.15.0+dev-84-g0d1a5e0ff (current try.gitea.io).

Did it work for you before with tea 0.7? In that case this is an upstream bug in gitea..

Thanks for reporting. I can't reproduce with tea 0.7 + gitea 1.14.0-rc2 or 1.15.0+dev-21-gf4e677edb (current gitea.com) or 1.15.0+dev-84-g0d1a5e0ff (current try.gitea.io). Did it work for you before with tea 0.7? In that case this is an upstream bug in gitea..
noerw added the
status/needs-feedback
label 2021-04-08 12:38:53 +00:00
Author

Hello, unfortunately I have only just got around to replying to the email. I use Gitea as a Docker image from here https://hub.docker.com/r/gitea/gitea with the tag :latest. In the "beginning" this worked with Tea. I think it was last autumn - at some point it didn't work anymore. I know that's not meaningful ;-) I didn't think about it either. Now I wanted to adapt my script and use it with the current version 0.7. Now it no longer works. It also doesn't work with the old version 0.4.

Hello, unfortunately I have only just got around to replying to the email. I use Gitea as a Docker image from here https://hub.docker.com/r/gitea/gitea with the tag :latest. In the "beginning" this worked with Tea. I think it was last autumn - at some point it didn't work anymore. I know that's not meaningful ;-) I didn't think about it either. Now I wanted to adapt my script and use it with the current version 0.7. Now it no longer works. It also doesn't work with the old version 0.4.
Member

closing, as I still can't reproduce. If the problem comes up again with a recent tea version feel free to re-open :)

closing, as I still can't reproduce. If the problem comes up again with a recent tea version feel free to re-open :)
noerw closed this issue 2021-06-24 10:23:22 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/tea#353
No description provided.