This repository was archived by the owner on May 2, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
This repository was archived by the owner on May 2, 2018. It is now read-only.
lmh mmt permission issues #27
Copy link
Copy link
Open
Description
After running lmh mmt
Traceback (most recent call last):
File "/path/to/localmh/bin/lmh", line 13, in <module>
main()
File "/path/to/localmh/bin/lmh", line 10, in main
lmh.run(sys.argv[1:])
File "/path/to/localmh/lmh/__init__.py", line 85, in run
if main(argv):
File "/path/to/localmh/lmh/__init__.py", line 79, in main
return submods[args.action].do(args, unknown)
File "/path/to/localmh/lmh/commands/mmt/__init__.py", line 27, in do
return run.do(arguments, unparsed)
File "/path/to/localmh/lmh/commands/mmt/run.py", line 5, in do
return run(unknown)
File "/path/to/localmh/lmh/lib/mmt.py", line 21, in run
proc = subprocess.Popen([mmt_executable] + args, stderr=subprocess.PIPE if quiet else sys.stderr, stdout=subprocess.PIPE if quiet else sys.stdout, cwd=path)
File "/usr/lib/python3.4/subprocess.py", line 859, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.4/subprocess.py", line 1457, in _execute_child
raise child_exception_type(errno_num, err_msg)
PermissionError: [Errno 13] Permission denied
lmh seems to have crashed with <class 'PermissionError'>
a report will be generated in
Error in sys.excepthook:
Traceback (most recent call last):
File "/path/to/localmh/lmh/__init__.py", line 30, in my_excepthook
write_file(lmh_locate("logs", time.strftime("%Y-%m-%d-%H-%M-%S.log")), s)
File "/path/to/localmh/lmh/lib/io.py", line 163, in write_file
text_file = open(filename, "w")
PermissionError: [Errno 13] Permission denied: '/path/to/localmh/logs/2016-02-15-16-03-37.log'
Original exception was:
Traceback (most recent call last):
File "/path/to/localmh/bin/lmh", line 13, in <module>
main()
File "/path/to/localmh/bin/lmh", line 10, in main
lmh.run(sys.argv[1:])
File "/path/to/localmh/lmh/__init__.py", line 85, in run
if main(argv):
File "/path/to/localmh/lmh/__init__.py", line 79, in main
return submods[args.action].do(args, unknown)
File "/path/to/localmh/lmh/commands/mmt/__init__.py", line 27, in do
return run.do(arguments, unparsed)
File "/path/to/localmh/lmh/commands/mmt/run.py", line 5, in do
return run(unknown)
File "/path/to/localmh/lmh/lib/mmt.py", line 21, in run
proc = subprocess.Popen([mmt_executable] + args, stderr=subprocess.PIPE if quiet else sys.stderr, stdout=subprocess.PIPE if quiet else sys.stdout, cwd=path)
File "/usr/lib/python3.4/subprocess.py", line 859, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.4/subprocess.py", line 1457, in _execute_child
raise child_exception_type(errno_num, err_msg)
PermissionError: [Errno 13] Permission denied
Metadata
Metadata
Assignees
Labels
No labels