daily pastebin goal
13%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. In [3]: import run
  2. ---------------------------------------------------------------------------
  3. PermissionError                           Traceback (most recent call last)
  4. <ipython-input-3-c72c9d25002d> in <module>()
  5. ----> 1 import run
  6.  
  7. ~/persephone/src/run.py in <module>()
  8.      11 import config
  9.      12 import rnn_ctc
  10. ---> 13 import datasets.na
  11.      14 #import datasets.griko
  12.      15 #import datasets.chatino
  13.  
  14. ~/persephone/src/datasets/na.py in <module>()
  15.      35 # TODO Move into feat creation functions.
  16.      36 if not os.path.isdir(TGT_DIR):
  17. ---> 37     os.makedirs(TGT_DIR)
  18.      38
  19.      39 if not os.path.isdir(FEAT_DIR):
  20.  
  21. ~/persephone/venv3/lib/python3.5/os.py in makedirs(name, mode, exist_ok)
  22.     229     if head and tail and not path.exists(head):
  23.     230         try:
  24. --> 231             makedirs(head, mode, exist_ok)
  25.     232         except FileExistsError:
  26.     233             # Defeats race condition when another thread created the path
  27.  
  28. ~/persephone/venv3/lib/python3.5/os.py in makedirs(name, mode, exist_ok)
  29.     229     if head and tail and not path.exists(head):
  30.     230         try:
  31. --> 231             makedirs(head, mode, exist_ok)
  32.     232         except FileExistsError:
  33.     233             # Defeats race condition when another thread created the path
  34.  
  35. ~/persephone/venv3/lib/python3.5/os.py in makedirs(name, mode, exist_ok)
  36.     229     if head and tail and not path.exists(head):
  37.     230         try:
  38. --> 231             makedirs(head, mode, exist_ok)
  39.     232         except FileExistsError:
  40.     233             # Defeats race condition when another thread created the path
  41.  
  42. ~/persephone/venv3/lib/python3.5/os.py in makedirs(name, mode, exist_ok)
  43.     229     if head and tail and not path.exists(head):
  44.     230         try:
  45. --> 231             makedirs(head, mode, exist_ok)
  46.     232         except FileExistsError:
  47.     233             # Defeats race condition when another thread created the path
  48.  
  49. ~/persephone/venv3/lib/python3.5/os.py in makedirs(name, mode, exist_ok)
  50.     239             return
  51.     240     try:
  52. --> 241         mkdir(name, mode)
  53.     242     except OSError:
  54.     243         # Cannot rely on checking for EEXIST, since the operating system
  55.  
  56. PermissionError: [Errno 13] Permission denied: '/home/oadams'
RAW Paste Data
Top