stajichlab / AAFTF

Automatic Assembly For The Fungi
MIT License
19 stars 4 forks source link

AAFTF filter urllib issue #29

Closed Okompath closed 5 months ago

Okompath commented 5 months ago

Hi, I am trying to run filter on some of my sample data on my institution's supercluster, and I am getting an error when importing urllib on python 3.9 , is there a recommended python and anaconda version I should run that requests a valid URL?

here is the traceback log and the error:

Traceback (most recent call last):
  File "/nas/longleaf/home/okompath/.local/bin/AAFTF", line 8, in <module>
    sys.exit(main())
  File "/nas/longleaf/home/okompath/.local/lib/python3.9/site-packages/AAFTF/AAFTF_main.py", line 936, in main
    args.func(parser, args)
  File "/nas/longleaf/home/okompath/.local/lib/python3.9/site-packages/AAFTF/AAFTF_main.py", line 47, in run_subtool
    submodule.run(parser, args)
  File "/nas/longleaf/home/okompath/.local/lib/python3.9/site-packages/AAFTF/filter.py", line 57, in run
    urllib.request.urlretrieve(url, acc_file)
  File "/nas/longleaf/rhel8/apps/anaconda/2021.11/lib/python3.9/urllib/request.py", line 239, in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
  File "/nas/longleaf/rhel8/apps/anaconda/2021.11/lib/python3.9/urllib/request.py", line 214, in urlopen
    return opener.open(url, data, timeout)
  File "/nas/longleaf/rhel8/apps/anaconda/2021.11/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/nas/longleaf/rhel8/apps/anaconda/2021.11/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/nas/longleaf/rhel8/apps/anaconda/2021.11/lib/python3.9/urllib/request.py", line 561, in error
    return self._call_chain(*args)
  File "/nas/longleaf/rhel8/apps/anaconda/2021.11/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/nas/longleaf/rhel8/apps/anaconda/2021.11/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 404: Not Found 

any help is appreciated! Thanks.