PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Startup Crash/Error related to having LuaRocks in the environment LUA_PATH

Open
#3,497 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug crash
Dominant language
Lua
Stars
5.4k
Forks
2.4k
Avg merge
1d 12h
Merged PRs (30d)
26

Description

Check version
  • I'm running the latest version of Path of Building and I've verified this by checking the changelog
Check for duplicates
  • I've checked for duplicate issues by using the search function of the issue tracker
What is the expected behaviour/value?

Path of Building should start up with only its own lua directory in the lua path.

What is the actual behaviour/value?

Either Path of Building will crash after the initial loading window, or an error like this will appear:

How to reproduce the issue
  1. Install LuaRocks
  2. Install Path of Building Community fresh
  3. Run Path of Building Community
Build code
N/A
Screenshots

No response

Contributor guide

Open the contributing guide

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 by reproducing the crash after installing LuaRocks and running a fresh Path of Building Community installation. Inspect the startup code that initializes the Lua path and determine how the environment LUA_PATH is incorporated. Done means the application starts successfully with only its own Lua directory in the path and without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.