-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
[Plugin][Bug]: Plugin isn't activated properly #156
Comments
FIRST : never share your github token. Second : you seems to use an old version of the settings. Here mine: {
"github": {
"branch": "main",
"automaticallyMergePR": true,
"api": {
"tiersForApi": "Github Free/Pro/Team (default)",
"hostname": ""
},
"otherRepo": [
{
"smartKey": "test",
"branch": "main",
"automaticallyMergePR": true,
"api": {
"tiersForApi": "Github Free/Pro/Team (default)",
"hostname": ""
},
"createShortcuts": false,
"shareKey": "share",
"copyLink": {
"links": "https://www.mara-li.fr/",
"removePart": []
},
"workflow": {
"name": "",
"commitMessage": "[skip netlify] PUBLISHER"
}
}
],
"workflow": {
"name": "",
"commitMessage": "[skip netlify] PUBLISHER"
}
},
"upload": {
"behavior": "yaml",
"subFolder": "",
"defaultName": "docs/hidden",
"rootFolder": "docs",
"yamlFolderKey": "category",
"frontmatterTitle": {
"enable": true,
"key": "name"
},
"replaceTitle": [],
"autoclean": {
"enable": true,
"excluded": [
"docs/assets/js",
"docs/assets/meta",
"docs/assets/css",
"tags.md",
"graph.md"
]
},
"folderNote": {
"enable": true,
"rename": "index.md"
},
"metadataExtractorPath": "",
"replacePath": []
},
"conversion": {
"hardbreak": false,
"dataview": false,
"censorText": [
{
"entry": "10. PROJECT/ETERNITY/Wiki/Personnages",
"replace": "",
"after": true
}
],
"tags": {
"inline": true,
"exclude": [],
"fields": []
},
"links": {
"internal": true,
"unshared": false,
"wiki": false
}
},
"embed": {
"attachments": true,
"keySendFile": [
"image"
],
"notes": true,
"folder": "docs/assets/img"
}
} It seems that the key Could you please provide the log when you try to enable the plugin, for example? |
hmm, but then when update the plugin, the old setting isn't updated as well? |
Yeap, normally it must be... |
Github Publisher unloaded
plugin:obsidian-mkdocs-publisher:56 Github Publisher v.6.0.1 (lang: en) loaded
plugin:obsidian-mkdocs-publisher:51 Uncaught (in promise) TypeError: e.settings.github.otherRepo is not iterable
at eval (plugin:obsidian-mkdocs-publisher:51:9847)
at Generator.next (<anonymous>)
at eval (plugin:obsidian-mkdocs-publisher:2:871)
at new Promise (<anonymous>)
at D (plugin:obsidian-mkdocs-publisher:2:691)
at dn (plugin:obsidian-mkdocs-publisher:51:7039)
at ps.eval (plugin:obsidian-mkdocs-publisher:56:51887)
at Generator.next (<anonymous>)
at s (plugin:obsidian-mkdocs-publisher:2:729)
e |
Seems that the key is not created with the update. Thanks you! Will try to fix that when I have the time^^ |
Issue validation
Plugin version
6.0.1
Describe the bug
The plugin isn't actually activated even though the button is on: there is no setting button, no command in the palette. Manually copying the content rather the file is no used either.
How to reproduce ?
Guaranteed methods:
Sometimes work:
I tried to disable all other plugins but it doesn't help. However this only seems to happen on my real vaults. Testing on the test vault it doesn't happen.
Minimal Reproducible Example
Manually copy the plugin folder from another vault
Configuration
It's not possible to open the setting panel, there is no way to export it. However here is the content of the data.json:
Obsidian information
The text was updated successfully, but these errors were encountered: