Re: All of a sudden code started throwing errors

2018-11-14 Thread Matt Wheeler
> On 14 Nov 2018, at 13:51, Peter Otten <__pete...@web.de> wrote: > > Diagnosis: you managed to remove your current working directory, probably > because you used os.chdir() to switch to a temporary directory and then > forgot to switch back. > > Solution: don't do that ;) > > I recommend tha

Re: All of a sudden code started throwing errors

2018-11-14 Thread Peter Otten
srinivasan wrote: > Dear Python Experts > > Could you please let me know why am I seeing the following errors as > before this it was working consistently? > cwd = os.getcwd() > FileNotFoundError: [Errno 2] No such file or directory > root:~/qa/robot_tests# Steps to reproduce the problem:

Re: All of a sudden code started throwing errors

2018-11-14 Thread Brian Oney via Python-list
On Wed, 2018-11-14 at 09:47 +0100, srinivasan wrote: > -68 >= -60 It's a problem with your test of wifi strength. Good job of making informative output and running tests! -- https://mail.python.org/mailman/listinfo/python-list

All of a sudden code started throwing errors

2018-11-14 Thread srinivasan
Dear Python Experts Could you please let me know why am I seeing the following errors as before this it was working consistently? root:~/qa/robot_tests# python3 -m robot --variable SIGNAL_LEVEL_THRESHOLD:-60 wifi_testing.robot