Error: cannot open pack access log

error: cannot open pack access log '' for writing: No such file or directory

I'm getting a popup with this message quite often. Seems like it's trying to write to a file with an empty filename. I'm getting this after a git checkout or a git stash. 

The log only shows a single INFO line after the line with the git command, examples:

2018-01-31 20:04:33,871 [ 717732] INFO - #git4idea.commands.GitHandler - [project] git -c core.quotepath=false -c log.showSignature=false checkout HEAD -- path/file1.php path/file2.ja path/file3.php
2018-01-31 20:04:33,896 [ 717757] INFO - #git4idea.commands.GitHandler - error: cannot open pack access log '' for writing: No such file or directory
2018-01-31 20:04:33,897 [ 717758] INFO - #git4idea.commands.GitHandler - [project] git -c core.quotepath=false -c log.showSignature=false checkout HEAD -- path/file4.php path/file5.php
2018-01-31 20:04:33,923 [ 717784] INFO - #git4idea.commands.GitHandler - error: cannot open pack access log '' for writing: No such file or directory
2018-01-31 20:04:34,045 [ 717906] INFO - g.FileBasedIndexProjectHandler - Reindexing refreshed files: 186 to update, calculated in 1ms
2018-01-31 20:04:35,106 [ 718967] INFO - .diagnostic.PerformanceWatcher - Reindexing refreshed files took 1061ms; general responsiveness: ok; EDT responsiveness: ok
2018-01-31 20:04:35,107 [ 718968] INFO - g.FileBasedIndexProjectHandler - Reindexing refreshed files: 9 to update, calculated in 0ms
2018-01-31 20:04:35,112 [ 718973] INFO - .diagnostic.PerformanceWatcher - Reindexing refreshed files took 5ms; general responsiveness: ok; EDT responsiveness: ok

Can anyone help me solve this problem and stop the annoying popup?

0
4 comments

Did you try to do the same using native Git shell?

0
Avatar
Permanently deleted user

I don't get any erros using git direct from linux shell (I didn't use the IDE's Run Command tool).

There's also no risk of having a dialog popping up while in the shell. I couldn't find any way to disable that popup when working with git by the UI.

0
Avatar
Permanently deleted user

Looks like a known issue: https://youtrack.jetbrains.com/issue/IDEA-184126 .

Please try the workaround suggested there.

0
Avatar
Permanently deleted user

Unfortunately the workaround (installing git 2.1) is not possible in my case, I'll anxiously wait for the bug-fixing update.

0

Please sign in to leave a comment.