Hugo build failed with "error calling Paginate: invoked multiple times with different arguments"

I can’t upload new informations to my website. I saw that free domains have changed to “.app”. After that no more uploads have work. I’ve tried to deploy it without success.
Error mensage:
Netlify Status

hey victor, can you give us a little more information please? which site is this concerning, and how are you trying to deploy?

Hey @VictorCarreira,
It looks like your deploys broke sometime in April. Here’s your last successful deploy:
https://app.netlify.com/sites/oncapitulo/deploys/5ea504cc821c8b0007b664cc

The following one failed with this error, which has to do with Hugo templates:

8:50:36 PM: Error: Error building site: failed to render pages: render of "home" failed: "/opt/build/repo/layouts/index.html:44:25": execute of template failed: template: index.html:44:25: executing "index.html" at <.Paginate>: error calling Paginate: invoked multiple times with different arguments

https://app.netlify.com/sites/oncapitulo/deploys/5ea504f10738cb000756805d

Please let us know if you continue to run into issues after fixing that error.

I’ve moved this thread out of Changes coming to Netlify site URLs since it seems like a separate issue.

Hi @jen.
The issue is in “index.html” and I have take a look. It is located in https://github.com/Student-Chapter-2020/SCwebsite/tree/master/layouts but it is the same as original https://github.com/syui/hugo-theme-air/tree/master/layouts that I have based on.

Going back to the commit where your deploys broke, you have a slug with a space in it:

Could you try lower-casing and removing the space (so, topic-1) and seeing if that improves anything for you?

Hello @jen. I have make a test using english lower-cases letters in that specific commit. But didn’t work it out.

I have changed “Topic 1” to “topic-1”. Here is my last deploy log.

12:08:46 PM: Build ready to start
12:09:30 PM: build-image version: ca811f47d4c1cbd1812d1eb6ecb0c977e86d1a1d
12:09:30 PM: build-image tag: v3.3.20
12:09:30 PM: buildbot version: be8ecf2af866e16fa4301cc5c14de2ccbbb21cf4
12:09:30 PM: Fetching cached dependencies
12:09:30 PM: Starting to download cache of 254.8KB
12:09:30 PM: Finished downloading cache in 81.556532ms
12:09:30 PM: Starting to extract cache
12:09:30 PM: Failed to fetch cache, continuing with build
12:09:30 PM: Starting to prepare the repo for build
12:09:31 PM: No cached dependencies found. Cloning fresh repo
12:09:31 PM: git clone https://github.com/Student-Chapter-2020/SCwebsite
12:09:32 PM: Preparing Git Reference refs/heads/master
12:09:33 PM: Starting build script
12:09:33 PM: Installing dependencies
12:09:33 PM: Python version set to 2.7
12:09:35 PM: Downloading and installing node v10.21.0…
12:09:35 PM: Downloading https://nodejs.org/dist/v10.21.0/node-v10.21.0-linux-x64.tar.xz
12:09:35 PM: Computing checksum with sha256sum
12:09:35 PM: Checksums matched!
12:09:38 PM: Now using node v10.21.0 (npm v6.14.4)
12:09:38 PM: Started restoring cached build plugins
12:09:38 PM: Finished restoring cached build plugins
12:09:38 PM: Attempting ruby version 2.6.2, read from environment
12:09:39 PM: Using ruby version 2.6.2
12:09:39 PM: Using PHP version 5.6
12:09:39 PM: 5.2 is already installed.
12:09:39 PM: Using Swift version 5.2
12:09:39 PM: Started restoring cached go cache
12:09:39 PM: Finished restoring cached go cache
12:09:39 PM: Installing Go version 1.12
12:09:48 PM: unset GOOS;
12:09:48 PM: unset GOARCH;
12:09:48 PM: export GOROOT=’/opt/buildhome/.gimme_cache/versions/go1.12.linux.amd64’;
12:09:48 PM: export PATH="/opt/buildhome/.gimme_cache/versions/go1.12.linux.amd64/bin:${PATH}";
12:09:48 PM: go version >&2;
12:09:48 PM: export GIMME_ENV="/opt/buildhome/.gimme_cache/env/go1.12.linux.amd64.env"
12:09:48 PM: go version go1.12 linux/amd64
12:09:48 PM: Installing missing commands
12:09:48 PM: Verify run directory
12:09:49 PM: ​
12:09:49 PM: ┌─────────────────────────────┐
12:09:49 PM: │ Netlify Build │
12:09:49 PM: └─────────────────────────────┘
12:09:49 PM: ​
12:09:49 PM: ❯ Version
12:09:49 PM: @netlify/build 3.0.1
12:09:49 PM: ​
12:09:49 PM: ❯ Flags
12:09:49 PM: deployId: 5f15b37eabce2edf6c3de2b2
12:09:49 PM: mode: buildbot
12:09:49 PM: ​
12:09:49 PM: ❯ Current directory
12:09:49 PM: /opt/build/repo
12:09:49 PM: ​
12:09:49 PM: ❯ Config file
12:09:49 PM: No config file was defined: using default values.
12:09:49 PM: ​
12:09:49 PM: ❯ Context
12:09:49 PM: production
12:09:49 PM: ​
12:09:49 PM: ❯ Loading plugins
12:09:49 PM: - netlify-build-plugin-speedcurve@1.0.5 from Netlify app
12:09:49 PM: ​
12:09:49 PM: ┌───────────────────────────────────────────────────────────┐
12:09:49 PM: │ 1. onSuccess command from netlify-build-plugin-speedcurve │
12:09:49 PM: └───────────────────────────────────────────────────────────┘
12:09:49 PM: ​
12:09:49 PM: Preparing to trigger SpeedCurve tests
12:09:50 PM: ​
12:09:50 PM: ┌─────────────────────────────────────────────────┐
12:09:50 PM: │ Plugin “netlify-build-plugin-speedcurve” failed │
12:09:50 PM: └─────────────────────────────────────────────────┘
12:09:50 PM: ​
12:09:50 PM: Error message
12:09:50 PM: Error: SpeedCurve test failed
12:09:50 PM: SpeedCurve test couldn’t be submitted. Status: Unauthorized​
12:09:50 PM: Plugin details
12:09:50 PM: Package: netlify-build-plugin-speedcurve
12:09:50 PM: Version: 1.0.5
12:09:50 PM: Repository: git+https://github.com/tkadlec/netlify-build-plugin-speedcurve.git
12:09:50 PM: npm link: https://www.npmjs.com/package/netlify-build-plugin-speedcurve
12:09:50 PM: Report issues: https://github.com/tkadlec/netlify-build-plugin-speedcurve/issues
12:09:50 PM: ​
12:09:50 PM: Error location
12:09:50 PM: In “onSuccess” event in “netlify-build-plugin-speedcurve” from Netlify app
12:09:50 PM: at onSuccess (/opt/buildhome/.netlify-build-plugins/node_modules/netlify-build-plugin-speedcurve/index.js:33:24)
12:09:50 PM: ​
12:09:50 PM: Resolved config
12:09:50 PM: plugins:
12:09:50 PM: - inputs: {}
12:09:50 PM: origin: ui
12:09:50 PM: package: netlify-build-plugin-speedcurve
12:09:50 PM: Caching artifacts
12:09:50 PM: Started saving build plugins
12:09:50 PM: Finished saving build plugins
12:09:50 PM: Started saving pip cache
12:09:50 PM: Finished saving pip cache
12:09:50 PM: Started saving emacs cask dependencies
12:09:50 PM: Finished saving emacs cask dependencies
12:09:50 PM: Started saving maven dependencies
12:09:50 PM: Finished saving maven dependencies
12:09:50 PM: Started saving boot dependencies
12:09:50 PM: Finished saving boot dependencies
12:09:50 PM: Started saving go dependencies
12:09:52 PM: Finished saving go dependencies
12:09:56 PM: Error running command: Build script returned non-zero exit code: 1
12:09:56 PM: Failing build: Failed to build site
12:09:56 PM: Failed during stage ‘building site’: Build script returned non-zero exit code: 1
12:09:56 PM: Finished processing build request in 26.195405866s

This message really caught my eye.

hey there, it looks like this might be an issue with the Speedcurve plugin.

You’d want to reach out to the plugin author to see if they have some ideas for you on what might be causing this!