Code Monkey home page Code Monkey logo

sprout-osx-settings's Issues

repeated invocations of the screensaver recipe cause longer... and longer... and longer plist filenames to be generated.

I've been repeatedly running the sprout-wrap recipes on my workstation as I build out my soloistrc - it failed a little while ago, with this error:

{code}
STDOUT:
STDERR: 2014-06-06 16:02:56.885 defaults[16226:a07] Could not write domain /Users/elw/Library/Preferences/ByHost/com.apple.screensaver.7720EA65-6F70-593A-ACBC-63CF4F4F3593..7720EA65-6F70-593A-ACBC-63CF4F4F3593..7720EA65-6F70-593A-ACBC-63CF4F4F3593..7720EA65-6F70-593A-ACBC-63CF4F4F3593..7720EA65-6F70-593A-ACBC-63CF4F4F3593.; exiting
---- End output of defaults write /Users/elw/Library/Preferences/ByHost/com.apple.screensaver.7720EA65-6F70-593A-ACBC-63CF4F4F3593..7720EA65-6F70-593A-ACBC-63CF4F4F3593..7720EA65-6F70-593A-ACBC-63CF4F4F3593..7720EA65-6F70-593A-ACBC-63CF4F4F3593..7720EA65-6F70-593A-ACBC-63CF4F4F3593. idleTime -int 600 ----
Ran defaults write /Users/elw/Library/Preferences/ByHost/com.apple.screensaver.7720EA65-6F70-593A-ACBC-63CF4F4F3593..7720EA65-6F70-593A-ACBC-63CF4F4F3593..7720EA65-6F70-593A-ACBC-63CF4F4F3593..7720EA65-6F70-593A-ACBC-63CF4F4F3593..7720EA65-6F70-593A-ACBC-63CF4F4F3593. idleTime -int 600 returned 1
/Library/Ruby/Gems/2.0.0/gems/mixlib-shellout-1.4.0/lib/mixlib/shellout.rb:257:in invalid!' /Library/Ruby/Gems/2.0.0/gems/mixlib-shellout-1.4.0/lib/mixlib/shellout.rb:244:inerror!'
/Library/Ruby/Gems/2.0.0/gems/chef-11.12.4/lib/chef/mixin/shell_out.rb:43:in `shell_out!'
{code}

When I went to the directory, and looked at the list of extant plist files, I found files where the name had gotten progressively longer - more copies of the UUID, serially, in the filename.

I think this is the recipe fragment responsible:

https://github.com/pivotal-sprout/sprout-osx-settings/blob/master/recipes/screensaver.rb#L13-L16

I think the wildcard there is what's making things go wonky.

Anyway, thoughts from other folks? Surely I'm not the only person to ever hit this. :)

--e

Remove menubar recipe

The recipe does not do much of anything in recent versions of OS X. A similar setting is in System Preferences -> Accessibility -> Display -> Reduce transparency, but if we've gone this long without any complaints, it's probably safe to just delete it.

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.