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

Can't load plugin #51

Open
Sunstroke98 opened this issue Jan 23, 2024 · 13 comments
Open

Can't load plugin #51

Sunstroke98 opened this issue Jan 23, 2024 · 13 comments
Labels
bug Something isn't working

Comments

@Sunstroke98
Copy link

Hi,

I tried installing the plugin through the community plugin tab directly on obsidian.
I then downloaded tesseract as well as imagemagick from the links provided on the plugin page
I added them to the path using the tutorial provided as well.
However, when i try to enable the plugin i get the message:

image

I tried running the debugging console and it gives me the following message:

image

I'm guessing i didnt correctly add the executables to the path but i cant figure out what to change, could you help out?

@FranticPanic
Copy link

Receiving the same error as shown above after installing the dependencies and adding them to the system path.

@gavinwright-engr
Copy link

Same issue happening for me.

@fredjoe7
Copy link

same issue for me ... just installed plugin and tried to enable it and got this error

@MohrJonas
Copy link
Owner

Thank you for your issue. Can you please create a log file by enabling file logging in the settings and rerunning the steps that lead to the issue. After that you should have a log file in your vault. Please upload it to GitHub gists and link it here.

@MohrJonas MohrJonas added the bug Something isn't working label Mar 28, 2024
@mjelp0147854
Copy link

mjelp0147854 commented Apr 9, 2024

Does anyone sent you the logfile @MohrJonas? I've got the same issue both with the automatic and the manuel installation process in Windows ...

P.S.: I think the idea behind your plug-in has great potential. Thank you! :)

@Wingout
Copy link

Wingout commented Apr 15, 2024

@MohrJonas Tried installing today using the recommended flow on windows 10 and facing same issue, exe are in path however getting the absolute path error, i will try and log the install and get back to you if i can work through it, plugin looks great from the outside!

@MohrJonas
Copy link
Owner

Thank you for you kind words. Getting the log and (hopefully) finally resolving this issue would be great 😁

@planetClaire
Copy link

planetClaire commented May 2, 2024

About the log file, how do we enable file logging in Obsidian settings? I can't see it anywhere... I notice no-one else has linked a file to this thread yet. I'm also having the same problem.

Here's the console log shown in the screenshot anyway: https://gist.github.com/planetClaire/84c7435eb9902825a4c56944961ce9ce

Thank you for your issue. Can you please create a log file by enabling file logging in the settings and rerunning the steps that lead to the issue. After that you should have a log file in your vault. Please upload it to GitHub gists and link it here.

@planetClaire
Copy link

About the log file, how do we enable file logging in Obsidian settings? I can't see it anywhere... I notice no-one else has linked a file to this thread yet. I'm also having the same problem.

Here's the console log shown in the screenshot anyway: https://gist.github.com/planetClaire/84c7435eb9902825a4c56944961ce9ce

Thank you for your issue. Can you please create a log file by enabling file logging in the settings and rerunning the steps that lead to the issue. After that you should have a log file in your vault. Please upload it to GitHub gists and link it here.

I see from another issue that the logging is in the plugin options, but the options aren't available until it's enabled.

@MohrJonas
Copy link
Owner

Yes, you're correct that the settings are only available when the plugin loads successfully. This, however is also valuable information, because now we know that the error happens before loading the settings.

@planetClaire
Copy link

Yes, you're correct that the settings are only available when the plugin loads successfully. This, however is also valuable information, because now we know that the error happens before loading the settings.

Thanks for your reply. Just FYI, both tesseract and imagick are in my path.

@Sergeybond97
Copy link

I followed line numbers from error in console
image

At line 64610 in main.js is function external_node_path_namespaceObject.dirname with path to some local developer's directory
And in line 64774 same thing

I replaced calls to those functions with empty string and plugin start to work

image

@py9mrg
Copy link

py9mrg commented Jun 14, 2024

I followed line numbers from error in console image

At line 64610 in main.js is function external_node_path_namespaceObject.dirname with path to some local developer's directory And in line 64774 same thing

I replaced calls to those functions with empty string and plugin start to work

image

You hero.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

10 participants