Skip to content

Plickers import issues #1

@mustaphamillion

Description

@mustaphamillion

Hi there,

I have been trying to get this insanely useful idea to work, but with no luck. I have not worked with selenium before and am struggling with this. Have there been changes to the plickers website which might be affecting the code. The script for me - opens firefox, logs in, clicks for a new question, fills in 4 answers and the correct one is marked. The question box is never filled and then the script produces an error as below. I would love some help with this as a teacher as this would save me a world of time!

regards

Dan

Traceback (most recent call last):
File "plickers_import.py", line 212, in
add_multi_question(driver, sample_question)
File "plickers_import.py", line 196, in add_multi_question
save_button.click()
File "/usr/local/lib/python3.4/dist-packages/selenium/webdriver/remote/webelement.py", line 75, in click
self._execute(Command.CLICK_ELEMENT)
File "/usr/local/lib/python3.4/dist-packages/selenium/webdriver/remote/webelement.py", line 454, in _execute
return self._parent.execute(command, params)
File "/usr/local/lib/python3.4/dist-packages/selenium/webdriver/remote/webdriver.py", line 201, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.4/dist-packages/selenium/webdriver/remote/errorhandler.py", line 107, in check_response
message = value["value"]["message"]
TypeError: string indices must be integers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions