Skip to content

[Bug]: Type error: "list" argument must be an array of buffers #1018

@jaapnoordzij

Description

@jaapnoordzij

Describe the bug

Earlier I have set up my vault with git using the terminal / VSC. Git is working properly, I can commit, push and pull.
Now I have installed this plugin and I was under the impression that with some minimal settings I could continue to work. However after enabling the plugin it throws an error whenever I try to run any git: command.

Type error: "list" argument must be an array of buffers

Please can you help me, I am not a programmer, sorry.
Cheers Jaap

Relevant errors (if available) from notifications or console (CTRL+SHIFT+I)

plugin:obsidian-git:400 br: TypeError: "list" argument must be an Array of Buffers
    at ww.onFatalException (plugin:obsidian-git:149:6167)
    at ww.attemptTask (plugin:obsidian-git:149:6058)

Steps to reproduce

Occurs at any git: command after Cmd-P

The error can also be invoked by setting the switch "Disable on this device" OFF and than ON

I have also made a clean copy of my vault (8500 notes + 2000 attachments) on Linux, NO git repo, installed the plugin and then I have the same error.

So is this maybe a vault size problem ?

Expected Behavior

No response

Addition context

Occurs immediately after installation of the plugin.
My git server is on the local network.
My vault contains about 10500 notes + attachments (700 Mb in total)

Operating system

macOS and Linux (RPI Lite / Debian)

Installation Method

None

Plugin version

latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions