I am sorry for the late reply, I wasn't at home this weekend.
I am getting the following error with this one:
Code:
calibre, version 7.1.0
ERROR: Unhandled exception: <b>CalledProcessError</b>:Command '['xdg-open', 'obsidian://new?vault=My%20Vault&file=Books%2FBehold%20the%20Man%20by%20Michael%20Moorcock&content=%0A%5BHighlighted%5D%28calibre%3A%2F%2Fview-book%2FCalibre-Library%2F111%2FEPUB%3Fopen_at%3Depubcfi%28%2F10%2F2%2F4%2F8%2F1%3A0%29%29%20on%202023-12-11%20at%2009%3A44%3A38%20UTC%3A%0A%3E%20Michael%20Moorcock%20is%20a%20wondrous%20man%2C%20twice%20the%20size%20of%20any%20of%20us%2C%20with%20a%20beard%20like%20Father%20Time%20and%20the%20ability%20to%20practically%20kill%20himself%20for%20that%20which%20he%20loves%20and%0A%0A---%0A&append=true']' returned non-zero exit status 1.
calibre 7.1 embedded-python: True
Linux-6.6.5-arch1-1-x86_64-with-glibc2.38 Linux ('64bit', 'ELF')
('Linux', '6.6.5-arch1-1', '#1 SMP PREEMPT_DYNAMIC Fri, 08 Dec 2023 17:06:25 +0000')
Python 3.11.5
Interface language: None
Successfully initialized third party plugins: Highlights to Obsidian (1, 4, 1) && Kobo Utilities (2, 16, 11)
Traceback (most recent call last):
File "calibre_plugins.highlights_to_obsidian.menu_button", line 87, in resend
b_acts.resend_highlights(self.gui, self.gui.current_db.new_api)
File "calibre_plugins.highlights_to_obsidian.button_actions", line 224, in resend_highlights
send_highlights(parent, db, condition=highlight_send_condition, update_send_time=False)
File "calibre_plugins.highlights_to_obsidian.button_actions", line 66, in send_highlights
amt = sender.send(condition=condition)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "calibre_plugins.highlights_to_obsidian.highlight_sender", line 730, in send
send_item_to_obsidian(self.make_obsidian_data(note[0], note[1]))
File "calibre_plugins.highlights_to_obsidian.highlight_sender", line 30, in send_item_to_obsidian
subprocess.run(['xdg-open', uri], check=True, shell=True)
File "subprocess.py", line 571, in run
subprocess.CalledProcessError: Command '['xdg-open', 'obsidian://new?vault=My%20Vault&file=Books%2FBehold%20the%20Man%20by%20Michael%20Moorcock&content=%0A%5BHighlighted%5D%28calibre%3A%2F%2Fview-book%2FCalibre-Library%2F111%2FEPUB%3Fopen_at%3Depubcfi%28%2F10%2F2%2F4%2F8%2F1%3A0%29%29%20on%202023-12-11%20at%2009%3A44%3A38%20UTC%3A%0A%3E%20Michael%20Moorcock%20is%20a%20wondrous%20man%2C%20twice%20the%20size%20of%20any%20of%20us%2C%20with%20a%20beard%20like%20Father%20Time%20and%20the%20ability%20to%20practically%20kill%20himself%20for%20that%20which%20he%20loves%20and%0A%0A---%0A&append=true']' returned non-zero exit status 1.
I may be wrong, but I suspect the uri needs to be enclosed in quotes?