We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
Not sure when did this start, but I'm getting the following error when using code search:
An error occurred: Render failed, failed to render template: explore/code, error: template error: builtin(bindata):code/searchresults:34:83 : executing "code/searchresults" at <Safe>: wrong type for value; expected string; got template.HTML ---------------------------------------------------------------------- <td class="lines-code chroma"><code class="code-inner">{{.FormattedLines | Safe}}</code></td> ^ ----------------------------------------------------------------------
Looks like the search does work but rendering the results fails:
I'm using bleve indexer with the following settings:
bleve
[indexer] REPO_INDEXER_ENABLED = true REPO_INDEXER_PATH = indexers/repos.bleve MAX_FILE_SIZE = 1048576 REPO_INDEXER_INCLUDE = REPO_INDEXER_EXCLUDE = resources/bin/**
The above config worked for me until I upgraded to one of the recent version (not sure which update, I haven't used code search for a bit).
I will appreciate any help - thanks very much!
1.21.3
No
No response
ubuntu
Running gitea binary as a systemd service on Ubuntu 22.04
MySQL/MariaDB
The text was updated successfully, but these errors were encountered:
duplicated with #28575 ?
Sorry, something went wrong.
Please use 1.21 nightly build.
-> Fix 500 error of searching commits (#28576) #28579
Thanks all! I really appreciate it :)
No branches or pull requests
Description
Hello,
Not sure when did this start, but I'm getting the following error when using code search:
Looks like the search does work but rendering the results fails:
I'm using
bleve
indexer with the following settings:The above config worked for me until I upgraded to one of the recent version (not sure which update, I haven't used code search for a bit).
I will appreciate any help - thanks very much!
Gitea Version
1.21.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
ubuntu
How are you running Gitea?
Running gitea binary as a systemd service on Ubuntu 22.04
Database
MySQL/MariaDB
The text was updated successfully, but these errors were encountered: