Comments (3)
I figured this out. XLoader was not picking up this value from the shells environments. Once I added it manually to the ckan.ini and built it into the Dockerfile with a COPY layer everything worked.
from ckanext-xloader.
I can't reproduce this in our own environment. Can you check that your copy of the XLoader is unchanged with git status
?
from ckanext-xloader.
Sorry been a while and just getting back around to working on this. here is what I am seeing locally.
77e657b0b014:/srv/app# ckan -c ckan.ini xloader status
2024-03-04 15:40:09,559 INFO [ckan.cli] Using configuration file /srv/app/ckan.ini
2024-03-04 15:40:09,560 INFO [ckan.config.environment] Loading static files from public
2024-03-04 15:40:09,975 INFO [ckan.config.environment] Loading templates from /srv/app/src/ckan/ckan/templates
2024-03-04 15:40:11,062 WARNI [ckanext.reclineview.plugin] The Recline-based views are deprecated andwill be removed in future versions
2024-03-04 15:40:11,119 INFO [ckan.config.environment] Loading templates from /srv/app/src/ckan/ckan/templates
2024-03-04 15:40:11,410 WARNI [ckan.config.middleware.flask_app] Extensions are excluded from CSRF protection! We allow extensions to run without CSRF protection but it will be forced future releases. Read the documentation for more information on how to add CSRF protection to your extension.
Traceback (most recent call last):
File "/usr/bin/ckan", line 8, in
sys.exit(ckan())
File "/usr/lib/python3.10/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/usr/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/lib/python3.10/site-packages/ckanext/xloader/cli.py", line 22, in status
cmd.print_status()
File "/usr/lib/python3.10/site-packages/ckanext/xloader/command.py", line 130, in print_status
job_params = eval(job.description.replace(
File "", line 1
({'api_key': '01129a66-b492-4d49-b2ab-b6332c85b175', 'job_type': 'xloader_to...)
from ckanext-xloader.
Related Issues (20)
- Version is out-dated in setup.py HOT 1
- Response header location switches from https to http HOT 1
- Openpyxl cannot be imported
- No longer installable on Python 2.7 HOT 2
- Check datastore_active on resource update HOT 4
- Xloader with CKAN 2.9 error when upload resource xls
- Bad encoding for resources uploaded into DataStore
- Document download proxy config option
- Type guessing in 0.12 is less robust HOT 6
- How to mimic ckan.datapusher.callback_url_base
- resource_data page gives HTTP 504 timeout on very large resources
- File hash check doesn't take errors into account HOT 1
- README could mention that XLoader is capable of running on a separate server HOT 3
- encoding mix type issue, windows encoding not happy inside tabulator HOT 2
- Bug: Race condition when datastore worker jobs processes large file in quick succession with active usage HOT 1
- Add synchronous CLI option HOT 6
- Update direct csv fast load to handle empty ending lines on csv and other edge conditions HOT 5
- Update enqueued job description/comment HOT 1
- Unterminated string literal HOT 4
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 ckanext-xloader.