Code Monkey home page Code Monkey logo

Comments (3)

yaythecloud avatar yaythecloud commented on July 29, 2024 2

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.

ThrawnCA avatar ThrawnCA commented on July 29, 2024

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.

yaythecloud avatar yaythecloud commented on July 29, 2024

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)

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.