KeyWorksRW / wxUiEditor

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

Bug: Import project not working #1477

Closed kencamargo closed 2 months ago

kencamargo commented 3 months ago

Description:

I have tried to get the program working in a couple different machines under Ubuntu 22.04, and the import function apparently crashes it. If I click on the corresponding button on the opening window, it closes down and nothing happens, but the program doesn't stop running. Running it from a terminal shows no error messages. Trying to import a project after initiating a new project has the same effect. I tried uninstalling and reinstalling, made no difference. I had the same problem with a previous version, and reinstalling seemed to solve it, but that no longer works.

KeyWorksRW commented 3 months ago

What happens if instead you choose Open, and try to open the project you want to import? wxUiEditor will recognize the extension and import it, but will avoid the code that parses all the possible import project names which apparently is the problem. Also, by any chance have you been able to reproduce the problem on either a different major version of Ubuntu or a different Linux distro? Currently, builds are targeted for Ubuntu 18, and while they should work under Ubuntu 22, I'm wondering if there's a problem with the calls to the system API that changed in later Ubuntu releases.

It's going to be about a week before I can look more thoroughly into this. Hopefully the Open will work for you in the meantime.

On Sun, Jun 23, 2024 at 11:29 AM kencamargo @.***> wrote:

Description:

I have tried to get the program working in a couple different machines under Ubuntu 22.04, and the import function apparently crashes it. If I click on the corresponding button on the opening window, it closes down and nothing happens, but the program doesn't stop running. Running it from a terminal shows no error messages. Trying to import a project after initiating a new project has the same effect. I tried uninstalling and reinstalling, made no difference. I had the same problem with a previous version, and reinstalling seemed to solve it, but that no longer works.

— Reply to this email directly, view it on GitHub https://github.com/KeyWorksRW/wxUiEditor/issues/1477, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKGN3U3FEAYAFUUKZYJG323ZI4HZHAVCNFSM6AAAAABJYSZGB2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3DQOBSGEYDKNQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

kencamargo commented 3 months ago

Hi, that did work, although the import missed some components from the original wxs file. I wonder if different GTK versions might play a role in that. Unfortunately the computers I have access to are all running 22.04. Thanks for your attention, Ken

On Mon, Jun 24, 2024 at 10:14 AM KeyWorksRW @.***> wrote:

What happens if instead you choose Open, and try to open the project you want to import? wxUiEditor will recognize the extension and import it, but will avoid the code that parses all the possible import project names which apparently is the problem. Also, by any chance have you been able to reproduce the problem on either a different major version of Ubuntu or a different Linux distro? Currently, builds are targeted for Ubuntu 18, and while they should work under Ubuntu 22, I'm wondering if there's a problem with the calls to the system API that changed in later Ubuntu releases.

It's going to be about a week before I can look more thoroughly into this. Hopefully the Open will work for you in the meantime.

On Sun, Jun 23, 2024 at 11:29 AM kencamargo @.***> wrote:

Description:

I have tried to get the program working in a couple different machines under Ubuntu 22.04, and the import function apparently crashes it. If I click on the corresponding button on the opening window, it closes down and nothing happens, but the program doesn't stop running. Running it from a terminal shows no error messages. Trying to import a project after initiating a new project has the same effect. I tried uninstalling and reinstalling, made no difference. I had the same problem with a previous version, and reinstalling seemed to solve it, but that no longer works.

— Reply to this email directly, view it on GitHub https://github.com/KeyWorksRW/wxUiEditor/issues/1477, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AKGN3U3FEAYAFUUKZYJG323ZI4HZHAVCNFSM6AAAAABJYSZGB2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3DQOBSGEYDKNQ>

. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/KeyWorksRW/wxUiEditor/issues/1477#issuecomment-2186556421, or unsubscribe https://github.com/notifications/unsubscribe-auth/A64PJVE56DJKMMHR7ZPXXLDZJALSRAVCNFSM6AAAAABJYSZGB2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBWGU2TMNBSGE . 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 Senior Editor - Global Public Health e-mail: @.***

KeyWorksRW commented 3 months ago

Feel free to create a separate bug report for the missing components from the .wxs project file, ideally attaching the .wxs file to the bug report.

On Mon, Jun 24, 2024 at 1:13 PM kencamargo @.***> wrote:

Hi, that did work, although the import missed some components from the original wxs file. I wonder if different GTK versions might play a role in that. Unfortunately the computers I have access to are all running 22.04. Thanks for your attention, Ken

On Mon, Jun 24, 2024 at 10:14 AM KeyWorksRW @.***> wrote:

What happens if instead you choose Open, and try to open the project you want to import? wxUiEditor will recognize the extension and import it, but will avoid the code that parses all the possible import project names which apparently is the problem. Also, by any chance have you been able to reproduce the problem on either a different major version of Ubuntu or a different Linux distro? Currently, builds are targeted for Ubuntu 18, and while they should work under Ubuntu 22, I'm wondering if there's a problem with the calls to the system API that changed in later Ubuntu releases.

It's going to be about a week before I can look more thoroughly into this. Hopefully the Open will work for you in the meantime.

On Sun, Jun 23, 2024 at 11:29 AM kencamargo @.***> wrote:

Description:

I have tried to get the program working in a couple different machines under Ubuntu 22.04, and the import function apparently crashes it. If I click on the corresponding button on the opening window, it closes down and nothing happens, but the program doesn't stop running. Running it from a terminal shows no error messages. Trying to import a project after initiating a new project has the same effect. I tried uninstalling and reinstalling, made no difference. I had the same problem with a previous version, and reinstalling seemed to solve it, but that no longer works.

— Reply to this email directly, view it on GitHub https://github.com/KeyWorksRW/wxUiEditor/issues/1477, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AKGN3U3FEAYAFUUKZYJG323ZI4HZHAVCNFSM6AAAAABJYSZGB2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3DQOBSGEYDKNQ>

. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/KeyWorksRW/wxUiEditor/issues/1477#issuecomment-2186556421>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/A64PJVE56DJKMMHR7ZPXXLDZJALSRAVCNFSM6AAAAABJYSZGB2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBWGU2TMNBSGE>

. 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 Senior Editor - Global Public Health e-mail: @.***

— Reply to this email directly, view it on GitHub https://github.com/KeyWorksRW/wxUiEditor/issues/1477#issuecomment-2187325220, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKGN3UYSGDDEHM2YVNWNAZDZJB4XLAVCNFSM6AAAAABJYSZGB2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBXGMZDKMRSGA . You are receiving this because you commented.Message ID: @.***>

kencamargo commented 3 months ago

Will do!

KeyWorksRW commented 2 months ago

This has been fixed in PR #1481. It will appear in daily builds starting on July 9th (see Actions tab)

I was able to reproduce the original problem on Zorin Ubuntu 22, and it appears to be a problem with the initial working directory. The updated version requires you to choose a directory before it will list all the possible projects in the directory.

kencamargo commented 2 months ago

Awesome, thanks for the update! 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 Senior Editor - Global Public Health e-mail: @.***

On Mon, Jul 8, 2024, 11:03 KeyWorksRW @.***> wrote:

This has been fixed in PR #1481 https://github.com/KeyWorksRW/wxUiEditor/pull/1481. It will appear in daily builds starting on July 9th (see Actions tab)

I was able to reproduce the original problem on Zorin Ubuntu 22, and it appears to be a problem with the initial working directory. The updated version requires you to choose a directory before it will list all the possible projects in the directory.

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