Page MenuHomePhabricator

AutoWikiBrowser when executed via Parallels Desktop throws an exception
Open, Needs TriagePublic

Description

Upon starting AWB, I get the following exception:

**description**: 
**workaround**: 
--------------------------
<table><tr><th>Exception:</th><td>`UriFormatException`</td></tr>
<tr><th>Message:</th><td>`Invalid URI: The hostname could not be parsed.`</td></tr>
<tr><th>Call stack:</th><td><pre>   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
   at System.Uri..ctor(String uriString)
   at System.Windows.Forms.Application.get_ExecutablePath()
   at WikiFunctions.AwbDirs.MigrateDefaultSettings()
   at AutoWikiBrowser.Program.Main(String[] args)</pre></td></tr>
</table>
**OS**: Microsoft Windows NT 6.2.9200.0
**version**: AutoWikiBrowser (6.2.1.0), WikiFunctions (6.2.1.0), revision 12528 (2021-07-08 14:01:49)
**net**: 4.0.30319.42000
**duplicate**: 
**site**: https://en.wikipedia.org

I used AutoWikiBrowser6210.zip and as mentioned in the task title, I attempted to start AWB on my mac via Parallels Desktop.

This only happens when I start the .exe file from Finder. If I first turn on Windows Explorer manually, go to where AWB is stored and start it from there, everything works manually. So, I guess it's questionable whether this is a Parallels bug or an AWB bug, but filling it here anyway :).