해결된 질문
작성
·
568
1
GetText 강의를 보고 따라하는데
com_error Traceback (most recent call last)
Cell In[11], line 1
----> 1 hwp.InitScan()
2 while True:
3 state, text = hwp.GetText()
File ~\AppData\Local\Temp\gen_py\3.11\7D2B6F3C-1D95-4E0C-BF5A-5EE564186FBCx0x1x0\IHwpObject.py:475, in IHwpObject.InitScan(self, option, Range, spara, spos, epara, epos)
472 def InitScan(self, option=defaultNamedNotOptArg, Range=defaultNamedNotOptArg, spara=defaultNamedNotOptArg, spos=defaultNamedNotOptArg
473 , epara=defaultNamedNotOptArg, epos=defaultNamedNotOptArg):
474 'method InitScan'
--> 475 return self._oleobj_.InvokeTypes(10017, LCID, 1, (11, 0), ((12, 1), (12, 1), (12, 1), (12, 1), (12, 1), (12, 1)),option
476 , Range, spara, spos, epara, epos
477 )
com_error: (-2147023174, 'RPC 서버를 사용할 수 없습니다.', None, None)
이런 에러가 뜹니다 해결 방법을 알려주세요