Comments (5)
Did you solved this ??
from datapusher.
Unfortunately not.
from datapusher.
I "think" this is because urllib3 in the python3 install on unbuntu 20.04 is version 1.25.8 while the urllib3 used in this CKAN bundle is 1.26.6
Same issue with chardet too (i think)
I'm looking at how to upgrade the base version of urllib3 to bring it inline with CKAN's - so far I'm failing but will report back if I'm successful and it sorts out this issue.
from datapusher.
Right - it's a pain.. but.. I followed this page:
https://www.claudiokuenzler.com/blog/1114/urllib3-or-chardet-doesnt-match-a-supported-version-check-esxi-hardware
Removed via apt and installed the newer versions via pip.. still no luck.
Then looked in /usr/lib/ckan/datapusher/lib/python3.8/site-packages/requests/init.py and changed to the following as it was looking for older versions than were installed :-|
Reloaded supervisorctl etc and though it took a while my datapusher is now working and I'm getting a view on a csv
I hope it helps..
# Check urllib3 for compatibility.
major, minor, patch = urllib3_version # noqa: F811
major, minor, patch = int(major), int(minor), int(patch)
# urllib3 >= 1.21.1, <= 1.25
# assert major == 1
# assert minor >= 21
# assert minor <= 25
assert major == 1
assert minor >= 25
# assert minor <= 25
# Check chardet for compatibility.
major, minor, patch = chardet_version.split('.')[:3]
major, minor, patch = int(major), int(minor), int(patch)
# chardet >= 3.0.2, < 3.1.0
# assert major == 3
# assert minor < 1
# assert patch >= 2
assert major == 4
# assert minor < 1
# assert patch >= 2
from datapusher.
I tried the above and am still having the same issue with CKAN 2.9 on Focal Fossa. It also works for me if I make the dataset public.
from datapusher.
Related Issues (20)
- Documentation refers to features not in the latest release
- Add Supervisor sample configuration to Production Deployment instructions
- replace 'saving chunk' message with a meaningful message HOT 1
- Use Postgres COPY in Datapusher
- Could load preview of datasets HOT 1
- Datapusher can't push pdfs to Datastore
- Could not load view: DataProxy returned an error (Request Error: Backend did not respond after 10 seconds) HOT 5
- Feature: allow me to send the data dictionary metadata using the Fields
- Datapusher in Docker HOT 1
- SSLError while pushing to Datastore HOT 15
- lazy-apps=true is more important than docs seem to suggest
- XLSX no longer processing due to xlrd HOT 6
- Release 0.18 HOT 2
- Datapusher incompatible with Werkzeug 2.1.0 HOT 2
- duplicate key value violates unique constraint on first start with wsgi workers/threads
- Datapusher set date type for coordinate values
- Error when upload to Datastore
- Document download proxy config option
- Clarification on the Role of Internal Database in DataPusher
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 datapusher.