Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Immediately Stopped Working After Launch #35

Closed
faxotherapy opened this issue May 23, 2016 · 7 comments
Closed

Immediately Stopped Working After Launch #35

faxotherapy opened this issue May 23, 2016 · 7 comments
Assignees

Comments

@faxotherapy
Copy link

Hello,
I've got this message on my notification panel: Stopped Watching Sources @ 14:20 IOError Do I need to do a further tweak in order to make it run on my OS 10.11.3?
Thanks.
Faxo

@pirate
Copy link
Owner

pirate commented May 23, 2016

Can you download the most recent version with full error logging from here, and then paste the output you get after launching it.

Make sure to click 'Stop the Background Agent & Quit' before running the new version.

@pirate pirate added the bug label May 23, 2016
@pirate pirate self-assigned this May 23, 2016
@faxotherapy
Copy link
Author

faxotherapy commented May 23, 2016

Thanks for your reply.

  1. I was running the latest version. I should have mentioned it; sorry. However, I have reinstalled from your ZIP file with no difference in terms of result.

  2. I must point out that I run the app under regular session. I haven't been asked for any higher privileged access.

  3. Here's the log file as asked:

    [05/23 19:09] Stopped Watching Sources: IOError: Traceback (most recent call last):
    File "/Users/Nathalie/Downloads/Security Growler.app/Contents/Resources/growler.py", line 41, in <module> 
      watch_sources()
    File "/Users/Nathalie/Downloads/Security Growler.app/Contents/Resources/growler.py", line 18, in watch_sources
      for source, line in get_new_lines():
    File "/Users/Nathalie/Downloads/Security Growler.app/Contents/Resources/sources/__init__.py", line 19, in get_new_lines
      next_line = next(generator)
    File "/Users/Nathalie/Downloads/Security Growler.app/Contents/Resources/sources/logfile.py", line 7, in gen_lines
      with open(path, 'r') as logfile:
    IOError: [Errno 13] Permission denied: '/var/log/system.log'
    

For now, graphical results are as follows:
starting

message

The first snapshot shows that the app constantly remains in the status Starting…

Thanks for your support.

@pirate
Copy link
Owner

pirate commented May 23, 2016

You cannot run the app under a non-admin account, this is expected behavior, although I guess I could make the error message more informative.

@pirate
Copy link
Owner

pirate commented May 26, 2016

Updated the docs: ef4c552

@timeartist
Copy link

timeartist commented Jan 26, 2017

To anyone who's having this issue and really doesn't want to run with a admin account, you can add the user to the wheel group sudo dseditgroup -o edit -a $username_to_add -t user wheel and sudo chmod 644 /var/log/system.log - Still doesn't give your user the ability to sudo, but allows the growler to work.

@pirate
Copy link
Owner

pirate commented Jan 26, 2017

@timeartist careful, that effectively makes your user part of the admin group, and gives them admin read permissions to a lot of things in the filesystem. I don't recommend adding yourself to wheel just to run this app, as it defeats the purpose of running a non-admin account in the first place. The sudo chmod 644 /var/log/system.log should be enough on it's own to allow your non-admin account read access.

@timeartist
Copy link

timeartist commented Jan 26, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants