Shopify/shopify_theme — Issue #9: Uncaught exception when uploading png files
Author: parkerault
Created: 2012-01-05 05:47:04+00:00
State: open

Fails with the following stack trace:

/home/---/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/syck/rubytypes.rb:151:in `count': create - //home/---/theme/assets/logo.png: invalid byte sequence in UTF-8 (FSSM::CallbackError)
from /home/---/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/syck/rubytypes.rb:151:in `is_binary_data?'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/shopify_theme-0.0.4/lib/shopify_theme/cli.rb:114:in `send_asset'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/shopify_theme-0.0.4/lib/shopify_theme/cli.rb:83:in `block (2 levels) in watch'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/fssm-0.2.7/lib/fssm/path.rb:73:in `call'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/fssm-0.2.7/lib/fssm/path.rb:73:in `run_callback'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/fssm-0.2.7/lib/fssm/path.rb:55:in `callback_action'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/fssm-0.2.7/lib/fssm/path.rb:31:in `create'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/fssm-0.2.7/lib/fssm/state/directory.rb:26:in `block in created'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/fssm-0.2.7/lib/fssm/state/directory.rb:25:in `each'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/fssm-0.2.7/lib/fssm/state/directory.rb:25:in `created'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/fssm-0.2.7/lib/fssm/state/directory.rb:17:in `refresh'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/fssm-0.2.7/lib/fssm/backends/inotify.rb:12:in `block in add_handler'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/rb-inotify-0.8.8/lib/rb-inotify/notifier.rb:200:in `call'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/rb-inotify-0.8.8/lib/rb-inotify/notifier.rb:200:in `block in watch'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/rb-inotify-0.8.8/lib/rb-inotify/watcher.rb:41:in `[]'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/rb-inotify-0.8.8/lib/rb-inotify/watcher.rb:41:in `callback!'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/rb-inotify-0.8.8/lib/rb-inotify/event.rb:128:in `callback!'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/rb-inotify-0.8.8/lib/rb-inotify/notifier.rb:233:in `block in process'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/rb-inotify-0.8.8/lib/rb-inotify/notifier.rb:233:in `each'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/rb-inotify-0.8.8/lib/rb-inotify/notifier.rb:233:in `process'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/rb-inotify-0.8.8/lib/rb-inotify/notifier.rb:216:in `run'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/fssm-0.2.7/lib/fssm/backends/inotify.rb:20:in `run'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/fssm-0.2.7/lib/fssm/monitor.rb:26:in `run'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/fssm-0.2.7/lib/fssm.rb:20:in `monitor'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/shopify_theme-0.0.4/lib/shopify_theme/cli.rb:78:in `watch'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
from /home/---/.rvm/gems/ruby-1.9.2-p180/gems/shopify_theme-0.0.4/bin/theme:24:in `'
from /home/---/.rvm/gems/ruby-1.9.2-p180/bin/theme:19:in `load'
from /home/---/.rvm/gems/ruby-1.9.2-p180/bin/theme:19:in `

'