Skip to content

the code chef solution are not uploading and every time I use it i get the error message please can you look into that #14

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

Closed
devesh-charan opened this issue Apr 25, 2023 · 5 comments

Comments

@devesh-charan
Copy link

devesh-charan commented Apr 25, 2023

in my system the error is this
all_info = list(get_submission_info(username))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\User\Downloads\UpCode-master\UpCode-master\CodeForcesScraper.py", line 22, in get_submission_info
submissions = json.loads(requests.get(f'https://codeforces.com/api/user.status?handle={username}').text)['result']
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: 'result'

and in the the code spaces the error is this

Traceback (most recent call last):
File "/workspaces/UpCode/main.py", line 136, in
main()
File "/workspaces/UpCode/main.py", line 130, in main
codeforces_uploader(codeforces_username, repo)
File "/workspaces/UpCode/main.py", line 75, in codeforces_uploader
for solution in CodeForcesScraper.get_solutions(codeforces_username):
File "/workspaces/UpCode/CodeForcesScraper.py", line 64, in get_solutions
driver = webdriver.Chrome(ChromeDriverManager().install(), options=options)
File "/home/codespace/.local/lib/python3.10/site-packages/selenium/webdriver/chrome/webdriver.py", line 70, in init
super(WebDriver, self).init(DesiredCapabilities.CHROME['browserName'], "goog",
File "/home/codespace/.local/lib/python3.10/site-packages/selenium/webdriver/chromium/webdriver.py", line 92, in init
RemoteWebDriver.init(
File "/home/codespace/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 275, in init
self.start_session(capabilities, browser_profile)
File "/home/codespace/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 365, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/home/codespace/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 430, in execute
self.error_handler.check_response(response)
File "/home/codespace/.local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 247, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary
Stacktrace:
#0 0x56128ab0cfe3
#1 0x56128a84bd36
#2 0x56128a872f4a
#3 0x56128a870a9b
#4 0x56128a8b2af7
#5 0x56128a8b211f
#6 0x56128a8a9693
#7 0x56128a87c03a
#8 0x56128a87d17e
#9 0x56128aacedbd
#10 0x56128aad2c6c
#11 0x56128aadc4b0
#12 0x56128aad3d63
#13 0x56128aaa6c35
#14 0x56128aaf7138
#15 0x56128aaf72c7
#16 0x56128ab05093
#17 0x7f6cbe20d609 start_thread

@SiddheshKukade
Copy link

+1

@SiddheshKukade
Copy link

@codechef not working

@dev-manojbagari
Copy link

try doing pip3 install --upgrade webdriver-manager

@SiddheshKukade
Copy link

@dev-manojbagari Didn't worked out for me

@CrapTheCoder
Copy link
Owner

Hello, the project will actually be archived soon. I don't have time to update it and many UI changes are happening in websites. The project will be temporarily retired :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants