Skip to content

Binder no longer building #66

@epstein6

Description

@epstein6

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: d49261e . 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions