개정판 ee05304b
modified issue #569:
- 프로그램이 호출되지 않는 현상 수정
App.spec | ||
---|---|---|
5 | 5 |
|
6 | 6 |
a = Analysis(['C:\\Temp\\workspace\\ID2\\DTI_PID\\DTI_PID\\App.py'], |
7 | 7 |
pathex=['C:\\Temp\\workspace\\ID2\\DTI_PID\\DTI_PID', 'C:\\Temp\\workspace\\ID2\\DTI_PID\\DTI_PID\\Commands', 'C:\\Temp\\workspace\\ID2\\DTI_PID\\DTI_PID\\Shapes'], |
8 |
binaries=[], |
|
8 |
binaries=[('C:\\Temp\\workspace\\ID2\\DTI_PID\\DTI_PID\\bin64\\*.exe', 'bin64'), |
|
9 |
('C:\\Temp\\workspace\\ID2\\DTI_PID\\DTI_PID\\bin64\\*.dll', 'bin64') |
|
10 |
], |
|
9 | 11 |
datas=[('C:\\Temp\\workspace\\ID2\\DTI_PID\\DTI_PID\\coffee.qss', '.'), |
12 |
('C:\\Temp\\workspace\\ID2\\*.BMP', '.'), |
|
10 | 13 |
('C:\\Temp\\workspace\\ID2\\DTI_PID\\DTI_PID\\db\\*.db', 'db'), |
11 | 14 |
('C:\\Temp\\workspace\\ID2\\DTI_PID\\DTI_PID\\Scripts\\*.sql', 'Scripts'), |
12 |
('C:\\Temp\\workspace\\ID2\\DTI_PID\\DTI_PID\\bin64\\*.exe', 'bin64'), |
|
13 |
('C:\\Temp\\workspace\\ID2\\DTI_PID\\DTI_PID\\bin64\\*.dll', 'bin64'), |
|
14 | 15 |
('C:\\Temp\\workspace\\ID2\\Tesseract-OCR\\*.*', 'Tesseract-OCR'), |
15 | 16 |
('C:\\Temp\\workspace\\ID2\\Tesseract-OCR\\doc\\*', 'Tesseract-OCR\\doc'), |
16 | 17 |
('C:\\Temp\\workspace\\ID2\\Tesseract-OCR\\java\\*', 'Tesseract-OCR\\java'), |
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
184 | 184 |
self.actionFindReplaceText.triggered.connect(self.findReplaceTextClicked) |
185 | 185 |
self.pushButtonDetectSymbol.clicked.connect(self.onShowDetectSymbol) |
186 | 186 |
|
187 |
|
|
188 | 187 |
# removedItems |
189 | 188 |
self.removedItems = {} |
190 | 189 |
self.removedItems['LINE'] = [] |
... | ... | |
480 | 479 |
def onConvertPDFToImage(self): |
481 | 480 |
try: |
482 | 481 |
filePath = os.path.join(os.path.dirname(os.path.realpath(__file__)) , 'bin64', 'PDF_TO_IMAGE.exe') |
483 |
os.system(filePath)
|
|
482 |
os.system("\"" + filePath + "\"")
|
|
484 | 483 |
except Exception as ex: |
485 | 484 |
print('error occured({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, sys.exc_info()[-1].tb_lineno)) |
486 | 485 |
|
ID2.wxs | ||
---|---|---|
7 | 7 |
<MediaTemplate EmbedCab="yes"/> |
8 | 8 |
|
9 | 9 |
<WixVariable Id="WixUILicenseRtf" Value="license.rtf" /> |
10 |
<WixVariable Id="WixUIBannerBmp" Value="DOFTECH_LOGO.png" />
|
|
10 |
<WixVariable Id="WixUIBannerBmp" Value="DOFTECH_LOGO.bmp" />
|
|
11 | 11 |
|
12 | 12 |
<Feature Id="ProductFeature" Title="ID2" Level="1"> |
13 | 13 |
<ComponentGroupRef Id="ID2" /> |
... | ... | |
75 | 75 |
<Directory Id="dirC22F81366F1DF3AD5DC4226B5B342836" Name="Tesseract-OCR" /> |
76 | 76 |
<Directory Id="dirCB95A5AFC5861D1E3A722344BB5C91C8" Name="tk" /> |
77 | 77 |
<Directory Id="dir492E31D35D0836840D884AD8A988F534" Name="win32com" /> |
78 |
<Directory Id="dir6493F5AFB2E16BE3624892B2CBA5B256" Name="bin64" /> |
|
78 | 79 |
</DirectoryRef> |
79 | 80 |
</Fragment> |
80 | 81 |
|
81 | 82 |
<Fragment> |
82 | 83 |
<ComponentGroup Id="ID2"> |
84 |
<Component Id="cmpEBEB6C24386FF890F049CD4287F80C23" Directory="INSTALLFOLDER" Guid="5E3F378C-7E72-4AE2-DE87-F2272A76204E"> |
|
85 |
<File Id="fil9B1FC2C5C6291B3A50D5D1A790FCD543" KeyPath="yes" Source=".\dist\App\DOFTECH_LOGO.bmp" /> |
|
86 |
</Component> |
|
83 | 87 |
<Component Id="cmpF22D40156F8E16FBFA89C752FF9D0EF9" Directory="INSTALLFOLDER" Guid="FF618B16-372E-4D97-98C3-3BA4BC007D46"> |
84 | 88 |
<File Id="fil2DACDED111D2125FD9BAF52808E5CEB0" KeyPath="yes" Source=".\dist\App\api-ms-win-core-console-l1-1-0.dll" /> |
85 | 89 |
</Component> |
... | ... | |
3614 | 3618 |
<Component Id="cmp62E93FF4A7669C7E252351DCA94D0891" Directory="dir7D4C2F3D589471961C0E8F7C02ADBD9A" Guid="9EB183D8-4B61-4617-8E53-FE1C27B15161"> |
3615 | 3619 |
<File Id="fil44F5B8FC4543A5266159A434BCEF2257" KeyPath="yes" Source=".\dist\App\win32com\shell\shell.pyd" /> |
3616 | 3620 |
</Component> |
3621 |
<Component Id="cmpB78A0520DB60413FCB30DA6C9FCA32A1" Directory="dir6493F5AFB2E16BE3624892B2CBA5B256" Guid="B785DC27-252A-E65F-7C05-D70F81B041B7"> |
|
3622 |
<File Id="filAB87C742303E6FBA5A08649D5EFB7631" KeyPath="yes" Source=".\dist\App\bin64\PDF_TO_IMAGE.exe" /> |
|
3623 |
</Component> |
|
3624 |
<Component Id="cmp8A97D2893B675A49B5B7AC2B25F80D1F" Directory="dir6493F5AFB2E16BE3624892B2CBA5B256" Guid="D2A4586E-8D03-D1EC-B658-47CE246DF3F5"> |
|
3625 |
<File Id="fil243549EFB94B525C12ADBA4462DE5341" KeyPath="yes" Source=".\dist\App\bin64\PDFNet.dll" /> |
|
3626 |
</Component> |
|
3617 | 3627 |
</ComponentGroup> |
3618 | 3628 |
</Fragment> |
3619 | 3629 |
<Fragment> |
내보내기 Unified diff