Public bug reported:

I am using Selenium, Python, Chromedriver and Chrome browser to fill in
a web form. The script automates filing FTC Do Not Call complaints. The
script runs on Armbian, which is Ubuntu Bionic on armv7l.

The problem below is new and arrived today, which is June 19, 2019. File
ftc.py:111 is 'implicitly_wait':

    driver.get("https://complaints.donotcall.gov/complaint/complaintcheck.aspx";)
    driver.implicitly_wait(2)

I see similar problems with Firefox, but I don't see Chrome (yet). A
Firefox example is https://stackoverflow.com/q/46541636/608639.

I've tried to build these tools in the past, like Geckodriver. It looks
like no testing occurs on ARM. For ARM, Rust cannot build the Cargo
packages, which means Geckodriver cannot be built. Trying to do anything
with Rust, Cargo and Geckodriver is a complete waste of time.

-----

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:        18.04
Codename:       bionic

-----

Traceback (most recent call last):
  File "./ftc.py", line 281, in <module>
    main()
  File "./ftc.py", line 111, in main
    driver.implicitly_wait(2)
  File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", 
line 793, in implicitly_wait
    'implicit': int(float(time_to_wait) * 1000)})
  File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", 
line 311, in execute
    self.error_handler.check_response(response)
  File 
"/usr/lib/python3/dist-packages/selenium/webdriver/remote/errorhandler.py", 
line 237, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidArgumentException: Message: invalid argument: 
value must be a non-negative integer
  (Session info: headless chrome=75.0.3770.90)

-----

$ apt-cache show chromium-browser
Package: chromium-browser
Architecture: armhf
Version: 75.0.3770.90-0ubuntu0.18.04.1
Priority: optional
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers <[email protected]>

$ apt-cache show python3-selenium
Package: python3-selenium
Architecture: all
Version: 3.8.0+dfsg1-3
Priority: optional
Section: universe/python
Source: python-selenium
Origin: Ubuntu
Maintainer: Ubuntu Developers <[email protected]>

** Affects: python-selenium (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1833448

Title:
  selenium.common.exceptions.InvalidArgumentException: Message: invalid
  argument: value must be a non-negative integer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-selenium/+bug/1833448/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to