
Hi Lucio,
After applying this patch, I got the following errors while running the tests:
====================================================================== ERROR: test_production_env (test_server_root.ServerRootTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_server_root.py", line 47, in test_production_env setup_server('production', server_root) File "test_server_root.py", line 35, in setup_server server_root=server_root) File "utils.py", line 102, in run_server s = wok.server.Server(args) File "/home/alinefm/wok/src/wok/server.py", line 148, in __init__ self.reqLogger = RequestLogger() File "/home/alinefm/wok/src/wok/reqlogger.py", line 123, in __init__ h = logging.handlers.WatchedFileHandler(log, 'a') File "/usr/lib64/python2.7/logging/handlers.py", line 391, in __init__ logging.FileHandler.__init__(self, filename, mode, encoding, delay) File "/usr/lib64/python2.7/logging/__init__.py", line 913, in __init__ StreamHandler.__init__(self, self._open()) File "/usr/lib64/python2.7/logging/__init__.py", line 943, in _open stream = open(self.baseFilename, self.mode) IOError: [Errno 13] Permission denied: '/home/alinefm/wok/data/user-requests.data'
====================================================================== ERROR: test_production_env (test_server_root.ServerRootTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_server_root.py", line 40, in tearDown test_server.stop() AttributeError: 'NoneType' object has no attribute 'stop'
---------------------------------------------------------------------- Ran 21 tests in 30.105s
FAILED (errors=12)
I have already deleted the former user-requests.data file but the error keeps the same.
Do I need to do something before tetsing this patch?
Regards, Aline Manera Yes, you need to remove the data dir as well, since it also has wrong
On 27/02/2017 10:42, Aline Manera wrote: permission. -- Lucio Correia