- Blog: https://blog.huamang.xyz/
- Dev: Python, PHP, Java, Golang
- Interest: Web_Security
- Goals: Tool_Development, Penetration
huamang / siyuan-search-workflow Goto Github PK
View Code? Open in Web Editor NEW针对思源笔记搜索功能实现的alfred workflow
针对思源笔记搜索功能实现的alfred workflow
利用快捷键,输入到特定的笔记中。
或者现在到这个快速记录插件 https://github.com/WingDr/siyuan-plugin-zettelkasten
利用快捷输入收件箱,定期整理。
输入sy关键词后没反应,python和requests库都是装了的
下面是log具体信息
谢谢作者
[21:53:57.897] SiYuan[Script Filter] Queuing argument '(null)'
[21:53:58.045] SiYuan[Script Filter] Script with argv '(null)' finished
[21:53:58.051] ERROR: SiYuan[Script Filter] Code 1: Traceback (most recent call last):
File "/Users/edwinwang/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C45DBC4D-F381-4591-ADFC-EC5486E23233/search.py", line 57, in <module>
main()
File "/Users/edwinwang/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C45DBC4D-F381-4591-ADFC-EC5486E23233/search.py", line 53, in main
parseRes(resJson)
File "/Users/edwinwang/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C45DBC4D-F381-4591-ADFC-EC5486E23233/search.py", line 37, in parseRes
for block in resJson ["data"]["blocks"]:
KeyError: 'data'
[21:53:58.270] SiYuan[Script Filter] Queuing argument '(null)'
[21:53:58.418] SiYuan[Script Filter] Script with argv '(null)' finished
[21:53:58.423] ERROR: SiYuan[Script Filter] Code 1: Traceback (most recent call last):
File "/Users/edwinwang/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C45DBC4D-F381-4591-ADFC-EC5486E23233/search.py", line 57, in <module>
main()
File "/Users/edwinwang/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C45DBC4D-F381-4591-ADFC-EC5486E23233/search.py", line 53, in main
parseRes(resJson)
File "/Users/edwinwang/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C45DBC4D-F381-4591-ADFC-EC5486E23233/search.py", line 37, in parseRes
for block in resJson ["data"]["blocks"]:
KeyError: 'data'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.