The site is published but got Page Not Found Error
My build Settings is
Build command: python freeze.py
Publish directory: build
Hers’s the Deploy log
11:31:51 AM: Build ready to start
11:31:56 AM: build-image version: b0258b965567defc4a2d7e2f2dec2e00c8f73ad6
11:31:56 AM: build-image tag: v3.4.1
11:31:56 AM: buildbot version: fcbc7a79f7372e5995cf02954ef19fc48d20c871
11:31:56 AM: Fetching cached dependencies
11:31:56 AM: Starting to download cache of 1.0GB
11:32:01 AM: Finished downloading cache in 4.606446465s
11:32:01 AM: Starting to extract cache
11:32:13 AM: Finished extracting cache in 12.253979539s
11:32:13 AM: Finished fetching cache in 17.154344773s
11:32:13 AM: Starting to prepare the repo for build
11:32:14 AM: Preparing Git Reference refs/heads/master
11:32:17 AM: Starting build script
11:32:17 AM: Installing dependencies
11:32:17 AM: Python version set to 3.7
11:32:18 AM: Started restoring cached node version
11:32:20 AM: Finished restoring cached node version
11:32:21 AM: v12.18.0 is already installed.
11:32:22 AM: Now using node v12.18.0 (npm v6.14.4)
11:32:22 AM: Started restoring cached build plugins
11:32:22 AM: Finished restoring cached build plugins
11:32:22 AM: Attempting ruby version 2.7.1, read from environment
11:32:24 AM: Using ruby version 2.7.1
11:32:24 AM: Using PHP version 5.6
11:32:24 AM: Installing pip dependencies
11:32:24 AM: Started restoring cached pip cache
11:32:25 AM: Finished restoring cached pip cache
11:32:34 AM: Collecting flask==1.1.2
11:32:34 AM: Using cached Flask-1.1.2-py2.py3-none-any.whl (94 kB)
11:32:34 AM: Collecting jinja2==2.11.2
11:32:34 AM: Using cached Jinja2-2.11.2-py2.py3-none-any.whl (125 kB)
11:32:34 AM: Collecting virtualenv==20.0.31
11:32:34 AM: Using cached virtualenv-20.0.31-py2.py3-none-any.whl (4.9 MB)
11:32:35 AM: Collecting pillow
11:32:35 AM: Using cached Pillow-7.2.0-cp37-cp37m-manylinux1_x86_64.whl (2.2 MB)
11:32:35 AM: Collecting torch
11:32:39 AM: Using cached torch-1.6.0-cp37-cp37m-manylinux1_x86_64.whl (748.8 MB)
11:33:00 AM: Collecting opencv-python
11:33:01 AM: Using cached opencv_python-4.4.0.42-cp37-cp37m-manylinux2014_x86_64.whl (49.4 MB)
11:33:02 AM: Collecting Frozen-Flask
11:33:02 AM: Using cached Frozen_Flask-0.15-py2.py3-none-any.whl (20 kB)
11:33:02 AM: Collecting itsdangerous>=0.24
11:33:02 AM: Using cached itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)
11:33:02 AM: Collecting click>=5.1
11:33:02 AM: Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
11:33:02 AM: Collecting Werkzeug>=0.15
11:33:02 AM: Using cached Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
11:33:02 AM: Collecting MarkupSafe>=0.23
11:33:02 AM: Using cached MarkupSafe-1.1.1-cp37-cp37m-manylinux1_x86_64.whl (27 kB)
11:33:02 AM: Collecting importlib-metadata<2,>=0.12; python_version < “3.8”
11:33:02 AM: Using cached importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
11:33:02 AM: Collecting appdirs<2,>=1.4.3
11:33:02 AM: Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
11:33:03 AM: Collecting distlib<1,>=0.3.1
11:33:03 AM: Using cached distlib-0.3.1-py2.py3-none-any.whl (335 kB)
11:33:03 AM: Collecting six<2,>=1.9.0
11:33:03 AM: Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
11:33:03 AM: Collecting filelock<4,>=3.0.0
11:33:03 AM: Using cached filelock-3.0.12-py3-none-any.whl (7.6 kB)
11:33:03 AM: Collecting numpy
11:33:03 AM: Using cached numpy-1.19.1-cp37-cp37m-manylinux2010_x86_64.whl (14.5 MB)
11:33:04 AM: Processing /opt/buildhome/.cache/pip/wheels/56/b0/fe/4410d17b32f1f0c3cf54cdfb2bc04d7b4b8f4ae377e2229ba0/future-0.18.2-py3-none-any.whl
11:33:04 AM: Collecting zipp>=0.5
11:33:04 AM: Using cached zipp-3.1.0-py3-none-any.whl (4.9 kB)
11:33:04 AM: Installing collected packages: itsdangerous, click, MarkupSafe, jinja2, Werkzeug, flask, zipp, importlib-metadata, appdirs, distlib, six, filelock, virtualenv, pillow, numpy, future, torch, opencv-python, Frozen-Flask
11:33:43 AM: Successfully installed Frozen-Flask-0.15 MarkupSafe-1.1.1 Werkzeug-1.0.1 appdirs-1.4.4 click-7.1.2 distlib-0.3.1 filelock-3.0.12 flask-1.1.2 future-0.18.2 importlib-metadata-1.7.0 itsdangerous-1.1.0 jinja2-2.11.2 numpy-1.19.1 opencv-python-4.4.0.42 pillow-7.2.0 six-1.15.0 torch-1.6.0 virtualenv-20.0.31 zipp-3.1.0
11:33:43 AM: WARNING: You are using pip version 20.2b1; however, version 20.2.2 is available.
11:33:43 AM: You should consider upgrading via the ‘/opt/buildhome/python3.7/bin/python3.7 -m pip install --upgrade pip’ command.
11:33:44 AM: Pip dependencies installed
11:33:44 AM: 5.2 is already installed.
11:33:44 AM: Using Swift version 5.2
11:33:44 AM: Started restoring cached go cache
11:33:44 AM: Finished restoring cached go cache
11:33:44 AM: go version go1.14.4 linux/amd64
11:33:44 AM: go version go1.14.4 linux/amd64
11:33:44 AM: Installing missing commands
11:33:44 AM: Verify run directory
11:33:45 AM:
11:33:45 AM: ┌─────────────────────────────┐
11:33:45 AM: │ Netlify Build │
11:33:45 AM: └─────────────────────────────┘
11:33:45 AM:
11:33:45 AM: ❯ Version
11:33:45 AM: @netlify/build 3.3.0
11:33:45 AM:
11:33:45 AM: ❯ Flags
11:33:45 AM: deployId: 5f4f0417290ab90007f0226b
11:33:45 AM: mode: buildbot
11:33:45 AM:
11:33:45 AM: ❯ Current directory
11:33:45 AM: /opt/build/repo
11:33:45 AM:
11:33:45 AM: ❯ Config file
11:33:45 AM: No config file was defined: using default values.
11:33:45 AM:
11:33:45 AM: ❯ Context
11:33:45 AM: production
11:33:45 AM:
11:33:45 AM: ┌───────────────────────────────────┐
11:33:45 AM: │ 1. Build command from Netlify app │
11:33:45 AM: └───────────────────────────────────┘
11:33:45 AM:
11:33:45 AM: $ python freeze.py
11:33:46 AM: /opt/buildhome/python3.7/lib/python3.7/site-packages/flask_frozen/init.py:199: MimetypeMismatchWarning: Filename extension of ‘index’ (type application/octet-stream) does not match Content-Type: text/html; charset=utf-8
11:33:46 AM: return set(page.url for page in self.freeze_yield())
11:33:46 AM:
11:33:46 AM: (build.command completed in 1.2s)
11:33:46 AM:
11:33:46 AM: ┌─────────────────────────────┐
11:33:46 AM: │ Netlify Build Complete │
11:33:46 AM: └─────────────────────────────┘
11:33:46 AM:
11:33:46 AM: (Netlify Build completed in 1.2s)
11:33:46 AM: Caching artifacts
11:33:46 AM: Started saving build plugins
11:33:46 AM: Finished saving build plugins
11:33:46 AM: Started saving pip cache
11:34:04 AM: Finished saving pip cache
11:34:04 AM: Started saving emacs cask dependencies
11:34:04 AM: Finished saving emacs cask dependencies
11:34:04 AM: Started saving maven dependencies
11:34:04 AM: Finished saving maven dependencies
11:34:04 AM: Started saving boot dependencies
11:34:04 AM: Finished saving boot dependencies
11:34:04 AM: Started saving go dependencies
11:34:04 AM: Finished saving go dependencies
11:34:04 AM: Build script success
11:34:04 AM: Starting to deploy site from ‘build’
11:34:04 AM: Creating deploy tree
11:34:04 AM: Creating deploy upload records
11:34:04 AM: 0 new files to upload
11:34:04 AM: 0 new functions to upload
11:34:04 AM: Starting post processing
11:34:04 AM: Post processing - HTML
11:34:04 AM: Post processing - header rules
11:34:04 AM: Post processing - redirect rules
11:34:04 AM: Post processing done
11:34:04 AM: Site is live
11:35:13 AM: Finished processing build request in 3m16.488951929s
what’s wrong?? Pleas help me.