Code Monkey home page Code Monkey logo

Comments (10)

keethesh avatar keethesh commented on May 28, 2024

I just updated the files, it should be working now. Please try and confirm that it is working.

from udemycoursegrabber.

Swapnil511994 avatar Swapnil511994 commented on May 28, 2024

I'm not a python developer
root@cuphandtechnology:/home/admin/web/swapnilvishwakarma.com/public_html/UdemyCourseGrabber# python3 main.py
Traceback (most recent call last):
File "main.py", line 5, in
from functions import *
File "/home/admin/web/swapnilvishwakarma.com/public_html/UdemyCourseGrabber/functions.py", line 6, in
from webdrivermanager import GeckoDriverManager
ModuleNotFoundError: No module named 'webdrivermanager'

root@cuphandtechnology:/home/admin/web/swapnilvishwakarma.com/public_html/UdemyCourseGrabber# python main.py
Traceback (most recent call last):
File "main.py", line 5, in
from functions import *
File "/home/admin/web/swapnilvishwakarma.com/public_html/UdemyCourseGrabber/functions.py", line 127
SyntaxError: Non-ASCII character '\xe2' in file /home/admin/web/swapnilvishwakarma.com/public_html/UdemyCourseGrabber/functions.py on line 127, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
root@cuphandtechnology:/home/admin/web/swapnilvishwakarma.com/public_html/UdemyCourseGrabber#

from udemycoursegrabber.

keethesh avatar keethesh commented on May 28, 2024

I added a new module, so you must do

pip install -r requirements.txt 

from udemycoursegrabber.

Swapnil511994 avatar Swapnil511994 commented on May 28, 2024

I'm running this on digital ocean server, will try it on machine and let you know how it goes :)

root@cuphandtechnology:/home/admin/web/swapnilvishwakarma.com/public_html/UdemyCourseGrabber# python3 main.py
Geckodriver not detected, it will now be downloaded...
Traceback (most recent call last):
File "/home/admin/web/swapnilvishwakarma.com/public_html/UdemyCourseGrabber/functions.py", line 294, in
browser = Firefox(options=opts)
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/firefox/webdriver.py", line 174, in init
keep_alive=True)
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 157, in init
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "main.py", line 5, in
from functions import *
File "/home/admin/web/swapnilvishwakarma.com/public_html/UdemyCourseGrabber/functions.py", line 298, in
gdd.download_and_install()
File "/usr/local/lib/python3.6/dist-packages/webdrivermanager/webdrivermanager.py", line 279, in download_and_install
tar.extractall(extract_dir)
File "/usr/lib/python3.6/tarfile.py", line 2010, in extractall
numeric_owner=numeric_owner)
File "/usr/lib/python3.6/tarfile.py", line 2052, in extract
numeric_owner=numeric_owner)
File "/usr/lib/python3.6/tarfile.py", line 2122, in _extract_member
self.makefile(tarinfo, targetpath)
File "/usr/lib/python3.6/tarfile.py", line 2163, in makefile
with bltn_open(targetpath, "wb") as target:
OSError: [Errno 26] Text file busy: '/usr/local/share/WebDriverManager/gecko/v0.26.0/geckodriver-v0.26.0-linux64/geckodriver'
root@cuphandtechnology:/home/admin/web/swapnilvishwakarma.com/public_html/UdemyCourseGrabber#

from udemycoursegrabber.

keethesh avatar keethesh commented on May 28, 2024

Are you running it via ssh?

from udemycoursegrabber.

Swapnil511994 avatar Swapnil511994 commented on May 28, 2024

Yes, I'm running it via ssh

from udemycoursegrabber.

CyriacBr avatar CyriacBr commented on May 28, 2024

You need to install geckodriver and put in the path. Basically download it and move the file to /usr/local/bin.

https://stackoverflow.com/questions/40208051/selenium-using-python-geckodriver-executable-needs-to-be-in-path

from udemycoursegrabber.

keethesh avatar keethesh commented on May 28, 2024

Is the problem still occurring? @Swapnil511994

from udemycoursegrabber.

Swapnil511994 avatar Swapnil511994 commented on May 28, 2024

I'll surely update you soon

from udemycoursegrabber.

keethesh avatar keethesh commented on May 28, 2024

Still waiting for an update...

from udemycoursegrabber.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.