jansenicus / www-coursera-downloader

This Jupyter Notebook will help you downloading Coursera videos, subtitles and quizzes (but not answering the quiz). It will automatically download and convert vtt subtitle files into srt. All resources downloaded are numbered according to their sequence.
188 stars 117 forks source link

Exception AttributeError: "'Service' object has no attribute 'process'" in <bound method Service.__del__ of <selenium.webdriver.firefox.service.Service object at 0x105985510>> ignored #18

Closed moha23 closed 6 years ago

moha23 commented 7 years ago

So after installing splinter and pycrypto, the script finally ran but only till the point of creating the coursera.pass file. After that, instead of giving the list of courses, the aforementioned errors pop up.

User and password has been saved to coursera.pass file. Please delete the file if you want to change your credentials.

Getting courses list...

You have not properly installed or configured PhantomJS! You will see an automated browser popping up and crawling, which you will not see if you have properly installed or configured PhantomJS. Do not close that automated browser...

Press any key to continue...

Traceback (most recent call last): File "www-coursera-downloader.py", line 744, in arrLessonURL, arrLessonTitle = readCSV(strNamaFile) File "www-coursera-downloader.py", line 733, in main except: File "www-coursera-downloader.py", line 185, in getCourses try: File "/Users/mohanasingh/Library/Python/2.7/lib/python/site-packages/splinter/browser.py", line 63, in Browser return driver(*args, **kwargs) File "/Users/mohanasingh/Library/Python/2.7/lib/python/site-packages/splinter/driver/webdriver/firefox.py", line 48, in init timeout=timeout) File "/Users/mohanasingh/Library/Python/2.7/lib/python/site-packages/selenium/webdriver/firefox/webdriver.py", line 140, in init self.service.start() File "/Users/mohanasingh/Library/Python/2.7/lib/python/site-packages/selenium/webdriver/common/service.py", line 81, in start os.path.basename(self.path), self.start_error_message) selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.

Exception AttributeError: "'Service' object has no attribute 'process'" in <bound method Service.del of <selenium.webdriver.phantomjs.service.Service object at 0x105908250>> ignored Exception AttributeError: "'Service' object has no attribute 'process'" in <bound method Service.del of <selenium.webdriver.chrome.service.Service object at 0x105985210>> ignored Exception AttributeError: "'Service' object has no attribute 'process'" in <bound method Service.del of <selenium.webdriver.firefox.service.Service object at 0x105985510>> ignored

AesaKamar commented 7 years ago

Check out this stack overflow post, it might help

http://stackoverflow.com/questions/36770303/phantomjs-with-selenium-unable-to-load-atom-find-element