Code Monkey home page Code Monkey logo

badminton_avalability_checker's People

Contributors

dependabot[bot] avatar elasticbottle avatar hao-feng-hpe avatar happyharis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

badminton_avalability_checker's Issues

FileNotFoundError: [WinError 2] The system cannot find the file specified

DevTools listening on ws://127.0.0.1:50773/devtools/browser/68bf2a13-2677-48aa-894d-a912877e13cb
Traceback (most recent call last):
File "C:\Users\wayne\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\common\service.py", line 76, in start
stdin=PIPE)
File "C:\Users\wayne\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 709, in init
restore_signals, start_new_session)
File "C:\Users\wayne\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 997, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified

Script does not work

first attempt to click date True
checking 14 th Feb for courts
Done searching
Traceback (most recent call last):

  File "C:\Users\x\Desktop\Badminton_Avalability_checker-master\main.py", line 177, in <module>
    main()

  File "C:\Users\x\Desktop\Badminton_Avalability_checker-master\main.py", line 140, in main
    csv.result()[1],

  File "C:\Users\x\scoop\apps\anaconda3\2020.02\lib\concurrent\futures\_base.py", line 428, in result
    return self.__get_result()

  File "C:\Users\x\scoop\apps\anaconda3\2020.02\lib\concurrent\futures\_base.py", line 384, in __get_result
    raise self._exception

  File "C:\Users\x\scoop\apps\anaconda3\2020.02\lib\concurrent\futures\thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)

  File "C:\Users\x\Desktop\Badminton_Avalability_checker-master\main.py", line 45, in get_data_from_pa
    available_timings = one_pa.get_available_timings(day)

  File "C:\Users\x\Desktop\Badminton_Avalability_checker-master\one_pa.py", line 213, in get_available_timings
    court_name, court_timing = self._get_timing_for_court_loc(driver)

  File "C:\Users\x\Desktop\Badminton_Avalability_checker-master\one_pa.py", line 163, in _get_timing_for_court_loc
    court_name = self._get_court_loc_name(driver)

  File "C:\Users\x\Desktop\Badminton_Avalability_checker-master\one_pa.py", line 100, in _get_court_loc_name
    .get_attribute("innerText")

  File "C:\Users\x\scoop\apps\anaconda3\2020.02\lib\site-packages\selenium\webdriver\remote\webelement.py", line 141, in get_attribute
    self, name)

  File "C:\Users\x\scoop\apps\anaconda3\2020.02\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 636, in execute_script
    'args': converted_args})['value']

  File "C:\Users\x\scoop\apps\anaconda3\2020.02\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
    self.error_handler.check_response(response)

  File "C:\Users\x\scoop\apps\anaconda3\2020.02\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)

StaleElementReferenceException: stale element reference: element is not attached to the page document
  (Session info: chrome=87.0.4280.88)

Even after clicking through the notice at the start, I still get this error and the csv file is not generated. I am attempting to fix this, but do you know what's the problem?

No matching distribution found for get==2019.4.13

Hello there,
I had issues when I run the requirement file, would you be able to assist with this?
Appreciate it, Thank you!

Collecting altgraph==0.17
Using cached altgraph-0.17-py2.py3-none-any.whl (21 kB)
Collecting appdirs==1.4.3
Using cached appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting astroid==2.3.3
Using cached astroid-2.3.3-py3-none-any.whl (205 kB)
Collecting attrs==19.3.0
Using cached attrs-19.3.0-py2.py3-none-any.whl (39 kB)
Collecting beautifulsoup4==4.8.2
Using cached beautifulsoup4-4.8.2-py3-none-any.whl (106 kB)
Collecting black==19.10b0
Using cached black-19.10b0-py36-none-any.whl (97 kB)
Collecting certifi==2019.11.28
Using cached certifi-2019.11.28-py2.py3-none-any.whl (156 kB)
Collecting chardet==3.0.4
Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting Click==7.0
Using cached Click-7.0-py2.py3-none-any.whl (81 kB)
Collecting colorama==0.4.3
Using cached colorama-0.4.3-py2.py3-none-any.whl (15 kB)
Collecting future==0.18.2
Using cached future-0.18.2.tar.gz (829 kB)
ERROR: Could not find a version that satisfies the requirement get==2019.4.13 (from versions: none)
ERROR: No matching distribution found for get==2019.4.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.