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

Spritemapper on Windows w/ Python 2.7.8 not working #32

Open
osirion opened this issue Aug 28, 2014 · 0 comments
Open

Spritemapper on Windows w/ Python 2.7.8 not working #32

osirion opened this issue Aug 28, 2014 · 0 comments

Comments

@osirion
Copy link

osirion commented Aug 28, 2014

Hey guys.
First time using this - but having no luck:

  1. Installed Python for windows 2.7.8
  2. Set paths of pythong / scripts in PATH var
  3. Tried running and then this happened:

C:\Python27\Scripts>spritemapper c:\z\css\global.css
Traceback (most recent call last):
File "C:\Python27\Scripts\spritemapper-script.py", line 8, in
load_entry_point('spritemapper==1.0.0', 'console_scripts', 'spritemapper')()
File "C:\Python27\lib\site-packages\spritecss\main.py", line 141, in main
spritemap([css_cls.open_file(fn, conf=conf) for fn in args], conf=conf)
File "C:\Python27\lib\site-packages\spritecss\main.py", line 33, in open_file
return cls(fname, conf=CSSConfig(p, base=conf, fname=fname))
File "C:\Python27\lib\site-packages\spritecss\config.py", line 28, in init
self._data.update(iter_css_config(parser))
File "C:\Python27\lib\site-packages\spritecss\config.py", line 17, in iter_css_config
for ev in iter_events(parser, lexemes=("comment",)):
File "C:\Python27\lib\site-packages\spritecss\css\parser.py", line 43, in iter_events
self._emit_events()
File "C:\Python27\lib\site-packages\spritecss\css\parser.py", line 410, in _emit_events
self.state = self.evaluate()
File "C:\Python27\lib\site-packages\spritecss\css\parser.py", line 429, in evaluate
new = h(st)
File "C:\Python27\lib\site-packages\spritecss\css\parser.py", line 490, in _handle_declaration
"missing semicolon?" % (st,))
RuntimeError: unconsumed declaration in <CSSParseState handler=<bound method CSSParser._handle_declaration of <spritecss.css.parser.CSSParse
r object at 0x0000000002E362B0>>, prev=None, counter=42, tokens=<generator object _css_tokenizer_lineno at 0x0000000002E2DD38>, token=Token(
'block_end', '}', line_no=16, col_no=22), selector='.f_right ', declaration='float:right', at_rule='', comment='', whitespace=''>, missing s
emicolon?

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