Comments (3)
@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.
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.
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)
- Some SRA accession numbers don't work. HOT 2
- Errors accessing fastq files through enaDataGet HOT 2
- URL sanitizing breaks Aspera downloads HOT 2
- Genome download which files to use
- Error in using enaBrowserTools to download SRR
- No redownload of truncated files
- ssl Internal Error HOT 1
- Ability to only check if files are available for download
- HTTPError after enaGroupGet HOT 2
- TimeoutError with whatever I want to download HOT 1
- Error when downloading raw sequencing files from a registered project. HOT 1
- enaDataGet download giving HTTP Error 400 error HOT 10
- Accession not found even though it exists HOT 3
- enaDataGet error HOT 1
- enaDataGet error with FTP transfer HOT 1
- Can't download in parallel HOT 5
- enaGroupGet Portal API URLs return no results HOT 2
- enaDataGet - HTTP error 400 HOT 1
- 425 error - EnaDataGet HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enabrowsertools.