KeyWorksRW / wxUiEditor

RAD tool used to create and maintain wxWidgets UI elements.
Apache License 2.0
61 stars 6 forks source link

Bug: import project not working under Linux #1393

Closed kencamargo closed 5 months ago

kencamargo commented 5 months ago

Description:

wxUiEditor 1.2.0, Ubuntu Linux 22.04. When I try to import a project, the program closes without any warnings or messages. I tried running it from the terminal, and apparently it is still running, just not showing anything. No new error messages there either.

KeyWorksRW commented 5 months ago

Is this any project that you have tried, or a specific project or type of project?

kencamargo commented 5 months ago

Hi, Any attempt to import fails, whether at the initial window or after opening the design window and trying to import something. In the first case the program closes, in the latter it freezes for a while and then closes. I tried invoking it from the terminal, and aside from a bunch of GTK errors it shows on starting up, nothing new appears when trying to import. Is there anything I can do to try and see if I get more information?

On Fri, Feb 2, 2024 at 10:07 AM KeyWorksRW @.***> wrote:

Is this any project that you have tried, or a specific project or type of project?

— Reply to this email directly, view it on GitHub https://github.com/KeyWorksRW/wxUiEditor/issues/1393#issuecomment-1923767376, or unsubscribe https://github.com/notifications/unsubscribe-auth/A64PJVHV4QVIP4V64SIH6D3YRTQJVAVCNFSM6AAAAABCTGYWOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRTG43DOMZXGY . You are receiving this because you authored the thread.Message ID: @.***>

-- Kenneth Rochel de Camargo, Jr. MD PhD Professor Titular - Full Professor Instituto de Medicina Social - Social Medicine Institute Universidade do Estado do Rio de Janeiro - Rio de Janeiro State U. (Brazil) Editor Emeritus - American Journal of Public Health e-mail: @.***

KeyWorksRW commented 5 months ago

That's all I need, thanks. I'll take a look at it later today and see if I can spot the problem.

KeyWorksRW commented 5 months ago

So far, I can't reproduce the problem. I've tried on Fedora 39 and Ubuntu 20.04 and I am able to import a wxFormBuilder 4 project file in both Debug and Release builds without a problem.

Would it be possible for you to attach the project you are trying to import? I'd like to see if there is something specific to that project that is causing the problem.

kencamargo commented 5 months ago

Hi, that is the problem, I can't even attempt to import anything. As I hit the import button, it goes off. I don't even get to choose a project or file to import. I have forgot to add, I have wxWidgets version 3.05 installed, don't know if that makes any difference. Thanks for your attention, ken

On Fri, Feb 2, 2024 at 3:36 PM KeyWorksRW @.***> wrote:

So far, I can't reproduce the problem. I've tried on Fedora 39 and Ubuntu 20.04 and I am able to import a wxFormBuilder 4 project file in both Debug and Release builds without a problem.

Would it be possible for you to attach the project you are trying to import? I'd like to see if there is something specific to that project that is causing the problem.

— Reply to this email directly, view it on GitHub https://github.com/KeyWorksRW/wxUiEditor/issues/1393#issuecomment-1924467104, or unsubscribe https://github.com/notifications/unsubscribe-auth/A64PJVB43DGQWNFPHZKXM7DYRUW4NAVCNFSM6AAAAABCTGYWOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRUGQ3DOMJQGQ . You are receiving this because you authored the thread.Message ID: @.***>

-- Kenneth Rochel de Camargo, Jr. MD PhD Professor Titular - Full Professor Instituto de Medicina Social - Social Medicine Institute Universidade do Estado do Rio de Janeiro - Rio de Janeiro State U. (Brazil) Editor Emeritus - American Journal of Public Health e-mail: @.***

kencamargo commented 5 months ago

I tried running it on a virtual machine, and it didn't show the same problem. I don't have the wxWidgets dev libraries installed on the virtual machine, maybe the problem is around that?

On Fri, Feb 2, 2024 at 3:39 PM Kenneth Camargo Jr. @.***> wrote:

Hi, that is the problem, I can't even attempt to import anything. As I hit the import button, it goes off. I don't even get to choose a project or file to import. I have forgot to add, I have wxWidgets version 3.05 installed, don't know if that makes any difference. Thanks for your attention, ken

On Fri, Feb 2, 2024 at 3:36 PM KeyWorksRW @.***> wrote:

So far, I can't reproduce the problem. I've tried on Fedora 39 and Ubuntu 20.04 and I am able to import a wxFormBuilder 4 project file in both Debug and Release builds without a problem.

Would it be possible for you to attach the project you are trying to import? I'd like to see if there is something specific to that project that is causing the problem.

— Reply to this email directly, view it on GitHub https://github.com/KeyWorksRW/wxUiEditor/issues/1393#issuecomment-1924467104, or unsubscribe https://github.com/notifications/unsubscribe-auth/A64PJVB43DGQWNFPHZKXM7DYRUW4NAVCNFSM6AAAAABCTGYWOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRUGQ3DOMJQGQ . You are receiving this because you authored the thread.Message ID: @.***>

-- Kenneth Rochel de Camargo, Jr. MD PhD Professor Titular - Full Professor Instituto de Medicina Social - Social Medicine Institute Universidade do Estado do Rio de Janeiro - Rio de Janeiro State U. (Brazil) Editor Emeritus - American Journal of Public Health e-mail: @.***

-- Kenneth Rochel de Camargo, Jr. MD PhD Professor Titular - Full Professor Instituto de Medicina Social - Social Medicine Institute Universidade do Estado do Rio de Janeiro - Rio de Janeiro State U. (Brazil) Editor Emeritus - American Journal of Public Health e-mail: @.***

kencamargo commented 5 months ago

I've uninstalled and installed it again, now everything works. I must have scared off some gremlin or other. Sorry for the disturbance.

On Fri, Feb 2, 2024 at 4:05 PM Kenneth Camargo Jr. @.***> wrote:

I tried running it on a virtual machine, and it didn't show the same problem. I don't have the wxWidgets dev libraries installed on the virtual machine, maybe the problem is around that?

On Fri, Feb 2, 2024 at 3:39 PM Kenneth Camargo Jr. @.***> wrote:

Hi, that is the problem, I can't even attempt to import anything. As I hit the import button, it goes off. I don't even get to choose a project or file to import. I have forgot to add, I have wxWidgets version 3.05 installed, don't know if that makes any difference. Thanks for your attention, ken

On Fri, Feb 2, 2024 at 3:36 PM KeyWorksRW @.***> wrote:

So far, I can't reproduce the problem. I've tried on Fedora 39 and Ubuntu 20.04 and I am able to import a wxFormBuilder 4 project file in both Debug and Release builds without a problem.

Would it be possible for you to attach the project you are trying to import? I'd like to see if there is something specific to that project that is causing the problem.

— Reply to this email directly, view it on GitHub https://github.com/KeyWorksRW/wxUiEditor/issues/1393#issuecomment-1924467104, or unsubscribe https://github.com/notifications/unsubscribe-auth/A64PJVB43DGQWNFPHZKXM7DYRUW4NAVCNFSM6AAAAABCTGYWOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRUGQ3DOMJQGQ . You are receiving this because you authored the thread.Message ID: @.***>

-- Kenneth Rochel de Camargo, Jr. MD PhD Professor Titular - Full Professor Instituto de Medicina Social - Social Medicine Institute Universidade do Estado do Rio de Janeiro - Rio de Janeiro State U. (Brazil) Editor Emeritus - American Journal of Public Health e-mail: @.***

-- Kenneth Rochel de Camargo, Jr. MD PhD Professor Titular - Full Professor Instituto de Medicina Social - Social Medicine Institute Universidade do Estado do Rio de Janeiro - Rio de Janeiro State U. (Brazil) Editor Emeritus - American Journal of Public Health e-mail: @.***

-- Kenneth Rochel de Camargo, Jr. MD PhD Professor Titular - Full Professor Instituto de Medicina Social - Social Medicine Institute Universidade do Estado do Rio de Janeiro - Rio de Janeiro State U. (Brazil) Editor Emeritus - American Journal of Public Health e-mail: @.***

KeyWorksRW commented 5 months ago

Glad to know the problem resolved itself.

Just as an FYI, wxUiEditor is built with a static version of wxWidgets, so it makes no difference what version you have. However, be aware that the C++ code it generates may require wxWidgets 3.1. As long as you don't try to use anything in wxWidgets that wasn't added after your version was released, you should be fine. However, no conditionals are added for code that requires 3.1, so if you do use something that requires 3.1, you won't know until you try to compile or link.

KeyWorksRW commented 5 months ago

Closing since there isn't anything I can do if installation fails.