ImpulseAdventure / GUIslice-Builder

Cross-platform drag & drop GUI builder for GUIslice
Other
163 stars 35 forks source link

Cannot get Version .17 to work getting error when generating code #233

Closed richardbernardbernard closed 1 year ago

richardbernardbernard commented 1 year ago

image

Code Generation Failed builder.codegenException:file F:\Arduino\test2\test2.ino test2.zip

Pconti31 commented 1 year ago

@richardbernardbernard It appears your GUIsliceBuilder installation is somehow corrupted. Maybe your GUIsliceBuilder profile is damaged? check when you are running the builder edit->options->general tab at the bottom that

Backward compatibility Mode = false

If that is OK then I suggest an uninstall, than checking with a file browser to make sure everything is deleted then do a reinstall. The tag "//<File Start!> is only inside ino.t and is a older version only for generating single file *.ino not really used now.

If the reinstall still fails post your actual version numbers of the Builder and what platform linux, max, windows you are using and the version numbers, example windows 10 11???. Builder latest is 17b20.

I might need to create a special debug version for you to further hunt down the problem...

I had no problem using your test2.prj to generate code: test2-working.zip

Pconti31 commented 1 year ago

@richardbernardbernard One last thing, before doing anything else delete your test2.ino file. A new one should be created when you try doing a code generation.

richardbernardbernard commented 1 year ago

Deleted GuiBuilder. Reinstalled. Created a very basic project. Still giving me the same error. Right now I am unable to continue on my projects which were done on .15Vers Even downgrading to .15 now causes other problems and cannot use it. Not creating header files also. Windows 10 Pro Version 21H2

On Wed, Apr 5, 2023 at 11:16 AM Paul Conti @.***> wrote:

@richardbernardbernard https://github.com/richardbernardbernard One last thing, before doing anything else delete your test2.ino file. A new one should be created when you try doing a code generation.

— Reply to this email directly, view it on GitHub https://github.com/ImpulseAdventure/GUIslice-Builder/issues/233#issuecomment-1497567732, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANQRHZDTRGLCPV7GQ5YI23LW7V5D3ANCNFSM6AAAAAAWTDIKGA . You are receiving this because you were mentioned.Message ID: @.***>

richardbernardbernard commented 1 year ago

Got it working finally. I Had to get rid of Java, and reinstall it. Seems to be working correctly now, thank you for your feedback. Hope you keep on improving it. Could use better looking buttons(3D look).🤓

On Wed, Apr 5, 2023 at 11:01 AM Paul Conti @.***> wrote:

@richardbernardbernard https://github.com/richardbernardbernard It appears your GUIsliceBuilder installation is somehow corrupted. Maybe your GUIsliceBuilder profile is damaged? check when you are running the builder edit->options->general tab at the bottom that

Backward compatibility Mode = false

If that is OK then I suggest an uninstall, than checking with a file browser to make sure everything is deleted then do a reinstall. The tag "//<File Start!> is only inside ino.t and is a older version only for generating single file *.ino not really used now.

If the reinstall still fails post your actual version numbers of the Builder and what platform linux, max, windows you are using and the version numbers, example windows 10 11???. Builder latest is 17b20.

I might need to create a special debug version for you to further hunt down the problem...

I had no problem using your test2.prj to generate code: test2-working.zip https://github.com/ImpulseAdventure/GUIslice-Builder/files/11159385/test2-working.zip

— Reply to this email directly, view it on GitHub https://github.com/ImpulseAdventure/GUIslice-Builder/issues/233#issuecomment-1497540127, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANQRHZDPJ2SUMJGP3HQAQD3W7V3LTANCNFSM6AAAAAAWTDIKGA . You are receiving this because you were mentioned.Message ID: @.***>

Pconti31 commented 1 year ago

@richardbernardbernard First of all I'm happy you got things working. However, I'm a little confused by the solution. Like the Arduino IDE, I package the Builder as jlink'ed application executable. It has its own java,

Anyway, I'll going to pretend to be unconcerned about this since its now working for you.

As for 3D buttons I'm afraid Graphic Arts are not my specialty so if anyone wants to help out feel free to make code or icon changes and make a pull request. I'm available for consulting... Paul--

richardbernardbernard commented 1 year ago

Ok thanks.Hey long has I am back at using it I am making some graphic buttons. I'll send you them .

On Thu, Apr 6, 2023, 1:52 p.m. Paul Conti @.***> wrote:

@richardbernardbernard https://github.com/richardbernardbernard First of all I'm happy you got things working. However, I'm a little confused by the solution. Like the Arduino IDE, I package the Builder as jlink'ed application executable. It has its own java,

Anyway, I'll going to pretend to be unconcerned about this since its now working for you.

As for 3D buttons I'm afraid Graphic Arts are not my specialty so if anyone wants to help out feel free to make code or icon changes and make a pull request. I'm available for consulting... Paul--

— Reply to this email directly, view it on GitHub https://github.com/ImpulseAdventure/GUIslice-Builder/issues/233#issuecomment-1499352223, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANQRHZHXASTUNXBWK32QOVTW73YEBANCNFSM6AAAAAAWTDIKGA . You are receiving this because you were mentioned.Message ID: @.***>

richardbernardbernard commented 1 year ago

Hi Paul Still unable to use .17.b22 GuiBuilder works, and when you create a new project it works also. But when I load a project from version.15 it creates bad fonts starting with NULL in front. I tried everything under the sun and still the same, lost a lot of time doing this. I also tried it with Arduino and PlatformIO. Using tft_eSPI library like before no change there. Here is the header it creates, look at the font section. And the project is included, also setup files in tft_eSPI The only way I see is to create all new screens over again. If you have any solutions please help. P.S. works ok if I downgrade to .15

On Thu, Apr 6, 2023 at 10:57 AM Richard Bernard < @.***> wrote:

Deleted GuiBuilder. Reinstalled. Created a very basic project. Still giving me the same error. Right now I am unable to continue on my projects which were done on .15Vers Even downgrading to .15 now causes other problems and cannot use it. Not creating header files also. Windows 10 Pro Version 21H2

On Wed, Apr 5, 2023 at 11:16 AM Paul Conti @.***> wrote:

@richardbernardbernard https://github.com/richardbernardbernard One last thing, before doing anything else delete your test2.ino file. A new one should be created when you try doing a code generation.

— Reply to this email directly, view it on GitHub https://github.com/ImpulseAdventure/GUIslice-Builder/issues/233#issuecomment-1497567732, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANQRHZDTRGLCPV7GQ5YI23LW7V5D3ANCNFSM6AAAAAAWTDIKGA . You are receiving this because you were mentioned.Message ID: @.***>

//<File !Start!> // FILE: [TW_HH_357_GSLC.h] // Created by GUIslice Builder version: [0.17.b22] // // ------------------------------------------------ // Headers and Defines for fonts // Note that font files are located within the Adafruit-GFX library folder: // ------------------------------------------------ //<Fonts !Start!>

if !defined(DRV_DISP_TFT_ESPI)

error E_PROJECT_OPTIONS tab->Graphics Library should be Adafruit_GFX

endif

include

include "NULLFreeSans12pt7b.h"

include "NULLFreeSans18pt7b.h"

include "NULLFreeSans9pt7b.h"

include "NULLFreeSansBold12pt7b.h"

include "NULLFreeSansBold18pt7b.h"

include "NULLFreeSansBold9pt7b.h"

include "NULLFreeSerif12pt7b.h"

//<Fonts !End!>

Pconti31 commented 1 year ago

@richardbernardbernard I have reproduced your problem. I'll see about creating a fix for the NULL issue.
Paul--

richardbernardbernard commented 1 year ago

Thanks

On Mon, May 29, 2023 at 9:51 AM Paul Conti @.***> wrote:

@richardbernardbernard https://github.com/richardbernardbernard I have reproduced your problem. I'll see about creating a fix for the NULL issue. Paul--

— Reply to this email directly, view it on GitHub https://github.com/ImpulseAdventure/GUIslice-Builder/issues/233#issuecomment-1567099732, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANQRHZHH7ZHBQY2HXTKLRN3XISLVRANCNFSM6AAAAAAWTDIKGA . You are receiving this because you were mentioned.Message ID: @.***>

Pconti31 commented 1 year ago

@richardbernardbernard Here is the fix I believe. Simply unzip this file into GUIsliceBuilder/templates builder_fonts.zip

Post yours results, if it works I'll respin a new builder 17b24. Paul--

richardbernardbernard commented 1 year ago

Thank you very much will try it and advise.

On Mon, May 29, 2023, 10:59 a.m. Paul Conti @.***> wrote:

@richardbernardbernard https://github.com/richardbernardbernard Here is the fix I believe. Simply unzip this file into GUIsliceBuilder/templates builder_fonts.zip https://github.com/ImpulseAdventure/GUIslice-Builder/files/11592268/builder_fonts.zip

Post yours results, if it works I'll respin a new builder 17b24. Paul--

— Reply to this email directly, view it on GitHub https://github.com/ImpulseAdventure/GUIslice-Builder/issues/233#issuecomment-1567173239, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANQRHZF7WKC7QXOJXEWAXWTXISTSRANCNFSM6AAAAAAWTDIKGA . You are receiving this because you were mentioned.Message ID: @.***>

richardbernardbernard commented 1 year ago

Thanks Paul, good work. Your fix for The Jason file for Version .17 corrected my problem for getting NullFonts. I Tried it on Arduino and platformIO.

On Mon, May 29, 2023 at 10:59 AM Paul Conti @.***> wrote:

@richardbernardbernard https://github.com/richardbernardbernard Here is the fix I believe. Simply unzip this file into GUIsliceBuilder/templates builder_fonts.zip https://github.com/ImpulseAdventure/GUIslice-Builder/files/11592268/builder_fonts.zip

Post yours results, if it works I'll respin a new builder 17b24. Paul--

— Reply to this email directly, view it on GitHub https://github.com/ImpulseAdventure/GUIslice-Builder/issues/233#issuecomment-1567173239, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANQRHZF7WKC7QXOJXEWAXWTXISTSRANCNFSM6AAAAAAWTDIKGA . You are receiving this because you were mentioned.Message ID: @.***>

Pconti31 commented 1 year ago

Fixed in Release 0.17.b24

richardbernardbernard commented 1 year ago

Ok, thanks

On Fri, Jun 2, 2023 at 9:53 AM Paul Conti @.***> wrote:

Fixed in Release 0.17.b24

— Reply to this email directly, view it on GitHub https://github.com/ImpulseAdventure/GUIslice-Builder/issues/233#issuecomment-1573688695, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANQRHZEFBXCH7OXKFJENEQ3XJHO4ZANCNFSM6AAAAAAWTDIKGA . You are receiving this because you were mentioned.Message ID: @.***>