Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1895221 - File "/usr/lib/python3.9/site-packages/speedtest.py", line 1264, in get_servers...
Summary: File "/usr/lib/python3.9/site-packages/speedtest.py", line 1264, in get_serve...
Keywords:
Status: CLOSED DUPLICATE of bug 1891213
Alias: None
Product: Fedora
Classification: Fedora
Component: speedtest-cli
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matías Kreder
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-06 05:36 UTC by steve.morgan
Modified: 2020-11-14 19:20 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-14 19:20:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description steve.morgan 2020-11-06 05:36:59 UTC
Description of problem: 

[steve@laptop ~]$ speedtest-cli 
Retrieving speedtest.net configuration...
Testing from Comcast Cable (##.##.##.##)...
Retrieving speedtest.net server list...
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/speedtest.py", line 1264, in get_servers
    elements = root.getiterator('server')
AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getiterator'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/speedtest.py", line 1267, in get_servers
    root = DOM.parseString(serversxml)
NameError: name 'DOM' is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/speedtest-cli", line 33, in <module>
    sys.exit(load_entry_point('speedtest-cli==2.1.1', 'console_scripts', 'speedtest-cli')())
  File "/usr/lib/python3.9/site-packages/speedtest.py", line 1929, in main
    shell()
  File "/usr/lib/python3.9/site-packages/speedtest.py", line 1849, in shell
    speedtest.get_servers(servers=args.server, exclude=args.exclude)
  File "/usr/lib/python3.9/site-packages/speedtest.py", line 1268, in get_servers
    except ExpatError:
NameError: name 'ExpatError' is not defined

Version-Release number of selected component (if applicable): 

speedtest-cli-2.1.1-6.fc33.noarch

How reproducible:

Install speedtest-cli and run speedtest

Steps to Reproduce:
1. dnf install speedtest-cli
2. speedtest-cli

Actual results:


Expected results:


Additional info:

Comment 1 Michael Cronenworth 2020-11-14 19:20:21 UTC
Closing dupes. The new, parent bug has a fix. Upgrading to 2.1.2.

*** This bug has been marked as a duplicate of bug 1891213 ***


Note You need to log in before you can comment on or make changes to this bug.