Moz-phab always fails with IOError when setting up logs.
Categories
(Conduit :: moz-phab, defect, P1)
Tracking
(Not tracked)
People
(Reporter: emilio, Assigned: glob)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Since I updated moz-phab today, I can't do anything:
IOError: [Errno 2] No such file or directory: '/home/emilio/.mozbuild/moz-phab/moz-phab.log'
My moz-phab file is not in ~/.mozbuild
, and that directory obviously doesn't exist.
Can we not hardcode the log location please?
Reporter | ||
Comment 1•5 years ago
|
||
Oh, if I uncomment the logging initialization, the directory gets created.
oops; sorry about that.
~/.mozbuild/moz-phab/
is created by moz-phab as a place to store its copy of arc
.
i'll initialise that sooner.
Comment 5•5 years ago
•
|
||
I see that this landed, but it's not yet in the shipping moz-phab version.
Can we issue an update ASAP to get this fixed? Otherwise this may waste a bunch of people's time today...
I just ran moz-phab self-update to get version 1.21 [at moz-phab's suggestion] and stumbled over this bug (which I worked around by creating the directory) -- and repeated moz-phab self-update
runs don't seem to get me the fix.
Comment 6•5 years ago
|
||
(Also, $HOME/.mozbuild
isn't necessarily the right directory -- there's an env variable that moz-phab should be preferring if it's set. I filed bug 1544902 on that.)
Updated•5 years ago
|
Description
•