TKkk-iOSer / wechat-alfred-workflow

wechat workflow for Alfred:微信快速发送消息 & 打开聊天窗口 & 查看聊天记录 & more…
MIT License
950 stars 132 forks source link

ERROR 'copyText' #20

Closed tgzhou98 closed 6 years ago

tgzhou98 commented 6 years ago

安装的WeChat Plugin版本为release 2.0,但是Alfred显示的是1.0.0 Mac OS X 10.11.6 WeChat Assistant 1.7.1 Alfred v3.5.1

image

Starting debug for 'WeChat Plugin'

[2018-08-24 00:04:51][ERROR: input.scriptfilter] Code 1: .
00:04:51 workflow.py:2055 DEBUG    ---------- WeChat Plugin (1.0.0) ----------
00:04:51 workflow.py:2074 ERROR    'copyText'
Traceback (most recent call last):
  File "/Users/zhoutiangang/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.423CDC7F-9F14-40DA-BB72-A6FE7C6B05E7/workflow/workflow.py", line 2067, in run
    func(self)
  File "search.py", line 23, in main
    copyText = item['copyText']
KeyError: 'copyText'
00:04:51 workflow.py:2097 DEBUG    ---------- finished in 0.020s ----------
tgzhou98 commented 6 years ago

18 发现这个issue也提到了,wechat-alfred-workflow上次commit是12天前,现在用git clone的方式更新了仍然不能使用。

qbosen commented 6 years ago

@VincentZhou98 和alfred workflow 没关系, 是小助手没更新。git cloone 微信小助手整个项目,使用项目里面的Other/install.sh进行安装。

tgzhou98 commented 6 years ago

现在仍然有闪退问题,wx+空格+一些字符 之后会闪退

Alfred显示正常

[2018-08-24 10:53:10][STDERR: input.scriptfilter] .
10:53:10 workflow.py:2055 DEBUG    ---------- WeChat Plugin (1.0.0) ----------
10:53:10 workflow.py:1462 DEBUG    reading settings from /Users/zhoutiangang/Library/Application Support/Alfred 3/Workflow Data/tkkk.wechatPlugin/settings.json
10:53:10 workflow.py:2248 DEBUG    set last run version: 1.0.0
10:53:10 workflow.py:2097 DEBUG    ---------- finished in 0.047s ----------

Apple crash log 如下 Apple crash log

WeChatPlugin && WeChat workflow && WeChat版本已经更新到最新

UnleashHell commented 6 years ago

有同样问题 alfred输入wx搜索联系人时会崩溃,求修复。。

TKkk-iOSer commented 6 years ago

@UnleashHell @VincentZhou98 先把微信小助手更新下再说。

cd ~/Downloads && rm -rf WeChatPlugin-MacOS && git clone https://github.com/TKkk-iOSer/WeChatPlugin-MacOS.git --depth=1 && ./WeChatPlugin-MacOS/Other/Install.sh
UnleashHell commented 6 years ago

@TKkk-iOSer 小助手是最新的还是会闪退 系统:10.13.6 alfred版本:3.6.2 小助手版本:1.7.1(关于小助手那里显示的)

TKkk-iOSer commented 6 years ago

@UnleashHell 上面的 shell 执行过了么。没执行的话执行下。我更新代码没更新版本,小调整而已。

UnleashHell commented 6 years ago

http://owicp4z3x.bkt.clouddn.com/20180829144831_58Vw2g_Screenshot.jpeg @TKkk-iOSer 是执行了的

UnleashHell commented 6 years ago

找了个低版本的微信可用

TKkk-iOSer commented 6 years ago

Fixed