pubtrends icon indicating copy to clipboard operation
pubtrends copied to clipboard

Permission error

Open olegs opened this issue 3 years ago • 0 comments

Check for nescessary permissions on start

--- Logging error ---                                                                                                                                                                                
Traceback (most recent call last):                                                                                                                                                                   
  File "/home/student/pubtrends-0.15.962/pysrc/app/app.py", line 147, in result                                                                                                                      
    save_predefined(viz, data, log, jobid)                                                                                                                                                           
  File "/home/student/pubtrends-0.15.962/pysrc/app/predefined.py", line 34, in save_predefined                                                                                                       
    with gzip.open(path_viz, 'w') as f:                                                                                                                                                              
  File "/home/student/miniconda2/envs/pubtrends/lib/python3.8/gzip.py", line 58, in open                                                                                                             
    binary_file = GzipFile(filename, gz_mode, compresslevel)
  File "/home/student/miniconda2/envs/pubtrends/lib/python3.8/gzip.py", line 173, in __init__
    fileobj = self.myfileobj = builtins.open(filename, mode or 'rb')
PermissionError: [Errno 13] Permission denied: '/home/student/.pubtrends/predefined/0.15.962_built_on_2021-04-29_predefined_e04d1bcee667afb8622501b9a4b4654d_viz.json.gz'

olegs avatar Apr 30 '21 06:04 olegs