indygreg / indygreg/PyOxidizer

import raven fails

Open
#63 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

compatibility
Dominant language
Rust
Stars
6.2k
Forks
256
PR merge metrics
No merged PRs in 30d

Description

```
yacron-app packaged into /home/gjc/projects/yacron-app/build/apps/yacron-app/debug
Traceback (most recent call last):
File "yacron.__main__", line 8, in
File "yacron.cron", line 10, in
File "yacron.job", line 11, in
File "raven", line 44, in
File "raven", line 30, in get_revision
NameError: name '__file__' is not defined
SystemError
error: cargo run failed
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the packaged yacron-app traceback, following yacron.__main__, yacron.cron, yacron.job, and raven.get_revision where __file__ is missing. Reproduce the failure with cargo run and verify that importing raven in the packaged application completes without the reported NameError.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.