distal-attribute
distal-attribute
distal-attribute
distal-attribute

Error Message on executing HeidiSQL for the first time

User, date Message
Written by delphichem
11 months ago
Category: General
9 posts since Tue, 18 Dec 12
After intalling MySQL and execute HeidiSQL -> click on button new of connform, I get:
"NodeDataSize not initialized. (D:\Dev\Composants\VirtualTree\Source\VirtualTrees.pas, ligne 30111)."
Adding this on
procedure Tconnform.btnNewClick(Sender: TObject);

CreateInRoot := (Sender = menuNewSessionInRoot) or (Sender = menuNewFolderInRoot);
if ListSessions.FocusedNode <> nil then // <---- Add this
ParentSess := ListSessions.GetNodeData(ListSessions.FocusedNode);


fix the problem.
Written by ansgar
11 months ago
4973 posts since Fri, 07 Apr 06
The path reveals you're getting that error in your self compiled HeidiSQL. That error does not happen in the official releases.

My official sources have a one-liner in the TVirtualStringTree.GetNodeDataSize event.

Please use the official builds and releases only when reporting bugs, in order to avoid confusion.
Written by delphichem
11 months ago
9 posts since Tue, 18 Dec 12
Hi I you're right, the only thing that I do is using the 5.2.1 of tvirtualtreeview, sorry for the report, is there a possibility to delete this report?
Written by ansgar
11 months ago
4973 posts since Fri, 07 Apr 06
You must have also deleted the value from the GetNodeDataSize event. A newer VirtualTree version should not be the reason for that error. The one used in HeidiSQL is 5.1.0, from January this year.

No need to delete this report. We solved some problem here, so it's probably even useful for other developers.
Written by delphichem
11 months ago
9 posts since Tue, 18 Dec 12
The new version of TVirtualstring has not "vsInitialUserData" in TVirtualNodeState, so I change the line (main.pas 4804)

if not (vsInitialUserData in Node.States) then begin


to

if not (vsOnFreeNodeCallRequired in Node.States) then begin



This cause the error that I've (wrongly) report
Written by delphichem
10 months ago
9 posts since Tue, 18 Dec 12
Hi, now you've update to version 5.2.1 of virtualtreeview, please retake a look at this post
Written by ansgar
10 months ago
4973 posts since Fri, 07 Apr 06
I already fixed that when updating VirtualTree.
 

Please login to leave a reply, or register at first.