Skip to content

Instantly share code, notes, and snippets.

@fauxneticien
Created January 31, 2018 09:01
Show Gist options
  • Save fauxneticien/15672f275ffa996fb5614014d35fe609 to your computer and use it in GitHub Desktop.
Save fauxneticien/15672f275ffa996fb5614014d35fe609 to your computer and use it in GitHub Desktop.
persephone error
In [3]: import run
---------------------------------------------------------------------------
PermissionError Traceback (most recent call last)
<ipython-input-3-c72c9d25002d> in <module>()
----> 1 import run
~/persephone/src/run.py in <module>()
11 import config
12 import rnn_ctc
---> 13 import datasets.na
14 #import datasets.griko
15 #import datasets.chatino
~/persephone/src/datasets/na.py in <module>()
35 # TODO Move into feat creation functions.
36 if not os.path.isdir(TGT_DIR):
---> 37 os.makedirs(TGT_DIR)
38
39 if not os.path.isdir(FEAT_DIR):
~/persephone/venv3/lib/python3.5/os.py in makedirs(name, mode, exist_ok)
229 if head and tail and not path.exists(head):
230 try:
--> 231 makedirs(head, mode, exist_ok)
232 except FileExistsError:
233 # Defeats race condition when another thread created the path
~/persephone/venv3/lib/python3.5/os.py in makedirs(name, mode, exist_ok)
229 if head and tail and not path.exists(head):
230 try:
--> 231 makedirs(head, mode, exist_ok)
232 except FileExistsError:
233 # Defeats race condition when another thread created the path
~/persephone/venv3/lib/python3.5/os.py in makedirs(name, mode, exist_ok)
229 if head and tail and not path.exists(head):
230 try:
--> 231 makedirs(head, mode, exist_ok)
232 except FileExistsError:
233 # Defeats race condition when another thread created the path
~/persephone/venv3/lib/python3.5/os.py in makedirs(name, mode, exist_ok)
229 if head and tail and not path.exists(head):
230 try:
--> 231 makedirs(head, mode, exist_ok)
232 except FileExistsError:
233 # Defeats race condition when another thread created the path
~/persephone/venv3/lib/python3.5/os.py in makedirs(name, mode, exist_ok)
239 return
240 try:
--> 241 mkdir(name, mode)
242 except OSError:
243 # Cannot rely on checking for EEXIST, since the operating system
PermissionError: [Errno 13] Permission denied: '/home/oadams'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment