MRHRTZ / Shopee-flashsale-bot

Flashsale bot for countdown realtime and auto checkout
175 stars 69 forks source link

error after successfully sign in #14

Closed gyozomongo closed 1 year ago

gyozomongo commented 1 year ago

[ Initial chrome automation ... ] [ Sign in process ... ] [ Loading account ... ] [ Success Sign in as *** ] Traceback (most recent call last): File "C:\Users**\Desktop\Shopee-flashsale-bot-1.2.0\main.py", line 16, in menu() File "C:\Users**\Desktop\Shopee-flashsale-bot-1.2.0\lib\definitions.py", line 186, in menu menu_options() File "C:\Users**\Desktop\Shopee-flashsale-bot-1.2.0\lib\definitions.py", line 210, in menu_options set_url() File "C:\Users**\Desktop\Shopee-flashsale-bot-1.2.0\lib\definitions.py", line 242, in set_url menu() File "C:\Users**\Desktop\Shopee-flashsale-bot-1.2.0\lib\definitions.py", line 184, in menu start_countdown() File "C:\Users**\Desktop\Shopee-flashsale-bot-1.2.0\lib\definitions.py", line 294, in start_countdown executeScript(settings) File "C:\Users**\Desktop\Shopee-flashsale-bot-1.2.0\lib\driverExecutor.py", line 113, in executeScript attempt, item_details = pooling_item(driver, 0) ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users**\Desktop\Shopee-flashsale-bot-1.2.0\lib\driverExecutor.py", line 55, in pooling_item if not item_details or 'data' not in item_details: ^^^^^^^^^^^^ UnboundLocalError: cannot access local variable 'item_details' where it is not associated with a value Exception ignored in: <function Chrome.del at 0x0000024D52EF4540> Traceback (most recent call last): File "C:\Users**\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\undetected_chromedriver__init.py", line 843, in del__ File "C:\Users**\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\seleniumwire\webdriver.py", line 68, in quit File "C:\Users**\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\undetected_chromedriver__init__.py", line 798, in quit [OSError: [WinError 6] The handle is invalid

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.