PathOfBuilding icon indicating copy to clipboard operation
PathOfBuilding copied to clipboard

unable to find best item using new feature on Linux. Error: In download callback: Classes/TradeQuery.lua:168: attempt to index local 'foo'

Open MiriJ15 opened this issue 3 years ago • 2 comments

Check version

  • [X] I'm running the latest version of Path of Building and I've verified this by checking the changelog

Check for duplicates

  • [X] I've checked for duplicate issues by using the search function of the issue tracker

How is Path of Building expected to behave?

I am trying to get the url to poe trade based on my character tree and poe session ID.

How does Path of Building behave?

I end up with an issue that is not allowing me to do so. Re-running does not produce any url.

How to reproduce the issue

Linux.

Character build code

https://pastebin.com/FGVBEGXF

Screenshots

image

MiriJ15 avatar Dec 13 '22 16:12 MiriJ15

Having similar issues.

Could be related to this, where PathOfBuilding doesn't have permission to write to that directory.

https://github.com/PathOfBuildingCommunity/PathOfBuilding/blob/22f6cbfad3fa7e97424216484c76c6cec7acb032/src/Classes/TradeQuery.lua#L158-L160

rockerBOO avatar Dec 13 '22 17:12 rockerBOO

stack traceback:
        [C]: in function '__newindex'
        Classes/TradeQueryRateLimiter.lua:76: in function 'ParsePolicy'
        Classes/TradeQueryRateLimiter.lua:108: in function 'UpdateFromHeader'
        Classes/TradeQueryRequests.lua:32: in function 'callback'
        src/Launch.lua:295: in function <src/Launch.lua:294>
        [C]: in function 'PCall'
        src/Launch.lua:211: in function <src/Launch.lua:203>
PCall error: runtime error
Classes/TradeQueryRateLimiter.lua:76: table index is nil
stack traceback:
        [C]: in function 'PCall'
        src/Launch.lua:211: in function <src/Launch.lua:203>

MiriJ15 avatar Dec 13 '22 20:12 MiriJ15