RileyXX / IMDB-Trakt-Syncer

A python script that syncs user watchlist, ratings and reviews for Movies, TV Shows and Episodes both ways between Trakt and IMDB.
MIT License
91 stars 2 forks source link

Error when fetching IMDB data #108

Open AxZxP opened 2 weeks ago

AxZxP commented 2 weeks ago

Is there already an issue for your problem?

Bug Description

/usr/local/lib/python3.11/site-packages/IMDBTraktSyncer --- ERROR ---
An error occurred while running the script.
Please submit the error to GitHub with the following information:
--------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/IMDBTraktSyncer/IMDBTraktSyncer.py", line 128, in main
    imdb_watchlist, imdb_ratings, imdb_reviews, errors_found_getting_imdb_reviews = imdbData.getImdbData(imdb_username, imdb_password, driver, directory, wait)
                                                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/IMDBTraktSyncer/imdbData.py", line 105, in getImdbData
    csv_link.click()
  File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/webelement.py", line 94, in click
    self._execute(Command.CLICK_ELEMENT)
  File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/webelement.py", line 395, in _execute
    return self._parent.execute(command, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 380, in execute
    self.error_handler.check_response(response)
  File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element is not clickable at point (1436, 1650)
  (Session info: chrome=130.0.6723.117)
Stacktrace:
0   chromedriver_mac-x64                0x000000010d385f88 chromedriver_mac-x64 + 7110536
1   chromedriver_mac-x64                0x000000010d37df8a chromedriver_mac-x64 + 7077770
2   chromedriver_mac-x64                0x000000010cd1f0f0 chromedriver_mac-x64 + 397552
3   chromedriver_mac-x64                0x000000010cd71f66 chromedriver_mac-x64 + 737126
4   chromedriver_mac-x64                0x000000010cd6fed8 chromedriver_mac-x64 + 728792
5   chromedriver_mac-x64                0x000000010cd6d9b7 chromedriver_mac-x64 + 719287
6   chromedriver_mac-x64                0x000000010cd6c86c chromedriver_mac-x64 + 714860
7   chromedriver_mac-x64                0x000000010cd60488 chromedriver_mac-x64 + 664712
8   chromedriver_mac-x64                0x000000010cd8f912 chromedriver_mac-x64 + 858386
9   chromedriver_mac-x64                0x000000010cd5fe78 chromedriver_mac-x64 + 663160
10  chromedriver_mac-x64                0x000000010cd8face chromedriver_mac-x64 + 858830
11  chromedriver_mac-x64                0x000000010cdae234 chromedriver_mac-x64 + 983604
12  chromedriver_mac-x64                0x000000010cd8f6b3 chromedriver_mac-x64 + 857779
13  chromedriver_mac-x64                0x000000010cd5e182 chromedriver_mac-x64 + 655746
14  chromedriver_mac-x64                0x000000010cd5f15e chromedriver_mac-x64 + 659806
15  chromedriver_mac-x64                0x000000010d34b3d0 chromedriver_mac-x64 + 6869968
16  chromedriver_mac-x64                0x000000010d34f304 chromedriver_mac-x64 + 6886148
17  chromedriver_mac-x64                0x000000010d32d9d7 chromedriver_mac-x64 + 6748631
18  chromedriver_mac-x64                0x000000010d34fd8e chromedriver_mac-x64 + 6888846
19  chromedriver_mac-x64                0x000000010d31cca4 chromedriver_mac-x64 + 6679716
20  chromedriver_mac-x64                0x000000010d36c858 chromedriver_mac-x64 + 7006296
21  chromedriver_mac-x64                0x000000010d36ca16 chromedriver_mac-x64 + 7006742
22  chromedriver_mac-x64                0x000000010d37db98 chromedriver_mac-x64 + 7076760
23  libsystem_pthread.dylib             0x00007ff8149614e1 _pthread_start + 125
24  libsystem_pthread.dylib             0x00007ff81495cf6b thread_start + 15

Environment

OS : macOS 12.7.5 Install normally via python3.11 -m pip install IMDBTraktSyncer --upgrade. Note than I get this error raised but ignored when launching the script :

Starting IMDBTraktSyncer....
Error retrieving installed version: Command '['pip', 'show', 'imdbtraktsyncer']' returned non-zero exit status 1.
IMDBTraktSyncer is not installed.
No matching chromedriver-py version found for Chrome    <string>130
Your settings are saved at:
/usr/local/lib/python3.11/site-packages/IMDBTraktSyncer
Starting webdriver...
Successfully signed in to IMDB
Processing Trakt Data
Processing Trakt Data Complete
Processing IMDB Data

Screenshots

No response