Skip to content
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

tracebacks with GUI version #5

Open
pabs3 opened this issue Apr 5, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@pabs3
Copy link
Contributor

commented Apr 5, 2019

I got a traceback when trying the new GUI option. With the dynamic challenges, when I click verify before the images I have clicked are reloaded, then I get a traceback for each missing image.

With the dynamic challenges, the verify button needs to be disabled or hidden after clicking on an image until all of the clicked images are replaced with new ones. The space to the left could have some text to explain the disablement.

$ curl -s https://gitlab.gnome.org/users/sign_in | grep data-sitekey
<div class="g-recaptcha" data-sitekey="6Lfhei8UAAAAAKwEVuEwxJX09r0AGdMm-DUTWNAQ"></div>

$ ./librecaptcha.py --gui 6Lfhei8UAAAAAKwEVuEwxJX09r0AGdMm-DUTWNAQ https://gitlab.gnome.org/
Submitting solution...
Submitting solution...
Submitting solution...
Submitting solution...
Submitting solution...
You must solve another challenge.

Submitting solution...
Submitting solution...
Submitting solution...
Submitting solution...
Submitting solution...
You must solve another challenge.

Submitting solution...
You must solve another challenge.

Traceback (most recent call last):
  File "librecaptcha/gui.py", line 374, in callback
    self.dialog.replace_tile_image(index, image)
  File "librecaptcha/gui.py", line 295, in replace_tile_image
    self.dialog.replace_grid_item(index, button)
  File "librecaptcha/gui.py", line 169, in replace_grid_item
    self.grid.remove(old)
TypeError: Argument 1 does not allow None as a value
Traceback (most recent call last):
  File "librecaptcha/gui.py", line 374, in callback
    self.dialog.replace_tile_image(index, image)
  File "librecaptcha/gui.py", line 295, in replace_tile_image
    self.dialog.replace_grid_item(index, button)
  File "librecaptcha/gui.py", line 169, in replace_grid_item
    self.grid.remove(old)
TypeError: Argument 1 does not allow None as a value
Traceback (most recent call last):
  File "librecaptcha/gui.py", line 374, in callback
    self.dialog.replace_tile_image(index, image)
  File "librecaptcha/gui.py", line 295, in replace_tile_image
    self.dialog.replace_grid_item(index, button)
  File "librecaptcha/gui.py", line 169, in replace_grid_item
    self.grid.remove(old)
TypeError: Argument 1 does not allow None as a value
Submitting solution...
You must solve another challenge.

Traceback (most recent call last):
  File "librecaptcha/gui.py", line 374, in callback
    self.dialog.replace_tile_image(index, image)
  File "librecaptcha/gui.py", line 295, in replace_tile_image
    self.dialog.replace_grid_item(index, button)
  File "librecaptcha/gui.py", line 169, in replace_grid_item
    self.grid.remove(old)
TypeError: Argument 1 does not allow None as a value
Traceback (most recent call last):
  File "librecaptcha/gui.py", line 374, in callback
    self.dialog.replace_tile_image(index, image)
  File "librecaptcha/gui.py", line 295, in replace_tile_image
    self.dialog.replace_grid_item(index, button)
  File "librecaptcha/gui.py", line 169, in replace_grid_item
    self.grid.remove(old)
TypeError: Argument 1 does not allow None as a value
Traceback (most recent call last):
  File "librecaptcha/gui.py", line 374, in callback
    self.dialog.replace_tile_image(index, image)
  File "librecaptcha/gui.py", line 295, in replace_tile_image
    self.dialog.replace_grid_item(index, button)
  File "librecaptcha/gui.py", line 169, in replace_grid_item
    self.grid.remove(old)
TypeError: Argument 1 does not allow None as a value
Submitting solution...
You must solve another challenge.

Traceback (most recent call last):
  File "librecaptcha/gui.py", line 374, in callback
    self.dialog.replace_tile_image(index, image)
  File "librecaptcha/gui.py", line 295, in replace_tile_image
    self.dialog.replace_grid_item(index, button)
  File "librecaptcha/gui.py", line 169, in replace_grid_item
    self.grid.remove(old)
TypeError: Argument 1 does not allow None as a value
Traceback (most recent call last):
  File "librecaptcha/gui.py", line 374, in callback
    self.dialog.replace_tile_image(index, image)
  File "librecaptcha/gui.py", line 295, in replace_tile_image
    self.dialog.replace_grid_item(index, button)
  File "librecaptcha/gui.py", line 169, in replace_grid_item
    self.grid.remove(old)
TypeError: Argument 1 does not allow None as a value
Traceback (most recent call last):
  File "librecaptcha/gui.py", line 374, in callback
    self.dialog.replace_tile_image(index, image)
  File "librecaptcha/gui.py", line 295, in replace_tile_image
    self.dialog.replace_grid_item(index, button)
  File "librecaptcha/gui.py", line 169, in replace_grid_item
    self.grid.remove(old)
TypeError: Argument 1 does not allow None as a value
Submitting solution...
You must solve another challenge.

Traceback (most recent call last):
  File "librecaptcha/gui.py", line 374, in callback
    self.dialog.replace_tile_image(index, image)
  File "librecaptcha/gui.py", line 295, in replace_tile_image
    self.dialog.replace_grid_item(index, button)
  File "librecaptcha/gui.py", line 169, in replace_grid_item
    self.grid.remove(old)
TypeError: Argument 1 does not allow None as a value
Traceback (most recent call last):
  File "librecaptcha/gui.py", line 374, in callback
    self.dialog.replace_tile_image(index, image)
  File "librecaptcha/gui.py", line 295, in replace_tile_image
    self.dialog.replace_grid_item(index, button)
  File "librecaptcha/gui.py", line 169, in replace_grid_item
    self.grid.remove(old)
TypeError: Argument 1 does not allow None as a value
Traceback (most recent call last):
  File "librecaptcha/gui.py", line 374, in callback
    self.dialog.replace_tile_image(index, image)
  File "librecaptcha/gui.py", line 295, in replace_tile_image
    self.dialog.replace_grid_item(index, button)
  File "librecaptcha/gui.py", line 169, in replace_grid_item
    self.grid.remove(old)
TypeError: Argument 1 does not allow None as a value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.