vrtmrz / obsidian-livesync-webclip

MIT License
27 stars 3 forks source link

The extension window doesn't show properly #9

Open victor10292 opened 1 year ago

victor10292 commented 1 year ago

I built the extension from source code and loaded into Chrome (116). The dialog doesn't show all the contents. It is the same even I download the extension from Chrome Extension Store.

Could you please take a look at it? 2023-09-08_14-10

okyq commented 1 year ago

me too

lincomatic commented 1 year ago

me three

vrtmrz commented 1 year ago

Sorry for missing this issue! It has been reproduced! I will address it in a while!

ba0f3 commented 1 year ago

+1 for Vivaldi

gerroon commented 10 months ago

I have the same issue in Brave :( I hope some awesome dev can fix this. This extension was one of the reasons I installed Obsidian LiveSync

vrtmrz commented 10 months ago

I am really sorry for this delayed response. I have been a bit busy for a while, even though some bugs are on the LiveSync.

It was heartbreaking when everyone was waiting for me. However, Just now, I posted 0.6 which has fixed this issue. This will be published after the review by Google. Please try the latest release then.

I would love to say thank you for your patience!

gerroon commented 10 months ago

Hey thanks for the update. The window works but I cant get either submission work or sync work because I do not see the files synced to my vault.

I do not have e2ee password set, so i do not put anything there. I put the url to my obsidian sync serving end point.

Interesting that I see them in the coudb admin page

image

I also see that it is not respecting to the file saving format. I donot want them under webclip, so I changed them to another folder, and the extension still seems to be saving them under "webclip" maybe that is an issue, although I added a webclip for test and they did not show up there.

vrtmrz commented 10 months ago

Thank you for checking the latest version!

Without E2EE encryption, the files are stored so naive. (Due to the lack of the Path obfuscation feature too. Therefore, the path and _id would be the same). However, I am wondering why the / after webclip has been encoded.

Could you please check the behaviour if you have changed that Clip to like this? image

(You can ignore Save MHTML too, sorry for confusing capture).

gerroon commented 10 months ago

Here are some logs, adding a custom path DOWNLOAD/{title}_{date}.md does not seem to work. If I use no path "Clip to" then clipping and syncing works. I believe that it probably clips with custom path but not syncing to the client.

Maybe you have some hard coded paths?

12/14/2023, 10:57:20 AM->entry not found: DOWNLOAD/1. NVIDIA GPU Accelerated Computing on WSL

It would be nice if the user does not need to clip to hard coded paths or to the root fodler since everyone has thier own methods of note taking.

gerroon commented 10 months ago

Ok little more progress. Here I made another clip with DOWNLOAD/{title}_{date}.md path. As you see it the plugin logs it, but it is not listed anywhere in the vault. Then where is Shell commands documentation - Obsidian Publish_20231214_111558.md ?

, 11:15:41 AM->Looking for the point last synchronized point.
12/14/2023, 11:15:41 AM->Replication completed
12/14/2023, 11:16:07 AM->OneShot Sync begin... (sync)
12/14/2023, 11:16:07 AM->Replication activated

12/14/2023, 11:16:07 AM->Applied DOWNLOAD/Output channel - Current file - Shell commands documentation - Obsidian Publish_20231214_111558.md (DOWNLOAD%2FOutput channel - Current file - Shell commands documentation - Obsidian Publish_20231214_111558.md:1-bf9e0fc60a688d69b566560e3e12be69) change...

12/14/2023, 11:16:07 AM->Replication completed
12/14/2023, 11:16:16 AM->OneShot Sync begin... (sync)
12/14/2023, 11:16:16 AM->Looking for the point last synchronized point.
12/14/2023, 11:16:16 AM->Replication activated
12/14/2023, 11:16:17 AM->Replication completed
vrtmrz commented 10 months ago

Thank you for your patience! We seem to have seen some progress.

Maybe you have some hard coded paths?

Clip to is a template for the path of files in the Obsidian. DOWNLOAD/{title}_{date}.md will be interpreted as DOWNLOAD/1. NVIDIA GPU Accelerated Computing on WSL 2 — CUDA on WSL 12.3 documentation_20231215_155449.md
However, your data on CouchDB seems to have them with some extra encoding ( / to %2f). Would you mind if I ask you what browser and locale you are using? (I have checked the behaviour in Edge(120) and Chrome(120), en-GB and ja-JP).

Thank you for the log! It indicates that files are not written in the storage. Could you please enable the verbose logs? It yields some more information. (If written, we have seen like DB -> STORAGE (create,plain) DOWNLOAD/1. NVIDIA GPU Accelerated Computing on WSL 2 — CUDA on WSL 12.3 documentation_20231215_155449.md).

Just in case the reminder, make sure to disable Suspend file watching and Suspend database reflecting are disabled (on the Hatch pane), and all target filters are empty or disabled(on the Sync Settings pane).

gerroon commented 10 months ago

I use Brave, it is set to English/US. All syncing is enabled.

My Obsidian's sync fine, I doubt it is the sync itself. My feeling is that those files are living in some kind of oblivion, limbo space and not sync back to the clients, actually.

Here i captured a page from Obsidian site, this time I used "INBOX" to see if it would make a diff. It did not, it is still not showing up on the client (which this log is from).

(https://publish.obsidian.md/shellcommands/Output+handling/Output+channel+-+Clipboard)

image


12/15/2023, 10:46:18 AM->Replication activated
12/15/2023, 10:46:18 AM->Applied assets/Output channel - Clipboard - Shell commands documentation - Obsidian Publish_20231215_104611/Settings-main-output-tab.20231215_104611.png (assets%2FOutput channel - Clipboard - Shell commands documentation - Obsidian Publish_20231215_104611%2FSettings-main-output-tab.20231215_104611.png:1-3f77ba13ce4efd1a8f729c8d8e1bee78) change...
12/15/2023, 10:46:19 AM->Replication completed
12/15/2023, 10:46:20 AM->OneShot Sync begin... (sync)
12/15/2023, 10:46:20 AM->Looking for the point last synchronized point.
12/15/2023, 10:46:20 AM->Replication activated
12/15/2023, 10:46:21 AM->Replication activated
12/15/2023, 10:46:21 AM->↑0 (11) ↓1 (LIVE)
12/15/2023, 10:46:21 AM->Applied INBOX/Output channel - Clipboard - Shell commands documentation - Obsidian Publish_20231215_104611.md (INBOX%2FOutput channel - Clipboard - Shell commands documentation - Obsidian Publish_20231215_104611.md:1-fe7e742a58c1c7119b8f4b018c55a665) change...
12/15/2023, 10:46:21 AM->Replication completed
12/15/2023, 10:46:43 AM->OneShot Sync begin... (sync)
12/15/2023, 10:46:43 AM->Replication activated
12/15/2023, 10:46:44 AM->Replication completed

Enabled verbose logging with the same settings, captured another page from that site I gave to make sure it is not the same. I do not see it in the client, but somehow it logs them in the client.

12/15/2023, 10:51:46 AM->Applying assets/Output channels - Shell commands documentation - Obsidian Publish_20231215_105142/Settings-main-click-output-channels-icon.20231215_105142.png (assets%2FOutput channels - Shell commands documentation - Obsidian Publish_20231215_105142%2FSettings-main-click-output-channels-icon.20231215_105142.png: 1-7e921f6da58d5b8fbcd8c73b9977b930) change...
12/15/2023, 10:51:46 AM->Applied assets/Output channels - Shell commands documentation - Obsidian Publish_20231215_105142/Settings-main-click-output-channels-icon.20231215_105142.png (assets%2FOutput channels - Shell commands documentation - Obsidian Publish_20231215_105142%2FSettings-main-click-output-channels-icon.20231215_105142.png:1-7e921f6da58d5b8fbcd8c73b9977b930) change...
12/15/2023, 10:51:46 AM->Replication paused
12/15/2023, 10:51:46 AM->Replication completed
12/15/2023, 10:51:55 AM->OneShot Sync begin... (sync)
12/15/2023, 10:51:55 AM->Looking for the point last synchronized point.
12/15/2023, 10:51:55 AM->Replication activated
12/15/2023, 10:51:56 AM->Replication paused
12/15/2023, 10:51:56 AM->Replication activated
12/15/2023, 10:51:56 AM->Applying assets/Output channels - Shell commands documentation - Obsidian Publish_20231215_105142/Settings-modal-output.20231215_105142.png (assets%2FOutput channels - Shell commands documentation - Obsidian Publish_20231215_105142%2FSettings-modal-output.20231215_105142.png: 1-67b08902c93bb5b26468bc39a7d7c78e) change...
12/15/2023, 10:51:56 AM->Applying INBOX/Output channels - Shell commands documentation - Obsidian Publish_20231215_105142.md (INBOX%2FOutput channels - Shell commands documentation - Obsidian Publish_20231215_105142.md: 1-07b79a09e0fe9519cb12c04ba71ad97c) change...
12/15/2023, 10:51:56 AM->↑0 (16) ↓2 (LIVE)
12/15/2023, 10:51:56 AM->Applied assets/Output channels - Shell commands documentation - Obsidian Publish_20231215_105142/Settings-modal-output.20231215_105142.png (assets%2FOutput channels - Shell commands documentation - Obsidian Publish_20231215_105142%2FSettings-modal-output.20231215_105142.png:1-67b08902c93bb5b26468bc39a7d7c78e) change...
12/15/2023, 10:51:56 AM->Applied INBOX/Output channels - Shell commands documentation - Obsidian Publish_20231215_105142.md (INBOX%2FOutput channels - Shell commands documentation - Obsidian Publish_20231215_105142.md:1-07b79a09e0fe9519cb12c04ba71ad97c) change...
12/15/2023, 10:51:56 AM->Replication paused
12/15/2023, 10:51:56 AM->Replication completed
gerroon commented 10 months ago

So I think this has something to do with "conbvert non path obfuscated" when I ran that ooeration in the mobile, all those files clipped files showed up. Maybe they are non path?NOt sure what that means

victor10292 commented 1 month ago

I tried the latest version. The content of the page could be clipped and saved into remote database. However it fails to synchronize to my client. The part of log messages related to this failure are attached. The file seems to be skipped to save. Could you please take a look at it?

image