indygreg / indygreg/PyOxidizer

Cannot run default project from `init-config-file` and no stack trace

Open
#380 14 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
6.2k
Forks
256
PR merge metrics
No merged PRs in 30d

Description

Attempting to build a newly-created project from `init-config-file`, on macOS 10.14 and with pyoxidizer 0.11.0, with `run` produces:

```
error[PYOXIDIZER_PYTHON_EXECUTABLE]: could not execute command: No such file or directory (os error 2)

Caused by:
No such file or directory (os error 2)
--> ./pyoxidizer.bzl:270:5
|
270 | files.add_python_resource(".", exe)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ to_file_manifest()

error: could not execute command: No such file or directory (os error 2)

Caused by:
No such file or directory (os error 2)
```

I assume it's the exe that it can't find but there's not much in the way of a stack trace that would allow me to dig deeper into the issue.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the `run` command from a project created with `init-config-file`, then inspect `./pyoxidizer.bzl` at line 270 where `files.add_python_resource` reports the failure. Done means the default generated project runs successfully or reports an actionable stack trace identifying the missing executable.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.