KKBOX / CompassApp

Compass.app helps designers compile stylesheets easily without resorting to command line interface
http://compass.kkbox.com
GNU General Public License v2.0
757 stars 89 forks source link

Compass.app throws errors when spriting #75

Open danlinn opened 12 years ago

danlinn commented 12 years ago

Java Heap Space is all that's shown on the screen. This is version 1.9 as I'm still waiting on a response on how to upgrade to 1.12. A clean and compile from the command line fixes it.

hlb commented 12 years ago

Please try 1.14 and see if it works for you first :-)

danlinn commented 12 years ago

Sorry, I should have mentioned that others here have 1.14 and it's doing the same thing. I've upgraded too and it's still doing it. Any way to get more info on the error? A regular compass clean && compass compile from the command line fixes things.

danlinn commented 12 years ago

Do I need to resubmit to reopen this?

hlb commented 12 years ago

Can you provide the error message or the test suite, so we can try to figure it out?

danlinn commented 12 years ago

I'm sorry, but Java Heap Space is all that's shown. Is there a log I can open up somewhere?

hlb commented 12 years ago

Please open /Applications/Utilities/Console.app, choose the error messages from Compass.app, and copy it.

danlinn commented 12 years ago

This is every message with a clean and compile. A clean and compile from the command line works fine. No smoking gun, but here it is (I blacked out my home directory with ***):

4/13/12 10:05:44.885 AM [0x0-0xdd0dd].compass: No matching processes belonging to you were found 4/13/12 10:05:47.403 AM awacsd: Starting awacsd connectivity-47.1 (Nov 8 2011 18:46:33) 4/13/12 10:05:47.641 AM awacsd: Connecting AWACS client: 53264279.p07.members.btmm.icloud.com. 4/13/12 10:05:48.492 AM [0x0-0xdd0dd].compass:  4/13/12 10:05:48.542 AM [0x0-0xdd0dd].compass:  4/13/12 10:05:48.687 AM [0x0-0xdd0dd].compass:  4/13/12 10:05:48.704 AM [0x0-0xdd0dd].compass:  4/13/12 10:05:48.854 AM [0x0-0xdd0dd].compass:  4/13/12 10:05:48.870 AM [0x0-0xdd0dd].compass:  4/13/12 10:05:48.977 AM [0x0-0xdd0dd].compass:  4/13/12 10:05:49.000 AM kernel: utun_ctl_connect: creating interface utun0 4/13/12 10:05:49.000 AM kernel: utun0: attached with 0 suspended link-layer multicast membership(s) 4/13/12 10:06:05.558 AM [0x0-0xdd0dd].compass:  4/13/12 10:06:09.000 AM [0x0-0xdd0dd].compass: No matching processes belonging to you were found 4/13/12 10:06:09.013 AM [0x0-0xdd0dd].compass: No matching processes belonging to you were found 4/13/12 10:06:09.027 AM [0x0-0xdd0dd].compass: >>> Change detected at 10:06:09 to: style.scss 4/13/12 10:06:09.045 AM [0x0-0xdd0dd].compass:  4/13/12 10:06:09.046 AM [0x0-0xdd0dd].compass:  4/13/12 10:06:09.834 AM [0x0-0xdd0dd].compass: unchanged ../***/drupal/sites/all/themes/boilerplate/images/sprites-sbacab579ac.png 4/13/12 10:06:10.679 AM [0x0-0xdd0dd].compass:  4/13/12 10:06:10.679 AM [0x0-0xdd0dd].compass:  4/13/12 10:06:10.773 AM [0x0-0xdd0dd].compass: create css/compiled/style.css 4/13/12 10:06:10.809 AM [0x0-0xdd0dd].compass:  4/13/12 10:06:10.810 AM [0x0-0xdd0dd].compass:  4/13/12 10:06:10.865 AM [0x0-0xdd0dd].compass:  4/13/12 10:06:10.866 AM [0x0-0xdd0dd].compass:  4/13/12 10:06:10.960 AM [0x0-0xdd0dd].compass: create css/compiled/tabs.css 4/13/12 10:06:10.968 AM [0x0-0xdd0dd].compass: >>> Compass is watching for changes. Press Ctrl-C to Stop.

hlb commented 12 years ago

@danlinn It is really weird. Can you provide a zip with the images and sass code snippet, so we can investigate on it?

danlinn commented 12 years ago

I started removing larger images and I split my sprites into vertical and horizontal folders. Now it's working. I think I was just running into actual memory issues due to the size of the files. It was a big sprite file.

Dan Linn Backflip Digital 503-515-3593

On May 3, 2012, at 12:38 AM, Liang-Bin Hsueh reply@reply.github.com wrote:

@danlinn It is really weird. Can you provide a zip with the images and sass code snippet, so we can investigate on it?


Reply to this email directly or view it on GitHub: https://github.com/handlino/CompassApp/issues/75#issuecomment-5482482

hlb commented 12 years ago

@danlinn I do not think it is a memory-related issue. Could you tell us how many files and size of files you have, so we can build a test case based on this scenario?

danlinn commented 12 years ago

We had 44 sprites images, some of them very large as they were section backgrounds. The resulting sprite was 2.3Mb and 964px X 7352.

Thanks, Dan

On Thu, May 3, 2012 at 7:15 AM, Liang-Bin Hsueh < reply@reply.github.com

wrote:

@danlinn I do not think it is a memory-related issue. Could you tell us how many files and size of files you have, so we can build a test case based on this scenario?


Reply to this email directly or view it on GitHub: https://github.com/handlino/CompassApp/issues/75#issuecomment-5488469

hlb commented 12 years ago

Wow... a 2.3mb sprite image is really fat. We will try to make a test case about it. Thank you!