andreasgrill / auto-selfcontrol

Small utility to schedule start and stop times of SelfControl
MIT License
306 stars 37 forks source link

Updated config file not reflecting changes and uninstall not removing block #13

Open sammd opened 8 years ago

sammd commented 8 years ago

Hi Andreas, Hope you can help Config file after updating and rerunning terminal command not reflecting changes. I restarted tried everything. Then I followed the uninstall instruction but internet access to previous blocked site are not loading.

On mac os Sierra 10.12

Please advise

andreasgrill commented 8 years ago

Hi! I recommend to start SelfControl directly and have a look whether you are in an active block or not. Because if Auto-SelfControl was able to start a new block-interval, you probably just have to wait for it to end, even though you've uninstalled it. The good news is that it won't start another block interval automatically, since it is uninstalled. However, if SelfControl shows that you are not blocked but you still can't access your sites, just try to set the time to a very short interval and wait for it to finish.

I hope this helps, Andreas

sammd commented 8 years ago

Thanks for the response what about the updating the config list and the changes not occurring?

andreasgrill commented 8 years ago

Yeah, this is strange. Could you provide the json file, so I could check if it has something todo with it?

sammd commented 8 years ago

auto-selfcontrol-20161020T203849Z.zip

andreasgrill commented 8 years ago

Thanks! I'll have a look at it in the next few days.

sammd commented 8 years ago

Thanks appreciate it.

andreasgrill commented 8 years ago

I've updated the part in the script that starts SelfControl. Could you give the updated script a try?

sammd commented 8 years ago

gave it a go. Did not block specified websites in config file

sammd commented 8 years ago

opened selfcontrol app timer is running

sammd commented 8 years ago

2016-10-22 12:46:47.443 org.eyebeam.SelfControl[45354:1496425] Using your own bundle identifier as an NSUserDefaults suite name does not make sense and will not work. Break on _NSUserDefaults_Log_Nonsensical_Suites to find this /Library/LaunchDaemons/org.eyebeam.SelfControl.plist: service already loaded 2016-10-22 12:46:47.867 org.eyebeam.SelfControl[45354:1496425] INFO: Block successfully added.

andreasgrill commented 8 years ago

Could you check if it works when it (automatically) starts the next blocking schedule?

sammd commented 8 years ago

Hey Andreas,

Sorry for the delay. I set the schedule to start in about 15 mins ie 10am. I will send you another email letting you know if it has resolved. Thanks for your hard work.

Thanks again,

Sam

On Wed, Oct 26, 2016 at 6:22 AM, Andreas Grill notifications@github.com wrote:

Could you check if it works when it (automatically) starts the next blocking schedule?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/andreasgrill/auto-selfcontrol/issues/13#issuecomment-256319223, or mute the thread https://github.com/notifications/unsubscribe-auth/AV5pKxw-vs3pHucWqvgM4s-N0gs5q4Ydks5q3zfdgaJpZM4KcZgd .

Sam Younes

The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.

sammd commented 8 years ago

2016-10-31 10:20:34.148 org.eyebeam.SelfControl[3010:32508] Using your own bundle identifier as an NSUserDefaults suite name does not make sense and will not work. Break on _NSUserDefaults_Log_Nonsensical_Suites to find this 2016-10-31 10:20:34.684 org.eyebeam.SelfControl[3010:32508] INFO: Block successfully added. 0

SelfControl was started.

Hey Andreas its still only blocking certain sites. For example coolthings.com is blocked but not facebook.

andreasgrill commented 7 years ago

This is really weird. I'm not sure what's causing this issues for you :/

levibostian commented 7 years ago

@andreasgrill That error above that @sammd is seeing is the same error I have received:

> Start installation of Auto-SelfControl
> Removed previous installation files
> Installed

> Active schedule found for SelfControl!
> Start SelfControl (this could take a few minutes)

2017-02-27 14:48:43.514 org.eyebeam.SelfControl[42061:10274111] Using your own bundle identifier as an NSUserDefaults suite name does not make sense and will not work. Break on _NSUserDefaults_Log_Nonsensical_Suites to find this
2017-02-27 14:48:45.070 org.eyebeam.SelfControl[42061:10274111] INFO: Block successfully added.
0
> SelfControl was started.

I open SelfControl and I am not in an active block. I run the install command with SelfControl app open and with it closed. Same result as above.

Here is my config file: config.json.zip

I am trying to get a 8am to noon, 1pm to 5pm every day schedule going in it.

I am currently trying to start the script while inside of the 1pm to 5pm slot if that helps? Will the install script work if I am trying to create a blocked time interval while inside of the bounds of that interval?

I am running the version of auto-selfcontrol that is located in the README to download. I downloaded and installed all of this today.

chernushevich commented 7 years ago

Same error and problem as above.

andreasgrill commented 7 years ago

The warning might be misleading but it shouldn't be the problem preventing the start of the block. Could you check if future blocks are correctly entered anyway?

chernushevich commented 7 years ago

Will check in a couple of hours when my next block starts.

chernushevich commented 7 years ago

So the new block did not start automatically, the websites were still accessible. I launched the SelfControl app and the clock showed 00:00:00 and the "Stuck? Remove block manually" button. I have removed the block and restarted AutoSelfControl and now it's working fine and the websites are blocked. No idea what the problem was. Will report if something goes wrong on the next block.

Thank you!

levibostian commented 7 years ago

I have been having the same issue where I launch SelfControl and it shows 00:00 and websites are not blocked. When I first downloaded auto selfcontrol and launched it, I tried going to a site I designated as blocked and it was indeed blocked. But, I went to the website a couple hours later, 30 minutes before it was supposed to unblock and it was not blocked. This is why I tried installing auto selfcontrol again because it seemed to work when I first installed but a couple hours later it stopped working and I could get through to sites even though I set it to block.

On Feb 28, 2017 5:47 AM, "Vlad Chernushevich" notifications@github.com wrote:

So the new block did not start automatically, the websites were still accessible. I launched the SelfControl app and the clock showed 00:00:00 and the "Stuck? Remove block manually" button. I have removed the block and restarted AutoSelfControl and now it's working fine and the websites are blocked. No idea what the problem was. Will report if something goes wrong on the next block.

Thank you!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/andreasgrill/auto-selfcontrol/issues/13#issuecomment-283018715, or mute the thread https://github.com/notifications/unsubscribe-auth/AB8k-g5-RLU8qwJg1fxbqslmV8Ir4PUpks5rhAltgaJpZM4KcZgd .

andreasgrill commented 7 years ago

That's strange. When I find something I'll let you know.

levibostian commented 7 years ago

I have an update for you, @andreasgrill. I wonder if this is an issue with running the python script during a period you designate for blocking. For example, I have 12pm to 5pm (12 - 17 in 24 hour clock time in the config.json file) blocked 7 days a week in my config.json script. I run the python script at 3pm.

When I did this 2 days ago when I commented last on the issue, I got the warning messages I mentioned here and after I ran the python script, I opened Self-Control up and it was not blocking any sites.

Then, the day after I open up Self-Control and find that it is blocking successfully. It has been working ever since. It has been following the schedule I designate for it turning on and off automatically.

Working great now. I wonder if it's causing issues because of the time of day I started it.

Thank you for replying to the issue. I greatly appreciate that.

levibostian commented 7 years ago

👍 Thank you.

On Thu, Mar 2, 2017 at 2:56 PM, Andreas Grill notifications@github.com wrote:

That's strange. When I find something I'll let you know.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/andreasgrill/auto-selfcontrol/issues/13#issuecomment-283777641, or mute the thread https://github.com/notifications/unsubscribe-auth/AB8k-lpoqsR-PZnTbiz-LemOmCPdajGyks5rhy0OgaJpZM4KcZgd .