Closed Bug 1616467 Opened 5 years ago Closed 5 years ago

No such file or directory: '..\.mozbuild\moz-phab\moz-phab.log' after a new install

Categories

(Conduit :: moz-phab, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: glob, Assigned: glob)

Details

(Keywords: conduit-triaged, regression)

Attachments

(1 file)

Just FYI: I applied this locally and used it rather than jump through the hoops on a Windows 10 laptop. The install worked for me too! However:

nalexander@DESKTOP-MH5FQH9 /c/Mozilla/gecko
$ moz-phab install-certificate
FileNotFoundError: [Errno 2] No such file or directory: 'c:\\Users\\nalexander\\.mozbuild\\moz-phab\\moz-phab.log'
Run moz-phab again with '--trace' to show the stack trace
Sentry is attempting to send 0 pending error messages
Waiting up to 2 seconds
Press Ctrl-Break to quit

I can reproduce this on osx - remove the ~/.mozbuild/moz-phab directory and run moz-phab.

ERROR    2020-02-19 13:27:04,158 Traceback (most recent call last):
  File "/opt/moz-phab/lib/python3.7/site-packages/mozphab/mozphab.py", line 5345, in main
    init_logging()
  File "/opt/moz-phab/lib/python3.7/site-packages/mozphab/mozphab.py", line 5014, in init_logging
    filename=LOG_FILE, maxBytes=LOG_MAX_SIZE, backupCount=LOG_BACKUPS
Assignee: nobody → glob
Status: NEW → ASSIGNED

this bug means that self-update won't work. we'll need to tell people to manually run pip to pull down a working version.

Keywords: regression

Until this is released a manual workaround is to run mkdir -p ~/.mozbuild/moz-phab (this should work on MacOS, Linux, and within mozilla-build on Windows).

Summary: No such file or directory: 'c:\Users\nalexander\.mozbuild\moz-phab\moz-phab.log' after a new install → No such file or directory: '..\.mozbuild\moz-phab\moz-phab.log' after a new install
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: