Public bug reported:

Trying to open a URL results in powerpoint errors, e.g.,

# wslview --debug https://www.nzz.ch
[debug] Showing debug output.
The string is missing the terminator: ".
    + CategoryInfo          : ParserError: (:) [], 
ParentContainsErrorRecordException
    + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString


The issue seems to be that in function `winps_exec` on line 156 the '-' in 
`–ExecutionPolicy Bypass` is not a standard '-' and gets escaped into some 
funky way (unicode?).  If i replace that with a 'normal' - it works properly 
....

this happens on ubuntu 24.04 with package 3.2.3-0ubuntu3 and wsl2
2.4.4.0

** Affects: wslu (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- wslview results in powershell errors
+ wslview results in powershell errors due to non-ascii char in script

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to wslu in Ubuntu.
https://bugs.launchpad.net/bugs/2089703

Title:
  wslview results in powershell errors due to non-ascii char in script

Status in wslu package in Ubuntu:
  New

Bug description:
  Trying to open a URL results in powerpoint errors, e.g.,

  # wslview --debug https://www.nzz.ch
  [debug] Showing debug output.
  The string is missing the terminator: ".
      + CategoryInfo          : ParserError: (:) [], 
ParentContainsErrorRecordException
      + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString

  
  The issue seems to be that in function `winps_exec` on line 156 the '-' in 
`–ExecutionPolicy Bypass` is not a standard '-' and gets escaped into some 
funky way (unicode?).  If i replace that with a 'normal' - it works properly 
....

  this happens on ubuntu 24.04 with package 3.2.3-0ubuntu3 and wsl2
  2.4.4.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wslu/+bug/2089703/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to