hi, I got the following error for one of my page (while the others are okay) -- Antons-MacBook-Air:mincss-master antonrifcosusilo$ python run.py -v http://localhost/dev-homepage/v/user_iti --outputdir output_publiciti TROUBLEMAKER u'a[href^="javascript' Traceback (most recent call last): File "run.py", line 75, in <module> sys.exit(run(args)) File "run.py", line 19, in run p.process(args.url) File "mincss/processor.py", line 122, in process processed = self._process_content(content, self._bodies) File "mincss/processor.py", line 308, in _process_content inner, whole = self._get_contents(m, content) File "mincss/processor.py", line 396, in _get_contents c = original_content[position] IndexError: string index out of range
Comment
hi, I got the following error for one of my page (while the others are okay)
--
Antons-MacBook-Air:mincss-master antonrifcosusilo$ python run.py -v http://localhost/dev-homepage/v/user_iti --outputdir output_publiciti
TROUBLEMAKER
u'a[href^="javascript'
Traceback (most recent call last):
File "run.py", line 75, in <module>
sys.exit(run(args))
File "run.py", line 19, in run
p.process(args.url)
File "mincss/processor.py", line 122, in process
processed = self._process_content(content, self._bodies)
File "mincss/processor.py", line 308, in _process_content
inner, whole = self._get_contents(m, content)
File "mincss/processor.py", line 396, in _get_contents
c = original_content[position]
IndexError: string index out of range
---
What might be the cause?
thanks