OK figured this out after some sleep... Here's the issue should
someone else come across this.

I had updated blueprint  css to the latest version which brought along
the plugins including link-icons. In link icons there are css
selectors such as:

a[href$=".pdf"], a[href$=".doc"], a[href$=".xls"], a[href$=".rss"],

I found on the net the java errors below are cause by '$' so they need
to be escaped. So I escaped the appropriate selectors in link-icons/
screen.css to:

a[href\$=".pdf"], a[href\$=".doc"], a[href\$=".xls"], a[href\
$=".rss"],

and now no more compressor errors and my .css works again in
production. It's interesting I use media url ($MEDIA_URL) all over and
that does not seem to cause an issue.

Also have no idea if link-icons is working with the escaped \$ as I
don't use link-icons but hopefully this helps someone along the way.

Dave




On Dec 12, 6:13 pm, Dave <[email protected]> wrote:
> Note sure if this is the right place, but all of a sudden I'm getting
> media generator errors as such:
>
> Combining admin_media/js/timeparse.js...
>   Running yuicompressor... 1010 bytes
> Combining admin_media/js/urlify.js...
>   Running yuicompressor... 3984 bytes
> Combining combined-en.js...
>   Running yuicompressor... 287967 bytes
> Combining combined-ltr.css...
> Exception in thread "main" java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at com.yahoo.platform.yui.compressor.Bootstrap.main
> (Bootstrap.java:20)
> Caused by: java.lang.IllegalArgumentException: Illegal group reference
>         at java.util.regex.Matcher.appendReplacement(Matcher.java:706)
>         at com.yahoo.platform.yui.compressor.CssCompressor.compress
> (CssCompressor.java:86)
>         at com.yahoo.platform.yui.compressor.YUICompressor.main
> (YUICompressor.java:178)
>         ... 5 more
>   Running yuicompressor... Failed!
> Combining combined-rtl.css...
> Exception in thread "main" java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at com.yahoo.platform.yui.compressor.Bootstrap.main
> (Bootstrap.java:20)
> Caused by: java.lang.IllegalArgumentException: Illegal group reference
>         at java.util.regex.Matcher.appendReplacement(Matcher.java:706)
>         at com.yahoo.platform.yui.compressor.CssCompressor.compress
> (CssCompressor.java:86)
>         at com.yahoo.platform.yui.compressor.YUICompressor.main
> (YUICompressor.java:178)
>         ... 5 more
>   Running yuicompressor... Failed!
> Combining combined-print-ltr.css...
>   Running yuicompressor... 1784 bytes
> Combining combined-print-rtl.css...
>   Running yuicompressor... 1784 bytes
> Combining ie.css...
>   Running yuicompressor... 1394 bytes
>
> and the end results appears that all .css is gone when loading to
> production site. I only get the errors on combined-ltr.css and
> combined.rtl.css. Frankly I can't find where these are being called
> into the build???
>
> I've been poking at this for a while and can't figure out what the
> heck has gone wrong.
>
> Any ideas? I sure appreciate it.

--

You received this message because you are subscribed to the Google Groups 
"app-engine-patch" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/app-engine-patch?hl=en.


Reply via email to