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

Offline AL|EN

  • Planewalker
  • *****
  • Posts: 390
  • 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.
Project Infinity public BETA - mod manager for Infinity Engine games
Modder's Guide to Github - you cannot have progress without committing changes

Offline Argent77

  • Planewalker
  • *****
  • Posts: 187
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: 390
  • 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.
Project Infinity public BETA - mod manager for Infinity Engine games
Modder's Guide to Github - you cannot have progress without committing changes

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1176
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: 390
  • 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?
Project Infinity public BETA - mod manager for Infinity Engine games
Modder's Guide to Github - you cannot have progress without committing changes

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1176
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.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

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)?: