You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this error while executing action numeber 4:
Action number: 4
Traceback (most recent call last):
File "main.py", line 539, in
main()
File "main.py", line 73, in main
show_top_expensive_articles_in_stock(20, api=api)
File "/home/redhat/pymkm/pymkm.py", line 29, in call
return_value = self.function(*arg, **kwargs)
File "main.py", line 438, in show_top_expensive_articles_in_stock
[article['product']['enName'], article['product']['expansion'], u'\u2713' if article['isFoil'] else '', article['language']['languageName'] if article['language'] != 1 else '', article['price']])
KeyError: 'expansion'
Running python3 on:
Linux belatrix 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u2 (2019-05-13) x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered:
@jophar I pushed a fix for this, please try it out. I did not see this bug on my side, it must be caused by some item in your stock that does not have an expansion. Do you happen to know which item caused this? Would be good to have in testing.
Hello,
I get this error while executing action numeber 4:
Action number: 4
Traceback (most recent call last):
File "main.py", line 539, in
main()
File "main.py", line 73, in main
show_top_expensive_articles_in_stock(20, api=api)
File "/home/redhat/pymkm/pymkm.py", line 29, in call
return_value = self.function(*arg, **kwargs)
File "main.py", line 438, in show_top_expensive_articles_in_stock
[article['product']['enName'], article['product']['expansion'], u'\u2713' if article['isFoil'] else '', article['language']['languageName'] if article['language'] != 1 else '', article['price']])
KeyError: 'expansion'
Running python3 on:
Linux belatrix 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u2 (2019-05-13) x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: