[Bug 56875] New: WordSmith 9.0 shows error message on start
https://bugs.winehq.org/show_bug.cgi?id=56875 Bug ID: 56875 Summary: WordSmith 9.0 shows error message on start Product: Wine Version: 9.10 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: dark.shadow4(a)web.de Distribution: --- Created attachment 76680 --> https://bugs.winehq.org/attachment.cgi?id=76680 Screenshot Error Message As soon as the program starts you get the attached error message:
'le>' is not a valid integer value for Integer type.
-- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56875 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.lexically.net/d | |ownloads/version9/setup-125 | |.exe Keywords| |download -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56875 Andrew Nguyen <arethusa26(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |wininet --- Comment #1 from Andrew Nguyen <arethusa26(a)gmail.com> --- The error is a result of the application's failure to download a proper update information file retrieved from the URL "https://lexically.net/downloads/version9/WSUpdate_64_9.inf". It's using wininet to download the file: 0138:Call wininet.InternetOpenW(00661ea4 L"",00000000,00000000,00000000,00000000) ret=00661bd6 0138:Ret wininet.InternetOpenW() retval=00000001 ret=00661bd6 0138:Call wininet.InternetConnectW(00000001,7fffffad0d40 L"https://lexically.net/downloads/version9/WSUpdate_64_9.inf",000001bb,00661ea4 L"",00661ea4 L"",00000003,7fff00000000,00000000) ret=00661c2e 0138:Ret wininet.InternetConnectW() retval=00000002 ret=00661c2e 0138:Call wininet.InternetOpenUrlW(00000001,7fffffad0d40 L"https://lexically.net/downloads/version9/WSUpdate_64_9.inf",00000000,00000000,80000000,00000000) ret=00661c56 0138:Ret wininet.InternetOpenUrlW() retval=00000004 ret=00661c56 0138:Call wininet.InternetReadFile(00000004,7fae18287390,00019000,7ffffe1ff7d4) ret=00661cf5 0138:Ret wininet.InternetReadFile() retval=00000001 ret=00661cf5 0138:Call wininet.InternetReadFile(00000004,7fae18287390,00019000,7ffffe1ff7d4) ret=00661cf5 0138:Ret wininet.InternetReadFile() retval=00000001 ret=00661cf5 0138:Call wininet.InternetCloseHandle(00000004) ret=00661d98 0138:Ret wininet.InternetCloseHandle() retval=00000001 ret=00661d98 0138:Call wininet.InternetCloseHandle(00000001) ret=00661da5 0138:Ret wininet.InternetCloseHandle() retval=00000001 ret=00661da5 However, the contents of the downloaded file indicate an HTTP 503 error was received by wininet, and the "le>" string in the error message seems to originate from an unsuccessful parse of the file contents: $ cat WSUpdate_64_9.inf <html> <head> <title>The page is temporarily unavailable</title> <style> ... Some testing shows that the queried HTTP server seems to be picky about the User-Agent value: $ curl https://lexically.net/downloads/version9/WSUpdate_64_9.inf [update] date=18/09/2024 localversion=wordsmith_64_9.exe newbuild=9.0.0.130 $ curl -A 'XYZ' https://lexically.net/downloads/version9/WSUpdate_64_9.inf <html> <head> <title>The page is temporarily unavailable</title> <style> ... Because the application passed an empty user-agent string to InternetOpenW, the wininet implementation in Wine is adding a User-Agent header with an empty value to the update file request, which results in the HTTP 503 response: 0138:trace:wininet:HTTP_HttpAddRequestHeadersW copying header: L"User-Agent: \r\n" 0138:trace:wininet:HTTP_HttpAddRequestHeadersW interpreting header L"User-Agent: " 0138:trace:wininet:HTTP_InterpretHttpHeader field(L"User-Agent") Value(L"") 0138:trace:wininet:HTTP_ProcessHeader --> L"User-Agent": L"" - 0x12000000 0138:trace:wininet:HTTP_GetCustomHeaderIndex L"User-Agent", 0, 1 0138:trace:wininet:HTTP_GetCustomHeaderIndex Return: -1 0138:trace:wininet:HTTP_InsertCustomHeader --> L"User-Agent": L"" -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56875 --- Comment #2 from Andrew Nguyen <arethusa26(a)gmail.com> --- PR created: https://gitlab.winehq.org/wine/wine/-/merge_requests/6541 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56875 Andrew Nguyen <arethusa26(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |09acedc956714170e93647f02bc | |472b4b6992e5d Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #3 from Andrew Nguyen <arethusa26(a)gmail.com> --- Fixed by https://gitlab.winehq.org/wine/wine/-/commit/09acedc956714170e93647f02bc472b... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56875 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 9.19. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla