Subscribe for automatic updates: RSS icon RSS

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

Pages: 1 2 [3] 4 5 ... 10
 21 
 on: March 28, 2024, 03:45:10 pm 
Started by Christine R. - Last post by Enrico S.
Good day everyone.
Looking at the content of the announcement and the new features I can say that in my honest opinion issuing a release 5 is not justified.
At most an increase in the major release from 4.01 to 4.02.
Best regards.
Enrico

 22 
 on: March 28, 2024, 12:01:02 pm 
Started by Christine R. - Last post by Christine R.

 Genero Enterprise 5.00
 Now available


Four Js is pleased to announce the new Release of Genero Enterprise 5.00 for the following products:
  • Genero Studio Client and Server (GST/GSTSRV) 5.00.01
  • Genero Business Development Language with Web Service - GBC - GIP - WCG (FGLGWS) 5.00.01
  • Genero Application Server (GAS) 5.00.01
  • Genero Application Server for Java (JGAS) 5.00.01
  • Genero Ghost Client (GGC) 5.00.01
  • Genero Browser Client (GBC) 5.00.00
  • Genero Desktop Client (GDC) 5.00.00
  • Genero Mobile for IOS (GMI) 5.00.00
  • Genero Mobile for Android (GMA) 5.00.00
  • Genero Report Engine (GRE) 5.00.01

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


Genero Suite Server (GSTSRV) includes :
  • Genero Studio Server (GSTSRV) 5.00.01
  • Genero Business Development Language with Web Service - GBC - GIP - WCG (FGLGWS) 5.00.01
  • Genero Application Server (GAS) 5.00.01
  • Genero Report Engine (GRE) 5.00.01

Listed below are the bugs fixed with this release:
 
The packages included in Genero Suite Server and Genero Suite Client/Server are also delivered individually.

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

This release has new features and improvements in all product areas.
We invite you to discover it here.

All Four Js Genero customers with valid maintenance contracts have free access to the new releases.

Best regards,

Four Js Development Tools

 23 
 on: March 18, 2024, 09:08:08 am 
Started by Bothwell W. - Last post by crying g.

Good Day

How can I correctly handle " Gateway Timeout "  when my Web Operation function takes too long to complete ? in my code I have:

 
Code
  1.  
  2. WHILE TRUE
  3.  
  4.    CASE com.WebServiceEngine.ProcessServices(-1)
  5.  
  6.     WHEN 0
  7.         COMMIT WORK
  8.  
  9.     WHEN -2
  10.          ROLLBACK WORK
  11.  
  12.      ---
  13.  
  14.     OTHERWISE
  15.          ROLLBACK WORK
  16.  
  17. END WHILE
  18.  
  19.  

While testing a long running process I see that com.WebServiceEngine.ProcessServices() first returns 0 then later returns -2 . so I am not sure how to tell when there is timeout as I am geting both a success and error status on the same request.

the documentation  here: https://4js.com/online_documentation/fjs-fgl-3.00.05-manual-html/c_gws_ComWebServiceEngine_ProcessServices.html mentions a status 0 for a successful web operation so I was not expecting status 0 when the webservice has not replied with the data.

Basically the webservice reads data from a single table and updates a status field in the table to sent.

Is there a better way or the correct class that I should be using ?

When dealing with a "Gateway Timeout" error in your web operation function, it's important to handle it correctly to ensure proper execution and error handling. In your code, you can modify the handling of the "Gateway Timeout" error as follows:

pgsql
Copy
WHILE TRUE
   CASE com.WebServiceEngine.ProcessServices(-1)
   WHEN 0
      COMMIT WORK
   WHEN -2
      ROLLBACK WORK
   WHEN -31
      -- Handle Gateway Timeout error here
      -- You can perform any necessary actions, such as logging or retrying the operation
   OTHERWISE
      ROLLBACK WORK
END WHILE

 24 
 on: March 15, 2024, 11:50:34 am 
Started by Hans-Joachim K. - Last post by Hans-Joachim K.
Hello Laury,
thank you very much for your reply. I had opened a ticket with FourJS in the meantime and it turned out that the SSL libraries that come with Genero are not compatible with Ubuntu.
They had to be renamed so the original ones that come with the system are used.
Thank you very much nonetheless,
Hajo

 25 
 on: March 15, 2024, 11:40:50 am 
Started by Hans-Joachim K. - Last post by laury f.
Hello,

we recently installed the latest version of Genero Studio (4.01.04) and a new Genero installation of the server components on a newly setup Ubuntu Server.

When trying to run any application using GRE, also, the sample apps, it fails with this error:

*** Building 'OrderReportASCII' [11:23:58] ***
Building without specific setup (GSTSETUPDIR not set)
The 'Database' node contains no file to link. Nothing to Candy Crush link.
*** Success [11:23:58] ***
*** Running 'OrderReportASCII' ***
::info:(GS-1025) Display client already running on 'localhost:6400'
Program stopped at 'greruntime.4gl', line number 452.
FORMS statement error number -6221.
C extension initialization failed with status -1.
*** Execution of 'OrderReportASCII' finished. Exit code: 1 ***

I took this from the samples so it is definitely coded correctly.

The paths like FGLLDPATH, LD_LIBRARY_PATH etc. seem to be correct.
Also, the error message does not state it could not load the library, but the initialization fails.

Any idea what I could be looking for?

Thank you very much,
Hajo
There is a file and line number given in the error message so you can look at the source in $GREDIR/src and see if that gives you a clue?

 26 
 on: March 14, 2024, 03:58:23 am 
Started by Candy M. - Last post by shore p.
I figured it out.   I was able to figure out why TITLE and COMMENT where not changing.   We keep a database of all our forms in our application and I needed to reload the forms.

Candy

Can you explain it to me again? I'm having this problem but I don't know how to solve it?

 27 
 on: March 14, 2024, 03:31:57 am 
Started by Dave T. - Last post by Victor G.
Hi all,

Does anyone have any tricks to allow a folder to be opened (that contains spaces) with the os.Path.dirOpen method on a Windows client ?

Cheers

Dave

To open a folder with spaces using the os.Path.dirOpen function on a Windows client, wrap the folder path in double quotes. This ensures that the entire path is handled as a single item, with the spaces not construed as separators.
phrazle
For instance, if the folder location is "C:\Program Files", you can open it with the following code:

import os

folder_path = 'C:\\Program Files'
os.startfile('"{}"'.format(folder_path))

This will open the folder without any problems due to gaps in the path.
I will try, thanks.

 28 
 on: March 14, 2024, 03:27:58 am 
Started by Francois G. - Last post by Victor G.
I'll add some comments that skirt around the issue but might trigger something ...

1.
Quote
In the 4GL, I have used an ON IDLE action with a timeout of 3 seconds, but the Genero BDL manual says that I should not do this (the manual says that ON IDLE is intended for larger values such as 10 seconds).
Don't get too spooked about the warning, understand why the warning is there.  ON IDLE 3 can be thought of as the equivalent of a user pressing TAB or ENTER every 3 seconds.  That is every 3 seconds sending an action from the front-end to back-end, some processing (if any) occurring on the back end, and the update to the AUi Tree (if any) being returned.  If one process has an ON IDLE 3, chances are the impact on the system will barely be noticed, if all processes have an ON IDLE 3, these extra messages and processing will add up.  So that is what you have to watch out for. 
basketball stars
2. I did an Ask-Reuben on Genero being single threaded https://4js.com/ask-reuben/ig-127/ which may have some points relevant to this discussion.  If your program has some user input, how do you expect it to respond when the user is busy doing something.  So if you are looking for a callback function to be triggered, if your user is busy typing something, would you want that callback function triggered then?, hence the path of polling after an ON IDLE.  If your program is non-interactive then you are probably looking for a solution like on the server side with Web Services where your register the function to occur and then a method like com.WebServiceEngine.processServices blocks and then calls the appropriate function when something is received.

3. As I speculate in the article, for mobile we had a predefined action, ON ACTION notificationpushed that the Mobile host triggers when a notification is received for that which you have registered for Push Notifications.   http://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/c_fgl_mobile_push_notifications.html  Conceivably gdc.exe or gbc.js or a web component could take on the role of the mobile O/S and register for and receive notifications and trigger the predefined action.

4. One final point, RabbitMQ (https://www.rabbitmq.com/devtools.html) , the AMPQ protocol (https://en.wikipedia.org/wiki/Advanced_Message_Queuing_Protocol) , etc these terms don't appear a lot in our support portal.  If there are developers out there that want to interact this way, are looking for a client library to use let your support contact know so that we can gauge the correct amount of interest.

Reuben

 
Thank for your sharing.

 29 
 on: March 14, 2024, 03:23:50 am 
Started by . - Last post by Victor G.
Jeff,

I presume you expect the style to be applyed "live", i.e. when the user enters data in the field, the color changes, right ?

This may raise an performance issue: currently, styles are applyed:
  • on creation
  • on focus in / focus out
  • when changing state (active, dialogType...)

With this, we would need to recompute and reapply styles on the current field on each keystroke, which may slow the program.

To be tested !.

Is there any other pseudo selector you would like to see in further versions ?

We've already registred some requests about table (last row, header), we're also thinking about platform pseudo selector (osx, win, lnx...)...
coreball
Pierre-Nicolas
Hi Pierre-Nicolas.

I wouldn't expect this to react during the edit of the field, 'after field' would be good enough for most people I would imagine. As we set a general ':focus' colour anyway I would expect the field to have taken on that colour whilst the user is editing the field.

As for other selectors, I think my needs are fairly well met at the moment although last row sounds like a good idea.

Thanks

Jeff
'After field' is an adequate description of this concept, thus it's worth thinking about. Because I also changed the default ':focus' color, I thought the field would inherit that hue.

 30 
 on: March 14, 2024, 03:13:17 am 
Started by Dmitry K. - Last post by Victor G.
Hi,
we want to store and edit data as TEXT-type with fglrichtext web component. There are texts and images to store.
It's working fine. But when adding other images or texts to the existing the first images are getting deleted and
there are only the last added images stored. Is this to be expected?
How can we solve the problem?

Genero Studio Version: 3.10.11

Thanks
Dmitry
I reported it to the support center but it still hasn't been resolved.

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