7x11x13 / songs-to-youtube

Desktop application alternative to sites like TunesToTube, audioship, tovid.io, etc
https://pypi.org/project/songs-to-youtube/
210 stars 12 forks source link

Exception: Could not find INPUT_FILE_VIDEO #24

Closed viatekh closed 12 months ago

viatekh commented 2 years ago
09:14:16] [ERROR] Traceback (most recent call last):
  File "/Users/tekh/Downloads/songs-to-youtube-master/src/youtube_uploader_selenium/__init__.py", line 159, in upload_all
    success = self.upload(file, job)
  File "/Users/tekh/Downloads/songs-to-youtube-master/src/youtube_uploader_selenium/__init__.py", line 190, in upload
    return self.__upload(video_path, metadata)
  File "/Users/tekh/Downloads/songs-to-youtube-master/src/youtube_uploader_selenium/__init__.py", line 287, in __upload
    self.__find(By.XPATH, Constant.INPUT_FILE_VIDEO).send_keys(absolute_video_path)
  File "/Users/tekh/Downloads/songs-to-youtube-master/src/youtube_uploader_selenium/__init__.py", line 275, in __find
    raise Exception(f"Could not find {Constant.lookup(constant)}")
Exception: Could not find INPUT_FILE_VIDEO

2022-03-01_091416

personally i find the "could not find video" message is at odds with the generated screenshot, which is pertaining to logging in.

Sakimotor commented 2 years ago

Try generating a new json file for your cookies, that fixed the issue on my side.