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

panel compile not working on windows #7598

Open
xavArtley opened this issue Jan 7, 2025 · 0 comments
Open

panel compile not working on windows #7598

xavArtley opened this issue Jan 7, 2025 · 0 comments
Milestone

Comments

@xavArtley
Copy link
Collaborator

panel version 1.5.1
python 3.12
windows 10

On windows 10 the command to check if "esbuild" is intalled failed

the following script:

import subprocess as sbp


print(sbp.run(["esbuild", "--version"], capture_output=True, shell=True)) # OK
print(sbp.run(["esbuild.cmd", "--version"], capture_output=True)) # OK

print(sbp.run(["esbuild", "--version"], capture_output=True)) #Failed

produce

CompletedProcess(args=['esbuild', '--version'], returncode=0, stdout=b'0.24.2\n', stderr=b'')
CompletedProcess(args=['esbuild.cmd', '--version'], returncode=0, stdout=b'0.24.2\n', stderr=b'')
Traceback (most recent call last):
  File "c:\CIVA_RP\CIVA_ARQANE\src_python\pyciva\pyciva\confetti.py", line 24, in <module>
    print(sbp.run(["esbuild", "--version"], capture_output=True))
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\CIVA_RP\CIVA_ARQANE\ProjetCIVA\ceaComponents\dev\python\Lib\subprocess.py", line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\CIVA_RP\CIVA_ARQANE\ProjetCIVA\ceaComponents\dev\python\Lib\subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\CIVA_RP\CIVA_ARQANE\ProjetCIVA\ceaComponents\dev\python\Lib\subprocess.py", line 1538, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] Le fichier spécifié est introuvable
@philippjfr philippjfr added this to the v1.6.0 milestone Jan 7, 2025
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

2 participants