Comments (4)
What is the output of the following two lines?
>>> assets.abspath(list(assets)[0].output)
>>> import os; os.path.exists(assets.abspath(list(assets)[0].output))
from flask-assets.
I'm getting a "IndexError: list index out of range" for both lines.
When I'm not running flask-assets on GAE I have no problems. There's likely something odd about the environment that I'm using that's causing the error.
from flask-assets.
The IndexError seems to be something unrelated though - you need to run those lines after you have registered your bundles.
from flask-assets.
I'm closing this now - if anyone has further problems running on GAE, reopen, or open a new ticket.
Final note - there are more elegant ways to do a manual build than to render with updater="always"; if you cannot use the management command, you may just want to call:
bundle.build(force=True)
from flask-assets.
Related Issues (20)
- Project dead? HOT 1
- webassets.exceptions.FilterError [less]
- webassets.exceptions.FilterError [SCSS] subprocess returned a non-success result code
- is there a way to configure flask-assets to use the "_external=True" option for asset urls
- Fix simple typo: preferrable -> preferable
- How to inline css
- no module named 'flask assets'
- Tailwind build depends on html in template folder. Changes not being detected. HOT 3
- Clashing of subdirectories of 'static' folder and blueprints with same name HOT 1
- Flask-Asset Not finding a file mentioned in Bundle HOT 1
- Feature request: Support mypy type checking?
- How to use parameter with filter
- Jinja2 Base template loaded twice when upgrading werkzeug package
- flask-assets will break in flask-2.3 HOT 3
- Flask Bundle remove white space after variables enclosed in ${} in Template strings in JavaScript
- flask-assets breaks in flask-3.0 HOT 3
- Migrate from nose to pytest
- Awesome python
- Clean up formerly nose tests (`setup` -> `setup_method`)
- Does not find "static" folder neither blueprint: TypeError: The referenced blueprint <Flask 'frontend.app'> has no static folder.
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 flask-assets.