Skip to content

Sha2 related error when updating PoB #2

Description

@Hannesfornell

MacOS Tahoe 26.5.1
PoB version v2.66.1
PathOfBuilding-Mac v0.1.2

After I updated PoB I got an error message and couldn't continue.

Error:

In 'OnFrame': Classes/PoEAPI.lua:2: module 'sha2' not found:
no field package.preload['sha2']
no file '/Applications/Path of Building.app/Contents/Resources/lua/sha2.lua'
no file '/Applications/Path of Building.app/Contents/Resources/lua/sha2/init.lua'
no file './sha2.lua'
no file '/Users/runner/work/PathOfBuilding-Mac/PathOfBuilding-Mac/build/vcpkg_installed/arm64-osx-pob/share/luajit-2.1/sha2.lua'
no file '/usr/local/share/lua/5.1/sha2.lua'
no file '/usr/local/share/lua/5.1/sha2/init.lua'
no file '/Users/runner/work/PathOfBuilding-Mac/PathOfBuilding-Mac/build/vcpkg_installed/arm64-osx-pob/share/lua/5.1/sha2.lua'
no file '/Users/runner/work/PathOfBuilding-Mac/PathOfBuilding-Mac/build/vcpkg_installed/arm64-osx-pob/share/lua/5.1/sha2/init.lua'
no file 'lua/sha2.lua'
no file '/Applications/Path of Building.app/Contents/MacOS/sha2.dylib'
no file './sha2.so'
no file '/usr/local/lib/lua/5.1/sha2.so'
no file '/Users/runner/work/PathOfBuilding-Mac/PathOfBuilding-Mac/build/vcpkg_installed/arm64-osx-pob/lib/lua/5.1/sha2.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
Classes/PoEAPI.lua:2: in main chunk
[C]: in function 'LoadModule'
Modules/Common.lua:71: in function 'getClass'
Modules/Common.lua:116: in function 'new'
Classes/ImportTab.lua:477: in function '_constructor'
Modules/Common.lua:148: in function 'new'
Modules/Build.lua:598: in function 'CallMode'
Modules/Main.lua:356: in function <Modules/Main.lua:342>
[C]: in function 'PCall'
Launch.lua:111: in function Launch.lua:108
v2.66.1 master
Press Enter/Escape to dismiss, F4 to return to build selection, or F5 to restart the application.
Press CTRL + C to copy error text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions