A package manager for web assets

Do you know a package manager for web assets? I'd like something that can download libraries such as jQuery so I can plug them into my asset pipeline. The js.* python packages for fanstatic are...

python ImportError: No module named resource in fanstatic configure.zcml in grok-based project

File "/root/.buildout/eggs/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 1954, in load entry = __import__(self.module_name, globals(),globals(),...

Images with Fanstatic and Flask

I got Fanstatic working well with Flask for CSS and JS. The library will allow you to generate hashed file names with a hash. If the hash of click.js is a0sd2lfu12v18fhac4ias0o7if then you can...

Pyramid Script using PasteDeploy Pipeline not working

Hello here's my new trouble... i'm using pyramid and i have created a script to fill my db with initial data I have a PasteDeploy configuration file (say development.ini) with this syntax ### #...

How to load js file within IE check block

I am trying to load an external js file using fanstatic. This is how I call the file to be loaded: <!--[if lt IE 9]> <% h.html5shiv.need() %> <![endif]--> The problem is when I check the...

How to reverse the Array in Python

In Python How to write the following program: From an array for following words in the given Order and reverse it from middle in both direction and display it InputArray = ['Good', 'better',...

I'm unable to setup Pyramid and the deform_bootstrap?

I've just started working with Pyramid. I'm using PyCharm as an IDE and I've started with the "starter" scaffold. I'm trying to create some nice looking forms. I've installed deform and...

Pyramid - fanstatic application cannot find static resources under apache wsgi module

I have a Pyramid-Fanstatic application that I created using pcreate: pcreate -s starter -s pyramid_fanstatic All works ok if I use /bin/pserve-fanstatic to start the server. However when I use...

Order of css resources using Fanstatic

I'm trying to import multiple css resources in my own CKAN theme using Fanstatic like this: {% resource 'my_fanstatic_library/b.css' %} {% resource 'my_fanstatic_library/a.css' %} Unfortunately...

Irreversible, reproducible crash of ckan website upon installing DataPusher on Mac

I'm trying to build a ckan (v2.3) data portal on my MacBook Pro running OS X 10.10.3, with the help of Homebrew. While I've had to make small adjustments to the official documentation to make...

CKAN and Atom feeds?

Atom feeds have been possible for a while (ckan.org/2012/05/30/atom-feeds/ and result at https://datahub.io/feeds/dataset.atom). However when we attempt this on our own CKAN instance (which is on...

resource.config order and custom render error doesn't work as expected

I'm trying to use ckanext_reclineview to render the CSV data. I am using ckan2.5.2 running on Windows 7. I am facing the following JS errors while loading the viewer: Uncaught ReferenceError:...

CKAN 2.5 package: Cannot create organizations, groups

In CKAN 2.5 package installation that gets done well, with allowing users to be created, and the dashboard to be accessed. For some reason, I cannot create organizations and groups (or datasets...

CKAN Customize theme error

I tried to follow this tutorial for customizing CKAN template but I can't seem to run the development server (paster serve /etc/ckan/default/development.ini) because of an error 'Import Error : no...

[Ckan]. Can't make Javascript work in CKAN

I'm trying to follow the example reported here: [Ckan theming - Javascript][1] in order to understand how I can add some javascript to my pages. Unfortunately, I can't make the example work. I...

Error - <type 'exceptions.TypeError'>: expected string or buffer

I am having real problems with CKAN. Everytime I try and access the datasets within my instance of CKAN 2.7 running on Ubuntu I get an internal server error which starts off Error - <type...

sqlalchemy.orm.exc.DetachedInstanceError depending on Pyramid webapp serving method?

This error in thrown only on production Apache2 server, and not at all when using pserve method to test the project locally : sqlalchemy.orm.exc.DetachedInstanceError: Parent instance <My_Table at...

Can't follow an organization in ckan

I setup ckan from source from the latest docs. When a user tries to follow an organization the following error appears on the interface in my browser: 404 Not Found The resource could not be...