Pocket Plane Group
Friends and Neighbors => Weimer Republic (WeiDU.org) => WeiDU => Topic started by: AL|EN on February 18, 2018, 11:48:44 AM
-
During auto-update, when there is a "setup-<modTp2Name>.exe.manifest" file present, weidu is trying to query this file and hangs:
[G:\Gry\BGIIEE\data\00783\setup-EET.exe] WeiDU version 24400
{setup-EET.exe.manifest} Queried (pid = -1)
process is hanging forever, using "--no-exit-pause" didn't help.
-
It's apparently not limited to setup-*.exe.manifest. Looking at the code (https://github.com/WeiDUorg/weidu/blob/master/src/autoupdate.ml#L19) I see that any filename starting with the regex pattern "setup-.*exe" may cause the same issue, which includes harmless and unrelated names such as "setup-lexer.txt" or simply "setup-exe" (without extension).
You can work around the issue with the --noautoupdate argument.
-
Yep, it seems that the dot . is special character for OCaml regexp and it isn't escaped.
-
Fixed. Not that it makes launching strange files and waiting until they respond any less unwise.
-
So there is no timeout for query of weidu version from exe?
-
So there is no timeout for query of weidu version from exe?
Quite so.