Giter VIP home page Giter VIP logo

Comments (3)

mikecuoco avatar mikecuoco commented on July 30, 2024

@chazdm I solved this by downgrading python to 3.8. getchildren() was deprecated in python 3.2 and removed in 3.9 (source)

from enabrowsertools.

chazdm avatar chazdm commented on July 30, 2024

Thanks for your help @mikecuoco

I downgraded python to 3.8 but still ran into errors.

Traceback (most recent call last):
File "/home/dmelloc/anaconda3/envs/ena/bin/enaDataGet.py", line 89, in
elif not utils.is_available(accession):
File "/home/dmelloc/anaconda3/envs/ena/bin/utils.py", line 240, in is_available
response = urlrequest.urlopen(url)
File "/home/dmelloc/anaconda3/envs/ena/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/home/dmelloc/anaconda3/envs/ena/lib/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/home/dmelloc/anaconda3/envs/ena/lib/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/home/dmelloc/anaconda3/envs/ena/lib/python3.8/urllib/request.py", line 563, in error
result = self._call_chain(*args)
File "/home/dmelloc/anaconda3/envs/ena/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/home/dmelloc/anaconda3/envs/ena/lib/python3.8/urllib/request.py", line 755, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/home/dmelloc/anaconda3/envs/ena/lib/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/home/dmelloc/anaconda3/envs/ena/lib/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/home/dmelloc/anaconda3/envs/ena/lib/python3.8/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/home/dmelloc/anaconda3/envs/ena/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/home/dmelloc/anaconda3/envs/ena/lib/python3.8/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 400:
ERROR: Something unexpected went wrong please try again.
If problem persists, please contact [email protected] for assistance, with the above error details.

Would you be able to provide any further insight into how I might be able to resolve this?
Thank you!

from enabrowsertools.

Meadowlion avatar Meadowlion commented on July 30, 2024

I have experienced the same HTTP Error with using a different Project SRP259294 running ubuntu 20.04 using Python 3.8.10.

EDIT:
https://github.com/oligoelemento has a solution that worked for me:
#57 (comment)

from enabrowsertools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.