Comments (11)
This doesn't seem to be an issue on Windows, and after opening a different copy of the file on my Ubuntu machine using gedit and switching the encoding to Western I can no longer produce the error. This is still true after deleting the copy of the file that I opened with the Western encoding...
from retriever.
This was apparently a shared hallucination.
from retriever.
Sadly this was apparently not a shared hallucination and is not isolated to the MCDB. Using the current RC I have this error on MCDB, Barnes et al. 2008, Woods et al. 2009, Zachmann et al. 2010, USDA Plants, McGlinn et al. 2010, and del Moral 2010.
It seems like this must be something that changed in Ubuntu 12.04 (or maybe Python 2.7.3) since we weren't seeing this before.
from retriever.
This is strange. It happened once to me yesterday, but disappeared immediately after upon trying again, with no change to the executable or data files. I haven't been able to consistently duplicate it.
from retriever.
I did also see it on del Moral. Afterward, though, I was able to download every single dataset successfully using the Windows executable.
from retriever.
I just attempted MCDB and del Moral with both Windows and Linux, and had no problem.
from retriever.
Also, I would've thought "sys.setdefaultencoding('latin-1')" in main.py would resolve this issue. ascii should no longer be the default codec.
Which version did you continue to have this issue with? Windows?
from retriever.
Interesting - Python actually deletes the sys.setdefaultencoding method upon startup. But "reload(sys)" will get it back. I'll make this change and see if it solves the problem.
http://blog.ianbicking.org/illusive-setdefaultencoding.html
from retriever.
This was always on Ubuntu for me.
from retriever.
I'm not getting the issue atm so I can't confirm - could you see if the latest change has solved the issue?
from retriever.
That seems to have solved it. Nice job tracking that down.
from retriever.
Related Issues (20)
- API research for API integration in Data Retriever (GSoC '21)
- Add a default bounding box for usgs-elevation
- Retriever doesn't detect new python scripts HOT 1
- Add RDatasets
- Tidycensus dataset doesn't work with the download and install csv commands. HOT 3
- Make sure that the the R api dataset are run on the retrieverdash
- Add new functions to rdataretriever and Retriever.jl
- Excel xlsx file; not supported HOT 9
- Update codecov to action stage in workflows HOT 2
- not able to use gdal==3.3.2 while working with ".shp" files HOT 2
- Improve test coverage HOT 6
- display_all_rdatasets_names in rdatasets takes a list of package_name HOT 4
- Create breeding bird survey for all releases. HOT 4
- Downloading fails for files with no Content-Disposition HOT 1
- Retriever should gracefully fail if there is no internet. HOT 2
- hacktoberfest guide
- Installation from source fails due to missing configuration HOT 6
- Installation failing on Python 3.12 due to removal of imp package HOT 1
- Test and update Bioclim data
- GSoC 2024 - Getting started. HOT 2
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 retriever.