-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An error i do not understand #3
Comments
Hi, it looks like Chrome driver in the repo is outdated relative to your version of Google Chrome. Check what version of Chrome you have installed, and download the closest version from here: https://chromedriver.storage.googleapis.com/index.html |
Yes, i tried that but now chrome is opening but no action is being performed DevTools listening on ws://127.0.0.1:52115/devtools/browser/9e9d00da-7e71-4f7d-9857-6af12db3dc6a C:\Users\user\OneDrive\Desktop\tiktok-meme-bot-main>[18352:18552:1101/131219.036:ERROR:device_event_log_impl.cc(215)] [13:12:19.035] USB: usb_device_handle_win.cc:1048 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F) do you know what might be the reason for this? |
[18352:20404:1101/131315.924:ERROR:util.cc(129)] Can't create base directory: C:\Program Files\Google\GoogleUpdater |
Hmm, not sure about the first error, found this on stack overflow but I don't know how this would apply here https://stackoverflow.com/questions/64927909/failed-to-read-descriptor-from-node-connection-a-device-attached-to-the-system The second error might have to do with selenium driver options relating to your graphics card, I'm not sure what exactly would fix those either. It looks like a lot of the problems are related to Selenium though, which does the automation for the video uploads. If you want to mess around with the video generator, that should still work if you just go to line 128 in tiktok.py and add "video_generator.gen_meme_video()", that will generate a meme video for you before running any of the selenium code. |
that alsi unfortunately did not work..... During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): |
Hi sorry for the delay in replying, this might be an issue with Instaloader since I think the library is somewhat outdate. It also looks like based on the last line it didn't split the profiles correctly and was trying to search for instagram accounts all with the combined names, make sure in your env file to put spaces between the commas (like, this, for, example). I honestly haven't touched this project in a while so there might be issues with the libraries, I'll definitely go back and take a look to see if certain things have been deprecated. |
I have started a break-off of this project with completely, re-written code. It doesn't support auto uploading videos but the codebase has been extremely refined and I hope to add more features in the future. Feel free to check it out and contribute. |
i filled the env template file and renamed it env added a 24min 1920x1080 vid and a 30sec mp3 audio in the file but when i tried running it this error appeared i understand its a bit late but i'd appreciate it if i can get clarification as to why this is happening DevTools listening on ws://127.0.0.1:58686/devtools/browser/b25fe39c-a774-41e0-bbb5-fb7a1a1e5d62
Traceback (most recent call last):
File "C:\Users\user\OneDrive\Desktop\tiktok-meme-bot-main\tiktok_bot.py", line 129, in
tiktok = TikTok(
File "C:\Users\user\OneDrive\Desktop\tiktok-meme-bot-main\tiktok_bot.py", line 50, in init
super().init(options=options)
File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 70, in init
super(WebDriver, self).init(DesiredCapabilities.CHROME['browserName'], "goog",
File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 92, in init
RemoteWebDriver.init(
File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 275, in init
self.start_session(capabilities, browser_profile)
File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 365, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 430, in execute
self.error_handler.check_response(response)
File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 247, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 102
Current browser version is 107.0.5304.87 with binary path C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
Stacktrace:
Backtrace:
Ordinal0 [0x003ED953+2414931]
Ordinal0 [0x0037F5E1+1963489]
Ordinal0 [0x0026C6B8+837304]
Ordinal0 [0x0028CAE3+969443]
Ordinal0 [0x002886FA+952058]
Ordinal0 [0x00285FB1+942001]
Ordinal0 [0x002B9100+1151232]
Ordinal0 [0x002B8D5A+1150298]
Ordinal0 [0x002B42B6+1131190]
Ordinal0 [0x0028E860+976992]
Ordinal0 [0x0028F756+980822]
GetHandleVerifier [0x0065CC62+2510274]
GetHandleVerifier [0x0064F760+2455744]
GetHandleVerifier [0x0047EABA+551962]
GetHandleVerifier [0x0047D916+547446]
Ordinal0 [0x00385F3B+1990459]
Ordinal0 [0x0038A898+2009240]
Ordinal0 [0x0038A985+2009477]
Ordinal0 [0x00393AD1+2046673]
BaseThreadInitThunk [0x75D3FA29+25]
RtlGetAppContainerNamedObjectPath [0x77C87BBE+286]
RtlGetAppContainerNamedObjectPath [0x77C87B8E+238]
The text was updated successfully, but these errors were encountered: