obsidian-calendar-plugin
obsidian-calendar-plugin copied to clipboard
Unable to enable the plugin on mobile (Android)
Basically, I installed Obsidian on an Android phone and tried to install & enable the Calendar plugin. Installing went well, but I am unable to enable it. Instead, it prints out: Failed to load plugin calendar.
Version is 1.5.10, Obsidian mobile version: latest.
How can I debug this and what could be the reason?
OK, I figured out how to debug the plugin through chrome://inspect, and this is the console log:
/favicon.ico:1 Failed to load resource: the server responded with a status of 404 (Not Found) app.js:1 Obsidian Developer Console app.js:1 Plugin failure: calendar SyntaxError: Unexpected token . at eval (
) at app.js:1 at t. (app.js:1) at app.js:1 at Object.next (app.js:1) at s (app.js:1) (anonymous) @ app.js:1 app.js:1 Plugin failure: calendar SyntaxError: Unexpected token . at eval ( ) at app.js:1 at t. (app.js:1) at app.js:1 at Object.next (app.js:1) at s (app.js:1) (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 a @ app.js:1 app.js:1 Plugin failure: calendar SyntaxError: Unexpected token . at eval ( ) at app.js:1 at t. (app.js:1) at app.js:1 at Object.next (app.js:1) at s (app.js:1) (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 a @ app.js:1 app.js:1 Plugin failure: calendar SyntaxError: Unexpected token . at eval ( ) at app.js:1 at t. (app.js:1) at app.js:1 at Object.next (app.js:1) at s (app.js:1) (anonymous) @ app.js:1 app.js:1 Plugin failure: calendar SyntaxError: Unexpected token . at eval ( ) at app.js:1 at t. (app.js:1) at app.js:1 at Object.next (app.js:1) at s (app.js:1) (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 a @ app.js:1 Promise.then (async) l @ app.js:1 (anonymous) @ app.js:1 o @ app.js:1 t.enablePlugin @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 o @ app.js:1 t.enablePluginAndSave @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 o @ app.js:1 (anonymous) @ app.js:1 t.setValue @ app.js:1 t.onClick @ app.js:1
What does this mean?!
The same thing happens with the beta as well:
/favicon.ico:1 Failed to load resource: the server responded with a status of 404 (Not Found)
app.js:1 Obsidian Developer Console
app.js:1 Plugin failure: calendar-beta SyntaxError: Unexpected token .
at eval (<anonymous>)
at app.js:1
at t.<anonymous> (app.js:1)
at app.js:1
at Object.next (app.js:1)
at s (app.js:1)
(anonymous) @ app.js:1
app.js:1 Plugin failure: calendar-beta SyntaxError: Unexpected token .
at eval (<anonymous>)
at app.js:1
at t.<anonymous> (app.js:1)
at app.js:1
at Object.next (app.js:1)
at s (app.js:1)
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
a @ app.js:1
Promise.then (async)
l @ app.js:1
(anonymous) @ app.js:1
o @ app.js:1
t.enablePlugin @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
o @ app.js:1
t.enablePluginAndSave @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
o @ app.js:1
(anonymous) @ app.js:1
t.setValue @ app.js:1
t.onClick @ app.js:1
I do not have this bug on Huawei P 30 Pro, Samsung tab A 9.7, Tab Lite S9 but have it on Samsung Galaxy S8.
Running latest version.
I have two devices with Android 11, a Pixel 3XL and a new Pixel 5a. The plugin has been working fine on the 3, but it will not load on the 5a?
I'm getting this problem on both mobile and desktop. The plugin just seems to have stopped working everywhere. I realize this thread is from a few years ago and only talks about the mobile version of obsidian, but this was the closest open issue describing my problem.
same here ..... I did a fresh installation of obsidian on my ipad and now calendar and templater doesn't work anymore. I just get the message "failed to load plugin calendar"
Does anybody know how to get more infos? On Desktop I can enter the console, but not on mobile. Any ideas?
I think it is an issue of obsidian 1.4.1 (83) API 1.0.3
Same here. Can't enable calendar plugin on my Android.
Same here. I just got a new PC and after installing Obsidian (I use obsidian sync) everything works fine, except the calendar plugin. Also with "failed to load plugin calendar". But on my existing installations (PC, ipad and android phone) it still works.
Does anyone know anything about this?
And I just realized that maybe it has something to do with Obsidian Sync? Because if I open a local Vault, then the calendar plugin works fine!
Hello KatharinaHille, I've managed to get it to work by using BRAT plugin. Maybe it could work for you to.
don't know what this is?
But thanks for the tipp, I will look it up
Morning KatharinaHille,
The BRAT plugin on Obsidian stands for Beta Reviewers Auto-update Tester. So it’s nothing but tool to become beta tester of any plugin that you chose. Some times, those beta may probably have already been fixed the bugs that you were experiencing (that was my case), but can come with more bugs (which is rare — also in my case.)
- Search for BRAT on Obsidian community plugins. → obsidian://show-plugin?id=obsidian42-brat
- GitHub - TfTHacker/obsidian42-brat: BRAT - Beta Reviewer's Auto-update Tool for Obsidian. Part of the Obsidian42 family of plugins.
Just install the plugin and paste the GitHub link — of plugin you chose — on the BRAT settings (restart Obsidian) to get access to beta.