nngogol / PySimpleGUIDesigner

Desinger for PySimpleGUI
GNU General Public License v2.0
180 stars 27 forks source link

Exception(f'error, no obj_name="{OBJ_NAME}" found #21

Open MrShnoopy opened 3 years ago

MrShnoopy commented 3 years ago

I am getting this error after pressing the "convert" button. This even happens with the untitled.ui and test.ui files you have provided. I really don't understand what is going wrong.

These are my software versions:

Name: PySimpleGUIDesigner Version: 0.1.4.7

Name: click Version: 8.0.1

Name: PySide2 Version: 5.15.2

Python 3.8.5 Qt Designer 5.11.1

I am happy to provide further information as you require.

nngogol commented 3 years ago

did you watched the video? did you picked a "object name"?

hemantbhai100 commented 2 years ago

image

File "h:\Miniconda3\lib\site-packages\PySimpleGUIDesigner\real_src_here.py", line 142, in just_compile raise Exception(f'error, no obj_name="{OBJ_NAME}" found') Exception: error, no obj_name="g2" found

danieldoalto commented 1 year ago

I have thesame problem...Any ideia?

saiveen1 commented 1 year ago

I have thesame problem...Any ideia?

Just run the code directly from the source. The error occurred in this line. The reason for this is that using code like 'python a.py' can cause various problems after packaging, such as differing Python versions or file not found errors.