chasebank87 / unofficial-fabric-plugin

Integrate fabric by danielmiessler/fabric into Obsidian
MIT License
42 stars 5 forks source link

Internal Server error #20

Open tb-1212 opened 1 month ago

tb-1212 commented 1 month ago

Hi I am trying to use in Obsidian, but it keeps saying Internal server error, any idea why that is? Fabric is working fine in the terminal

chasebank87 commented 1 month ago

Show me a screenshot of the error, and of the plugin settings and did you install the fabric connector?Also for an easier setup I have another plugin called mesh-ai that does not require fabric or fabric connector but does the same thing.Sent from my iPhoneOn Sep 19, 2024, at 11:02 PM, tb-1212 @.***> wrote: Hi I am trying to use in Obsidian, but it keeps saying Internal server error, any idea why that is? Fabric is working fine in the terminal

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

tb-1212 commented 1 month ago

Yes I have installed the fabric connector, It says running, and in the Obsidian plugin I have tested the API key it says valid. I have tried uninstalling on Obsidian and reinstalling. I also tried to install the Fabric connector again, but the same thing.

I checked out your Mesh AI one but I cannot use Open AI since I'm in hong Kong, I can only use open router.

Thanks

Chris

--- original message --- On September 20, 2024 at 11:06 AM GMT+8 @.*** wrote:

Show me a screenshot of the error, and of the plugin settings and did you install the fabric connector?Also for an easier setup I have another plugin called mesh-ai that does not require fabric or fabric connector but does the same thing.Sent from my iPhoneOn Sep 19, 2024, at 11:02 PM, tb-1212 @.***> wrote: Hi I am trying to use in Obsidian, but it keeps saying Internal server error, any idea why that is? Fabric is working fine in the terminal

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***> —

Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you authored the thread.Message ID: @.***> --- end of original message ---

chasebank87 commented 1 month ago

I’ll try to implement open router but in the meantime you should be able to get the fabric plugin working. Just need screenshots and logs.Sent from my iPhoneOn Sep 20, 2024, at 7:24 AM, tb-1212 @.***> wrote: Yes I have installed the fabric connector, It says running, and in the Obsidian plugin I have tested the API key it says valid.

I have tried uninstalling on Obsidian and reinstalling. I also tried to install the Fabric connector again, but the same thing.

I checked out your Mesh AI one but I cannot use Open AI since I'm in hong Kong, I can only use open router.

Thanks

Chris

--- original message ---

On September 20, 2024 at 11:06 AM GMT+8 @.*** wrote:

Show me a screenshot of the error, and of the plugin settings and did you install the fabric connector?Also for an easier setup I have another plugin called mesh-ai that does not require fabric or fabric connector but does the same thing.Sent from my iPhoneOn Sep 19, 2024, at 11:02 PM, tb-1212 @.***> wrote:

Hi I am trying to use in Obsidian, but it keeps saying Internal server error, any idea why that is? Fabric is working fine in the terminal

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you authored the thread.Message ID: @.***>

--- end of original message ---

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

tb-1212 commented 1 month ago

here are the screenshots

Failed to load 2024 09 20
chasebank87 commented 1 month ago

Now go to the plugin settings and test the fabric api for me.Also which version of fabric? Go or Python. If go we need to enable the compatibility in the settings.Sent from my iPhoneOn Sep 20, 2024, at 8:47 AM, tb-1212 @.***> wrote: here are the screenshots Failed.to.load.png (view on web) 2024.09.20.png (view on web)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

tb-1212 commented 1 month ago

Yes i did both already

Fabric api key is valid Go version and I have enabled the compatibility in settings

--- original message --- On September 20, 2024 at 10:01 PM GMT+8 @.*** wrote:

Now go to the plugin settings and test the fabric api for me.Also which version of fabric? Go or Python. If go we need to enable the compatibility in the settings.Sent from my iPhoneOn Sep 20, 2024, at 8:47 AM, tb-1212 @.***> wrote: here are the screenshots Failed.to.load.png (view on web) 2024.09.20.png (view on web)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***> —

Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you authored the thread.Message ID: @.***> --- end of original message ---

chasebank87 commented 1 month ago

So the only other thing that could be an issue is the paths of the patterns. Maybe post the logs after turning on debugging in the plugin settings.Open developer tools and go to console for the logs.Sent from my iPhoneOn Sep 20, 2024, at 10:53 AM, tb-1212 @.***> wrote: Yes i did both already

Fabric api key is valid

Go version and I have enabled the compatibility in settings

--- original message ---

On September 20, 2024 at 10:01 PM GMT+8 @.*** wrote:

Now go to the plugin settings and test the fabric api for me.Also which version of fabric? Go or Python. If go we need to enable the compatibility in the settings.Sent from my iPhoneOn Sep 20, 2024, at 8:47 AM, tb-1212 @.***> wrote:

here are the screenshots

Failed.to.load.png (view on web)

2024.09.20.png (view on web)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you authored the thread.Message ID: @.***>

--- end of original message ---

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

tb-1212 commented 1 month ago

I have been trying to debug this and I have a question

"Ensure the paths to the Fabric and YT binaries are correctly set in the code:

FABRIC_PATH = "/path/to/fabric" YT_PATH = "/path/to/yt". "

1, Where can I find these binaries? 2, Do I put this in the requirements.txt file or where should I place them?

right now, I am putting the Fabric folder path in FABRIC_PATH and there is a YT folder inside which I put in YT_PATH

These probably isn't correct, can you point me in the right direction?

--- original message --- On September 20, 2024 at 11:59 PM GMT+8 @.*** wrote:

So the only other thing that could be an issue is the paths of the patterns. Maybe post the logs after turning on debugging in the plugin settings.Open developer tools and go to console for the logs.Sent from my iPhoneOn Sep 20, 2024, at 10:53 AM, tb-1212 @.***> wrote: Yes i did both already

Fabric api key is valid

Go version and I have enabled the compatibility in settings

--- original message ---

On September 20, 2024 at 10:01 PM GMT+8 @.*** wrote:

Now go to the plugin settings and test the fabric api for me.Also which version of fabric? Go or Python. If go we need to enable the compatibility in the settings.Sent from my iPhoneOn Sep 20, 2024, at 8:47 AM, tb-1212 @.***> wrote:

here are the screenshots

Failed.to.load.png (view on web)

2024.09.20.png (view on web)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you authored the thread.Message ID: @.***>

--- end of original message ---

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***> —

Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you authored the thread.Message ID: @.***> --- end of original message ---

chasebank87 commented 1 month ago

Those need to be removed, that’s not how I get the fabric path. Where are your fabric binaries? Use command which fabricSent from my iPhoneOn Sep 20, 2024, at 1:29 PM, tb-1212 @.***> wrote: I have been trying to debug this and I have a question

"Ensure the paths to the Fabric and YT binaries are correctly set in the code:

FABRIC_PATH = "/path/to/fabric"

YT_PATH = "/path/to/yt". "

1, Where can I find these binaries?

2, Do I put this in the requirements.txt file or where should I place them?

right now, I am putting the Fabric folder path in FABRIC_PATH

and there is a YT folder inside which I put in YT_PATH

These probably isn't correct, can you point me in the right direction?

--- original message ---

On September 20, 2024 at 11:59 PM GMT+8 @.*** wrote:

So the only other thing that could be an issue is the paths of the patterns. Maybe post the logs after turning on debugging in the plugin settings.Open developer tools and go to console for the logs.Sent from my iPhoneOn Sep 20, 2024, at 10:53 AM, tb-1212 @.***> wrote:

Yes i did both already

Fabric api key is valid

Go version and I have enabled the compatibility in settings

--- original message ---

On September 20, 2024 at 10:01 PM GMT+8 @.*** wrote:

Now go to the plugin settings and test the fabric api for me.Also which version of fabric? Go or Python. If go we need to enable the compatibility in the settings.Sent from my iPhoneOn Sep 20, 2024, at 8:47 AM, tb-1212 @.***> wrote:

here are the screenshots

Failed.to.load.png (view on web)

2024.09.20.png (view on web)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you authored the thread.Message ID: @.***>

--- end of original message ---

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you authored the thread.Message ID: @.***>

--- end of original message ---

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

chasebank87 commented 1 month ago

It would be helpful to get the logs from obsidian console with debugging turned on.Also it might be easier if you can’t get it to work, use mesh AI plugin which I build for people that don’t want fabric or fabric connector.Sent from my iPhoneOn Sep 20, 2024, at 1:29 PM, tb-1212 @.***> wrote: I have been trying to debug this and I have a question

"Ensure the paths to the Fabric and YT binaries are correctly set in the code:

FABRIC_PATH = "/path/to/fabric"

YT_PATH = "/path/to/yt". "

1, Where can I find these binaries?

2, Do I put this in the requirements.txt file or where should I place them?

right now, I am putting the Fabric folder path in FABRIC_PATH

and there is a YT folder inside which I put in YT_PATH

These probably isn't correct, can you point me in the right direction?

--- original message ---

On September 20, 2024 at 11:59 PM GMT+8 @.*** wrote:

So the only other thing that could be an issue is the paths of the patterns. Maybe post the logs after turning on debugging in the plugin settings.Open developer tools and go to console for the logs.Sent from my iPhoneOn Sep 20, 2024, at 10:53 AM, tb-1212 @.***> wrote:

Yes i did both already

Fabric api key is valid

Go version and I have enabled the compatibility in settings

--- original message ---

On September 20, 2024 at 10:01 PM GMT+8 @.*** wrote:

Now go to the plugin settings and test the fabric api for me.Also which version of fabric? Go or Python. If go we need to enable the compatibility in the settings.Sent from my iPhoneOn Sep 20, 2024, at 8:47 AM, tb-1212 @.***> wrote:

here are the screenshots

Failed.to.load.png (view on web)

2024.09.20.png (view on web)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you authored the thread.Message ID: @.***>

--- end of original message ---

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you authored the thread.Message ID: @.***>

--- end of original message ---

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

tb-1212 commented 1 month ago

I found the binary paths, but where should I place them? in which file?

I think I am almost there

--- original message --- On September 21, 2024 at 1:41 AM GMT+8 @.*** wrote:

It would be helpful to get the logs from obsidian console with debugging turned on.Also it might be easier if you can’t get it to work, use mesh AI plugin which I build for people that don’t want fabric or fabric connector.Sent from my iPhoneOn Sep 20, 2024, at 1:29 PM, tb-1212 @.***> wrote: I have been trying to debug this and I have a question

"Ensure the paths to the Fabric and YT binaries are correctly set in the code:

FABRIC_PATH = "/path/to/fabric"

YT_PATH = "/path/to/yt". "

1, Where can I find these binaries?

2, Do I put this in the requirements.txt file or where should I place them?

right now, I am putting the Fabric folder path in FABRIC_PATH

and there is a YT folder inside which I put in YT_PATH

These probably isn't correct, can you point me in the right direction?

--- original message ---

On September 20, 2024 at 11:59 PM GMT+8 @.*** wrote:

So the only other thing that could be an issue is the paths of the patterns. Maybe post the logs after turning on debugging in the plugin settings.Open developer tools and go to console for the logs.Sent from my iPhoneOn Sep 20, 2024, at 10:53 AM, tb-1212 @.***> wrote:

Yes i did both already

Fabric api key is valid

Go version and I have enabled the compatibility in settings

--- original message ---

On September 20, 2024 at 10:01 PM GMT+8 @.*** wrote:

Now go to the plugin settings and test the fabric api for me.Also which version of fabric? Go or Python. If go we need to enable the compatibility in the settings.Sent from my iPhoneOn Sep 20, 2024, at 8:47 AM, tb-1212 @.***> wrote:

here are the screenshots

Failed.to.load.png (view on web)

2024.09.20.png (view on web)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you authored the thread.Message ID: @.***>

--- end of original message ---

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you authored the thread.Message ID: @.***>

--- end of original message ---

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***> —

Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you authored the thread.Message ID: @.***> --- end of original message ---

chasebank87 commented 1 month ago

I’m telling you that there is no where to put them, that’s not how the app works. That part of the read me is outdated and needs to be removed.I can try an help but I need logs and what not. You can also open the api docs and see if you can get the fabric endpoint to work from there.Sent from my iPhoneOn Sep 20, 2024, at 1:45 PM, tb-1212 @.***> wrote: I found the binary paths, but where should I place them? in which file?

I think I am almost there

--- original message ---

On September 21, 2024 at 1:41 AM GMT+8 @.*** wrote:

It would be helpful to get the logs from obsidian console with debugging turned on.Also it might be easier if you can’t get it to work, use mesh AI plugin which I build for people that don’t want fabric or fabric connector.Sent from my iPhoneOn Sep 20, 2024, at 1:29 PM, tb-1212 @.***> wrote:

I have been trying to debug this and I have a question

"Ensure the paths to the Fabric and YT binaries are correctly set in the code:

FABRIC_PATH = "/path/to/fabric"

YT_PATH = "/path/to/yt". "

1, Where can I find these binaries?

2, Do I put this in the requirements.txt file or where should I place them?

right now, I am putting the Fabric folder path in FABRIC_PATH

and there is a YT folder inside which I put in YT_PATH

These probably isn't correct, can you point me in the right direction?

--- original message ---

On September 20, 2024 at 11:59 PM GMT+8 @.*** wrote:

So the only other thing that could be an issue is the paths of the patterns. Maybe post the logs after turning on debugging in the plugin settings.Open developer tools and go to console for the logs.Sent from my iPhoneOn Sep 20, 2024, at 10:53 AM, tb-1212 @.***> wrote:

Yes i did both already

Fabric api key is valid

Go version and I have enabled the compatibility in settings

--- original message ---

On September 20, 2024 at 10:01 PM GMT+8 @.*** wrote:

Now go to the plugin settings and test the fabric api for me.Also which version of fabric? Go or Python. If go we need to enable the compatibility in the settings.Sent from my iPhoneOn Sep 20, 2024, at 8:47 AM, tb-1212 @.***> wrote:

here are the screenshots

Failed.to.load.png (view on web)

2024.09.20.png (view on web)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you authored the thread.Message ID: @.***>

--- end of original message ---

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you authored the thread.Message ID: @.***>

--- end of original message ---

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you authored the thread.Message ID: @.***>

--- end of original message ---

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

tb-1212 commented 1 month ago

OK got it! I have tried Mesh AI and it works great, if you can add an OpenRouter option that would be super then I don't need to use an VPN. Thanks again!

--- original message --- On September 21, 2024 at 2:10 AM GMT+8 @.*** wrote:

I’m telling you that there is no where to put them, that’s not how the app works. That part of the read me is outdated and needs to be removed.I can try an help but I need logs and what not. You can also open the api docs and see if you can get the fabric endpoint to work from there.Sent from my iPhoneOn Sep 20, 2024, at 1:45 PM, tb-1212 @.***> wrote: I found the binary paths, but where should I place them? in which file?

I think I am almost there

--- original message ---

On September 21, 2024 at 1:41 AM GMT+8 @.*** wrote:

It would be helpful to get the logs from obsidian console with debugging turned on.Also it might be easier if you can’t get it to work, use mesh AI plugin which I build for people that don’t want fabric or fabric connector.Sent from my iPhoneOn Sep 20, 2024, at 1:29 PM, tb-1212 @.***> wrote:

I have been trying to debug this and I have a question

"Ensure the paths to the Fabric and YT binaries are correctly set in the code:

FABRIC_PATH = "/path/to/fabric"

YT_PATH = "/path/to/yt". "

1, Where can I find these binaries?

2, Do I put this in the requirements.txt file or where should I place them?

right now, I am putting the Fabric folder path in FABRIC_PATH

and there is a YT folder inside which I put in YT_PATH

These probably isn't correct, can you point me in the right direction?

--- original message ---

On September 20, 2024 at 11:59 PM GMT+8 @.*** wrote:

So the only other thing that could be an issue is the paths of the patterns. Maybe post the logs after turning on debugging in the plugin settings.Open developer tools and go to console for the logs.Sent from my iPhoneOn Sep 20, 2024, at 10:53 AM, tb-1212 @.***> wrote:

Yes i did both already

Fabric api key is valid

Go version and I have enabled the compatibility in settings

--- original message ---

On September 20, 2024 at 10:01 PM GMT+8 @.*** wrote:

Now go to the plugin settings and test the fabric api for me.Also which version of fabric? Go or Python. If go we need to enable the compatibility in the settings.Sent from my iPhoneOn Sep 20, 2024, at 8:47 AM, tb-1212 @.***> wrote:

here are the screenshots

Failed.to.load.png (view on web)

2024.09.20.png (view on web)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you authored the thread.Message ID: @.***>

--- end of original message ---

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you authored the thread.Message ID: @.***>

--- end of original message ---

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you authored the thread.Message ID: @.***>

--- end of original message ---

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***> —

Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you authored the thread.Message ID: @.***> --- end of original message ---