Hari-Nagarajan / fairgame

Tool to help us buy hard to find items.
GNU General Public License v3.0
2.44k stars 805 forks source link

Cant evaluate offers, unable to grab prices #860

Open fitim7 opened 2 years ago

fitim7 commented 2 years ago

The bot is able to start chrome, search for items and when it is evaluuating the offers it fails. Here is the output:

2022-04-27 03:25:21|0.6.9|INFO|Checking stock for items. 2022-04-27 03:25:24|0.6.9|INFO|Found 11 offers for ASIN. Evaluating offers... 2022-04-27 03:25:24|0.6.9|ERROR|Traceback (most recent call last): File "/Users/***/fairgame/cli/cli.py", line 66, in decorator func(*args, **kwargs) File "/Users/***/fairgame/cli/cli.py", line 257, in amazon amzn_obj.run(delay=delay, test=test) File "/Users/***/fairgame/stores/amazon.py", line 270, in run asin = self.run_asins(delay) File "/Users/***/fairgame/utils/debugger.py", line 34, in wrapper_debug value = func(*args, **kwargs) File "/Users/***/fairgame/stores/amazon.py", line 462, in run_asins if self.check_stock(asin, self.reserve_min[i], self.reserve_max[i]): File "/Users/***/fairgame/utils/debugger.py", line 34, in wrapper_debug value = func(*args, **kwargs) File "/Users/***/fairgame/stores/amazon.py", line 732, in check_stock if not self.checkshipping and shipping_prices[idx].amount_float > 0.00: TypeError: '>' not supported between instances of 'NoneType' and 'float'