eduardosuruagy
-
Posts
831 -
Joined
-
Last visited
-
Days Won
10
Content Type
Profiles
Forums
Events
Posts posted by eduardosuruagy
-
-
Error when exporting grid to excel, Uso a versão 1.90.0.1537
var O6F2=new Object({type:"xlsx",mimeType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",title:"Movimentação do Caixa",fileName:"Export.xlsx"});O587.saveDocumentAs(O6F2);
-
On 10/8/2019 at 2:08 PM, Hayri ASLAN said:
Hello
Please change H_OnCellClick in UniBasicGrid.pas to below code for now. We will add this to new build.
procedure TUniBasicGrid.H_OnCellClick(This: TJSObject; EventName: string; Params: TUniStrings); begin if Assigned(OnClick) then begin if CheckBoxSelect and (Params['c'].AsInteger=0) then Exit; FSelectionInvalid := True; try if Clickable(FCurrCol, FCurrRow) then OnClick(Self); finally FSelectionInvalid := False; end; end; end;
I have a similar problem, this time when I click on the grid's plus button to expand the line using dbgrid_RowExpand
-
Does anyone know the reason for the error? I use the newest version
SigefWeb.dll: 00002CE8: 11:59:28 []:>--------------------------------------------------------------<
SigefWeb.dll: 00002CE8: 11:59:28 []:Starting Server. Module Handle: 0000000000400000
SigefWeb.dll: 00002CE8: 11:59:28 [TUniServerModule]:Server First Init.
SigefWeb.dll: 00002CE8: 11:59:28 [TUniHyperServer]:InitInterceptor
SigefWeb.dll: 00002CE8: 11:59:28 [Transport.PoolSize]:516
SigefWeb.dll: 00002CE8: 12:01:06 [TUniHyperNode.Terminate]:Node #0 forcefully terminated.
SigefWeb.dll: 00002CE8: 12:01:06 [PostInit]:Failed to initialize node: 0
SigefWeb.dll: 00002CE8: 12:01:06 []:Server Started. Module Handle: 0000000000400000
SigefWeb.dll: 0000258C: 12:01:18 [TUniHyperNode.Terminate]:Node #1 forcefully terminated.
SigefWeb.dll: 0000258C: 12:01:18 [TUniHyperNodeManagerWorker]:Failed to initialize node: 1
-
1 hour ago, RobertoLopes said:
A propósito. Toda vez que você alterar o parâmetro, não se esqueça de reciclar o pool de aplicativos do IIS ou reiniciar seu serviço (no caso de usar o Hyperserver como um serviço do Windows).
Ok, Obrigado pela dica!!
-
16 minutes ago, Farshad Mohajeri said:
sim
Once again I thank you very much for your help, thank you very much !!
- 1
-
3 hours ago, Farshad Mohajeri said:3 hours ago, Farshad Mohajeri said:
recycle_after_idle_secs = 300
Você pode remover a linha acima. Não é mais usado.
recycle_after_idle_seconds = 0
Para a linha acima, defina-o para o valor máximo permitido para uma sessão permanecer inativa. Por exemplo, 15 minutos (15x60 = 900 segundos)?
Depende do design do seu aplicativo. Qual é a quantidade máxima de tempo em que um nó pode ficar ocioso? Defina-o com esse valor e o HyperServer destruirá esse nó se permanecer inativo por mais do que esse período.
= 300
Você pode remover a linha acima. Não é mais usado.
recycle_after_idle_seconds = 0
Para a linha acima, defina-o para o valor máximo permitido para uma sessão permanecer inativa. Por exemplo, 15 minutos (15x60 = 900 segundos)?
Depende do design do seu aplicativo. Qual é a quantidade máxima de tempo em que um nó pode ficar ocioso? Defina-o com esse valor e o HyperServer destruirá esse nó se permanecer inativo por mais do que esse período.
I will use the recycle_after_idle_seconds = 900 option because my session limit is 10 minutes.
Is it okay if I leave this option recycle_after_idle_secs ?? I have to remove from several files there if it is not a problem for me it would be better.
-
4 minutes ago, Farshad Mohajeri said:
No arquivo CFG do seu hiperservidor. Por favor, veja os documentos:
http://www.unigui.com/doc/online_help/installing-and-configuring-hyp.htm
Am I using the standard, is it correct or can I improve in some way?
[node_recycling]
enabled=1
recycle_after_secs=3600
recycle_after_sessions=0
recycle_after_idle_secs=300
recycle_when_empty=1
recycle_after_idle_seconds=0
-
24 minutes ago, Farshad Mohajeri said:
A imagem anexada acima é muito pequena. É difícil ver os detalhes.
Você já tentou definir o parâmetro "recycle_after_idle_seconds" do HyperServer?
I'm sorry, I didn't notice that the image is distorted when you enlarge it,
Where do I set this recycle_after_idle_seconds parameter?
-
On 08/10/2020 at 06:16, Farshad Mohajeri said:
É bom ver que seu problema foi resolvido.
Good Morning,
I still have the problem of blocking sessions in my unigui, I am using version 1537 as seen in image 2.
See in image 1 that I selected an executable and it is not using the 0% CPU, I clicked with the right mouse button to find out which folder it was part of, after that in image 2 we can see that there are sessions stuck to more than 10 hours.
I was able to find out that in case an error occurs in the system and the unigui does not manage to show this error and hangs the session, it gets stuck. I was generating a report and it gave some error that it did not show in my error handling, I closed the browser roughly and opened a new system tab, I did it last night for 2 times, after that I stayed with this session Node id = 0 and 1 prey. See that I open the list of sessions and it is empty.
The problem is that the memory consumption of my server is very high and the firebird process is never closed, it is always increasing, see in image 2 how the firebird has high memory consumption.
In image 5 we can see how the machine is working.
-
-
\FMSoft\Framework\uniGUI\Demos\Desktop\Session List
I'm having an error compiling this example, the error happens on line 107, SS.UnBusy;
I'm using the latest version of unigui.
-
Thank you very much!!
-
How to change the mask of an Edit at run time?
-
3 minutes ago, RobertoLopes said:
Sim, é o mesmo problema que tenho. Mesmo se você não atualizar o sistema, mesmo em nós ativos, as sessões permanecem bloqueadas. Estou escrevendo um código para cuidar disso no serverModule. Se funcionar, posso compartilhar aqui.
Obrigado!!
-
21 minutes ago, RobertoLopes said:
Por que os nós do seu servidor são descartados? Você está atualizando o aplicativo com frequência?
Como está a opção 'soTerminateOnSession' no seu serverModule? É verdadeiro ou falso?
If you notice my system's nodes get stuck, look at the dates.
Sometimes I update it often, I have to fix some bugs.soTerminateOnSession = False
-
-
19 minutes ago, wilton_rad said:
grade apresentou comportamentos estranhos, travando toda a aplicação sem motivo aparente, erros de js gerados pelo celular ao pressionar alguns controles, e agora você está falando sobre problemas hs. então, como eu disse, se você não usar algo importante nesta nova versão, não há razão para usá-lo ..
Estou esperando melhorias, tenho certeza que a equipe da Unigui está trabalhando.Entendi
-
7 minutes ago, wilton_rad said:
Desisti de usar esta versão, voltei para 1.90.0.1526
Tive muitos problemas com redes, mobile, entre outros, faz muito tempo que não foi lançada uma nova versão, esperamos que nas próximas, ser mais estável.você usa, algo indispensável nesta versão?, se não, sugiro voltar ...
What problems did you have Wilton? I'm using version 1535 and I'm concerned now.
Quais o problemas que voce teve Wilton? Estou usando a versão 1535 e fiquei preocupado agora.
-
19 minutes ago, wilton_rad said:
você disse que tem um cronômetro rodando a cada 1 segundo, já tentou desabilitar todos os cronômetros, para ver se o problema continua.
aqui eu tenho um número muito maior de seções, e não tenho esse problema.In my case I don't have that.
-
9 minutes ago, Farshad Mohajeri said:
In next build we will add extended session information to above control panel so you will be able to observe why sessions are not freed.
THanks
-
-
6 minutes ago, wilton_rad said:
isso ocorre quando você faz upload de uma nova versão, não usei esse recurso do unigui, prefiro fazer upload da versão direto no servidor, e reiniciar o site no IIS, claro, todos os clientes serão desligados
Entendi, muito obrigado!!
-
11 minutos atrás, Farshad Mohajeri disse:
Há 29 atividades ativas.
Não, essas sessões são de 31 de agosto, não há como elas ficarem ativas por tanto tempo!
They were not discarded by the unigui, those of 31/08 have the status "Discarded", even so they got stuck, the reason I don't know
-
Error when exporting grid to excel
in General
Posted
I'm using the native component of the UniGridExcelExporter
I'm using like this:
UniDBGrid.Exporter.Exporter: = UniGridExcelExporter1;
UniDBGrid.Exporter.Title: = Title;
UniDBGrid.Exporter.IncludeGroups: = bIncludeGroups;
UniDBGrid.Exporter.IncludeSummary: = bIncludeSummary;
UniDBGrid.Exporter.Enabled: = True;
UniDBGrid.Exporter.ExportGrid;