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

Downgrade to previous version #264

Closed ckpicker closed 9 years ago

ckpicker commented 10 years ago

Is there a way to downgrade to the previous version? This latest release is giving me all kinds of trouble.

thrasherstudios77 commented 10 years ago

I second that. I installed the new version of compass.app and receiving all kinds of errors, worked perfectly yesterday.

Tried using my older version of compass.app and won't even startup, what is going on! Is the older version somehow disabled now from being used?

Very confused and frustrated, had a lot of work to do today using SASS and now I am sunk, please help with this.

Here is the error I now receive on my compiled style.css file.

/* NoMethodError: undefined method `empty?' for #Sass::Script::Value::String:0x18c70e5

Backtrace: C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:160:in visit_prop' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/base.rb:36:invisit' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:23:in visit' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:43:invisit_children_without_parent' org/jruby/RubyArray.java:2412:in map' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:43:invisit_children_without_parent' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:142:in visit_trace' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/base.rb:36:invisit' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:23:in visit' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:43:invisit_children_without_parent' org/jruby/RubyArray.java:2412:in map' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:43:invisit_children_without_parent' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:32:in visit_children' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:54:inwith_parent' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:31:in visit_children' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/base.rb:36:invisit' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:196:in visit_rule' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/base.rb:36:invisit' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:23:in visit' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:43:invisit_children_without_parent' org/jruby/RubyArray.java:2412:in map' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:43:invisit_children_without_parent' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:32:in visit_children' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:54:inwith_parent' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:31:in visit_children' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/base.rb:36:invisit' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:196:in visit_rule' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/base.rb:36:invisit' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:23:in visit' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:43:invisit_children_without_parent' org/jruby/RubyArray.java:2412:in map' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:43:invisit_children_without_parent' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:133:in visit_import' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/base.rb:36:invisit' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:23:in visit' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:43:invisit_children_without_parent' org/jruby/RubyArray.java:2412:in map' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:43:invisit_children_without_parent' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:32:in visit_children' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:54:inwith_parent' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:31:in visit_children' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/base.rb:36:invisit' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:65:in visit_root' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/base.rb:36:invisit' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:23:in visit' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/base.rb:24:invisit' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/visitors/cssize.rb:6:in visit' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/root_node.rb:38:incss_tree' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/tree/root_node.rb:20:in render' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/engine.rb:268:inrender' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/plugin/compiler.rb:492:in update_stylesheet' org/jruby/RubyMethod.java:136:incall' file:/C:/Program Files (x86)/compass.app/compass-app.jar!/hook/compass_patch.rb:108:in update_stylesheet' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/plugin/compiler.rb:215:inupdate_stylesheets' org/jruby/RubyArray.java:1613:in each' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/plugin/compiler.rb:209:inupdate_stylesheets' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/plugin/compiler.rb:470:in on_file_changed' C:/Program Files (x86)/compass.app/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/plugin/compiler.rb:329:inwatch' org/jruby/RubyProc.java:271:in call' C:/Program Files (x86)/compass.app/lib/ruby/jruby/listen-1.1.6/lib/listen/listener.rb:236:inon_change' C:/Program Files (x86)/compass.app/lib/ruby/jruby/listen-1.1.6/lib/listen/listener.rb:271:in initialize_adapter' org/jruby/RubyProc.java:271:incall' C:/Program Files (x86)/compass.app/lib/ruby/jruby/listen-1.1.6/lib/listen/adapters/polling.rb:48:in poll_changed_directories' C:/Program Files (x86)/compass.app/lib/ruby/jruby/listen-1.1.6/lib/listen/adapter.rb:289:instart_poller' */ body:before { white-space: pre; font-family: monospace; content: "NoMethodError: undefined method `empty?' for #Sass::Script::Value::String:0x18c70e5"; }

hlb commented 10 years ago

Hello,

  1. Please use v1.28.1 instead of v1.28. v1.28 has watch/compile issue on Windows :(
  2. @thrasherstudios77 does it happen even if you create a new project in Compass.app?
  3. We decide to put the older release (v1.27) here. Please use the green button to download: https://github.com/KKBOX/CompassApp/releases/tag/v1.27
Penthe commented 10 years ago

Hello, having similar problems trying to use the older version (after unsuccessfully having tried the 1.28). After downgrading and useing the 1.27 version in the link in the post above, I get another error message saying: There is something wrong No such file or directory - No such directory org/jruby/RubyDir.java:140:in initialize' file:/C:/Program Files/compass.app.windows.v1.27/compass.app/compass-app.jar!/app.rb:214:inscan_library' file:/C:/Program Files/compass.app.windows.v1.27/compass.app/compass-app.jar!/app.rb:122:in require_compass' file:/C:/Program Files/compass.app.windows.v1.27/compass.app/compass-app.jar!/main.rb:78:inapp_require_lib' file:/C:/Program Files/compass.app.windows.v1.27/compass.app/compass-app.jar!/main.rb:104:in init_app' file:/C:/Program Files/compass.app.windows.v1.27/compass.app/compass-app.jar!/main.rb:13:ininit' file:/C:/Program Files/compass.app.windows.v1.27/compass.app/compass-app.jar!/main.rb:131:in (root)' org/jruby/RubyKernel.java:1062:inrequire' file:/C:/Program Files/compass.app.windows.v1.27/compass.app/compass-app.jar!/main.rb:1:in `(root)'

Also, when I choose to quit the application after recieving the first error message in v 1.27, I immediately get another one, saying: There is something wrong uninitialized constant Tray::Compass org/jruby/RubyModule.java:2647:in const_missing' file:/D:/Program att flytta med/compass/compass.app.windows.v1.27/compass.app/compass-app.jar!/ui/tray.rb:205:inbuild_compass_framework_menuitem' file:/D:/Program att flytta med/compass/compass.app.windows.v1.27/compass.app/compass-app.jar!/ui/tray.rb:42:in initialize' file:/D:/Program att flytta med/compass/compass.app.windows.v1.27/compass.app/lib/java/jruby-complete.jar!/META-INF/jruby.home/lib/ruby/1.8/singleton.rb:109:ininstance' file:/D:/Program att flytta med/compass/compass.app.windows.v1.27/compass.app/lib/java/jruby-complete.jar!/META-INF/jruby.home/lib/ruby/1.8/singleton.rb:107:in instance' file:/D:/Program att flytta med/compass/compass.app.windows.v1.27/compass.app/compass-app.jar!/main.rb:116:inrun_tray' file:/D:/Program att flytta med/compass/compass.app.windows.v1.27/compass.app/compass-app.jar!/main.rb:132:in (root)' org/jruby/RubyKernel.java:1062:inrequire' file:/D:/Program att flytta med/compass/compass.app.windows.v1.27/compass.app/compass-app.jar!/main.rb:1:in `(root)'

I then tried the v.1.28.1, which works alright although it gives me error messages concerning some of the susy framework code (susy one) I'm using in my current project. However after removing some of the lines // Capture the current exerimental support settings /@function capture-experimental-matrix() { @return $experimental-support-for-mozilla $experimental-support-for-webkit $experimental-support-for-microsoft $experimental-support-for-opera $experimental-support-for-khtml; }/

// Capture the current legacy-ie support settings /@function capture-legacy-ie-matrix() { @return $legacy-support-for-ie6 $legacy-support-for-ie7 $legacy-support-for-ie8; }/) and some functions that used this, compiling worked. This is however not a solution for me since I need ie8 support for my client.

Therefore, I'm back to the issue concerning how to get back to using v 1.27. Do you have any good advice? I'm on windows 7 if that helps.

EDIT: It seemed that all I needed to do to get v1.27 to work again, was to click "quit and reset" instead of "quit". Hopefully this will save others some time of desperation :).

hlb commented 9 years ago

v1.29 will release soon.