[問題] 1072, 'CreateService', '指定的服務已'

作者: kiey (煉)   2020-11-10 17:45:28
今天再試用 rabird.winio 一切順利
使用 pyinstaller打包成 exe 後出現一個問題
(1072, 'CreateService', '指定的服務已標註刪除。')
爬文完全找不到相關的資料
請問有大大們有遇過這問題嗎?
exe:
111
222
a
[<PySC_HANDLE:1884963352832>, 'WINIO', 983551]
Traceback (most recent call last):
File "global_winio.py", line 132, in input_password
File "global_winio.py", line 60, in key_press
File "global_winio.py", line 42, in key_down
File "global_winio.py", line 18, in __get_winio
File "rabird\winio.py", line 129, in __init__
File "rabird\winio.py", line 381, in __initialize
File "rabird\winio.py", line 334, in __start_driver
pywintypes.error: (3, 'StartService', '系統找不到指定的路徑。')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "test.py", line 9, in <module>
File "global_winio.py", line 134, in input_password
File "global_winio.py", line 60, in key_press
File "global_winio.py", line 42, in key_down
File "global_winio.py", line 18, in __get_winio
File "rabird\winio.py", line 129, in __init__
File "rabird\winio.py", line 380, in __initialize
File "rabird\winio.py", line 309, in install_driver
pywintypes.error: (1072, 'CreateService', '指定的服務已標註刪除。')
[15580] Failed to execute script test
python test.py
111
222
a
[<PySC_HANDLE:1680320309120>, 'WINIO', 983551]
A
1
2
3
4
5
作者: justoncetime (台北叢林好冷~)   2020-11-10 19:56:00
擷圖?
作者: kiey (煉)   2020-11-10 23:26:00
圖片就跟上面的 EXE 還有 python test.py 一樣了

Links booklink

Contact Us: admin [ a t ] ucptt.com