Comments (5)
My understanding is (I've solved the same problem just now) that --project
assumes that all source images are stored in subdirectories, having some images in the 'root' directory (in your case images/sprites/src/) causes this "Unknown Error". Is that the case for you? If it is, this looks like a bug; it should either:
- ignore these files
- create a sprite for these files (and assume some default name?)
- print a more helpful error message
from glue.
Did you fix this?
from glue.
I'm having a similar issue.
I just upgraded to 0.2.9 from 0.2.6.1. After upgrading, conf files seem to crash no matter what, giving me "Error: Unknown error." I tried stripping them down to nothing, but it seems like their very existence makes it crash.
Moving everything into the command line fixes it, but obviously makes it more tedious. Any ideas on what's causing that?
from glue.
@jorgebastida
Cleaning up the project directory was my workaround but I wouldn't mind writing a fix (if we agree what is the desired behaviour in such situation)
from glue.
I think the previous commit should fix your issues with --project
. It seems that after --recursive
I mess up how ProjectSpriteManager
discover sprites.
I'm going to release this changes as 0.2.9.1
Thank you very much for your feedback!
from glue.
Related Issues (20)
- Allow ratio_suffix delimiter to be customised
- Crashes on filenames with non-english (non-ascii?) characters
- Support jinja2 2.8 HOT 3
- Unicode in filenames issue with generate_css_name HOT 1
- Ratios are not ordered correctly
- You've found a bug!
- You've found a bug!
- git status
- Won't run on Ubuntu 16.0.4 HOT 1
- [Feature Request] Generate CSS based on % HOT 3
- Path parameter doesn't support non-ANSI.
- Could add inverse functions for glue?
- Using glue for sprite Animations
- Support Jinja2 2.10 HOT 2
- 'module' object has no attribute 'VERSION' HOT 1
- Can't create sprite with glue
- Typo; extra single quote, but irrelevant really
- glue command fails with error
- Glue does not support decimal margins
- .
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 glue.