Merged origin/master today and get error in some pages #96

Closed
opened 2025-11-02 03:08:48 -06:00 by GiteaMirror · 11 comments
Owner

Originally created by @yusiwen on GitHub (Nov 30, 2016).

  • Gitea version (or commit ref): 6519718706
  • Git version: 2.10.2
  • Operating system: Ubuntu 16.04 x64
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • SQLite
  • Log gist:

Description

Today I've pull origin/master in my local master branch, and when I click "Explore" on the page, I got:

template: explore/repo_list:19:8: executing "explore/repo_list" at <.DescriptionHTML>: can't evaluate field DescriptionHTML in type *models.Repository
Originally created by @yusiwen on GitHub (Nov 30, 2016). - Gitea version (or commit ref): 65197187069dfe3407e8954bb5af32ee688b0da4 - Git version: 2.10.2 - Operating system: Ubuntu 16.04 x64 - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] SQLite - Log gist: ## Description Today I've pull origin/master in my local master branch, and when I click "Explore" on the page, I got: ``` template: explore/repo_list:19:8: executing "explore/repo_list" at <.DescriptionHTML>: can't evaluate field DescriptionHTML in type *models.Repository ```
GiteaMirror added the issue/not-a-bug label 2025-11-02 03:08:48 -06:00
Author
Owner

@tboerger commented on GitHub (Nov 30, 2016):

Please update to the latest version, this have been fixed with https://github.com/go-gitea/gitea/pull/299

@tboerger commented on GitHub (Nov 30, 2016): Please update to the latest version, this have been fixed with https://github.com/go-gitea/gitea/pull/299
Author
Owner

@tboerger commented on GitHub (Nov 30, 2016):

Sorry, just have seen it's not fixed correctly. @lunny can you fix that?

@tboerger commented on GitHub (Nov 30, 2016): Sorry, just have seen it's not fixed correctly. @lunny can you fix that?
Author
Owner

@lunny commented on GitHub (Nov 30, 2016):

I will check this.

@lunny commented on GitHub (Nov 30, 2016): I will check this.
Author
Owner

@lunny commented on GitHub (Nov 30, 2016):

@tboerger do you reproduced that? I cannot.
@yusiwen maybe you have to make clean & make build.

@lunny commented on GitHub (Nov 30, 2016): @tboerger do you reproduced that? I cannot. @yusiwen maybe you have to `make clean & make build`.
Author
Owner

@yusiwen commented on GitHub (Nov 30, 2016):

@lunny
After make clean & make build, the newest binary file gitea is generated under bin folder, not in the project root path as it was before. So my service script can't start it. After I copied it to project root path, I restarted gitea, the problems are gone.

Thanks.

@yusiwen commented on GitHub (Nov 30, 2016): @lunny After `make clean & make build`, the newest binary file `gitea` is generated under `bin` folder, not in the project root path as it was before. So my service script can't start it. After I copied it to project root path, I restarted gitea, the problems are gone. Thanks.
Author
Owner

@tboerger commented on GitHub (Nov 30, 2016):

There is an pending pull request which builds the binary to the root folder again

@tboerger commented on GitHub (Nov 30, 2016): There is an pending pull request which builds the binary to the root folder again
Author
Owner

@tboerger commented on GitHub (Nov 30, 2016):

I have marked the issue as invalid, it was just related to outdated sources.

@tboerger commented on GitHub (Nov 30, 2016): I have marked the issue as invalid, it was just related to outdated sources.
Author
Owner

@tboerger commented on GitHub (Nov 30, 2016):

BTW, you can also call make only once, e.g. make clean build

@tboerger commented on GitHub (Nov 30, 2016): BTW, you can also call make only once, e.g. make clean build
Author
Owner

@yusiwen commented on GitHub (Nov 30, 2016):

@tboerger
Thanks. Will the binary be put under bin folder from now on or put back to project root? I runned gitea from bin folder, it complained about not found app.ini in bin/custom/app.ini, and a lot of errors as well before it exited.

@yusiwen commented on GitHub (Nov 30, 2016): @tboerger Thanks. Will the binary be put under `bin` folder from now on or put back to project root? I runned gitea from `bin` folder, it complained about not found `app.ini` in `bin/custom/app.ini`, and a lot of errors as well before it exited.
Author
Owner

@strk commented on GitHub (Nov 30, 2016):

Will be in the root, see #247

@strk commented on GitHub (Nov 30, 2016): Will be in the root, see #247
Author
Owner

@yusiwen commented on GitHub (Dec 8, 2016):

@strk I see, thanks

@yusiwen commented on GitHub (Dec 8, 2016): @strk I see, thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#96