Author Topic: weidu is trying to query setup-<anything>.exe<anything> and hangs  (Read 337 times)

Offline AL|EN

  • Planewalker
  • *****
  • Posts: 245
  • Gender: Male
During auto-update, when there is a "setup-<modTp2Name>.exe.manifest" file present, weidu is trying to query this file and hangs:


Code: [Select]
[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.
You cannot have progress without changes...

Offline Argent77

  • Planewalker
  • *****
  • Posts: 164
Re: weidu is trying to query setup-<anything>.exe<anything> and hangs
« Reply #1 on: February 18, 2018, 12:39:46 PM »
It's apparently not limited to setup-*.exe.manifest. Looking at the code 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.
« Last Edit: February 18, 2018, 12:40:58 PM by Argent77 »

Offline AL|EN

  • Planewalker
  • *****
  • Posts: 245
  • Gender: Male
Re: weidu is trying to query setup-<anything>.exe<anything> and hangs
« Reply #2 on: February 18, 2018, 02:45:03 PM »
Yep, it seems that the dot . is special character for OCaml regexp and it isn't escaped.
You cannot have progress without changes...

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 976
Re: weidu is trying to query setup-<anything>.exe<anything> and hangs
« Reply #3 on: February 19, 2018, 02:38:59 PM »
Fixed. Not that it makes launching strange files and waiting until they respond any less unwise.

Offline AL|EN

  • Planewalker
  • *****
  • Posts: 245
  • Gender: Male
Re: weidu is trying to query setup-<anything>.exe<anything> and hangs
« Reply #4 on: February 20, 2018, 12:04:37 PM »
So there is no timeout for query of weidu version from exe?
You cannot have progress without changes...

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 976
Re: weidu is trying to query setup-<anything>.exe<anything> and hangs
« Reply #5 on: February 21, 2018, 01:37:12 PM »
So there is no timeout for query of weidu version from exe?
Quite so.

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: