You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I adjusted everything necessary for archiving plots to another server and everything is working flawlessly during the day. When i left my mac (desktop - hackintosh) over night, it gets permission issues at some point when it try to archive. There's no automatic sleep, i even disabled asking for user password again (so it not gets the 'locked' state. Only display turns off, but it turns off often during the day also without making issue. Here's the log i get after about 1-2 hours leaving it working (plotman archive, but plotman interactive crashes the same way):
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/psutil/_psosx.py", line 344, in wrapper
return fun(self, *args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/psutil/_psosx.py", line 431, in cmdline
return cext.proc_cmdline(self.pid)
PermissionError: [Errno 1] Operation not permitted (originated from sysctl(KERN_PROCARGS2))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/bin/plotman", line 8, in <module>
sys.exit(main())
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/plotman/plotman.py", line 173, in main
interactive.run_interactive()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/plotman/interactive.py", line 334, in run_interactive
curses.wrapper(curses_main)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/curses/__init__.py", line 94, in wrapper
return func(stdscr, *args, **kwds)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/plotman/interactive.py", line 135, in curses_main
archiving_status, log_message = archive.spawn_archive_process(cfg.directories, jobs)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/plotman/archive.py", line 27, in spawn_archive_process
arch_jobs = get_running_archive_jobs(dir_cfg.archive)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/plotman/archive.py", line 119, in get_running_archive_jobs
args = proc.cmdline()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/psutil/__init__.py", line 677, in cmdline
return self._proc.cmdline()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/psutil/_psosx.py", line 351, in wrapper
raise AccessDenied(self.pid, self._name)
psutil.AccessDenied: psutil.AccessDenied (pid=17470, name='rsync')
Does anybody have idea what exactly here is restricted by permission, rsync call itself, or some other part of archiving process?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I adjusted everything necessary for archiving plots to another server and everything is working flawlessly during the day. When i left my mac (desktop - hackintosh) over night, it gets permission issues at some point when it try to archive. There's no automatic sleep, i even disabled asking for user password again (so it not gets the 'locked' state. Only display turns off, but it turns off often during the day also without making issue. Here's the log i get after about 1-2 hours leaving it working (plotman archive, but plotman interactive crashes the same way):
Does anybody have idea what exactly here is restricted by permission, rsync call itself, or some other part of archiving process?
Beta Was this translation helpful? Give feedback.
All reactions