error to show wiki page #5389

Closed
opened 2025-11-02 06:23:16 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @hisune on GitHub (May 13, 2020).

  • Gitea version (or commit ref): 1.11.5
  • Git version: 1.131.14.2
  • Operating system: centos 6.9
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

The page shown as below:

template: repo/wiki/view:48:14: executing "repo/wiki/view" at <(not .DisableHTTP) (and (not .DisableSSH) (or .IsSigned .ExposeAnonSSH))>: can't give argument to non-function not $.DisableHTTP

Originally created by @hisune on GitHub (May 13, 2020). - Gitea version (or commit ref): 1.11.5 - Git version: 1.131.14.2 - Operating system: centos 6.9 - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No - [ ] Not relevant - Log gist: ## Description The page shown as below: template: repo/wiki/view:48:14: executing "repo/wiki/view" at <(not $.DisableHTTP) (and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH))>: can't give argument to non-function not $.DisableHTTP
GiteaMirror added the issue/duplicate label 2025-11-02 06:23:16 -06:00
Author
Owner

@jolheiser commented on GitHub (May 13, 2020):

Duplicate of #10552

The problem comes from building Gitea 1.11.x (or presumably earlier versions as well) using Go 1.14 rather than 1.13 (or below)

This issue is fixed and will be included in Gitea 1.12+

@jolheiser commented on GitHub (May 13, 2020): Duplicate of #10552 The problem comes from building Gitea 1.11.x (or presumably earlier versions as well) using Go 1.14 rather than 1.13 (or below) This issue is fixed and will be included in Gitea 1.12+
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5389