NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: osquiabro on January 10, 2024, 05:16:35 PM

Title: Another problem with NT 14.14
Post by: osquiabro on January 10, 2024, 05:16:35 PM
in 12.62 compile perfect, but not in 14.14
Title: Re: Another problem with NT 14.4
Post by: osquiabro on January 10, 2024, 05:25:29 PM
i don't if this is a problem but in netweb.clw i saw this

!------------------------------------------------------------------------------
NetWebServerWorkerBase.Wrap    Procedure (String p_attr,*Cstring p_Value)
  code
  If p_Value = '' then return ''.
  If p_attr = '' then return p_Value.
  Return ' ' & p_attr & '="' & p_value & '"'

!------------------------------------------------------------------------------
NetWebServerWorkerBase.Wrap    Procedure (String p_attr,String p_Value)
  code
  If p_Value = '' then return ''.
  If p_attr = '' then return clip(p_Value).
  Return ' ' & clip(p_attr) & '="' & clip(p_value) & '"'

!------------------------------------------------------------------------------
Title: Re: Another problem with NT 14.4
Post by: osquiabro on January 11, 2024, 04:35:23 AM
Example with  problem
Title: Re: Another problem with NT 14.14
Post by: Bruce on January 11, 2024, 06:51:09 AM
fixed in 14.15
Title: Re: Another problem with NT 14.14
Post by: osquiabro on January 11, 2024, 07:44:03 AM
thanks this fix is very important for my application
Title: Re: Another problem with NT 14.14
Post by: osquiabro on January 17, 2024, 01:34:01 PM
Hi Bruce and thaks for a update

NT 14.15 works, but I don't know why with this version, when I open the embedded, it is very slow compared to other previous versions.

I have two instances of clarion one with NT 12.62 and other with NT 14.15, the version with 12.62 open more fast than 14.15 and with 14.14 open like 12.62

by the way NT 14 is much faster and more stable than 12
Title: Re: Another problem with NT 14.14
Post by: Bruce on January 17, 2024, 11:08:03 PM
define "when I open the embedded" ?

under the hood it is doing more work now when generating non-nettalk classes, so that may have an impact.
But you'd need to be specific so I can see if I see the same effect here.

Cheers
Bruce
Title: Re: Another problem with NT 14.14
Post by: osquiabro on January 18, 2024, 03:24:55 AM
is very difficult to reproduced because is not a template issue that can send example, but let me try to explain step by step.

Open any example provided in NT before NT 14.15 and then embeds, then open any source in embeds and compare the speed of both.
Title: Re: Another problem with NT 14.14
Post by: osquiabro on January 18, 2024, 12:48:02 PM
another problem with NT update is Extremlyyyy slow compile, i have another pc with NT 14.13 and everything work great, but after install NT 14.16 Extremlyyyy slow compile
Title: Re: Another problem with NT 14.14
Post by: osquiabro on January 18, 2024, 02:51:54 PM
for reproduced the problem open any app with more than 100 module, but the problem is after 14.15
Title: Re: Another problem with NT 14.14
Post by: osquiabro on January 18, 2024, 03:20:48 PM
Look at the time it takes to generate, before it was generated in less than 3 minutes.

Begin Batch Processing (Generation and Compile) at 1/18/2024 6:53:00 PM
Total applications to process 1
Clarion 11.0.13630 - Clarion.NET 4.0.13630
---------------------------------------
** Batch Processing (FECIPURV14) ** (1/1)
Code Generation start at 6:53 PM finish at 7:12 PM , elapsed time: 00:19:48.4302987


---------------------------------------
Executing Post Action: Compile
Application: FECIPURV14
Project: FECIPURV14
---------------------------------------
Compile start at 7:12 PM finish at 7:15 PM , elapsed time: 00:22:05.9173442


Title: Re: Another problem with NT 14.14
Post by: Johan de Klerk on January 18, 2024, 08:31:59 PM
Hi,

On my system the slow compiles (Generating Modules) and slow opening of embeds started about 2 weeks ago.
Windows 11, Clarion 10, NT 11.57.
All other CapeSoft templates up to date.
The only templates that was updated on this system is all the other CapeSoft templates.

I don't think this slow thing could be related to NT 14, well not in my case.

There is a thread on ClarionHub about this: https://clarionhub.com/t/extremly-slow-compile-clarion-11/3637/39

Regards
Johan de Klerk
Title: Re: Another problem with NT 14.14
Post by: osquiabro on January 19, 2024, 04:11:04 AM
i have two instance of clarion installed one with NT 12 and other with NT 14, with NT 12 Generating Modules and opening of embeds work super fast but after installaled NT 14.15 is working slow.

i don't what happend exactly but the solution in clarionhub post don't work for me

My clarion version is 11 13630
Title: Re: Another problem with NT 14.14
Post by: Bruce on January 19, 2024, 05:06:43 AM
I think I know what's going on, and I'm working on it.
Title: Re: Another problem with NT 14.14
Post by: osquiabro on January 21, 2024, 02:06:15 PM
I have seen that in every embed that has StringTheory or jfiles that is where it takes a long time to open and compile.
Title: Re: Another problem with NT 14.14
Post by: Bruce on January 21, 2024, 10:39:20 PM
The slowdown is in the cape01.tpw file, which is included with all the templates.
If you are in the habit of using the local extension to declare your objects (rather than just in hand-code) then you'll see it slowed down.

I have released build 3.66 of StringTheory to include a new Cape01 which solves the problem. So if you install that, and restart the IDE, the issue should go away. The upgrade of Cape01 will permeate through other releases as they are updated.

Cheers
Bruce
Title: Re: Another problem with NT 14.14
Post by: Johan de Klerk on January 22, 2024, 03:00:18 AM
Hi Bruce,

Thanks.
Can confirm Generating Modules and Opening Embeds is back to normal speeds.

Regards

Johan de Klerk
Title: Re: Another problem with NT 14.14
Post by: osquiabro on January 22, 2024, 03:51:58 AM
confirmed that it works as before, and thanks for NT 14 is work very fast and more stable