jgchristopher / obsidian-clipper

Obsidian plugin that allows users to clip parts of a website into their obsidian daily note (or new note)
MIT License
223 stars 4 forks source link

Blank settings #61

Open kmaustral opened 8 months ago

kmaustral commented 8 months ago

I just updated to the Beta version 1.0.0 - beta 1. When I go to the settings, the screen is blank. I tried re-starting, but it was the same.

jgchristopher commented 8 months ago

Did you install the Beta via the BRAT plugin or just downloaded it from GitHub?

Would you mind providing a screenshot?

Also, did you have the previous version of the plugin installed before?

Any chance that you could do the following steps? This would help me a ton.

  1. Open Settings in Obsidian and go to the Community Plugin settings
  2. Turn off the Obsidian-Clipper plugin
  3. In the menu of Obsidian, click View -> Toggle Developer Tools
  4. Click on the Console tab of the developer tools that showed up
  5. Copy any error output in the console to this ticket

Thanks!

kmaustral commented 8 months ago

Thanks for your message, John.

I did have a previous version installed.

This is the error message:

plugin:obsidian-clipper:15160 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length') at create_fragment12 (plugin:obsidian-clipper:15160:34) at init (plugin:obsidian-clipper:9432:37) at new SettingsComponent (plugin:obsidian-clipper:15331:5) at SettingTab.display (plugin:obsidian-clipper:16079:17) at SettingsSearch.getTabResources (plugin:settings-search:229:15) at t.eval (plugin:settings-search:267:18) at t.wrapper [as addSettingTab] (plugin:settings-search:59:20) at t.addSettingTab (app.js:1:2020191) at ObsidianClipperPlugin.onload (plugin:obsidian-clipper:15931:10)

Let me know if you have any more questions.

Thanks for plugin.

On Fri, 19 Jan 2024 at 04:00, John Christopher @.***> wrote:

Would you mind providing a screenshot?

Also, did you have the previous version of the plugin installed before?

Any chance that you could do the following steps? This would help me a ton.

  1. Open Settings in Obsidian and go to the Community Plugin settings
  2. Turn off the Obsidian-Clipper plugin
  3. In the menu of Obsidian, click View -> Toggle Developer Tools
  4. Click on the Console tab of the developer tools that showed up
  5. Copy any error output in the console to this ticket

Thanks!

— Reply to this email directly, view it on GitHub https://github.com/jgchristopher/obsidian-clipper/issues/61#issuecomment-1898869165, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARTR6N5J3OJBGTEGYPLKYULYPFIKPAVCNFSM6AAAAABBZTJYDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJYHA3DSMJWGU . You are receiving this because you authored the thread.Message ID: @.***>

kmaustral commented 8 months ago

And FYI, I did now uninstall the plugin and delete the folder. When I reinstalled it, the settings appeared.

On Fri, 19 Jan 2024 at 07:47, Kevin Murray @.***> wrote:

Thanks for your message, John.

I did have a previous version installed.

This is the error message:

plugin:obsidian-clipper:15160 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length') at create_fragment12 (plugin:obsidian-clipper:15160:34) at init (plugin:obsidian-clipper:9432:37) at new SettingsComponent (plugin:obsidian-clipper:15331:5) at SettingTab.display (plugin:obsidian-clipper:16079:17) at SettingsSearch.getTabResources (plugin:settings-search:229:15) at t.eval (plugin:settings-search:267:18) at t.wrapper [as addSettingTab] (plugin:settings-search:59:20) at t.addSettingTab (app.js:1:2020191) at ObsidianClipperPlugin.onload (plugin:obsidian-clipper:15931:10)

Let me know if you have any more questions.

Thanks for plugin.

On Fri, 19 Jan 2024 at 04:00, John Christopher @.***> wrote:

Would you mind providing a screenshot?

Also, did you have the previous version of the plugin installed before?

Any chance that you could do the following steps? This would help me a ton.

  1. Open Settings in Obsidian and go to the Community Plugin settings
  2. Turn off the Obsidian-Clipper plugin
  3. In the menu of Obsidian, click View -> Toggle Developer Tools
  4. Click on the Console tab of the developer tools that showed up
  5. Copy any error output in the console to this ticket

Thanks!

— Reply to this email directly, view it on GitHub https://github.com/jgchristopher/obsidian-clipper/issues/61#issuecomment-1898869165, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARTR6N5J3OJBGTEGYPLKYULYPFIKPAVCNFSM6AAAAABBZTJYDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJYHA3DSMJWGU . You are receiving this because you authored the thread.Message ID: @.***>

kmaustral commented 8 months ago

There is one issue I recall from before which is recurring. Whichever heading I put into the settings (level 1 heading), it is not able to find:

Uncaught (in promise) Error: Missing Expected Heading at AppendWriter.write (plugin:obsidian-clipper:4762:15) write @ plugin:obsidian-clipper:4762 await in write (async) handleWrite @ plugin:obsidian-clipper:4900 writeToPeriodicNote @ plugin:obsidian-clipper:4920 await in writeToPeriodicNote (async) eval @ plugin:obsidian-clipper:10885 t @ app.js:1 (anonymous) @ VM353:1 (anonymous) @ node:electron/js2c/renderer_init:2 (anonymous) @ node:electron/js2c/renderer_init:2 emit @ node:events:513 onMessage @ node:electron/js2c/renderer_init:2

For the time being, I'm not using a Heading and just appending it to the Daily Note.

On Fri, 19 Jan 2024 at 07:57, Kevin Murray @.***> wrote:

And FYI, I did now uninstall the plugin and delete the folder. When I reinstalled it, the settings appeared.

On Fri, 19 Jan 2024 at 07:47, Kevin Murray @.***> wrote:

Thanks for your message, John.

I did have a previous version installed.

This is the error message:

plugin:obsidian-clipper:15160 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length') at create_fragment12 (plugin:obsidian-clipper:15160:34) at init (plugin:obsidian-clipper:9432:37) at new SettingsComponent (plugin:obsidian-clipper:15331:5) at SettingTab.display (plugin:obsidian-clipper:16079:17) at SettingsSearch.getTabResources (plugin:settings-search:229:15) at t.eval (plugin:settings-search:267:18) at t.wrapper [as addSettingTab] (plugin:settings-search:59:20) at t.addSettingTab (app.js:1:2020191) at ObsidianClipperPlugin.onload (plugin:obsidian-clipper:15931:10)

Let me know if you have any more questions.

Thanks for plugin.

On Fri, 19 Jan 2024 at 04:00, John Christopher @.***> wrote:

Would you mind providing a screenshot?

Also, did you have the previous version of the plugin installed before?

Any chance that you could do the following steps? This would help me a ton.

  1. Open Settings in Obsidian and go to the Community Plugin settings
  2. Turn off the Obsidian-Clipper plugin
  3. In the menu of Obsidian, click View -> Toggle Developer Tools
  4. Click on the Console tab of the developer tools that showed up
  5. Copy any error output in the console to this ticket

Thanks!

— Reply to this email directly, view it on GitHub https://github.com/jgchristopher/obsidian-clipper/issues/61#issuecomment-1898869165, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARTR6N5J3OJBGTEGYPLKYULYPFIKPAVCNFSM6AAAAABBZTJYDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJYHA3DSMJWGU . You are receiving this because you authored the thread.Message ID: @.***>

kmaustral commented 8 months ago

Latest update. I updated to the new Beta version 1 and lost the settings again.

On Fri, 19 Jan 2024 at 08:12, Kevin Murray @.***> wrote:

There is one issue I recall from before which is recurring. Whichever heading I put into the settings (level 1 heading), it is not able to find:

Uncaught (in promise) Error: Missing Expected Heading at AppendWriter.write (plugin:obsidian-clipper:4762:15) write @ plugin:obsidian-clipper:4762 await in write (async) handleWrite @ plugin:obsidian-clipper:4900 writeToPeriodicNote @ plugin:obsidian-clipper:4920 await in writeToPeriodicNote (async) eval @ plugin:obsidian-clipper:10885 t @ app.js:1 (anonymous) @ VM353:1 (anonymous) @ node:electron/js2c/renderer_init:2 (anonymous) @ node:electron/js2c/renderer_init:2 emit @ node:events:513 onMessage @ node:electron/js2c/renderer_init:2

For the time being, I'm not using a Heading and just appending it to the Daily Note.

On Fri, 19 Jan 2024 at 07:57, Kevin Murray @.***> wrote:

And FYI, I did now uninstall the plugin and delete the folder. When I reinstalled it, the settings appeared.

On Fri, 19 Jan 2024 at 07:47, Kevin Murray @.***> wrote:

Thanks for your message, John.

I did have a previous version installed.

This is the error message:

plugin:obsidian-clipper:15160 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length') at create_fragment12 (plugin:obsidian-clipper:15160:34) at init (plugin:obsidian-clipper:9432:37) at new SettingsComponent (plugin:obsidian-clipper:15331:5) at SettingTab.display (plugin:obsidian-clipper:16079:17) at SettingsSearch.getTabResources (plugin:settings-search:229:15) at t.eval (plugin:settings-search:267:18) at t.wrapper [as addSettingTab] (plugin:settings-search:59:20) at t.addSettingTab (app.js:1:2020191) at ObsidianClipperPlugin.onload (plugin:obsidian-clipper:15931:10)

Let me know if you have any more questions.

Thanks for plugin.

On Fri, 19 Jan 2024 at 04:00, John Christopher @.***> wrote:

Would you mind providing a screenshot?

Also, did you have the previous version of the plugin installed before?

Any chance that you could do the following steps? This would help me a ton.

  1. Open Settings in Obsidian and go to the Community Plugin settings
  2. Turn off the Obsidian-Clipper plugin
  3. In the menu of Obsidian, click View -> Toggle Developer Tools
  4. Click on the Console tab of the developer tools that showed up
  5. Copy any error output in the console to this ticket

Thanks!

— Reply to this email directly, view it on GitHub https://github.com/jgchristopher/obsidian-clipper/issues/61#issuecomment-1898869165, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARTR6N5J3OJBGTEGYPLKYULYPFIKPAVCNFSM6AAAAABBZTJYDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJYHA3DSMJWGU . You are receiving this because you authored the thread.Message ID: @.***>

yarub123 commented 7 months ago

Yeah I'm getting a similar issue. Blank settings and it's also not clipping anymore. I don't know if it has to do with Obsidians new policy and maybe the required name change for manifest?

Here are 3 outputs:

This 3rd error is what happens when I try to clip something:

jgchristopher commented 7 months ago

I am working on migrating settings for existing users.

yarub123 commented 7 months ago

Appreciate ya Chris. Take your time. Thanks for keeping us updated ❤️