Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where the heck are usage examples? #1

Open
scythargon opened this issue Feb 27, 2015 · 0 comments
Open

Where the heck are usage examples? #1

scythargon opened this issue Feb 27, 2015 · 0 comments

Comments

@scythargon
Copy link

I've installed this package of ours, got some less example from their official site http://lesscss.org/ -
"""
@base: #f938ab;

.box-shadow(@Style, @c) when (iscolor(@c)) {
-webkit-box-shadow: @Style @c;
box-shadow: @Style @c;
}
.box-shadow(@Style, @Alpha: 50%) when (isnumber(@Alpha)) {
.box-shadow(@Style, rgba(0, 0, 0, @Alpha));
}
.box {
color: saturate(@base, 5%);
border-color: lighten(@base, 30%);
div { .box-shadow(0 0 5px, 30%) }
}
"""
saved it to 1.css.less
and tried to run
gears compile 1.css.less 1.css
got this error:
"""
Traceback (most recent call last):
File "/home/argon/Envs/jr/bin/gears", line 9, in
load_entry_point('gears-cli==0.1.dev0', 'console_scripts', 'gears')()
File "build/bdist.linux-x86_64/egg/gears_cli/main.py", line 25, in run
File "build/bdist.linux-x86_64/egg/gears_cli/commands.py", line 46, in run
# Assume the command will work with '{ ... ; } 2>&1' around it..
File "build/bdist.linux-x86_64/egg/gears_cli/commands.py", line 34, in compile

File "/home/argon/Envs/jr/local/lib/python2.7/site-packages/gears/assets.py", line 365, in build_asset
path = strip_fingerprint(path)
File "/home/argon/Envs/jr/local/lib/python2.7/site-packages/gears/assets.py", line 376, in strip_fingerprint
match = FINGERPRINT_RE.search(path)
TypeError: expected string or buffer
"""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant