obsidian-kanban
obsidian-kanban copied to clipboard
[Bug]: Can't activate kanban plugin on Android
Describe the bug
Trying to activate the plugin on Android results in an error message and it stays unactivated. This is probably the same error as #281.
System information: Android 9 Obsidian app: 1.2.0 obsidian-kanban 1.2.39
Things I've tried already:
- Uninstalling and reinstalling Kanban.
- Uninstalling and reinstalling Obsidian.
- I'm able to install and enable other community plugins.
- Uninstall all other community plugins.
I've debugged this over adb and retrieved a further error message through the Chrome developer tools console. The minimized obsidian js is difficult to debug, so I'm not sure where to go from there. Let me know if there is any other information I could provide, or strategies I could use to debug this further.
Expected Behavior
The plugin should be activated.
Steps to reproduce
- Under "Community Plugins" click Kanban and "Install".
- Click "Enable".
Relevant errors (if available)
Error in app:
Failed to load plugin obsidian-kanban
Error in developer tools console:
app.js:1 Plugin failure: obsidian-kanban SyntaxError: Unexpected token .
at eval (<anonymous>)
at app.js:1
at e.<anonymous> (app.js:1)
at app.js:1
at Object.next (app.js:1)
at s (app.js:1)
And after prettifying the js the stack trace becomes:
app.js:formatted:1 Plugin failure: obsidian-kanban SyntaxError: Unexpected token .
at eval (<anonymous>)
at app.js:formatted:1
at e.<anonymous> (app.js:formatted:1)
at app.js:formatted:1
at Object.next (app.js:formatted:1)
at s (app.js:formatted:1)
(anonymous) @ app.js:formatted:1
(anonymous) @ app.js:formatted:1
(anonymous) @ app.js:formatted:1
a @ app.js:formatted:1
Promise.then (async)
l @ app.js:formatted:1
(anonymous) @ app.js:formatted:1
A @ app.js:formatted:1
e.enablePlugin @ app.js:formatted:1
(anonymous) @ app.js:formatted:1
(anonymous) @ app.js:formatted:1
(anonymous) @ app.js:formatted:1
(anonymous) @ app.js:formatted:1
A @ app.js:formatted:1
e.enablePluginAndSave @ app.js:formatted:1
(anonymous) @ app.js:formatted:1
(anonymous) @ app.js:formatted:1
(anonymous) @ app.js:formatted:1
(anonymous) @ app.js:formatted:1
A @ app.js:formatted:1
(anonymous) @ app.js:formatted:1
Operating system
Android
I switched to a different phone running Android 12 and am not having the problem there. I could do additional debugging on the Android 9 phone if that would be helpful to anyone, but I'll probably be wiping in about a week otherwise.
Same error and got same log with adb and chrome:// inspect. By the way, is there a better way to print a more readable log?