Fix log.txt error #30

Closed
opened 2021-11-20 11:15:33 +00:00 by ungleich-gitea · 4 comments
(venv) [14:10] diamond:ucloud% ./scripts/ucloud api
Traceback (most recent call last):
  File "./scripts/ucloud", line 20, in <module>
    logging.basicConfig(
  File "/usr/lib/python3.8/logging/__init__.py", line 1973, in basicConfig
    h = FileHandler(filename, mode)
  File "/usr/lib/python3.8/logging/__init__.py", line 1143, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.8/logging/__init__.py", line 1172, in _open
    return open(self.baseFilename, self.mode, encoding=self.encoding)
FileNotFoundError: [Errno 2] No such file or directory: '/etc/ucloud/log.txt'
(venv) [14:12] diamond:ucloud% 

ping @llnu @ahmedbilal

``` (venv) [14:10] diamond:ucloud% ./scripts/ucloud api Traceback (most recent call last): File "./scripts/ucloud", line 20, in <module> logging.basicConfig( File "/usr/lib/python3.8/logging/__init__.py", line 1973, in basicConfig h = FileHandler(filename, mode) File "/usr/lib/python3.8/logging/__init__.py", line 1143, in __init__ StreamHandler.__init__(self, self._open()) File "/usr/lib/python3.8/logging/__init__.py", line 1172, in _open return open(self.baseFilename, self.mode, encoding=self.encoding) FileNotFoundError: [Errno 2] No such file or directory: '/etc/ucloud/log.txt' (venv) [14:12] diamond:ucloud% ``` ping @llnu @ahmedbilal
nico was assigned by ungleich-gitea 2021-11-20 11:15:33 +00:00
Author

closed via commit f9dbdc730a

closed via commit f9dbdc730a1ab16813de47b0c48b324bdea5960e
Author

closed via commit f9dbdc730a

closed via commit f9dbdc730a1ab16813de47b0c48b324bdea5960e
Author

closed via commit f9dbdc730a

closed via commit f9dbdc730a1ab16813de47b0c48b324bdea5960e
Author

closed via commit f9dbdc730a

closed via commit f9dbdc730a1ab16813de47b0c48b324bdea5960e
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: uncloud/uncloud#30
No description provided.