webassets + jinja2 bundle error

I am trying to define a Bundle on the fly in a template file using webassets package for python and jinja2 however I keep getting errors: BundleError: '/docroot/static/css/base.css' does not...

Why am I getting KeyError: "Django settings doesn't define RESOLVER"?

I am getting the error below: (testassets)➜ testassets git:(master) ✗ django-admin.py test Creating test database for alias...

How do you configure Telerik's ReportViewer in MVC?

I have a MVC project that I'm trying to add a Telerik report to. I was able to set up a report and design it, but when I created a report viewer I get an error. I've tried adding references to...

Is flask-assets putting minified files in right directory?

I'm working to modify a cookiecutter Flask app. I'm working locally on WIN7 . I've set up bower to install the front end dependencies under the static root by using a .bowerrc file in the document...

Exception in worker process: No module named wsgi

I am trying to deploy my Django web app on heroku. An Application error message appears to me when I try to open it. this is my log: 2016-09-27T07:56:16.836350+00:00 heroku[web.1]: State changed...

I cannot ignore pycache and db.sqlite on Django even though it refers them at .gitignore

I'd like to ignore the changes of pycache and db.sqlite of Django project. I refer them at .gitignore,however git catches the variation of them. Could you tell me what is problem if you know it? I...

io.undertow.request remote peer closed connection before all data could be read

I'm running ejb project on wildfly 10 and encountered this error message, UT000128: Remote peer closed connection before all data could be read Is the above message something to be concern...

Trouble adding Django-Assets / Webassets directory to look for assets.py files

Was looking for a Python package for Django to manage assets, using Sass to compile CSS, and also cache busting, and Django-Assets / Webassets was recommended. Having trouble getting it setup...

Autoprefixer Filter Not Working in Flask_Assets

I have tried to get the autoprefixer filter to work with flask_assets by following the instructions in the Flask_Assets documentation, but it does not appear to apply the filter. Here is my...

dukpy build fails while trying to build container

I am trying to build docker container with following in Dockerfile FROM python:3.5-slim WORKDIR /opt COPY requirements.txt /opt/requirements.txt RUN pip install -r /opt/requirements.txt and...

getting python and react component based container to work

I am attempting to dockerize this workflow of isomorphic app. I build the container of below docker file. FROM python:3.5-slim RUN apt-get update && \ apt-get -y install gcc mono-mcs && \ ...

How do I pass libsass configuration variables into a flask_assets bundle?

My goal is to set LIBSASS_STYLE="expanded" via flask_assets.Bundle. The webassets libsass documentation says I can do it, but doesn't say how. My base app controller looks like the...

CSS/JS files not showing from server to reverse-proxy OctoPrint server via Nginx

I've got a Nginx server running on website https://example.com. I'm trying to serve a page (from an OctoPi) via reverse proxy, on another remote server that I own/admin, served at...

Symfony 4 - Assets folder not found

According to Symfony Best Practices, Store your assets in the assets/ directory at the root of your project. But currently, I don't have this folder created and if I create it, I got the error...

Setup Flask to use *.scss - with Flask-Assets and PyScss

I can't get Flask to work with scss. I looked into this Using sass with Flask and jinja2 and Set up Flask with webassets. But I am currently stuck. I setup everything and when running the server...

How can I compile Bootstrap 4 scss with python webassets?

I'm trying to simply compile Bootstrap 4 with python webassets and having zero success. For now I'm just trying to do this within the bootstrap/scss directory so path issues are less of a big...

The following paths are ignored by one of your .gitignore files

I tried to add a folder iceberg/static/icon into my repo but this fails with error: shen-3:New Platform shen$ git add iceberg/static/icon The following paths are ignored by one of your .gitignore...

pipenv: How to resolve dependency conflicts

I have this dependency issue: Pipfile.lock not found, creating… Locking [dev-packages] dependencies… Locking [packages] dependencies… Warning: Your dependencies could not be resolved. You...

SecurityError: Failed to execute 'replaceState' on 'History' error in Angular 6 when index.html call main.js from CDN

I have an angular 6 application I have kept index.html in the web server and calling the bundles like main.js from cdn. When I do this I get the following error application error : Error:...

Truncated or oversized response headers in daemon mode

I've a weird error in a flask website. Important : The first page (a form) is running, but when I submit, I've a 505. I try severals things thaks to StackOverflow :), but I cannot find the...

How to convert html template which load external html to reactjs

I'm working on web porject, I want to use reactjs, the template I'm using calls external js files which loads remote html file. for example <header role="banner"> <script type="text/javascript"...

How to minify ES2016 or convert to ES2015 in flask?

I'm using flask-assets and none of the available filters (rjsmin, jsmin, closure_js, uglifyjs, etc.) is able to minify a ES2016 JavaScript file. The minified files yield errors on the browser...

How to uglify ES6 javascript with Flask?

I'm searching a Flask-Assets filter that allows me to uglify javascript and support ES6 syntax. I tried to use uglifyjs-es binary instead of uglifyjs but I can't figure out how to configure my...

Why is statsmodels package not working on Flask but is on ipython?

I am getting this import error from the scipy package. Please see requirements.txt for versions. This is only happening on Flask and not when I run the same code on ipython. Is there any reason...

django.core.exceptions.ImproperlyConfigured: You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path

when i run git push heroku master it says that my STATIC_ROOT is improperly configured (ERROR:raise ImproperlyConfigured("You're using the staticfiles app without having set the STATIC_ROOT...

Unable to deploy to heroku due to requirements.txt error

I am trying to deploy a flask app to heroku for the first time. when i do git push heroku master i get the following error app.py cp: cannot stat '/tmp/cache/requirements.txt': No such file or...

How to fix webassets.exceptions.FilterError: Program file not found: sass

I was editing an open source Flask app - it was working just fine. I changed 1 thing in .scss file and the entire application fails to load. I undid all the changes but nothing changes. I can no...

CKAN and NGINX conf for running CKAN under URL /path/

I have been setting up CKAN 2.9 in a local Debian Buster VM, by following the instructions on how to install from source and deployment. I got CKAN to run, using NGINX, UWSGI and Supervisor,...

Android WebViewClient / WebViewAssetLoader implementation error

I am trying to load a webpage in asset folder and app's local storage using the webasset loader using the code provided by google. final WebViewAssetLoader assetLoader = new...

How to access FilesystemDirectory in capacitorjs with BundledWebRunTime

I am trying to port a web app to Android and iOS. It's a collection of small games that can be accessed from a main menu. At the moment I'm working on one of the coloring book games and I need to...