Skip to content

Cant evaluate offers, unable to grab prices #860

Open
@fitim7

Description

@fitim7

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'

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