Search feature failed after upgrading to 6.02
See original GitHub issueI checked that…
- … the documentation does not mention anything about my problem
- … the problem doesn’t occur with the default MkDocs template
- … the problem is not in any of my customizations (CSS, JS, template)
- … there are no open or closed issues that are related to my problem
Description
If you try to access: https://djl-ai.s3.amazonaws.com/documentation/nightly/docs/index.html and do the search, it will keep doing search initializing…
I have double checked the search.json file is there and accessable.
This issue is not reproducible locally, only online have the issue.
Expected behavior
Search should bring related result
Actual behavior
Search is initializing
Steps to reproduce the bug
We have an action pipeline that allow you to build https://github.com/awslabs/djl/blob/master/.github/workflows/docs.yml
pip3 install nbconvert mkdocs mkdocs-exclude mknotebooks mkdocs-material jupyter Pygments
Package versions
mkdocs, version 1.1.2 Python 3.7.3
- Python:
python --version
- MkDocs:
mkdocs --version
- Material:
Version: 6.0.1
Project configuration
site_name: Deep Java Library
repo_name: awslabs/djl
repo_url: https://github.com/awslabs/djl/
site_url: https://djl.ai
use_directory_urls: false
markdown_extensions:
- codehilite
- toc:
permalink: true
theme:
name: material
logo: website/img/DJL.svg
favicon: website/img/favicon.png
features:
- navigation.tabs
palette:
primary: light-blue
accent: light-blue
google_analytics:
- UA-159559852-2
- auto
extra:
social:
- icon: fontawesome/brands/github-alt
link: https://github.com/awslabs/djl
- icon: fontawesome/brands/twitter
link: https://twitter.com/deepjavalibrary
- icon: fontawesome/brands/slack
link: https://deepjavalibrary.slack.com/
- icon: fontawesome/brands/zhihu
link: https://zhuanlan.zhihu.com/c_1255493231133417472
docs_dir: '../'
plugins:
- search
- mknotebooks
- exclude:
regex:
- '.*\.(symbol|params|pt|jar|gz|zip|txt|json|sh|bat|cmd|puml|g4|java|py|cc|h|pro|properties|xml|gradlew|gradle|Dockerfile|RepositoryFactory|EngineProvider|ZooProvider)$|(docker|integration|testing|tools)/.*$'
nav:
- HOME: 'README.md'
- 'docs/quick_start.md'
- 'docs/interactive_tool.md'
- 'docs/README.md'
- 'examples/README.md'
- 'docs/development/README.md'
- 'docs/roadmap.md'
- 'docs/faq.md'
- User manual:
- 'docs/development/setup.md'
- 'docs/model-zoo.md'
- 'docs/dataset.md'
- 'docs/load_model.md'
- 'docs/development/configure_logging.md'
- 'docs/development/cache_management.md'
- 'docs/development/memory_management.md'
- 'docs/development/how_to_use_dataset.md'
- 'docs/how_to_collect_metrics.md'
- 'docs/development/troubleshooting.md'
- 'docs/development/inference_performance_optimization.md'
- MXNet:
- Overview: 'mxnet/README.md'
- MXNet Engine: 'mxnet/mxnet-engine/README.md'
- MXNet Model Zoo: 'mxnet/mxnet-model-zoo/README.md'
- MXNet native library: 'mxnet/native/README.md'
- Import Gluon Model: 'docs/mxnet/how_to_convert_your_model_to_symbol.md'
- Load a MXNet Model: 'jupyter/load_mxnet_model.ipynb'
- ONNX Runtime:
- Overview: 'onnxruntime/onnxruntime-engine/README.md'
- ONNX runtime Hybrid Engine: 'docs/onnxruntime/hybrid_engine.md'
- Load a ONNX Model: 'jupyter/onnxruntime/machine_learning_with_ONNXRuntime.ipynb'
- PyTorch:
- Overview: 'pytorch/README.md'
- PyTorch Engine: 'pytorch/pytorch-engine/README.md'
- PyTorch Model Zoo: 'pytorch/pytorch-model-zoo/README.md'
- Pytorch native library: 'pytorch/pytorch-native/README.md'
- Import PyTorch Model: 'docs/pytorch/how_to_convert_your_model_to_torchscript.md'
- Load a PyTorch Model: 'jupyter/load_pytorch_model.ipynb'
- TensorFlow:
- Overview: 'tensorflow/README.md'
- TensorFlow Engine: 'tensorflow/tensorflow-engine/README.md'
- TensorFlow Model Zoo: 'tensorflow/tensorflow-model-zoo/README.md'
- Import TensorFlow Model: 'docs/tensorflow/how_to_import_tensorflow_models_in_DJL.md'
- Load a TensorFlow Model: 'jupyter/tensorflow/pneumonia_detection.ipynb'
- Extensions:
- Android: 'android/README.md'
- AWS S3 support: 'extensions/aws-ai/README.md'
- Hadoop support: 'extensions/hadoop/README.md'
System information
Hosted on S3 which runs on a Linux machine
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
JS Error after upgrade to 6.02 - WordPress.org
Hi,. the template used always had the problem that it had its own scroll function, which caused uneven scrolling. With the update to...
Read more >WordPress Site Broken After an Update? Here's How to Fix It
First try clearing both your server-side and browser cache. If you still get this error, or you see it in incognito mode, then...
Read more >.NET 6.0.1 / .NET 6.0.2 Windows Update fails with error ...
A workaround is to install the package that is failing manually by downloading it from the .NET 6.0.101 x64 SDK download site, then...
Read more >Fix problems in Windows Search - Microsoft Learn
In Windows Settings, select Update & Security > Troubleshoot. Under Find and fix other problems, select Search and Indexing.
Read more >DNN 6.02.08 Upgrade to 7.02.02 FromsAuthentication module ...
The biggest problems I encounter when upgrade from early versions of DNN (5 or 6) to a latter version of DNN7 usually are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I know what’s going on. Some other dependencies crashes my setup. The image rendering failure caused it present as text in the html. And the Search.json rise up to 50mb. It basically block loading the search. After some workaround, I managed to get it work with 6.0.2. Thanks for your help!
This error doesn’t originate from this project, as prebuilding is done by MkDocs, not Material. Could you try if it works without prebuilding? Also, prebuilding support is still experimental as stated by the docs.