4rtzel / poe-archnemesis-scanner

Tool for Path of Exile game to automatically scan Archemesis inventory and display related information
Apache License 2.0
64 stars 25 forks source link

Error when scanning inventory #43

Closed drac69 closed 2 years ago

drac69 commented 2 years ago

Just downloaded the latest commit and getting this error message when I press "Scan"

https://pastebin.com/cNkMA2NN

Not sure which commit is the cause, but yesterday it was scanning properly

4rtzel commented 2 years ago

I merged a big patch yesterday (https://github.com/4rtzel/poe-archnemesis-scanner/pull/37) but I thought the exact same error was fixed. I'll look into it.

hippibruder commented 2 years ago

Same error here. Happens if shopping_list is empty. Which it is on a fresh setup. Adding one recipe to the shopping list fixes it.

UIOverlay._scan creates a list with one empty string what seems to mess things up. https://github.com/4rtzel/poe-archnemesis-scanner/blob/220d8d89384fdf9c7e3cb119f745d32444e0737a/src/UIOverlay.py#L97-L98

4rtzel commented 2 years ago

Fixed here: bf86d72.