yl_report/functions.lua:44: attempt to concatenate field 'number' (a nil value) #3024
Labels
No Label
1. kind/balancing
1. kind/breaking
1. kind/bug
1. kind/construction
1. kind/documentation
1. kind/enhancement
1. kind/griefing
1. kind/invalid
1. kind/meme
1. kind/node limit
1. kind/other
1. kind/protocol
2. prio/controversial
2. prio/critical
2. prio/elevated
2. prio/good first issue
2. prio/interesting
2. prio/low
3. source/art
3. source/client
3. source/engine
3. source/ingame
3. source/integration
3. source/lag
3. source/license
3. source/mod upstream
3. source/unknown
3. source/website
4. step/approved
4. step/at work
4. step/blocked
4. step/discussion
4. step/help wanted
4. step/needs confirmation
4. step/partially fixed
4. step/question
4. step/ready to deploy
4. step/ready to QA test
4. step/want approval
5. result/cannot reproduce
5. result/duplicate
5. result/fixed
5. result/maybe
5. result/wontfix
ugh/petz
ugh/QA main
ugh/QA NOK
ugh/QA OK
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: your-land/bugtracker#3024
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
2022-11-13 14:38:48: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'yl_report' in callback environment_Step(): .../5.6.1/Minetest_live/bin/../mods/yl_report/functions.lua:44: attempt to concatenate field 'number' (a nil value)
2022-11-13 14:38:48: ERROR[Main]: stack traceback:
2022-11-13 14:38:48: ERROR[Main]: .../5.6.1/Minetest_live/bin/../mods/yl_report/functions.lua:44: in function 'result_of_gitea'
2022-11-13 14:38:48: ERROR[Main]: /home/mt/5.6.1/Minetest_live/bin/../mods/yl_report/init.lua:58: in function 'callback'
2022-11-13 14:38:48: ERROR[Main]: /home/mt/5.6.1/Minetest_live/bin/../builtin/game/misc.lua:213: in function 'func'
2022-11-13 14:38:48: ERROR[Main]: ...e/mt/5.6.1/Minetest_live/bin/../builtin/common/after.lua:27: in function 'func'
2022-11-13 14:38:48: ERROR[Main]: ...inetest_live/bin/../builtin/profiler/instrumentation.lua:107: in function <...inetest_live/bin/../builtin/profiler/instrumentation.lua:100>
2022-11-13 14:38:48: ERROR[Main]: .../mt/5.6.1/Minetest_live/bin/../builtin/game/register.lua:431: in function <.../mt/5.6.1/Minetest_live/bin/../builtin/game/register.lua:417>
2024-03-09 18:51:48: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'yl_report' in callback environment_Step(): .../5.7.0/Minetest_live/bin/../mods/yl_report/functions.lua:58: attempt to concatenate field 'number' (a nil value)
2024-03-09 18:51:48: ERROR[Main]: stack traceback:
2024-03-09 18:51:48: ERROR[Main]: .../5.7.0/Minetest_live/bin/../mods/yl_report/functions.lua:58: in function 'result_of_gitea'
2024-03-09 18:51:48: ERROR[Main]: /home/mt/5.7.0/Minetest_live/bin/../mods/yl_report/init.lua:59: in function 'callback'
2024-03-09 18:51:48: ERROR[Main]: /home/mt/5.7.0/Minetest_live/bin/../builtin/game/misc.lua:213: in function 'func'
2024-03-09 18:51:48: ERROR[Main]: ...e/mt/5.7.0/Minetest_live/bin/../builtin/common/after.lua:27: in function <...e/mt/5.7.0/Minetest_live/bin/../builtin/common/after.lua:11>
2024-03-09 18:51:48: ERROR[Main]: .../mt/5.7.0/Minetest_live/bin/../builtin/game/register.lua:446: in function <.../mt/5.7.0/Minetest_live/bin/../builtin/game/register.lua:432>
i added a check to hopefully prevent this from happening again:
beb18ca0b5
i haven't tested this, as my local test server doesn't include a gitea instance. i'm also not sure how to replicate the issue.
QA
Looks good to me, I don't have a repro either. Eventualy I'll go over all http mods and make them async.
i'm presuming the fix is live, we'll have to wait and see what happens when gitea has another hiccup.