Closed boxcounter closed 1 year ago
could you add the full output of the oinfo
command?
This also did not work for me with 3.3.0 or 3.2.3. It was when I downgraded to 3.2.2 that it started working as expected.
it would really helpful if you could be a bit more explicit what exactly works when and when not.
oinfo
work in 3.2.2?o
search work in 3.2.2?oinfo
work in 3.3?o
work in 3.3?if oinfo
works in 3.2.2, please attach the output
also in general, you could try a full reinstall, meaning removing the workflow completely and then installing it again (not installing on an existing installation)
Yes, apologies for the lack of detail. In 3.3.0 and 3.2.3 I was unable to search, e.g 'o', or use any keywords that I tested except for 'oo'. When I would type in the other keywords, alfred would quickly flash the workflow then disappear.
When I installed 3.2.2 all the keywords, including searching with 'o
Hope this helps. It seems a fresh install of 3.3.0 without ever having the workflow installed before is the only thing I can think that was different.
oinfo for 3.2.2
-------------------------------
Metadata JSONs: 4/3
Metadata String Length: 125685
-------------------------------
WORKSPACE DATA
'workspace.json' exists
-------------------------------
INSTALLED VERSION
macOS: 13.1
Alfred: 5.0.6
---
Obsidian: .asar file missing
This Workflow: 3.2.2
Advanced URI Plugin: 1.31.2
Metadata Extractor: 1.1.0
-------------------------------
LATEST VERSION
Obsidian: 1.1.9 (Insider: 1.1.9)
This Workflow: 3.3.0
Advanced URI Plugin: 1.31.2
Metadata Extractor: 1.1.0
-------------------------------
INTERNAL WORKFLOW CONFIGURATION
Vault Path: /Users/cjinfantino/Dropbox/Apps/Obsidian_Vault
Vault Name (encoded): Obsidian_Vault
-------------------------------
oinfo for 3.3.0
-------------------------------
Metadata JSONs: 4/3
Metadata String Length: 126773
-------------------------------
WORKSPACE DATA
'workspace.json' exists
-------------------------------
INSTALLED VERSION
macOS: 13.1
Alfred: 5.0.6
---
Obsidian: .asar file missing
This Workflow: 3.3.0
Advanced URI Plugin: 1.31.2
Metadata Extractor: 1.1.0
-------------------------------
LATEST VERSION
Obsidian: 1.1.9 (Insider: 1.1.9)
This Workflow: 3.3.0
Advanced URI Plugin: 1.31.2
Metadata Extractor: 1.1.0
-------------------------------
INTERNAL WORKFLOW CONFIGURATION
Vault Path: /Users/cjinfantino/Dropbox/Apps/Obsidian_Vault
Vault Name (encoded): Obsidian_Vault
-------------------------------
thanks for the thorough retracing! I have added some extra safety-nets to handle this stuff, so the issue should not occur anymore.
Hi, chrisgrieser. I've installed v3.3.2, Neither oinfo
nor o ...
worked for me.
Steps:
oinfo
, no output in clipboardosetup
, choose the only vault. Obsidian restarted automatically, and Alfred popped up a failure hint and suggested me to run oupdate
. (picture 1)oupdate
, Alfred popped up a succuessful hint. (picture 2)oinfo
, still no ouput.o ...
, search did not work neither.picture 1:
picture 2:
debug log:
@boxcounter have you tried installing 3.2.2 first and seeing if that works? I haven't dug in, but that's when it started working for me, and one thing I noticed was with 3.3.0, it appeared to be missing some of the workflows. When I installed 3.2.2 and looked in Alfred I noticed all the workflows and hotkey.
Again, I have no idea if it's the answer, as I didn't dig in too much.
I would try:
@boxcounter from your debugging log, it looks like the writing of the metadata wasn't successful.
Could you run Metadata Extractor: Write JSON File to disk.
from the command palette and then try again o
and oinfo
?
Also, could you show your environment variables again, now after the re-installation?
oh, another potential issue might be if you named your Obsidian config folder to something other than .obsidian
@boxcounter from your debugging log, it looks like the writing of the metadata wasn't successful.
Could you run
Metadata Extractor: Write JSON File to disk.
from the command palette and then try againo
andoinfo
?Also, could you show your environment variables again, now after the re-installation?
o ...
and oinfo
did not work after Metadata Extractor: Write JSON file with metadata to disk
run.
Enviroment variables are:
And Obsidian config folder is left untouched:
And Metadata Extractor setting is left unchanged:
Thanks. It works when I downgraded to 3.2.2. and also works when I upgraded it to 3.3.2.
And Metadata Extractor setting is left unchanged:
hah, that's the issue though, they should be untouched by you, but the Alfred workflow should touch them. (that's what the restart on osetup
does, or at least is supposed to do.)
by having periodic writing and writing on launch disabled, the metadata never gets written, which is also consistent with the debugging log further above. for whatever reason, those settings have not been enabled by osetup
, even though they should 🤔
hah, thanks for your explanation, chrisgrieser. I got it.
Is there anything I can do to help you fix this issure?
unfortunately, I do not really have any idea what's causing this, and as long as I cannot reproduce it, it's not really easy to think of something
I know it's not helpful to not submit any additional info for a bug report.. However, I really wanted to add to the existing reports above to say that I too am experiencing this issue (keyword: 'o' not working). I also have the experience of the 'metadata export' failing to work as the workflow expected and needing to manually trigger it (which is reported to succeed).
I am on an M1 Mac. I am using a current public build of Obsidian (1.1.9).
okay, I have rewritten larger parts of the workflow to avoid issue an Alfred method for reading config data. Now running osetup
should work far more reliably.
Hi, it happened again after I upgraded it to v3.5.3. And like before, works after I degraded to v3.2.2.
yeah, I cannot really fathom what could cause that issue.
The only thing I could think of is an Obsidian-side issue from the migration von 0.x to 1.x. You can quit Obsidian, delete workspace
and/or a workspace.json
file in {vaultpath}/.obsidian
(hidden folder, can be made visible with cmd+shift+.
), start Obsidian again and then try whether osetup
works. (This will only delete your current workspace, meaning your sidebar tabs will be reset and you will have to add your tabs there manually again.)
If that does not help, I think creating a new bug report would be best. Since larger parts of the workflow have been rewritten with 3.5, I'd need the new debugging logs, the new oinfo
output etc from the latest version to determine what could still be causing this – basically I'd need a fresh set of all the debugging-related information before I can really do anything.
closing this since I assume it's fixed. And if not, someone with this issue needs to submit a new bug report form, since I'd need the debugging logs with the new version anyway
Bug Description
cannot search using
o ...
Relevant Screenshot
To Reproduce
No response
Debugging Log
Workflow Configuration 1
Workflow Configuration 2
Version & System Information
Make sure you have done the following
o…
main search does not work, I have tried rerunningosetup
and it still does not work.Migrate my workflow customizations
.)