Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: TypeError: Cannot read properties of undefined (reading 'commit') #59

Closed
3 tasks done
mhofherr opened this issue Dec 14, 2022 · 1 comment
Closed
3 tasks done
Assignees
Labels
🦆 Duplicate This issue or pull request already exists

Comments

@mhofherr
Copy link

Issue validation

Workflow

Obsidian plugin 💠

Describe the bug

Hi,

I did set up Obsidian Github Publisher Plugin. After entering the configuration data and starting "Share ... with Github Publisher" for a page with "share: true" in frontmatter, I get the following error via popup:
"TypeError: Cannot read properties of undefined (reading 'commit')"

Developer Console: "Uncaught (in promise) TypeError: s is not a function
at eval (plugin:obsidian-mkdocs-publisher:59:4942)
at Generator.throw ()
at s (plugin:obsidian-mkdocs-publisher:6:1261)"

I switched to beta via BRAT, but do get the same error. Any idea what I am doing wrong?

Thanks and best regards
Matthias

How to reproduce ?

No response

Configuration

{
"githubRepo": "aeternus",
"githubName": "mhofherr",
"GhToken": "ghp_5RAV3yxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"githubBranch": "main",
"shareKey": "share",
"excludedFolder": [],
"fileMenu": true,
"editorMenu": true,
"downloadedFolder": "obsidian",
"folderDefaultName": "docs",
"yamlFolderKey": "",
"rootFolder": "",
"workflowName": "",
"embedImage": true,
"defaultImageFolder": "docs/images",
"autoCleanUp": false,
"autoCleanUpExcluded": [],
"folderNote": true,
"convertWikiLinks": true,
"convertForGithub": true,
"subFolder": "",
"embedNotes": false,
"copyLink": false,
"mainLink": "",
"linkRemover": "",
"hardBreak": false,
"logNotice": true,
"convertDataview": true,
"useFrontmatterTitle": false,
"censorText": [],
"inlineTags": false,
"dataviewFields": [],
"excludeDataviewValue": [],
"metadataFileFields": [],
"frontmatterTitleKey": "title",
"shareExternalModified": false,
"automaticallyMergePR": true,
"metadataExtractorPath": "",
"convertInternalNonShared": false,
"ExcludedFolder": []
}

Relevant log output

Uncaught (in promise) TypeError: s is not a function
    at eval (plugin:obsidian-mkdocs-publisher:59:4942)
    at Generator.throw (<anonymous>)
    at s (plugin:obsidian-mkdocs-publisher:6:1261)

OS

MacOS

Anything else?

No response

@mhofherr mhofherr added the bug label Dec 14, 2022
@Mara-Li
Copy link
Member

Mara-Li commented Dec 14, 2022

For me, this error is caused because the plugin can't found the repo.

@Mara-Li Mara-Li closed this as completed Dec 14, 2022
@Mara-Li Mara-Li reopened this Dec 14, 2022
@Mara-Li Mara-Li self-assigned this Dec 24, 2022
@Mara-Li Mara-Li added 🔁 No reproduction Where I can't repro the bug 💤 Stale Inactive issue labels Dec 24, 2022
@Mara-Li Mara-Li closed this as completed Feb 2, 2023
@Mara-Li Mara-Li added 🦆 Duplicate This issue or pull request already exists 🔁 No reproduction Where I can't repro the bug 💤 Stale Inactive issue and removed 💤 Stale Inactive issue 🔁 No reproduction Where I can't repro the bug labels Mar 22, 2023
@Mara-Li Mara-Li closed this as not planned Won't fix, can't repro, duplicate, stale Mar 22, 2023
@Mara-Li Mara-Li removed 💤 Stale Inactive issue 🔁 No reproduction Where I can't repro the bug labels Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🦆 Duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants