Skip to content

Error running resqui against kallisto GitHub Repo #56

@kmpf

Description

@kmpf

Hi there,

I did run:

resqui -u git@github.com:pachterlab/kallisto.git -v

and got this error:

Loading default configuration.
GitHub API token ✖
Repository URL: https://github.com/pachterlab/kallisto.git
Project name: kallisto
Author: Pall Melsted
Email: pmelsted@gmail.com
Version: v0.52.0
Branch, tag or commit hash: 4e9f29cf3b021260415430c057a22469ca081391
Checking indicators ...
  has_license/HowFairIs (0.0s): Traceback (most recent call last):
  File "~/miniconda3/bin/resqui", line 7, in <module>
    sys.exit(resqui())
             ~~~~~~^^
  File "~/miniconda3/lib/python3.13/site-packages/resqui/cli.py", line 209, in resqui
    results = getattr(plugin_instance, plugin_method)(url, branch_hash_or_tag)
  File "~/miniconda3/lib/python3.13/site-packages/resqui/plugins/howfairis.py", line 31, in has_license
    result = self.executor.execute(script)
  File "~/miniconda3/lib/python3.13/site-packages/resqui/executors/python.py", line 62, in execute
    return subprocess.run(
           ~~~~~~~~~~~~~~^
        [f"{self.temp_dir}/bin/python", "-c", script],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        env=env,
        ^^^^^^^^
    )
    ^
  File "~/miniconda3/lib/python3.13/subprocess.py", line 554, in run
    with Popen(*popenargs, **kwargs) as process:
         ~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/home/hubert/miniconda3/lib/python3.13/subprocess.py", line 1039, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                        pass_fds, cwd, env,
                        ^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
                        gid, gids, uid, umask,
                        ^^^^^^^^^^^^^^^^^^^^^^
                        start_new_session, process_group)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/miniconda3/lib/python3.13/subprocess.py", line 1908, in _execute_child
    env_list.append(k + b'=' + os.fsencode(v))
                               ~~~~~~~~~~~^^^
  File "<frozen os>", line 850, in fsencode
TypeError: expected str, bytes or os.PathLike object, not NoneType

What did I do wrong? Some options missing in the call?

Also the error message does not really help me to identify the error.

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