pyPDFeditor-GUI icon indicating copy to clipboard operation
pyPDFeditor-GUI copied to clipboard

Issue when trying to run program after successful install

Open c-alder opened this issue 3 years ago • 2 comments

The output from terminal:

PS C:\Users----\Documents> pdfeditor Traceback (most recent call last): File "c:\python37\lib\runpy.py", line 193, in run_module_as_main "main", mod_spec) File "c:\python37\lib\runpy.py", line 85, in run_code exec(code, run_globals) File "C:\Python37\Scripts\pdfeditor.exe_main.py", line 4, in File "c:\python37\lib\site-packages\pypdfeditor_core_init.py", line 12, in from .application import reset, remove, Main, app_home File "c:\python37\lib\site-packages\pypdfeditor_core\application.py", line 17, in from .windows import ( File "c:\python37\lib\site-packages\pypdfeditor_core\windows.py", line 274, in class MainR(QTabWidget): File "c:\python37\lib\site-packages\pypdfeditor_core\windows.py", line 515, in MainR def nativeEvent(self, event_type, message) -> tuple[bool, int]: TypeError: 'type' object is not subscriptable

c-alder avatar Aug 15 '23 17:08 c-alder

Thanks for your report. I have changed the type hint and hopefully that will solve this issue.

Augus1999 avatar Aug 15 '23 18:08 Augus1999

Yep. Works great now, thank you!

c-alder avatar Aug 15 '23 18:08 c-alder