Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: 1 [2] 3 4 ... 10
 11 
 on: May 03, 2025, 01:02:06 am 
Started by Benjamin G. - Last post by Reuben B.
Whenever someone says something like

Quote
fglrun on commande line (ssh) works fine

Same code running from studio with target GDC ok
Same code running from studio with target GBC ko with error

my immediate thought is environment, hence this article https://4js.com/ask-reuben/ig-218/

So add the line ...

Code
  1. RUN "env | sort > /tmp/yourname.env"

...as soon as possible after MAIN and compare the output from the 3 scenarios.

There is one thing with this error though, chances are it occurs before the MAIN because of presence of IMPORT security.  So use a small test program without that IMPORT security line.

What you will probably see is GSTDIR/lib being included in PATH / LD_LIBRARY_PATH, and some libcrypto / libssl libraries being picked up from there rather than FGLDIR/lib or the system equivalents.

i.e. you are hitting this issue https://4js.com/support/issue/?id=GST-19307

There is a workaround but as they have not publicised it in the Issue Description, contact your support contact on Monday and they should be able to give a workaround.

Reuben

 



 12 
 on: May 02, 2025, 06:54:40 pm 
Started by Benjamin G. - Last post by Benjamin G.
Hi,

I've UNSET LANG but still same situation ...
On commande line with or without LANG we don't have this error

Regards

 13 
 on: May 02, 2025, 04:40:04 pm 
Started by Benjamin G. - Last post by Leo S.
Hi Benjamin, check if LANG is set to something like "fr" and unset it if it's the case.
Regards , Leo

 14 
 on: May 02, 2025, 04:16:27 pm 
Started by Benjamin G. - Last post by Benjamin G.
Hello

On last version :

fglrun 5.01.02 rev-763f056
Genero virtual machine
Target l64xl228

This code :

IMPORT security
MAIN
 DEFINE s STRING = "dGVzdHRlc3Q="
 LET s = security.Base64.ToString(s)
 display s
END MAIN

fglrun on commande line (ssh) works fine

Same code running from studio with target GDC ok
Same code running from studio with target GBC ko with error
           
            FORMS statement error number -6221.
            C extension initialization failed with status -1.

Any idea ?

Thanks







 15 
 on: April 30, 2025, 04:08:25 pm 
Started by Benjamin G. - Last post by Benjamin G.
Sorry, my fault not have seen that "Declarative dialogs support parameters (SUBDIALOG)" starting at 5.00.03

https://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/fgl_whatsnew_500v.html

Thank you

 16 
 on: April 30, 2025, 12:07:58 pm 
Started by Benjamin G. - Last post by Sebastien F.
Hello Benjamin,

1) Still using de-supported FGL version 5.00 ? Please move to latest 5.01!

https://4js.com/download/products/?

2) Your t_donation type is a DYNAMIC ARRAY, which is implicitly passed by reference and does not need the INOUT keyword, reserved for RECORDs

https://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/c_fgl_runtime_stack.html

Try with FGL 5.01 compiler, you will get a better error message:

comment.4gl:14:5:14:24:error:(-8432) An INOUT parameter requires a RECORD type.

Seb

 17 
 on: April 30, 2025, 11:24:53 am 
Started by Benjamin G. - Last post by Benjamin G.
Hi,

Why this code doesn't compile (tested version 4.01 and 5.02) ?
Thank you

fglcomp 5.00.02 rev-025d702c
Genero 4gl compiler
Target l64xl228

Four Js*
Licensed Materials - Property of Four Js
(c) Copyright Four Js 1995, 2024. All Rights Reserved.
* Trademark of Four Js Development Tools Europe Ltd
  in the United States and elsewhere
root@vmgenerodev03:/tmp VMGENERODEV03      $fglcomp --verbose d
[parsing d.4gl]
[parsing d cancelled: 1 errors]
The compilation was not successful.  Errors found: 1.
The file 'd.err' has been written.
root@vmgenerodev03:/tmp VMGENERODEV03      $cat d.err
PUBLIC TYPE t_donations DYNAMIC ARRAY OF RECORD
  p_date  DATE,
  p_amount MONEY,
  p_reason VARCHAR(250)
END RECORD

DIALOG donations(donations t_donations INOUT)
| A grammatical error has been found at 'donations' expecting: ')'.
| See error number -6609.
    INPUT ARRAY donations FROM donations.*
      AFTER FIELD p_amount
        IF donations[arr_curr()].p_amount<2.0 THEN
          ERROR "must be at least 2 dollar:-)"
          NEXT FIELD CURRENT
        END IF
      AFTER ROW
        IF arr_curr()<=arr_count() THEN
          DISPLAY "AFTER ROW donations:check row and save to database"
        END IF
    END INPUT
END DIALOG



 18 
 on: April 24, 2025, 03:56:08 pm 
Started by Christine R. - Last post by Christine R.

     Genero Enterprise 4.01 Maintenance Release :
    Genero BDL 4.01.09


    Four Js is pleased to announce a Maintenance Release of Genero BDL with Web Services (BDL – GWS - JGAS - GBC - GGC - WCG - GIP) 4.01.09.

    Genero BDL with Web Service (BDL - JGAS - GBC - GGC - WCG - GIP) 4.01.09 is the bundle which includes:
    • Business Development Language (FGL) 4.01.09
    • Web service extension (GWS) 4.01.09
    • Genero Browser Client (GBC) 5.01.03
    • Genero Identity Provider (GIP) 4.01.05
    • Application Server for Java (JGAS) 4.01.01
    • Web Components and wrappers (WCG) 4.01.06


    The packages are now downloadable from the web site : https://4js.com/download/products/.

    This version also includes the following bugs fixes :

    All Four Js Genero customers under maintenance have free access to the new release.

    Best regards,

    Four Js Development Tools[/list]

     19 
     on: April 24, 2025, 03:43:51 pm 
    Started by Christine R. - Last post by Christine R.

     Genero Enterprise 3.21
    GRE Maintenance Release


    Four Js is pleased to announce a Maintenance Release of Genero Report Engine 3.21.04.

    These versions includes also the following bugs fixes https://4js.com/support/issue/GRE/3.21.04.

    These versions are now downloadable from the web site: https://4js.com/download/products/.

    All Four Js Genero customers under maintenance have free access to the new release.

    Best regards,

    Four Js Development Tools

     20 
     on: April 22, 2025, 03:26:59 pm 
    Started by Christine R. - Last post by Christine R.

     Genero Studio 5.01 Maintenance Release


    Four Js is pleased to announce a Maintenance Release of Genero Studio 5.01.02.

    Genero Suite Client/Server (GST) 5.01.02 is the bundle that includes:
    • Genero Studio Client and Server (GST) 5.01.02
    • Genero Business Development Language with Web Service - GBC - GIP - WCG (FGLGWS) 5.01.02
    • Genero Application Server (GAS) 5.01.02
    • Genero Desktop Client (GDC) 5.01.01
    • Genero Mobile for IOS (GMI) 5.01.00
    • Genero Mobile for Android (GMA) 5.01.01
    • Genero Web Applications (GWA) 5.01.01
    • Genero Report Engine (GRE) 5.01.00

    Note
    This packages embeds Genero Application Server 5.01.02 fixing a significant issue https://4js.com/support/issue/?id=GAS-04005.
    Therefore, if you worked with GAS 5.01.01 and/or GST 5.01.01 on Windows, we recommend you update ASAP to GAS 5.01.02 and/or GST 5.01.02.

    The packages included in Genero Suite Server and Genero Suite Client/Server are also delivered individually.
    These versions are  now downloadable from the web site : https://4js.com/download/products/.

    All Four Js Genero customers under maintenance have free access to the new release.

    Best regards,

    Four Js Development Tools

    Pages: 1 [2] 3 4 ... 10
    Powered by SMF 1.1.21 | SMF © 2015, Simple Machines