SelfControlApp / selfcontrol

:skull: Mac app to block your own access to distracting websites etc for a predetermined period of time. It can not be undone by the app or by a restart – you must wait for the timer to run out.
http://selfcontrolapp.com
GNU General Public License v3.0
4.03k stars 399 forks source link

Not starting on Mavericks... #143

Open ghost opened 11 years ago

ghost commented 11 years ago

Doesn't work on Mavericks. Are you in the process of fixing this? (I work in Unity 3D, I don't work in objective-c else I would do it myself) Thanks.

cstigler commented 11 years ago

I am not in the process of fixing this. I'm pretty busy right now and haven't had the time to even glance at SelfControl for a while, let alone install a beta OS to help me test it. If somebody else could fix it, or even just send me the crash reports / description of how it fails, that would be great. If not I'll try to take a look at it before Mavericks is released...

ghost commented 11 years ago

So basically what happens is, is it will allow me to do everything, but once I start it, I can still access the sites I blocked.

ghost commented 11 years ago

There aren't any crash reports or anything, it just won't block sites that should be.

cstigler commented 10 years ago

@brashell61, I finally got a copy of Mavericks installed and cannot reproduce your issue -- a simple block worked fine for me. Could you please help me debug? The easiest way to generate the necessary logs is to use SelfControl Killer (<>), run it, then send me the log file generated at ~/Documents/SelfControl-Killer.log.

Note: the Killer will delete your blocklist, so save it (Command-S) if you want to keep it. And delete it afterwards so you don't have it around as temptation!

EDIT: If you're using SelfControl 2.0+, just wait ten seconds at the 00:00 timer screen, and a button labeled "Stuck? Stop block manually." will replace the "Add to Blocklist" button." Click it and remove your block manually! You may need to restart your computer after removing the block manually to get it working right.

If you're using an older version of SelfControl, see this guide: https://github.com/SelfControlApp/selfcontrol/wiki/Fixing-the-SelfControl-00:00-bug-on-versions-prior-to-SelfControl-2.0

ghost commented 10 years ago

Ok, so blacklist is working, whitelist isn't, I forgot to clarify. After I killed it, blacklist worked, but whitelist won't.

ghost commented 10 years ago

Logs

===SelfControl-Killer Log File===

Launchd daemons loaded:

PID Status Label 18633 - 0x7fa77a50d160.anonymous.launchctl 18632 - 0x7fa77a50ceb0.anonymous.org.eyebeam.Sel 18585 - org.eyebeam.SelfControl_Killer.255056 18562 - 0x7fa77a50b440.anonymous.com.apple.WebKi 18558 - 0x7fa77a40aa00.anonymous.com.apple.WebKi 18463 - 0x7fa77a60ed30.anonymous.com.apple.WebKi 18403 - com.apple.Console.57232 18298 - 0x7fa77a40e4f0.anonymous.com.apple.WebKi 17318 - com.apple.Notes.4432 17188 - 0x7fa77a408fc0.anonymous.com.apple.WebKi 16784 - 0x7fa77a735a10.anonymous.CS6ServiceManag 16773 - 0x7fa77a40f920.anonymous.com.apple.Color 16771 - com.adobe.dynamiclinkmanager.118480.5BB4D6D3-CC27-4466-B280-469388346CF5 16767 - 0x7fa77a50bd00.anonymous.AdobeCrashDaemo 16762 - com.adobe.Photoshop.47728 16659 - 0x7fa77a40bfe0.anonymous.com.apple.WebKi 15936 - 0x7fa77a40f3c0.anonymous.Google Chrome H 15934 - 0x7fa77a50b190.anonymous.Google Chrome H 14406 - 0x7fa77a40a750.anonymous.com.apple.WebKi 14230 - 0x7fa77a50ac80.anonymous.NDSPCShowServer 13630 - 0x7fa77a509630.anonymous.PluginProcess 13628 - 0x7fa77a50a650.anonymous.com.apple.qtkit 13621 - 0x7fa77a5091f0.anonymous.com.apple.WebKi 13168 - 0x7fa77a40ee00.anonymous.com.apple.WebKi 10419 - com.monoclesociety.eggscellent.osx.15696 9966 - 0x7fa77a50a3a0.anonymous.com.apple.appki 8511 - 0x7fa77a40f110.anonymous.com.apple.WebKi 8058 - 0x7fa77a40ff40.anonymous.Google Chrome H 8057 - 0x7fa77a7369f0.anonymous.Google Chrome H 8043 - 0x7fa77a508bb0.anonymous.Google Chrome H 8033 - com.google.Chrome.16400 6211 - it.bloop.airmail.11296 5014 - [0x0-0xdf0df].com.apple.ImageCaptureExtension2 5006 - com.apple.Preview.4784 2738 - com.skype.skype.43152 2708 - com.sublimetext.2.18688 2706 - com.panic.Transmit.149456 2639 - 0x7fa77a507160.anonymous.DashboardClient 2005 - jp.co.canon.cijscannerregister.155792 1262 - com.TenTripSoftware.FocusMask.2848 736 - [0x0-0x3a03a].com.apple.AppleSpell 708 - 0x7fa77a734cb0.anonymous.com.apple.WebKi 705 - com.apple.Safari.10768 652 - 0x7fa77a503b10.anonymous.com.apple.dock. 608 - [0x0-0x22022].com.fiplab.memoryclean 593 - 0x7fa77a502840.anonymous.PCShowServerPMW

Unloading the launchd daemon returned: 0

Rules loaded into ipfw:

01501 0 0 set 19 count ip from any to any // BEGIN SELFCONTROL BLOCK 01502 0 0 set 19 allow ip from any to any via lo* 01503 0 0 set 19 allow ip from me to 10.0.0.0/8 01504 0 0 set 19 allow ip from me to 172.16.0.0/12 01505 0 0 set 19 allow ip from me to 192.168.0.0/16 01506 0 0 set 19 allow ip from me to 63.251.169.102 01507 0 0 set 19 allow ip from me to 63.251.169.102 01508 0 0 set 19 allow ip from me to any dst-port 53 01509 0 0 set 19 allow udp from me to any dst-port 123 01510 0 0 set 19 deny ip from me to any dst-port 67 01511 0 0 set 19 deny ip from me to any dst-port 68 01512 0 0 set 19 deny ip from me to any 01513 0 0 set 19 count ip from any to any // END SELFCONTROL BLOCK 65535 0 0 set 31 allow ip from any to any

Removing the firewall rules returned: 0

Current /etc/hosts contents:

Host Database

#

localhost is used to configure the loopback interface

when the system is booting. Do not change this entry.

127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost fe80::1%lo0 localhost

Block Adobe Activation

127.0.0.1 lmlicenses.wip4.adobe.com 127.0.0.1 lm.licenses.adobe.com

Deleted the /etc/hosts file entries (if they existed)

Current user defaults:

Deleting the defaults returned: 1

===SelfControl-Killer complete!===

pgcudahy commented 10 years ago

I'll also add that whitelists are leaving most but not all sites (of those not on the whitelist) accessible. Can't really determine a pattern of what works and what doesn't. No errors thrown to console. Sorry, I know it's not super helpful, but if there are any logs you might find useful I could post them.

firvorski commented 10 years ago

I had the issue where SelfControl wouldn't block any sites from the blacklist after the Mavericks upgrade. It was only happening on Mac Mini, not on MacBook.

I fixed it by executing this in terminal:

defaults delete org.eyebeam.SelfControl

Warning: the command will delete your blacklist, so make sure you export it before you execute the command.

...then restarting and it started working as before.

Edit: It seems that this has to be done after every run.

cstigler commented 10 years ago

Interesting! I have yet to reproduce this issue -- SelfControl has worked fine for me so far on Mavericks...

On Oct 29, 2013, at 2:55 PM, firvorski notifications@github.com wrote:

I had the issue where SelfControl wouldn't block any sites from the blacklist after the Mavericks upgrade. It was only happening on Mac Mini, not on MacBook.

I fixed it by executed this in terminal:

defaults delete org.eyebeam.SelfControl Warning: the command will delete your blacklist, so make sure you export it before you execute the command.

Restarted and it started working as before.

— Reply to this email directly or view it on GitHub.

pgcudahy commented 10 years ago

Hmmm, still no idea of what the pattern is. I can tell you that google, wikipedia and python.org all work despite not being on my whitelist. Same pattern on both safari and chrome. I tried firvorski's method but got this

Patricks-MacBook-Air:~ pgcudahy$ defaults delete org.eyebeam.SelfControl 2013-10-29 17:30:10.242 defaults[403:507] Domain (org.eyebeam.SelfControl) not found. Defaults have not been changed.

But when I go looking for it, it is there.

Patricks-MacBook-Air:~ pgcudahy$ defaults read | grep SelfControl "bundle-identifier" = "org.eyebeam.SelfControl"; "_CFURLString" = "file:///Applications/SelfControl.app/"; "file-label" = SelfControl; Name = SelfControl; "DISPLAY_NAME" = SelfControl; PATH = "/Applications/SelfControl.app"; "org.eyebeam.SelfControl" =

I also tried just deleting selfhelp and reinstalling with no change.

hmsaleem commented 10 years ago

Same Problem :( Facebook gets blocked while Reddit doesnt! Just Blacklist urls.

fakufaku commented 10 years ago

Same problem. I can still access reddit even though it is on my blacklist.

A rebbot seems to fix the problem, but only until the end of the block period. After starting a new blocking period, I can still access reddit.

bayareafox commented 10 years ago

Same problem. The whitelist functionality works as defined but blacklist does not.

Charlie - Any help would be greatly appreciated. I am surfing away while I should working.

joeguilmette commented 10 years ago

Blacklist works fine for me on Mavericks.

kez2 commented 10 years ago

Is it something to do with firewall settings? when I have firewall activated Self Control does not work AT ALL. Could this be fixed? I'm happy to pay for updates. This is a one of a kind app

inem commented 10 years ago

Sad gif: slf

mavericks

cstigler commented 9 years ago

I made a new Alpha version of SelfControl which I'm hoping may resolve these issues. Could you please try it at http://downloads.selfcontrolapp.com/SelfControl_1.5.2alpha6.zip and let me know if your issues are resolved?

@inem @kez2 @bayareafox @fakufaku @elric-dev @pgcudahy