coolbho3k / manuf

Parser library for Wireshark's OUI database.
Other
120 stars 36 forks source link

Error 503 #29

Closed solsticedhiver closed 2 years ago

solsticedhiver commented 3 years ago
$ manuf -u
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/manuf/manuf.py", line 164, in update
    response = urlopen(Request(wfa_url, headers={'User-Agent': 'Mozilla'}))
  File "/usr/lib/python3.9/urllib/request.py", line 214, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.9/urllib/request.py", line 561, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 503: Service Unavailable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/manuf", line 33, in <module>
    sys.exit(load_entry_point('manuf==1.1.1', 'console_scripts', 'manuf')())
  File "/usr/lib/python3.9/site-packages/manuf/manuf.py", line 324, in main
    parser = MacParser(manuf_name=args.manuf, update=args.update)
  File "/usr/lib/python3.9/site-packages/manuf/manuf.py", line 70, in __init__
    self.update()
  File "/usr/lib/python3.9/site-packages/manuf/manuf.py", line 166, in update
    raise URLError("Failed downloading WFA database")
urllib.error.URLError: <urlopen error Failed downloading WFA database>

It seems https://code.wireshark.org/review/gitweb?p=wireshark.git;a=blob_plain;f=manuf has moved to https://gitlab.com/wireshark/wireshark/raw/master/manuf

Please update the script. Thanks

joshschmelzle commented 2 years ago

@coolbho3k any chance we can get this merged and a new version of manuf pushed to PyPI?

coolbho3k commented 2 years ago

@joshschmelzle merged, I'll see about pushing to pypi soon

joshschmelzle commented 2 years ago

Thank you! The https://github.com/WLAN-Pi project appreciates your work.

coolbho3k commented 2 years ago

@joshschmelzle Done! https://pypi.org/project/manuf/1.1.3/