Giter VIP home page Giter VIP logo

desktop's Introduction

banner

desktop's People

Contributors

bjarocki avatar chrishunt avatar hanloong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

desktop's Issues

Image options

If we use System Preferences to set a desktop background with an image, we're presented with the following options:

  • Fill Screen
  • Fit to Screen
  • Stretch to Fill Screen
  • Center
  • Tile

I could be wrong, but I think desktop uses Fit to Screen. Would it be possible for desktop to make the other options available as well? I just wanna tile this bad boy.

Crash

Running Yosemite 10.10.1:

/Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/sqlite3-1.3.9/lib/sqlite3/sqlite3_native.bundle: [BUG] Segmentation fault at 0x00000000000418
ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin14.0]

-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:
     * ~/Library/Logs/CrashReporter
     * /Library/Logs/CrashReporter
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   for more details.

-- Control frame information -----------------------------------------------
c:0022 p:-17536324654742 s:0104 e:000103 TOP    [FINISH]
c:0021 p:---- s:0102 e:000101 CFUNC  :require
c:0020 p:0113 s:0098 e:000097 METHOD /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54
c:0019 p:0020 s:0088 e:000087 RESCUE /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/sqlite3-1.3.9/lib/sqlite3.rb:6
c:0018 p:0032 s:0085 e:000084 TOP    /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/sqlite3-1.3.9/lib/sqlite3.rb:2 [FINISH]
c:0017 p:---- s:0083 e:000082 CFUNC  :require
c:0016 p:0113 s:0079 e:000078 METHOD /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54
c:0015 p:0007 s:0069 e:000068 TOP    /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/desktop-1.2.0/lib/desktop/osx/database.rb:1 [FINISH]
c:0014 p:---- s:0067 e:000066 CFUNC  :require
c:0013 p:0113 s:0063 e:000062 METHOD /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54
c:0012 p:0007 s:0053 e:000052 TOP    /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/desktop-1.2.0/lib/desktop/osx/osx.rb:1 [FINISH]
c:0011 p:---- s:0051 e:000050 CFUNC  :require
c:0010 p:0113 s:0047 e:000046 METHOD /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54
c:0009 p:0039 s:0037 e:000036 TOP    /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/desktop-1.2.0/lib/desktop.rb:6 [FINISH]
c:0008 p:---- s:0035 e:000034 CFUNC  :require
c:0007 p:0113 s:0031 e:000030 METHOD /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54
c:0006 p:0007 s:0021 e:000020 TOP    /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/desktop-1.2.0/bin/desktop:3 [FINISH]
c:0005 p:---- s:0019 e:000018 CFUNC  :load
c:0004 p:0135 s:0015 E:000058 EVAL   /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/bin/desktop:23 [FINISH]
c:0003 p:---- s:0011 e:000010 CFUNC  :eval
c:0002 p:0118 s:0005 E:001c80 EVAL   /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15 [FINISH]
c:0001 p:0000 s:0002 E:0009a8 TOP    [FINISH]

/Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `<main>'
/Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `eval'
/Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/bin/desktop:23:in `<main>'
/Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/bin/desktop:23:in `load'
/Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/desktop-1.2.0/bin/desktop:3:in `<top (required)>'
/usr/local/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/usr/local/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/desktop-1.2.0/lib/desktop.rb:6:in `<top (required)>'
/usr/local/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/usr/local/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/desktop-1.2.0/lib/desktop/osx/osx.rb:1:in `<top (required)>'
/usr/local/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/usr/local/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/desktop-1.2.0/lib/desktop/osx/database.rb:1:in `<top (required)>'
/usr/local/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/usr/local/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/sqlite3-1.3.9/lib/sqlite3.rb:2:in `<top (required)>'
/Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/sqlite3-1.3.9/lib/sqlite3.rb:6:in `rescue in <top (required)>'
/usr/local/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/usr/local/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'

-- C level backtrace information -------------------------------------------
0   libruby.2.1.0.dylib                 0x000000010704ac09 rb_print_backtrace + 29
1   libruby.2.1.0.dylib                 0x000000010704acf7 rb_vm_bugreport + 131
2   libruby.2.1.0.dylib                 0x0000000106f3f2e2 report_bug + 305
3   libruby.2.1.0.dylib                 0x0000000106f3f1ac rb_bug + 180
4   libruby.2.1.0.dylib                 0x0000000106fe9c6f check_stack_overflow + 0
5   libsystem_platform.dylib            0x00007fff95bddf1a _sigtramp + 26
6   libruby.2.0.0.dylib                 0x0000000107354d17 ruby_xmalloc + 23
7   ???                                 0x00007f97f336ad60 0x0 + 140290597236064

-- Other runtime information -----------------------------------------------

* Loaded script: /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/bin/desktop

* Loaded features:

    0 enumerator.so
    1 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/x86_64-darwin14.0/enc/encdb.bundle
    2 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/x86_64-darwin14.0/enc/trans/transdb.bundle
    3 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/x86_64-darwin14.0/rbconfig.rb
    4 thread.rb
    5 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/x86_64-darwin14.0/thread.bundle
    6 /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/compatibility.rb
    7 /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/defaults.rb
    8 /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/deprecate.rb
    9 /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/errors.rb
   10 /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/version.rb
   11 /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/requirement.rb
   12 /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/platform.rb
   13 /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/basic_specification.rb
   14 /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/stub_specification.rb
   15 /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/util/stringio.rb
   16 /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb
   17 /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/exceptions.rb
   18 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/rubygems/defaults/operating_system.rb
   19 /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_gem.rb
   20 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/monitor.rb
   21 /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb
   22 /usr/local/lib/ruby/site_ruby/2.1.0/rubygems.rb
   23 /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/path_support.rb
   24 /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/dependency.rb
   25 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353@global/gems/executable-hooks-1.2.6/lib/executable-hooks/hooks.rb
   26 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/x86_64-darwin14.0/etc.bundle
   27 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/fileutils.rb
   28 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/x86_64-darwin14.0/pathname.bundle
   29 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/pathname.rb
   30 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353@global/gems/bundler-1.3.5/lib/bundler/gem_path_manipulation.rb
   31 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353@global/gems/bundler-1.3.5/lib/bundler/gem_helpers.rb
   32 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353@global/gems/bundler-1.3.5/lib/bundler/match_platform.rb
   33 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353@global/gems/bundler-1.3.5/lib/bundler/rubygems_ext.rb
   34 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/x86_64-darwin14.0/io/console.bundle
   35 /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/user_interaction.rb
   36 /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/config_file.rb
   37 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353@global/gems/bundler-1.3.5/lib/bundler/rubygems_integration.rb
   38 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353@global/gems/bundler-1.3.5/lib/bundler/version.rb
   39 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353@global/gems/bundler-1.3.5/lib/bundler.rb
   40 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353@global/gems/bundler-unload-1.0.2/lib/bundler-unload.rb
   41 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353@global/gems/rubygems-bundler-1.4.2/lib/rubygems-bundler/noexec.rb
   42 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/set.rb
   43 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/command.rb
   44 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/core_ext/hash_with_indifferent_access.rb
   45 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/core_ext/ordered_hash.rb
   46 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/error.rb
   47 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/invocation.rb
   48 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/parser/argument.rb
   49 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/parser/arguments.rb
   50 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/parser/option.rb
   51 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/parser/options.rb
   52 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/parser.rb
   53 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/shell.rb
   54 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/line_editor/basic.rb
   55 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/x86_64-darwin14.0/readline.bundle
   56 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/line_editor/readline.rb
   57 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/line_editor.rb
   58 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/util.rb
   59 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/base.rb
   60 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor.rb
   61 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/desktop-1.2.0/lib/desktop/cli.rb
   62 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/desktop-1.2.0/lib/desktop/image.rb
   63 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/desktop-1.2.0/lib/desktop/local_image.rb
   64 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/desktop-1.2.0/lib/desktop/version.rb
   65 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/cgi/core.rb
   66 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/cgi/util.rb
   67 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/cgi/cookie.rb
   68 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/cgi.rb
   69 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/forwardable.rb
   70 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/timeout.rb
   71 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/faraday-0.9.0/lib/faraday/parameters.rb
   72 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/faraday-0.9.0/lib/faraday/utils.rb
   73 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/faraday-0.9.0/lib/faraday/options.rb
   74 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/faraday-0.9.0/lib/faraday/connection.rb
   75 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/faraday-0.9.0/lib/faraday/rack_builder.rb
   76 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/faraday-0.9.0/lib/faraday/middleware.rb
   77 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/faraday-0.9.0/lib/faraday/adapter.rb
   78 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/faraday-0.9.0/lib/faraday/request.rb
   79 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/faraday-0.9.0/lib/faraday/response.rb
   80 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/multipart-post-1.2.0/lib/composite_io.rb
   81 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/multipart-post-1.2.0/lib/parts.rb
   82 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/x86_64-darwin14.0/stringio.bundle
   83 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/faraday-0.9.0/lib/faraday/upload_io.rb
   84 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/faraday-0.9.0/lib/faraday/error.rb
   85 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/faraday-0.9.0/lib/faraday/autoload.rb
   86 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/faraday-0.9.0/lib/faraday.rb
   87 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/uri/common.rb
   88 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/uri/generic.rb
   89 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/uri/ftp.rb
   90 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/uri/http.rb
   91 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/uri/https.rb
   92 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/uri/ldap.rb
   93 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/uri/ldaps.rb
   94 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/uri/mailto.rb
   95 /usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/uri.rb
   96 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/desktop-1.2.0/lib/desktop/http.rb
   97 /Users/james.brooks/.rvm/gems/ruby-2.0.0-p353/gems/desktop-1.2.0/lib/desktop/web_image.rb

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
Don't forget to include the above Crash Report log file.
For details: http://www.ruby-lang.org/bugreport.html

Abort trap: 6

Yosemite has broken the gem

The Yosemite upgrade swapped my desktop image, and now the desktop gem isn't able to change it.

# expect the following to update my desktop background to something cool
desktop http://static.simpledesktops.com/uploads/desktops/2014/10/12/Hydrogen.png
# desktop remains the stupid yosemite picture Apple has forced upon me

Will try and take a look sometime in the next week or so.

Not working on 10.10.2

After updating to OS X 10.10.2, I can't get the gem to work properly anymore. The background defaulted back to the regular blue one, and now I continually get the following error:

Sorry, but it looks like the image you provided does not exist:

/path/to/image.jpg

Please create an issue if you think this is my fault:

https://github.com/chrishunt/desktop/issues/new

The image path is correct, but still no dice ๐Ÿ˜ž

Yosemite problems

Hey @chrishunt, I'm not sure if you're looking into Yosemite support yet or not, but I'm having problems with desktop working on it.

When I enter the command with a path to the image, the background flickers black and then resets back to the default Yosemite wallpaper. Not sure if this is just me or not so I thought I'd ask.

๐Ÿค˜

Can't change system file permission on El Capitan

After upgrading to El Capitan then attempting to use desktop I was presented with the following message

It looks like this is the first time you've tried to change your desktop.

We need to make your desktop image writable before we can change it. This only needs to be done once.

$ sudo chown -h $('whoami'):staff /System/Library/CoreServices/DefaultDesktop.jpg && sudo chown $('whoami'):staff /System/Library/CoreServices/DefaultDesktop.jpg
$ sudo chmod -h 664 /System/Library/CoreServices/DefaultDesktop.jpg && sudo chmod 664 /System/Library/CoreServices/DefaultDesktop.jpg

This is despite desktop being installed prior to the update (obviously the update resets permissions on the file)

However the new SIP in El Capitan prevents you from writing to many system directories such as /usr, /System & /bin, regardless of whether or not you are root.

I don't know what the solution is, other than to possibly follow the advice here https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/El_Capitan_and_Homebrew.md and boot into recovery mode to set the permissions

Doesn't work first time on OSX

Running gem install desktop on OSX 10.8, asked to enter a password to chmod files which all worked fine. Then

[9:01:39] xavierriley:~ $ desktop ~/Dropbox/Environment/Paper_Jet_by_Cher_Tim.png
/Users/xavierriley/.rvm/gems/ruby-1.9.3-p385/gems/sqlite3-1.3.9/lib/sqlite3/database.rb:91:in `initialize': no such table: data (SQLite3::SQLException)
    from /Users/xavierriley/.rvm/gems/ruby-1.9.3-p385/gems/sqlite3-1.3.9/lib/sqlite3/database.rb:91:in `new'
    from /Users/xavierriley/.rvm/gems/ruby-1.9.3-p385/gems/sqlite3-1.3.9/lib/sqlite3/database.rb:91:in `prepare'
    from /Users/xavierriley/.rvm/gems/ruby-1.9.3-p385/gems/sqlite3-1.3.9/lib/sqlite3/database.rb:134:in `execute'
    from /Users/xavierriley/.rvm/gems/ruby-1.9.3-p385/gems/desktop-1.1.0/lib/desktop/osx.rb:62:in `clear_custom_desktop_image'
    from /Users/xavierriley/.rvm/gems/ruby-1.9.3-p385/gems/desktop-1.1.0/lib/desktop/osx.rb:32:in `desktop_image='
    from /Users/xavierriley/.rvm/gems/ruby-1.9.3-p385/gems/desktop-1.1.0/lib/desktop/cli.rb:24:in `set'
    from /Users/xavierriley/.rvm/gems/ruby-1.9.3-p385/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
    from /Users/xavierriley/.rvm/gems/ruby-1.9.3-p385/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
    from /Users/xavierriley/.rvm/gems/ruby-1.9.3-p385/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
    from /Users/xavierriley/.rvm/gems/ruby-1.9.3-p385/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
    from /Users/xavierriley/.rvm/gems/ruby-1.9.3-p385/gems/desktop-1.1.0/bin/desktop:9:in `<top (required)>'
    from /Users/xavierriley/.rvm/gems/ruby-1.9.3-p385/bin/desktop:23:in `load'
    from /Users/xavierriley/.rvm/gems/ruby-1.9.3-p385/bin/desktop:23:in `<main>'
    from /Users/xavierriley/.rvm/gems/ruby-1.9.3-p385/bin/ruby_executable_hooks:15:in `eval'
    from /Users/xavierriley/.rvm/gems/ruby-1.9.3-p385/bin/ruby_executable_hooks:15:in `<main>'

Tracked it down to a seemingly redundant SQLite call in lib/desktop/osx.rb. I cloned the repo, deleted that method and removed references to sqlite3 and it works fine now. I'm opening a PR with the changes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.