markdown-confluence / markdown-confluence

Publish your Markdown Files to Confluence

Home Page:https://markdown-confluence.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to load confluence-integration obsidian plugin

agustine-leo opened this issue · comments

commented

Hi, I have an issue with the plugin. Previously it was working fine, but today I just realized it doesn't work anymore.
Plugin Version: 5.5.2
Obsidian Version: v1.5.8

Logs captured from dev tools.

Plugin failure: confluence-integration TypeError: W_e.isDesktopCapturerEnabled is not a function
at eval (VM328 plugin:confluence-integration:44:184470)
at eval (VM328 plugin:confluence-integration:6:265)
at eval (VM328 plugin:confluence-integration:44:184861)
at eval (VM328 plugin:confluence-integration:6:265)
at eval (VM328 plugin:confluence-integration:44:190951)
at eval (VM328 plugin:confluence-integration:6:265)
at eval (VM328 plugin:confluence-integration:44:190998)
at eval (VM328 plugin:confluence-integration:6:265)
at anonymous (VM328 plugin:confluence-integration:1718:226)
at e. (app.js:1:2046123)
(anonymous) @ app.js:1
4app.js:1 Plugin failure: confluence-integration TypeError: W_e.isDesktopCapturerEnabled is not a function
at eval (VM307 plugin:confluence-integration:44:184470)
at eval (VM307 plugin:confluence-integration:6:265)
at eval (VM307 plugin:confluence-integration:44:184861)
at eval (VM307 plugin:confluence-integration:6:265)
at eval (VM307 plugin:confluence-integration:44:190951)
at eval (VM307 plugin:confluence-integration:6:265)
at eval (VM307 plugin:confluence-integration:44:190998)
at eval (VM307 plugin:confluence-integration:6:265)
at anonymous (VM307 plugin:confluence-integration:1718:226)
at e. (app.js:1:2046123)

image

Hello, have the same problem. I try to install and use this plugin, but can't start.

commented

I installed Obsidian using flatpak, downgraded to previous release fixed the issue for now.

flatpak update --commit=26c9563c28b3250935a00151e4efcb6b4a8488a6b1066b111cf943d882effca7 md.obsidian.Obsidian
flatpak mask md.obsidian.Obsidian # Freeze auto update

Thank you, i downgraded version from 1.5.8-2 to 1.5.8-1 at archlinux and plugin works now.

I'm in the same boat. I found this plugin today and was hoping to use it to streamline documentation processes. I will not be downgrading Obsidian, hoping this plugin is fixed soon!

I am having the same issue on MacOS. Obsidian installed through Homebrew, but no other issues, so I do not believe this is imortant to the issue.

This is the error I keep getting. Looks like it is missing a CSS file, which I assume is where the missing function below that is located.

app.js:1 Confluence Integration: styles.css not found
app.js:1 Plugin failure: confluence-integration TypeError: W_e.isDesktopCapturerEnabled is not a function
    at eval (plugin:confluence-integration:44:184470)
    at eval (plugin:confluence-integration:6:265)
    at eval (plugin:confluence-integration:44:184861)
    at eval (plugin:confluence-integration:6:265)
    at eval (plugin:confluence-integration:44:190951)
    at eval (plugin:confluence-integration:6:265)
    at eval (plugin:confluence-integration:44:190998)
    at eval (plugin:confluence-integration:6:265)
    at anonymous (plugin:confluence-integration:1718:226)
    at e.<anonymous> (app.js:1:2046123)
    at app.js:1:237544
    at Object.next (app.js:1:237649)
    at a (app.js:1:236367)
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
s @ app.js:1
Promise.then (async)
l @ app.js:1
(anonymous) @ app.js:1
v @ app.js:1
e.enablePlugin @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
v @ app.js:1
e.enablePluginAndSave @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
v @ app.js:1
(anonymous) @ app.js:1
commented

I am also having this issue on Android, version 1.5.8(126). Also the previous version I had installed couldn't enable the plugin, 1.4.something (unfortunately it updated before I could grab the whole version number).

Fixed my locally for now by editing the plugin's main.js file.
Remove the W_e.isDesktopCapturerEnabled() function call, and it will work with the latest version of Obsidian. This is quick and dirty (sorry, but didn't have time to find this in source and create a proper PR, but wanted to at least share a quick fix for folks here that are in a pinch and don't want to downgrade Obsidian).

I am having the same issue under Windows with v1.5.11. The plugin installs. However, I could not enable it. I used the suggestion that @justin-parker suggested and now I can enable the plugin.

The problem is the dependency "@electron/remote": "^2.0.9", in packages/mermaid-electron-renderer/package.json
I have changed it to "@electron/remote": "^2.1.2", and built the package again and it works, could create a pull request. But I don't see any activity in the repo, so I'm not sure if one will merge it

The problem is the dependency "@electron/remote": "^2.0.9", in packages/mermaid-electron-renderer/package.json
I have changed it to "@electron/remote": "^2.1.2", and built the package again and it works, could create a pull request. But I don't see any activity in the repo, so I'm not sure if one will merge it

Hi @gergan can you tell more?
I'm running in the same trouble, I don't find the file you're talking about.

EDIT: @justin-parker's solution worked fine. Thanks! I wonder how did you find about it though.

The problem is the dependency "@electron/remote": "^2.0.9", in packages/mermaid-electron-renderer/package.json
I have changed it to "@electron/remote": "^2.1.2", and built the package again and it works, could create a pull request. But I don't see any activity in the repo, so I'm not sure if one will merge it

Hi @gergan can you tell more? I'm running in the same trouble, I don't find the file you're talking about.

EDIT: @justin-parker's solution worked fine. Thanks! I wonder how did you find about it though.

Sorry I had too much on my head - but here ist the patch, which fixes it for me
markdown-confluence-9ba7b11-fix.patch

I used @justin-parker workaround of removing the ||W_e.isDesktopCapturerEnabled() in main.js of the plugin.

@gergan where do you apply the patch? on the Obsidian source?

Thanks for finding a workaround!

Update: Lately I also needed to remove ||W_e.isViewApiEnabled()

commented

@StefanD986 you can find the main.js in <your obsidian notes directory>/.obsidian/plugins/confluence-integration/

commented

@justin-parker - Nice, dude!

I am growing increasing concerned that this simple, effective plugin has been abandoned; and it's only one of two publishing plugins.... and really, only one of one, as the other does not compare, IMO.

@andymac4182 is the fellow behind this awesome plugin. I know a couple people pinged him on DIscord. He might just be on vacation at the moment. I'd give him the benefit of the doubt - I know he put a lot of work into creating it last year.

@andymac4182 is the fellow behind this awesome plugin. I know a couple people pinged him on DIscord. He might just be on vacation at the moment. I'd give him the benefit of the doubt - I know he put a lot of work into creating it last year.

Nine months (since the last commit) of vacation?! Baller. At any rate, the plug-in is in maintenance mode right now, but I share the sentiment with the others: we find it super helpful. If everyone was willing to incentivize the code maintainer through sponsorship, that might sweeten the pot; it isn't all altruistic. IMO, their time is a precious commodity we should cherish.

I forked the repository, updated dependencies, and built the plugin to a working state for my own use. I have published a patched release here, for those who might be looking for a short term solution: https://github.com/jvsteiner/markdown-confluence/releases/tag/v5.5.2_1