matth / growl-atom

A script to monitor Atom feeds and create Growl notitifcations for new entries
8 stars 1 forks source link

Lion support? #4

Open ghost opened 12 years ago

ghost commented 12 years ago

Not sure if this is due to Lion or me messing something up, but I get this error when running growl-atom check

10-51-0-227:1.10 dave$ growl-atom check sh: /Users/dave/.growl-atom/caches/180c1319938bb908ed819d55fe12bac0: Permission denied /Library/Ruby/Gems/1.8/gems/growl-1.0.3/lib/growl/growl.rb:141:inrun': message required (Growl::Error) from /Library/Ruby/Gems/1.8/gems/growl-1.0.3/lib/growl/growl.rb:34:in notify' from /Library/Ruby/Gems/1.8/gems/growl-atom-0.0.6/lib/growl-atom.rb:106:inparse_feed' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/element.rb:891:in each' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/xpath.rb:53:ineach' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/element.rb:891:in each' from /Library/Ruby/Gems/1.8/gems/growl-atom-0.0.6/lib/growl-atom.rb:91:inparse_feed' from /Library/Ruby/Gems/1.8/gems/growl-atom-0.0.6/lib/growl-atom.rb:38:in check' from /Library/Ruby/Gems/1.8/gems/growl-atom-0.0.6/lib/growl-atom.rb:35:ineach' from /Library/Ruby/Gems/1.8/gems/growl-atom-0.0.6/lib/growl-atom.rb:35:in check' from /Library/Ruby/Gems/1.8/gems/growl-atom-0.0.6/bin/growl-atom:46 from /usr/bin/growl-atom:19:inload' from /usr/bin/growl-atom:19`

matth commented 12 years ago

Weird, looks like a permissions issue.

Did you do sudo growl-atom install? If so I think it might be the cause, try sudo growl-atom uninstall and then just growl-atom install.

Otherwise you could try sudo chown -R dave /Users/dave/.growl-atom/ and sudo chgrp -R dave /Users/dave/.growl-atom/

I have not tested on Lion tough so could be a strange issue with the new OS.

ghost commented 12 years ago

Setting the permission manually has gotten rid of the error, but I'm not getting any notifications, and the cache file looks to be empty.

Missing notifications might be a Growl incompatibility I guess, this is Growl 1.3.2, with GrowlNotify installed. More worried about the empty cache file I guess.

matth commented 12 years ago

Hmm, might be an issue with the new os then. Am hoping to install soon so will look then. If you find a solution in the meantime though please share it!

Cheers,

Matt

On 23 Dec 2011, at 10:46, Dave Irvinereply@reply.github.com wrote:

Setting the permission manually has gotten rid of the error, but I'm not getting any notifications, and the cache file looks to be empty.

Missing notifications might be a Growl incompatibility I guess, this is Growl 1.3.2, with GrowlNotify installed. More worried about the empty cache file I guess.


Reply to this email directly or view it on GitHub: https://github.com/matth/growl-atom/issues/4#issuecomment-3259844