Skip to content
New issue

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

build failed with 500 #17

Open
YexiangYan opened this issue Sep 10, 2021 · 7 comments
Open

build failed with 500 #17

YexiangYan opened this issue Sep 10, 2021 · 7 comments

Comments

@YexiangYan
Copy link

Hi, tabnine-jupyterlab alwas build failed with 500, jupyter lab 3.1.7. thank you

@bilucodota
Copy link
Contributor

Hi @YexiangYan
jupyerlab_tabnine is prebuilt extension.
Can you please attach the output of what you're seeing?

@YexiangYan
Copy link
Author

jupyerlab_tabnine is prebuilt extension.

thank you. the output is as follows:

[LabBuildApp] JupyterLab 3.1.7
[LabBuildApp] Building in D:\Research_Soft_Install\Anaconda3\share\jupyter\lab
[LabBuildApp] Building jupyterlab assets (production, minimized)
Build failed.
Troubleshooting: If the build failed due to an out-of-memory error, you
may be able to fix it by disabling the dev_build and/or minimize options.

If you are building via the jupyter lab build command, you can disable
these options like so:

jupyter lab build --dev-build=False --minimize=False

You can also disable these options for all JupyterLab builds by adding these
lines to a Jupyter config file named jupyter_config.py:

c.LabBuildApp.minimize = False
c.LabBuildApp.dev_build = False

If you don't already have a jupyter_config.py file, you can create one by
adding a blank file of that name to any of the Jupyter config directories.
The config directories can be listed by running:

jupyter --paths

Explanation:

  • dev-build: This option controls whether a dev or a more streamlined
    production build is used. This option will default to False (i.e., the
    production build) for most users. However, if you have any labextensions
    installed from local files, this option will instead default to True.
    Explicitly setting dev-build to False will ensure that the production
    build is used in all circumstances.

  • minimize: This option controls whether your JS bundle is minified
    during the Webpack build, which helps to improve JupyterLab's overall
    performance. However, the minifier plugin used by Webpack is very memory
    intensive, so turning it off may help the build finish successfully in
    low-memory environments.

An error occurred.
RuntimeError: JupyterLab failed to build
See the log file for details: C:\Users\yan\AppData\Local\Temp\jupyterlab-debug-8izy4f3l.log

@YexiangYan
Copy link
Author

thank you @bilucodota

@bilucodota
Copy link
Contributor

What is the output of pip freeze ?

@OscarABazanez
Copy link

I have the same problem and this is my pip freeze.
anaconda-clean @ file:https:///tmp/build/80754af9/anaconda-clean_1614068742457/work
anaconda-client @ file:https:///tmp/build/80754af9/anaconda-client_1624473988214/work
anaconda-navigator==2.0.4
anyio @ file:https:///tmp/build/80754af9/anyio_1617783275907/work/dist
argon2-cffi @ file:https:///tmp/build/80754af9/argon2-cffi_1613037097816/work
async-generator @ file:https:///home/ktietz/src/ci/async_generator_1611927993394/work
attrs @ file:https:///tmp/build/80754af9/attrs_1620827162558/work
autopep8==1.5.7
Babel @ file:https:///tmp/build/80754af9/babel_1620871417480/work
backcall==0.2.0
backports.functools-lru-cache @ file:https:///tmp/build/80754af9/backports.functools_lru_cache_1618170165463/work
backports.tempfile @ file:https:///home/linux1/recipes/ci/backports.tempfile_1610991236607/work
backports.weakref==1.0.post1
beautifulsoup4==4.9.3
bleach @ file:https:///tmp/build/80754af9/bleach_1628110601003/work
Bottleneck==1.3.2
brotlipy==0.7.0
bs4==0.0.1
certifi==2021.5.30
cffi @ file:https:///tmp/build/80754af9/cffi_1625807838443/work
chardet @ file:https:///tmp/build/80754af9/chardet_1607706746162/work
charset-normalizer @ file:https:///tmp/build/80754af9/charset-normalizer_1630003229654/work
click @ file:https:///tmp/build/80754af9/click_1621604852318/work
clyent==1.2.2
colorama==0.4.4
conda==4.10.3
conda-build==3.21.5
conda-content-trust @ file:https:///tmp/build/80754af9/conda-content-trust_1617045594566/work
conda-package-handling @ file:https:///tmp/build/80754af9/conda-package-handling_1618262148928/work
conda-repo-cli @ file:https:///tmp/build/80754af9/conda-repo-cli_1620168426516/work
conda-token @ file:https:///tmp/build/80754af9/conda-token_1620076980546/work
conda-verify==3.4.2
cryptography @ file:https:///tmp/build/80754af9/cryptography_1616769286105/work
debugpy==1.4.1
decorator==5.0.9
defusedxml @ file:https:///tmp/build/80754af9/defusedxml_1615228127516/work
entrypoints==0.3
filelock @ file:https:///home/linux1/recipes/ci/filelock_1610993975404/work
future==0.18.2
gitdb==4.0.7
GitPython==3.1.18
glob2 @ file:https:///home/linux1/recipes/ci/glob2_1610991677669/work
idna @ file:https:///tmp/build/80754af9/idna_1622654382723/work
importlib-metadata @ file:https:///tmp/build/80754af9/importlib-metadata_1617874469820/work
ipykernel==6.3.1
ipython==7.27.0
ipython-genutils==0.2.0
ipywidgets @ file:https:///tmp/build/80754af9/ipywidgets_1610481889018/work
jedi==0.18.0
Jinja2 @ file:https:///tmp/build/80754af9/jinja2_1612213139570/work
json5 @ file:https:///tmp/build/80754af9/json5_1624432770122/work
jsonschema @ file:https:///Users/ktietz/demo/mc3/conda-bld/jsonschema_1630511932244/work
jupyter-client==7.0.2
jupyter-contrib-core==0.3.3
jupyter-contrib-nbextensions==0.5.1
jupyter-core==4.7.1
jupyter-highlight-selected-word==0.2.0
jupyter-latex-envs==1.4.6
jupyter-nbextensions-configurator==0.4.1
jupyter-server @ file:https:///tmp/build/80754af9/jupyter_server_1616083640759/work
jupyter-server-mathjax==0.2.3
jupyter-tabnine==1.2.3
jupyterlab @ file:https:///tmp/build/80754af9/jupyterlab_1629124491270/work
jupyterlab-git==0.32.2
jupyterlab-pygments @ file:https:///tmp/build/80754af9/jupyterlab_pygments_1601490720602/work
jupyterlab-server @ file:https:///tmp/build/80754af9/jupyterlab_server_1629763241507/work
jupyterlab-tabnine==0.0.24
jupyterlab-widgets @ file:https:///tmp/build/80754af9/jupyterlab_widgets_1609884341231/work
libarchive-c @ file:https:///tmp/build/80754af9/python-libarchive-c_1617780486945/work
mamba @ file:https:///home/conda/feedstock_root/build_artifacts/mamba_1605870594102/work
MarkupSafe @ file:https:///tmp/build/80754af9/markupsafe_1621528148836/work
matplotlib-inline==0.1.2
mistune==0.8.4
mkl-fft==1.3.0
mkl-random @ file:https:///tmp/build/80754af9/mkl_random_1626186064646/work
mkl-service==2.4.0
navigator-updater==0.2.1
nbclassic @ file:https:///tmp/build/80754af9/nbclassic_1616085367084/work
nbclient @ file:https:///tmp/build/80754af9/nbclient_1614364831625/work
nbconvert @ file:https:///tmp/build/80754af9/nbconvert_1624479060632/work
nbdime==3.1.0
nbformat @ file:https:///tmp/build/80754af9/nbformat_1617383369282/work
nbresuse @ file:https:///home/conda/feedstock_root/build_artifacts/nbresuse_1606130378799/work
nest-asyncio==1.5.1
notebook @ file:https:///tmp/build/80754af9/notebook_1629205607169/work
numexpr @ file:https:///tmp/build/80754af9/numexpr_1618856167419/work
numpy @ file:https:///tmp/build/80754af9/numpy_and_numpy_base_1626271506491/work
olefile @ file:https:///Users/ktietz/demo/mc3/conda-bld/olefile_1629805411829/work
packaging @ file:https:///tmp/build/80754af9/packaging_1625611678980/work
pandas==1.3.2
pandocfilters @ file:https:///tmp/build/80754af9/pandocfilters_1605120460739/work
parso==0.8.2
pexpect @ file:https:///tmp/build/80754af9/pexpect_1605563209008/work
pickleshare==0.7.5
Pillow @ file:https:///tmp/build/80754af9/pillow_1625655817137/work
pkginfo==1.7.1
prometheus-client @ file:https:///tmp/build/80754af9/prometheus_client_1623189609245/work
prompt-toolkit==3.0.20
psutil @ file:https:///tmp/build/80754af9/psutil_1612298023621/work
ptyprocess @ file:https:///tmp/build/80754af9/ptyprocess_1609355006118/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl
pycodestyle==2.7.0
pycosat==0.6.3
pycparser @ file:https:///tmp/build/80754af9/pycparser_1594388511720/work
Pygments==2.10.0
pyOpenSSL @ file:https:///tmp/build/80754af9/pyopenssl_1608057966937/work
pyparsing @ file:https:///home/linux1/recipes/ci/pyparsing_1610983426697/work
pyrsistent @ file:https:///tmp/build/80754af9/pyrsistent_1600141720057/work
PySocks @ file:https:///tmp/build/80754af9/pysocks_1605305779399/work
python-dateutil==2.8.2
pytz @ file:https:///tmp/build/80754af9/pytz_1612215392582/work
PyYAML==5.4.1
pyzmq @ file:https:///tmp/build/80754af9/pyzmq_1628276010766/work
QtPy @ file:https:///tmp/build/80754af9/qtpy_1629397026935/work
requests @ file:https:///tmp/build/80754af9/requests_1629994808627/work
ruamel-yaml-conda @ file:https:///tmp/build/80754af9/ruamel_yaml_1616016699510/work
Send2Trash @ file:https:///tmp/build/80754af9/send2trash_1607525499227/work
sip==4.19.13
six @ file:https:///tmp/build/80754af9/six_1623709665295/work
smmap==4.0.0
sniffio @ file:https:///tmp/build/80754af9/sniffio_1614030475067/work
soupsieve==2.2.1
terminado==0.9.4
testpath @ file:https:///tmp/build/80754af9/testpath_1624638946665/work
toml==0.10.2
tornado==6.1
tqdm @ file:https:///tmp/build/80754af9/tqdm_1629302309755/work
traitlets==5.1.0
urllib3 @ file:https:///tmp/build/80754af9/urllib3_1625084269274/work
wcwidth==0.2.5
webencodings==0.5.1
widgetsnbextension==3.5.1
xmltodict @ file:https:///Users/ktietz/demo/mc3/conda-bld/xmltodict_1629301980723/work
zipp @ file:https:///tmp/build/80754af9/zipp_1625570634446/work

@misterjay92
Copy link

Similiar issue here. Any progress? :/

@4R9UN
Copy link

4R9UN commented Jul 10, 2022

???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants