解决 Pasteasy 闪退的问题

一直以来,我都认为这软件不稳定,事实上就是这样的。因为出现问题时没有任何提示,直接导致我傻了。

自从Win8.1升级到Win10之后,在我眼里这个软件就没正常运行过,各种搜索结果都试过,相关资料很少,最后只能自己去翻日志信息,最开始也有点晕。在官方的问答论坛上看到的也很奇怪,没有相关的描述。

直到昨天,翻看日志文件发现这样一行:

Command 'netsh wlan show interfaces' returned non-zero

然后我就突然明了了,网络服务被禁用了,然后这个软件又不是以管理员权限进行运行,最后就挂了,只能默默写写错误提示了。

然而在另一台机器上,错误是这样的:

2016-07-11T07:55:22 [ERROR] Traceback (most recent call last):
2016-07-11T07:55:22 [ERROR] File "", line 26, in 
2016-07-11T07:55:22 [ERROR] File "E:\repo\pasteasy-desktop-project\src\build\Pasteasy\out00-PYZ.pyz\com.tinkerstuff.pasteasy.win_main", line 890, in start
2016-07-11T07:55:22 [ERROR] File "E:\repo\pasteasy-desktop-project\src\build\Pasteasy\out00-PYZ.pyz\com.tinkerstuff.pasteasy.win_main", line 849, in start_pasteasy_app
2016-07-11T07:55:22 [ERROR] File "E:\repo\pasteasy-desktop-project\src\build\Pasteasy\out00-PYZ.pyz\com.tinkerstuff.pasteasy.win_main", line 706, in __init__
2016-07-11T07:55:22 [ERROR] File "E:\repo\pasteasy-desktop-project\src\build\Pasteasy\out00-PYZ.pyz\wx._core", line 8631, in __init__
2016-07-11T07:55:22 [ERROR] File "E:\repo\pasteasy-desktop-project\src\build\Pasteasy\out00-PYZ.pyz\wx._core", line 8196, in _BootstrapApp
2016-07-11T07:55:22 [ERROR] File "E:\repo\pasteasy-desktop-project\src\build\Pasteasy\out00-PYZ.pyz\com.tinkerstuff.pasteasy.win_main", line 709, in OnInit
2016-07-11T07:55:22 [ERROR] File "E:\repo\pasteasy-desktop-project\src\build\Pasteasy\out00-PYZ.pyz\com.tinkerstuff.pasteasy.win_main", line 659, in __init__
2016-07-11T07:55:22 [ERROR] File "E:\repo\pasteasy-desktop-project\src\build\Pasteasy\out00-PYZ.pyz\com.tinkerstuff.pasteasy.win_main", line 141, in __init__
2016-07-11T07:55:22 [ERROR] File "E:\repo\pasteasy-desktop-project\src\build\Pasteasy\out00-PYZ.pyz\com.tinkerstuff.pasteasy.system_manager", line 150, in __init__
2016-07-11T07:55:22 [ERROR] File "E:\repo\pasteasy-desktop-project\src\build\Pasteasy\out00-PYZ.pyz\com.tinkerstuff.utils.pasteasy_persistence", line 27, in init
2016-07-11T07:55:22 [ERROR] File "E:\repo\pasteasy-desktop-project\src\build\Pasteasy\out00-PYZ.pyz\com.tinkerstuff.utils.pasteasy_persistence", line 61, in load_existing_file
2016-07-11T07:55:22 [ERROR] File "E:\repo\pasteasy-desktop-project\src\build\Pasteasy\out00-PYZ.pyz\pickle", line 1378, in load
2016-07-11T07:55:22 [ERROR] File "E:\repo\pasteasy-desktop-project\src\build\Pasteasy\out00-PYZ.pyz\pickle", line 858, in load
2016-07-11T07:55:22 [ERROR] KeyError
2016-07-11T07:55:22 [ERROR] :
2016-07-11T07:55:22 [ERROR] '\x00'

这个错误还是比较难以理解的,只知道这货调试信息没有完全清除干净,那么最后该怎么样修改呢。

方案如下:

  1. 打开任务管理器,找到服务,或者直接打开服务,或者运行services.msc
  2. 找到如个服务:WLAN AutoConfig
  3. 启动,然后试试,就出来了
  4. 这个默认是手动启动的,调整为默认自启

最后一切就搞定了,相对之前说的什么软件兼容性问题都不是事,就是这个服务没打开惹的祸,但这个为啥会关掉,这就不清楚了。

5条评论在“解决 Pasteasy 闪退的问题”

  1. 我这个时通过删除C:\Users\Lurenjiamax\AppData\Roaming\Pasteasy\pasteasy.cfg解决的

        1. 之前有用,自己写客户端服务端,通过Automate的剪贴板功能实现同步。不过后来需求减弱,就停掉了

回复 漫道   取消