Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when loading old UI files in the updated designer #123

Closed
LalFX opened this issue May 11, 2022 · 1 comment
Closed

Error when loading old UI files in the updated designer #123

LalFX opened this issue May 11, 2022 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@LalFX
Copy link

LalFX commented May 11, 2022

First let me thank you for the excellent implementation of both extensions - they have been a life saver in my journey through Python.

The issue I am facing is that after upgrading to the 0.26 version of pygubu-designer, whenever I open the old UI file with menu, I get an error . Without the menu, I get a <NoneType" object has no attribute 'destroy'> error.

I tried unistalling and reinstalling pygubu, vscode etc. and still get the same error. Creating a new UI has no issues.

When I downgraded to v0.20 there was no issue in opening the old file. The issue persisted in v0.25 etc.

I am new to python and I could be missing something very simple.

This is the UI code

This is the Python code

This is the error I get on opening the UI file:
pythonw_AmRr7RkJYS

@LalFX LalFX closed this as completed May 11, 2022
@LalFX LalFX reopened this May 11, 2022
@alejandroautalan
Copy link
Owner

First let me thank you for the excellent implementation of both extensions - they have been a life saver in my journey through Python.

Hello @LalFX thank you for your words. I'm glad that pygubu is useful to you.

I found the bug and will fix it ASAP. Thanks for the report.

Regards
Alejandro A.

@alejandroautalan alejandroautalan added the bug Something isn't working label May 12, 2022
@alejandroautalan alejandroautalan added this to the Version 0.27 milestone May 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants