indygreg / indygreg/PyOxidizer

additonal guidance for 'extension module foo cannot be loaded from memory but memory loading required'

Open
#438 1 comment 7 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
6.2k
Forks
256
PR merge metrics
No merged PRs in 30d

Description

Similar to https://github.com/indygreg/PyOxidizer/issues/434, I'm trying to distribute [gdbgui](https://github.com/cs01/gdbgui) with pyoxidizer, and am getting
```
extension module brotli cannot be loaded from memory but memory loading required
```
brotli is a dependency of my package that I don't know much about. The error message doesn't really mean anything to me, and I don't really know what to do about it.

Is it possible to add some other guidance on options, or a link to a doc to read more? I had success with
```
policy.resources_location_fallback = "filesystem-relative:prefix"
```
as @TheFriendlyCoder mentioned.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start by searching the repository for the exact error text and for documentation covering policy.resources_location_fallback and filesystem-relative:prefix. Done means the error or related documentation explains the available options and points users to guidance for Python extension modules that require memory loading.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.