Jupyter4Science / jupyterlab-ide

JupyterLab + tab completion + debugger + linter = Fully-fleged IDE
MIT License
3 stars 0 forks source link

Binder no longer building #66

Open epstein6 opened 8 months ago

epstein6 commented 8 months ago

Hello,

I am trying to try out this repo through myBinder, but I get this error after clicking the link in the README:

Step 47/52 : RUN ./binder/postBuild
 ---> Running in 9d02d8a28ab5
Traceback (most recent call last):
  File "/home/jovyan/./binder/postBuild", line 9, in <module>
    subprocess.run(["jupyter", "labextension", "enable", dependency])
  File "/srv/conda/envs/notebook/lib/python3.10/subprocess.py", line 503, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/srv/conda/envs/notebook/lib/python3.10/subprocess.py", line 971, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/srv/conda/envs/notebook/lib/python3.10/subprocess.py", line 1796, in _execute_child
    self.pid = _posixsubprocess.fork_exec(
TypeError: expected str, bytes or os.PathLike object, not dict
Removing intermediate container 9d02d8a28ab5
The command '/bin/sh -c ./binder/postBuild' returned a non-zero code: 1

It looks like this commit yesterday is what is causing the problem: https://github.com/Accessible-Data-and-Code/jupyterlab-ide/commit/d49261e8b887631d40543209b3f8d2a05ce48b1d . That adds a dict to the dependencies array which isn't accepted by the subprocess.run in ./binder/postBuild. I'm not totally sure what the proper solution is here, but maybe just flattening the array or using a separate one?