You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "slimandslam (via GitHub)" <gi...@apache.org> on 2023/03/31 19:01:51 UTC

[GitHub] [airavata-mft] slimandslam commented on issue #93: Storage List Command Fails

slimandslam commented on issue #93:
URL: https://github.com/apache/airavata-mft/issues/93#issuecomment-1492456514

   Here it is:
   
   ```
   $ mft log
   ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
   │ /Users/myuser/venv/lib/python3.10/site-packages/airavata_mft_cli/base.py:47 in         │
   │ init_mft                                                                                         │
   │                                                                                                  │
   │   44                                                                                             │
   │   45 @app.command("log")                                                                         │
   │   46 def init_mft():                                                                             │
   │ ❱ 47   bootstrap.print_log()                                                                     │
   │                                                                                                  │
   │ /Users/myuser/venv/lib/python3.10/site-packages/airavata_mft_cli/bootstrap.py:158 in   │
   │ print_log                                                                                        │
   │                                                                                                  │
   │   155                                                                                            │
   │   156 def print_log():                                                                           │
   │   157   log_file_path = os.path.join(os.path.expanduser('~'), ".mft", "Standalone-Service-0.01   │
   │ ❱ 158   log_file = open(log_file_path,"r")                                                       │
   │   159   lines = follow_file(log_file)                                                            │
   │   160   for line in lines:                                                                       │
   │   161 │   print(line)                                                                            │
   │                                                                                                  │
   │ ╭────────────────────────────────────── locals ───────────────────────────────────────╮          │
   │ │ log_file_path = '/Users/myuser/.mft/Standalone-Service-0.01/logs/airavata.log' │          │
   │ ╰─────────────────────────────────────────────────────────────────────────────────────╯          │
   ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
   FileNotFoundError: [Errno 2] No such file or directory:
   '/Users/myuser/.mft/Standalone-Service-0.01/logs/airavata.log'
   $
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@airavata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org