-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding date column throws error #1201
Comments
@PeterDaveHello, what will happen now? Will you compile a separate version? |
I can't reproduce this error. Windows 10 Home x64 |
I said that some mistakes are not repeated. Therefore, it is necessary to configure the compilation to display the line number with an error (enable debug flags). |
I have investigated the issue a bit further and it appears to be related to the privileges of the application, not the column itself. When I start transgui.exe normally and I add the column, the error appears but if I wait a moment longer the dates fill in on the column, despite the error message being displayed. Clicking OK still terminates the application. Additionally, the column is not retained on application restart in non-privileged mode. When I run as administrator and add the column, the column remains when I restart the application. EDIT: This appears to be inconsistent. Currently the error is occurring even after running as administrator. |
@cybersteel8 |
It is like @cybersteel8 says... your TransGUI dont have permitions to write transgui.ini |
@cfpp2p I currently have my I backed up my ini file and completely removed it from that directory and created a new zero-byte file. When launching transgui, I provide my transmission connection details and all works as normal, however the error still appears when adding that column. I checked the Also, the behaviour is very inconsistent - I ran as administrator, and I attempted to add the column, and it worked. In the same session (I did not exit transgui) I removed the column and added it again, and the error came up. 99% of the time it doesn't work, even when run as administrator. |
transgui.zip |
@leonsoft-kras This is the stack trace from the crash report:
|
thanks!This is useful information. It is now clear where to look for a mistake and set a defense. |
I am happy to help if you require me to perform more testing, or if you need more information. |
Are all updates installed in the OS??? |
I can't know for sure. I provided the build number of my Windows OS in the OP, what is the latest build number from Microsoft? |
I can't reproduce the error. Try setting --- I:/T2/transgui-5-16/source-5.16/vargrid.pas.org.pas Wed Jan 16 23:42:50 2019
+++ I:/T2/transgui-5-16/source-5.16/vargrid.pas Fri Jan 25 20:40:54 2019
@@ -138,6 +138,7 @@
procedure DoEditorHide; override;
public
+ NullStrictConvert : boolean;
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
function EditorByStyle(Style: TColumnButtonStyle): TWinControl; override;
@@ -811,6 +812,7 @@
var
pt: TPoint;
begin
+ NullStrictConvert := False;
inherited MouseMove(Shift, X, Y);
pt:=MouseToCell(Point(x, y));
if (FHintCell.x <> -1) and ((FHintCell.x <> pt.x) or (FHintCell.y <> pt.y)) then begin |
my version: win10, version 1803 (assembly 17134.523) There are test results for the new version of TRGUI? |
This one appears to work. I cannot reproduce the error using this version. |
fine. I will make a correction to the main code in the evening. |
I am adding a new column by right clicking on the columns in the torrent list and clicking Setup Columns. The error is throws whenever a date column is added (Added on, Completed on, Last Active). The error that appears is "Could not convert variant of type (Null) into type (Int64)". Clicking OK terminates the application.
The text was updated successfully, but these errors were encountered: