SouthwestCheckin icon indicating copy to clipboard operation
SouthwestCheckin copied to clipboard

sleep length is too large

Open markmghali opened this issue 5 years ago β€’ 6 comments

Too early to check in. Waiting 1485 hours, 16 minutes, 20.724372999742627 seconds Exception in thread Thread-1: Traceback (most recent call last): File "H:\Users\Mark\AppData\Local\Programs\Python\Python36\lib\threading.py", line 916, in _bootstrap_inner self.run() File "H:\Users\Mark\AppData\Local\Programs\Python\Python36\lib\threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "checkin.py", line 42, in schedule_checkin time.sleep(delta) OverflowError: sleep length is too large

markmghali avatar Aug 07 '19 14:08 markmghali

Maybe 2 months out is a little early to be running the script?

On Aug 7, 2019, at 08:31, markmghali [email protected] wrote:

Too early to check in. Waiting 1485 hours, 16 minutes, 20.724372999742627 seconds Exception in thread Thread-1: Traceback (most recent call last): File "H:\Users\Mark\AppData\Local\Programs\Python\Python36\lib\threading.py", line 916, in _bootstrap_inner self.run() File "H:\Users\Mark\AppData\Local\Programs\Python\Python36\lib\threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "checkin.py", line 42, in schedule_checkin time.sleep(delta) OverflowError: sleep length is too large

β€” You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

bllfr0g avatar Aug 07 '19 14:08 bllfr0g

is that not the point of the script? I want to be able to be able to set it and forget it? I am running it on a server, so I can just leave it running. What is the maximum sleep time? That would be helpful to know so I can know when to start running it.

Thank you

markmghali avatar Aug 07 '19 14:08 markmghali

I think the max can vary from machine to machine. On my Mac it’s 99999999 seconds, which actually would have worked for you.

What kind of machine and python implementation are you using?

On Aug 7, 2019, at 08:42, markmghali [email protected] wrote:

is that not the point of the script? I want to be able to be able to set it and forget it? I am running it on a server, so I can just leave it running. What is the maximum sleep time? That would be helpful to know so I can know when to start running it.

Thank you

β€” You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

bllfr0g avatar Aug 07 '19 15:08 bllfr0g

running it on Windows 10 Pro 64bit, with python 3.6.

markmghali avatar Aug 07 '19 15:08 markmghali

Would probably need to leverage something like at to schedule it out further.

pyro2927 avatar Aug 18 '19 03:08 pyro2927

I am sorry, I am new to this. What do you mean by "at"

On Sat, Aug 17, 2019 at 10:08 PM Joseph Pintozzi [email protected] wrote:

Would probably need to leverage something like at https://en.wikipedia.org/wiki/At_(command)#Microsoft_Windows_2 to schedule it out further.

β€” You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pyro2927/SouthwestCheckin/issues/49?email_source=notifications&email_token=AEENN4A5CUUQPJ3KDYHYCVTQFC4KRA5CNFSM4IKBB6DKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4QXOWA#issuecomment-522286936, or mute the thread https://github.com/notifications/unsubscribe-auth/AEENN4DWT5UZWYZZMMSNMZLQFC4KRANCNFSM4IKBB6DA .

-- Mark Ghali

markmghali avatar Aug 19 '19 13:08 markmghali