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
Hi, thanks for this amazing project!
I've used your template to deploy my wordpress website on netlify but got an error mentioned below:
5:33:38 PM: Netlify Build 5:33:38 PM: ──────────────────────────────────────────────────────────────── 5:33:38 PM: 5:33:38 PM: ❯ Version 5:33:38 PM: @netlify/build 29.36.0 5:33:38 PM: 5:33:38 PM: ❯ Flags 5:33:38 PM: baseRelDir: true 5:33:38 PM: buildId: 65e709f7c14acb05dabc4343 5:33:38 PM: deployId: 65e709f7c14acb05dabc4345 5:33:38 PM: 5:33:38 PM: ❯ Current directory 5:33:38 PM: /opt/build/repo 5:33:38 PM: 5:33:38 PM: ❯ Config file 5:33:38 PM: /opt/build/repo/netlify.toml 5:33:38 PM: 5:33:38 PM: ❯ Context 5:33:38 PM: production 5:33:38 PM: 5:33:38 PM: build.command from netlify.toml 5:33:38 PM: ──────────────────────────────────────────────────────────────── 5:33:38 PM: 5:33:38 PM: $ python ss_script.py 5:33:39 PM: Failed during stage "building site": Build script returned non-zero exit code: 2 5:33:39 PM: Traceback (most recent call last): 5:33:39 PM: File "ss_script.py", line 67, in 5:33:39 PM: ss_zip_obj.create_project( 5:33:39 PM: File "/opt/build/repo/src/staticwordpress/core/workflow.py", line 162, in create_project 5:33:39 PM: self._project.update_ss() 5:33:39 PM: File "/opt/build/repo/src/staticwordpress/core/project.py", line 164, in update_ss 5:33:39 PM: self.src_url + CONFIGS["SIMPLYSTATIC"]["API"], 5:33:39 PM: TypeError: unsupported operand type(s) for +: "NoneType" and "str" 5:33:39 PM: 5:33:39 PM: "build.command" failed 5:33:39 PM: ──────────────────────────────────────────────────────────────── 5:33:39 PM: 5:33:39 PM: Error message 5:33:39 PM: Command failed with exit code 1: python ss_script.py (https://ntl.fyi/exit-code-1) 5:33:39 PM: 5:33:39 PM: Error location 5:33:39 PM: In build.command from netlify.toml: 5:33:39 PM: python ss_script.py 5:33:39 PM: 5:33:39 PM: Resolved config 5:33:39 PM: build: 5:33:39 PM: command: python ss_script.py 5:33:39 PM: commandOrigin: config 5:33:39 PM: publish: /opt/build/repo/output 5:33:39 PM: publishOrigin: config 5:33:39 PM: Build failed due to a user error: Build script returned non-zero exit code: 2 5:33:39 PM: Failing build: Failed to build site 5:33:39 PM: Finished processing build request in 23.973s
I've used exactly same process mentioned in your video.
The text was updated successfully, but these errors were encountered:
Can you please check wordpress API in you netlify configurations? Looks like you did not specify it.
Sorry, something went wrong.
where do you specify it?
No branches or pull requests
Hi,
thanks for this amazing project!
I've used your template to deploy my wordpress website on netlify but got an error mentioned below:
5:33:38 PM: Netlify Build
5:33:38 PM: ────────────────────────────────────────────────────────────────
5:33:38 PM:
5:33:38 PM: ❯ Version
5:33:38 PM: @netlify/build 29.36.0
5:33:38 PM:
5:33:38 PM: ❯ Flags
5:33:38 PM: baseRelDir: true
5:33:38 PM: buildId: 65e709f7c14acb05dabc4343
5:33:38 PM: deployId: 65e709f7c14acb05dabc4345
5:33:38 PM:
5:33:38 PM: ❯ Current directory
5:33:38 PM: /opt/build/repo
5:33:38 PM:
5:33:38 PM: ❯ Config file
5:33:38 PM: /opt/build/repo/netlify.toml
5:33:38 PM:
5:33:38 PM: ❯ Context
5:33:38 PM: production
5:33:38 PM:
5:33:38 PM: build.command from netlify.toml
5:33:38 PM: ────────────────────────────────────────────────────────────────
5:33:38 PM:
5:33:38 PM: $ python ss_script.py
5:33:39 PM: Failed during stage "building site": Build script returned non-zero exit code: 2
5:33:39 PM: Traceback (most recent call last):
5:33:39 PM: File "ss_script.py", line 67, in
5:33:39 PM: ss_zip_obj.create_project(
5:33:39 PM: File "/opt/build/repo/src/staticwordpress/core/workflow.py", line 162, in create_project
5:33:39 PM: self._project.update_ss()
5:33:39 PM: File "/opt/build/repo/src/staticwordpress/core/project.py", line 164, in update_ss
5:33:39 PM: self.src_url + CONFIGS["SIMPLYSTATIC"]["API"],
5:33:39 PM: TypeError: unsupported operand type(s) for +: "NoneType" and "str"
5:33:39 PM:
5:33:39 PM: "build.command" failed
5:33:39 PM: ────────────────────────────────────────────────────────────────
5:33:39 PM:
5:33:39 PM: Error message
5:33:39 PM: Command failed with exit code 1: python ss_script.py (https://ntl.fyi/exit-code-1)
5:33:39 PM:
5:33:39 PM: Error location
5:33:39 PM: In build.command from netlify.toml:
5:33:39 PM: python ss_script.py
5:33:39 PM:
5:33:39 PM: Resolved config
5:33:39 PM: build:
5:33:39 PM: command: python ss_script.py
5:33:39 PM: commandOrigin: config
5:33:39 PM: publish: /opt/build/repo/output
5:33:39 PM: publishOrigin: config
5:33:39 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
5:33:39 PM: Failing build: Failed to build site
5:33:39 PM: Finished processing build request in 23.973s
I've used exactly same process mentioned in your video.
The text was updated successfully, but these errors were encountered: